Message ID | 20240617111841.2529370-1-mark.rutland@arm.com (mailing list archive) |
---|---|
Headers | show |
Series | arm64: irqchip/gic-v3: Use compiletime constant PMR values | expand |
Hi Thomas, On Mon, Jun 17, 2024 at 12:18:36PM +0100, Mark Rutland wrote: > Mark Rutland (5): > wordpart.h: Add REPEAT_BYTE_U32() > irqchip/gic-common: Remove sync_access callback > irqchip/gic-v3: Make distributor priorities variables > irqchip/gic-v3: Detect GICD_CTRL.DS and SCR_EL3.FIQ earlier > arm64: irqchip/gic-v3: Select priorities at boot time > > arch/arm64/include/asm/arch_gicv3.h | 15 -- > arch/arm64/include/asm/ptrace.h | 35 +--- > arch/arm64/kernel/image-vars.h | 5 - > drivers/irqchip/irq-gic-common.c | 22 +-- > drivers/irqchip/irq-gic-common.h | 7 +- > drivers/irqchip/irq-gic-v3-its.c | 11 +- > drivers/irqchip/irq-gic-v3.c | 225 ++++++++++++------------ > drivers/irqchip/irq-gic.c | 10 +- > drivers/irqchip/irq-hip04.c | 6 +- > include/linux/irqchip/arm-gic-common.h | 4 - > include/linux/irqchip/arm-gic-v3-prio.h | 52 ++++++ > include/linux/irqchip/arm-gic-v3.h | 2 +- > include/linux/wordpart.h | 8 + > 13 files changed, 201 insertions(+), 201 deletions(-) > create mode 100644 include/linux/irqchip/arm-gic-v3-prio.h Are you ok for these patches to go through the arm64 tree (I can put them on a stable branch) or you'd rather get them through the irqchip tree? Either way, I don't expect (major) conflicts with the arm64 tree. Thanks.
On Fri, Jun 21 2024 at 18:26, Catalin Marinas wrote: > On Mon, Jun 17, 2024 at 12:18:36PM +0100, Mark Rutland wrote: >> Mark Rutland (5): >> wordpart.h: Add REPEAT_BYTE_U32() >> irqchip/gic-common: Remove sync_access callback >> irqchip/gic-v3: Make distributor priorities variables >> irqchip/gic-v3: Detect GICD_CTRL.DS and SCR_EL3.FIQ earlier >> arm64: irqchip/gic-v3: Select priorities at boot time >> >> arch/arm64/include/asm/arch_gicv3.h | 15 -- >> arch/arm64/include/asm/ptrace.h | 35 +--- >> arch/arm64/kernel/image-vars.h | 5 - >> drivers/irqchip/irq-gic-common.c | 22 +-- >> drivers/irqchip/irq-gic-common.h | 7 +- >> drivers/irqchip/irq-gic-v3-its.c | 11 +- >> drivers/irqchip/irq-gic-v3.c | 225 ++++++++++++------------ >> drivers/irqchip/irq-gic.c | 10 +- >> drivers/irqchip/irq-hip04.c | 6 +- >> include/linux/irqchip/arm-gic-common.h | 4 - >> include/linux/irqchip/arm-gic-v3-prio.h | 52 ++++++ >> include/linux/irqchip/arm-gic-v3.h | 2 +- >> include/linux/wordpart.h | 8 + >> 13 files changed, 201 insertions(+), 201 deletions(-) >> create mode 100644 include/linux/irqchip/arm-gic-v3-prio.h > > Are you ok for these patches to go through the arm64 tree (I can put > them on a stable branch) or you'd rather get them through the irqchip > tree? Either way, I don't expect (major) conflicts with the arm64 tree. Take them through your tree with my Acked-by. Yes a branch would be appreciated just in case. There is also https://lore.kernel.org/all/20240529133446.28446-1-Jonathan.Cameron@huawei.com which fiddles with the GIC but most of this is not irqchip code. No idea how that is supposed to find it's way into the tree. Thanks, tglx
On Mon, 17 Jun 2024 12:18:36 +0100, Mark Rutland wrote: > This series optimizes the way regular IRQs are masked/unmasked when > GICv3 pseudo-NMIs are used, removing the need for a static key in fast > paths by using a priority value chosen dynamically at boot time. > > Thomas, would you be happy for this series to go through the arm64 tree? > The key part of the series is the final patch which changes both arm64 > and irqchip, and I expect merge conflicts or functional fallout to be > contained to arm64. > > [...] Applied to arm64 (for-next/gic-v3-pmr), thanks! [1/5] wordpart.h: Add REPEAT_BYTE_U32() https://git.kernel.org/arm64/c/118d777c4cb4 [2/5] irqchip/gic-common: Remove sync_access callback https://git.kernel.org/arm64/c/e95c64a7fb71 [3/5] irqchip/gic-v3: Make distributor priorities variables https://git.kernel.org/arm64/c/a6156e70316b [4/5] irqchip/gic-v3: Detect GICD_CTRL.DS and SCR_EL3.FIQ earlier https://git.kernel.org/arm64/c/d447bf09a401 [5/5] arm64: irqchip/gic-v3: Select priorities at boot time https://git.kernel.org/arm64/c/18fdb6348c48
On Sat, Jun 22, 2024 at 11:29:50PM +0200, Thomas Gleixner wrote: > On Fri, Jun 21 2024 at 18:26, Catalin Marinas wrote: > > On Mon, Jun 17, 2024 at 12:18:36PM +0100, Mark Rutland wrote: > >> Mark Rutland (5): > >> wordpart.h: Add REPEAT_BYTE_U32() > >> irqchip/gic-common: Remove sync_access callback > >> irqchip/gic-v3: Make distributor priorities variables > >> irqchip/gic-v3: Detect GICD_CTRL.DS and SCR_EL3.FIQ earlier > >> arm64: irqchip/gic-v3: Select priorities at boot time > >> > >> arch/arm64/include/asm/arch_gicv3.h | 15 -- > >> arch/arm64/include/asm/ptrace.h | 35 +--- > >> arch/arm64/kernel/image-vars.h | 5 - > >> drivers/irqchip/irq-gic-common.c | 22 +-- > >> drivers/irqchip/irq-gic-common.h | 7 +- > >> drivers/irqchip/irq-gic-v3-its.c | 11 +- > >> drivers/irqchip/irq-gic-v3.c | 225 ++++++++++++------------ > >> drivers/irqchip/irq-gic.c | 10 +- > >> drivers/irqchip/irq-hip04.c | 6 +- > >> include/linux/irqchip/arm-gic-common.h | 4 - > >> include/linux/irqchip/arm-gic-v3-prio.h | 52 ++++++ > >> include/linux/irqchip/arm-gic-v3.h | 2 +- > >> include/linux/wordpart.h | 8 + > >> 13 files changed, 201 insertions(+), 201 deletions(-) > >> create mode 100644 include/linux/irqchip/arm-gic-v3-prio.h > > > > Are you ok for these patches to go through the arm64 tree (I can put > > them on a stable branch) or you'd rather get them through the irqchip > > tree? Either way, I don't expect (major) conflicts with the arm64 tree. > > Take them through your tree with my Acked-by. Yes a branch would be > appreciated just in case. Thanks. I added them to the arm64 for-next/gic-v3-pmr branch (on git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git). > There is also > > https://lore.kernel.org/all/20240529133446.28446-1-Jonathan.Cameron@huawei.com > > which fiddles with the GIC but most of this is not irqchip code. No idea > how that is supposed to find it's way into the tree. I tried to avoid this series so far ;). I'll poke James Morse tomorrow to see whether he has any outstanding comments (since he started the work initially). If not, I'll queue them through the arm64 tree (same as above, on a stable branch in case of conflicts). Thanks.