From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751729AbbGFEQy (ORCPT ); Mon, 6 Jul 2015 00:16:54 -0400 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:44770 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807AbbGFEQg (ORCPT ); Mon, 6 Jul 2015 00:16:36 -0400 From: Jisheng Zhang To: , , CC: , , Jisheng Zhang Subject: [PATCH v3 0/2] irqchip: dw-apb-ictl: add irq_set_affinity support Date: Mon, 6 Jul 2015 12:15:39 +0800 Message-ID: <1436156141-3674-1-git-send-email-jszhang@marvell.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-07-06_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 kscore.is_bulkscore=0 kscore.compositescore=1 compositescore=0.9 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 rbsscore=0.9 spamscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1506180000 definitions=main-1507060076 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Marvell Berlin SoCs, the cpu's local timer is shutdown when the cpu goes to a deep idle state, then the timer framework will be notified to use a broadcast timer instead. In our case, the broadcast timer uses dw-apb-ictl as the interrupt chip. These patches try to add irq_set_affinity support so that the going to deep idle state cpu can set the interrupt affinity of the broadcast interrupt to avoid unnecessary wakeups and IPIs. Changes since v2: - Add a DT option to indicate whether we want to set the irq affinity. Changes since v1: - Add a simple test and its result into the second patch's commit msg. Jisheng Zhang (2): irqchip: dw-apb-ictl: add private data structure irqchip: dw-apb-ictl: add irq_set_affinity support .../interrupt-controller/snps,dw-apb-ictl.txt | 5 +++ drivers/irqchip/irq-dw-apb-ictl.c | 51 +++++++++++++++++++--- 2 files changed, 51 insertions(+), 5 deletions(-) -- 2.1.4