From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751284AbcL1IsE (ORCPT ); Wed, 28 Dec 2016 03:48:04 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:45094 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060AbcL1Ire (ORCPT ); Wed, 28 Dec 2016 03:47:34 -0500 From: Yuriy Kolerov To: linux-snps-arc@lists.infradead.org Cc: Vineet.Gupta1@synopsys.com, Alexey.Brodkin@synopsys.com, linux-kernel@vger.kernel.org, marc.zyngier@arm.com, Yuriy Kolerov Subject: [PATCH v3 0/3] Fixes for IRQ subsystem Date: Wed, 28 Dec 2016 11:46:23 +0300 Message-Id: <1482914786-10490-1-git-send-email-yuriy.kolerov@synopsys.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org First 2 patches fix potential bugs in IRQ subsystem. The third one deprecates setting of affinity in Device Tree and moves setting of the initial value of affinity to irq_enable() function of IRQ chip. Changes for v3: * Remove patch for manual setting of the global variable irq_default_affinity to avoid messing with generic code. * Fix 2 potential bugs. * Use irq_enable() for setting of the initial value for affinity in IDU. Changes for v2: * Set the value of irq_default_affinity to the boot CPU. It is necessary because if an interrupt controller is connected to IDU then set_affinity() is not called for IDU interrupts and the real affinity of IDU does not correspond to the value in the descriptor of IRQ (irq_default_affinity by default). Yuriy Kolerov (3): ARC: IRQ: Use hwirq instead of virq in mask/unmask ARCv2: IRQ: Call entry/exit functions for chained handlers in MCIP ARCv2: MCIP: Deprecate setting of affinity in Device Tree .../interrupt-controller/snps,archs-idu-intc.txt | 3 ++ arch/arc/kernel/intc-arcv2.c | 6 +-- arch/arc/kernel/intc-compact.c | 4 +- arch/arc/kernel/mcip.c | 56 ++++++++++------------ 4 files changed, 34 insertions(+), 35 deletions(-) -- 2.7.4