lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 30 Nov 2010 18:07:18 +0000 From: Russell King - ARM Linux <linux@....linux.org.uk> To: Stephen Caudle <scaudle@...eaurora.org> Cc: linux-arm-kernel@...ts.infradead.org, linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org, dwalker@...eaurora.org, adharmap@...eaurora.org, miltonm@....com Subject: Re: [PATCH v2] [ARM] gic: Unmask private interrupts on all cores during IRQ enable On Wed, Nov 03, 2010 at 05:46:02PM -0400, Stephen Caudle wrote: > Some multi-core ARM chips designate a unique IRQ number for each core for > private peripheral interrupts (PPIs). Others designate a common IRQ number > for all cores. In the latter case, requesting/freeing private peripheral > interrupts currently unmasks/masks the interrupt for only the > executing core, respectively. > > With this change, request_irq will unmask a PPI on all cores so a separate > call to enable_irq on the other cores is not required. Likewise, free_irq > will mask a PPI on the other cores. Also, shutdown is implemented instead > of disable to allow for lazy IRQ disabling. Sorry, missed this. If it's a private peripheral, it can only be accessed from its associated CPU. What that means is you don't want to enable the interrupt on other CPUs as the peripheral may not be present or initialized on that CPU. So I'm nervous about this change - architecturally it feels like the wrong thing to do to take the PPI interrupts through the generic IRQ infrastructure. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists