irq updates for 4.17
Subsystems (11)
Linus,
please pull the latest irq-core-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-core-for-linus
The usual pile of boring changes:
- Consolidate tasklet functions to share code instead of duplicating it
- The first step for making the low level entry handler management on multi-platform kernels generic
- A new sysfs file which allows to retrieve the wakeup state of interrupts.
- Ensure that the interrupt thread follows the effective affinity and not the programmed affinity to avoid cross core wakeups.
- Two new interrupt controller drivers (Microsemi Ocelot and Qualcomm PDC)
- Fix the wakeup path clock handling for Reneasas interrupt chips.
- Rework the boot time register reset for ARM GIC-V2/3
- Better suspend/resume support for ARM GIV-V3/ITS
- Add missing locking to the ARM GIC set_type() callback
- Small fixes for the irq simulator code
- SPDX identifiers for the irq core code and removal of boiler plate
- Small cleanups all over the place
Thanks,
tglx
------------------>
Alexandre Belloni (2):
dt-bindings: interrupt-controller: Add binding for the Microsemi Ocelot interrupt controller
irqchip: Add a driver for the Microsemi Ocelot controller
Andy Shevchenko (1):
genirq: Add wakeup sysfs node to show IRQ wakeup state
Aniruddha Banerjee (1):
irqchip/gic: Take lock when updating irq type
Archana Sathyakumar (2):
irqchip/pdc: Add PDC interrupt controller for QCOM SoCs dt-bindings/interrupt-controller: pdc: Describe PDC device binding
Bartosz Golaszewski (3):
genirq/irq_sim: Explicitly include slab.h
genirq/irq_sim: Check the return value of irq_sim_init() for error codes genirq/irq_sim: Return the base of the irq range from irq_sim_init()
Davidlohr Bueso (1):
irqchip/gic: Update supports_deactivate static key to modern api
Derek Basehore (2):
irqchip/gic-v3-its: Add ability to save/restore ITS state irqchip/gic-v3-its: Add ability to resend MAPC on resume
Geert Uytterhoeven (2):
irqchip/renesas-intc-irqpin: Use wakeup_path i.s.o. explicit clock handling irqchip/renesas-irqc: Use wakeup_path i.s.o. explicit clock handling
Ingo Molnar (2):
softirq: Consolidate common code in __tasklet_[hi]_schedule()
softirq: Consolidate common code in tasklet_[hi]_action()
Marc Zyngier (8):
irqchip/gic-v2: Reset APRn registers at boot time irqchip/gic-v3: Reset APgRn registers at boot time irqchip/gic-v3: Allow LPIs to be disabled from the command line irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE irqchip/gic-v3: Loudly complain about the use of IRQ_TYPE_NONE irqchip/gic-v3: Do not check trigger configuration of partitionned LPIs irqchip/gic-v3: Don't try to reset AP0Rn
irqchip/gic-v3: Probe for SCR_EL3 being clear before resetting AP0Rn
Palmer Dabbelt (2):
genirq: Add CONFIG_GENERIC_IRQ_MULTI_HANDLER
RISC-V: Move to the new GENERIC_IRQ_MULTI_HANDLER handler
Randy Dunlap (1):
genirq: Drop 5 #included header files from irq.h
Shanker Donthineni (1):
irqchip/gic-v3: Ensure GICR_CTLR.EnableLPI=0 is observed before enabling
Thomas Gleixner (5):
genirq: Let irq thread follow the effective hard irq affinity
genirq: Cleanup top of file comments genirq/matrix: Cleanup SPDX identifier
genirq: Add missing SPDX identifiers
genirq: Remove license boilerplate/references
Uwe Kleine König (1):
genirq: Pass desc to __irq_free instead of irq number
Documentation/ABI/testing/sysfs-kernel-irq | 7 + Documentation/admin-guide/kernel-parameters.txt | 8 + .../interrupt-controller/mscc,ocelot-icpu-intr.txt | 22 ++ .../bindings/interrupt-controller/qcom,pdc.txt | 78 ++++++ arch/arm/include/asm/arch_gicv3.h | 47 +++- arch/arm64/include/asm/arch_gicv3.h | 5 - arch/riscv/Kconfig | 1 + arch/riscv/include/asm/Kbuild | 1 + arch/riscv/kernel/entry.S | 7 +- arch/riscv/kernel/irq.c | 13 - drivers/irqchip/Kconfig | 14 + drivers/irqchip/Makefile | 2 + drivers/irqchip/irq-gic-common.c | 9 +- drivers/irqchip/irq-gic-v3-its.c | 267 ++++++++++++++---- drivers/irqchip/irq-gic-v3.c | 99 ++++++- drivers/irqchip/irq-gic.c | 44 +-- drivers/irqchip/irq-mscc-ocelot.c | 118 ++++++++ drivers/irqchip/irq-renesas-intc-irqpin.c | 40 ++- drivers/irqchip/irq-renesas-irqc.c | 30 +- drivers/irqchip/qcom-pdc.c | 311 +++++++++++++++++++++ include/linux/irq.h | 23 +- include/linux/irqchip/arm-gic-v3.h | 4 +- kernel/irq/Kconfig | 5 + kernel/irq/autoprobe.c | 2 - kernel/irq/chip.c | 10 +- kernel/irq/cpuhotplug.c | 1 + kernel/irq/debugfs.c | 8 +- kernel/irq/devres.c | 1 + kernel/irq/dummychip.c | 1 + kernel/irq/generic-chip.c | 1 + kernel/irq/handle.c | 23 +- kernel/irq/ipi.c | 3 +- kernel/irq/irq_sim.c | 14 +- kernel/irq/irqdesc.c | 23 +- kernel/irq/irqdomain.c | 2 + kernel/irq/manage.c | 21 +- kernel/irq/matrix.c | 8 +- kernel/irq/msi.c | 3 +- kernel/irq/pm.c | 3 +- kernel/irq/proc.c | 2 - kernel/irq/resend.c | 2 - kernel/irq/spurious.c | 2 - kernel/irq/timings.c | 13 +- kernel/softirq.c | 82 ++---- 44 files changed, 1103 insertions(+), 277 deletions(-) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mscc,ocelot-icpu-intr.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt create mode 100644 drivers/irqchip/irq-mscc-ocelot.c create mode 100644 drivers/irqchip/qcom-pdc.c
Documentation/ABI/testing/sysfs-kernel-irq +7 -0
@@ -51,3 +51,10 @@ Date: September 2016 KernelVersion: 4.9 Contact: Craig Gallek <[email protected]> Description: The type of the interrupt. Either the string 'level' or 'edge'. + +What: /sys/kernel/irq/<irq>/wakeup +Date: March 2018 +KernelVersion: 4.17 +Contact: Andy Shevchenko <[email protected]> +Description: The wakeup state of the interrupt. Either the string + 'enabled' or 'disabled'.
Documentation/admin-guide/kernel-parameters.txt +8 -0
@@ -1743,6 +1743,14 @@ of a GICv2 controller even if the memory range exposed by the device tree is too small. + irqchip.gicv3_nolpi= + [ARM, ARM64] + Force the kernel to ignore the availability of + LPIs (and by consequence ITSs). Intended for system + that use the kernel as a bootloader, and thus want + to let secondary kernels in charge of setting up + LPIs. + irqfixup [HW] When an interrupt is not handled search all handlers for it. Intended to get systems with badly broken
Documentation/devicetree/bindings/interrupt-controller/mscc,ocelot-icpu-intr.txt new file +22 -0
@@ -0,0 +1,22 @@ +Microsemi Ocelot SoC ICPU Interrupt Controller + +Required properties: + +- compatible : should be "mscc,ocelot-icpu-intr" +- reg : Specifies base physical address and size of the registers. +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source. The value shall be 1. +- interrupt-parent : phandle of the CPU interrupt controller. +- interrupts : Specifies the CPU interrupt the controller is connected to. + +Example: + + intc: interrupt-controller@70000070 { + compatible = "mscc,ocelot-icpu-intr"; + reg = <0x70000070 0x70>; + #interrupt-cells = <1>; + interrupt-controller; + interrupt-parent = <&cpuintc>; + interrupts = <2>; + };
Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt new file +78 -0
78 lines not on this page · raw message
arch/arm/include/asm/arch_gicv3.h +32 -15
72 lines not on this page · raw message
arch/arm64/include/asm/arch_gicv3.h +0 -5
@@ -76,11 +76,6 @@ static inline u64 gic_read_iar_cavium_thunderx(void)return irqstat; } -static inline void gic_write_pmr (u32 val) -{ -write_sysreg_s (val,SYS_ICC_PMR_EL1 ); -} -static inline void gic_write_ctlr (u32 val) {write_sysreg_s (val,SYS_ICC_CTLR_EL1 );
arch/riscv/Kconfig +1 -0
@@ -33,6 +33,7 @@ config RISCV select MODULES_USE_ELF_RELA if MODULES select THREAD_INFO_IN_TASK select RISCV_TIMER + select GENERIC_IRQ_MULTI_HANDLER config MMU def_bool y
arch/riscv/include/asm/Kbuild +1 -0
@@ -15,6 +15,7 @@ generic-y += fcntl.h generic-y += futex.h generic-y += hardirq.h generic-y += hash.h +generic-y += handle_irq.h generic-y += hw_irq.h generic-y += ioctl.h generic-y += ioctls.h
arch/riscv/kernel/entry.S +3 -4
@@ -167,10 +167,9 @@ ENTRY(handle_exception) bge s4, zero, 1f /* Handle interrupts */ - slli a0, s4, 1 - srli a0, a0, 1 - move a1, sp /* pt_regs */ - tail do_IRQ + move a0, sp /* pt_regs */ + REG_L a1, handle_arch_irq + jr a1 1: /* Exceptions run with interrupts enabled */ csrs sstatus, SR_SIE
arch/riscv/kernel/irq.c +0 -13
@@ -24,16 +24,3 @@ void __init init_IRQ(void) {irqchip_init (); } - -asmlinkage void __irq_entry do_IRQ(unsigned int cause, struct pt_regs *regs) -{ -#ifdef CONFIG_RISCV_INTC -/* -* FIXME: We don't want a direct call to riscv_intc_irq here. The plan -* is to put an IRQ domain here and let the interrupt controller -* register with that, but I poked around the arm64 code a bit and -* there might be a better way to do it (ie, something fully generic). -*/ -riscv_intc_irq (cause, regs); -#endif -}
drivers/irqchip/Kconfig +14 -0
@@ -286,6 +286,11 @@ config IRQ_MXS select IRQ_DOMAIN select STMP_DEVICE +config MSCC_OCELOT_IRQ + bool + select IRQ_DOMAIN + select GENERIC_IRQ_CHIP + config MVEBU_GICP bool
@@ -351,4 +356,13 @@ config GOLDFISH_PIC Say yes here to enable Goldfish interrupt controller driver used for Goldfish based virtual platforms. +config QCOM_PDC + bool "QCOM PDC" + depends on ARCH_QCOM + select IRQ_DOMAIN + select IRQ_DOMAIN_HIERARCHY + help + Power Domain Controller driver to manage and configure wakeup + IRQs for Qualcomm Technologies Inc (QTI) mobile chips. + endmenu
drivers/irqchip/Makefile +2 -0
@@ -72,6 +72,7 @@ obj-$(CONFIG_ARCH_SA1100) += irq-sa11x0.o obj-$(CONFIG_INGENIC_IRQ) += irq-ingenic.o obj-$(CONFIG_IMX_GPCV2) += irq-imx-gpcv2.o obj-$(CONFIG_PIC32_EVIC) += irq-pic32-evic.o +obj-$(CONFIG_MSCC_OCELOT_IRQ) += irq-mscc-ocelot.o obj-$(CONFIG_MVEBU_GICP) += irq-mvebu-gicp.o obj-$(CONFIG_MVEBU_ICU) += irq-mvebu-icu.o obj-$(CONFIG_MVEBU_ODMI) += irq-mvebu-odmi.o
@@ -85,3 +86,4 @@ obj-$(CONFIG_IRQ_UNIPHIER_AIDET) += irq-uniphier-aidet.o obj-$(CONFIG_ARCH_SYNQUACER) += irq-sni-exiu.o obj-$(CONFIG_MESON_IRQ_GPIO) += irq-meson-gpio.o obj-$(CONFIG_GOLDFISH_PIC) += irq-goldfish-pic.o +obj-$(CONFIG_QCOM_PDC) += qcom-pdc.o
drivers/irqchip/irq-gic-common.c +8 -1
@@ -21,6 +21,8 @@#include "irq-gic-common.h" +static DEFINE_RAW_SPINLOCK (irq_controller_lock); +static const struct gic_kvm_info *gic_kvm_info;const struct gic_kvm_info *gic_get_kvm_info (void )
@@ -53,11 +55,13 @@ int gic_configure_irq(unsigned int irq, unsigned int type,u32 confoff = (irq /16 ) *4 ;u32 val, oldval;int ret =0 ; +unsigned long flags;/* * Read current configuration register, and insert the config * for "irq", depending on "type". */ +raw_spin_lock_irqsave (&irq_controller_lock, flags); val = oldval =readl_relaxed (base +GIC_DIST_CONFIG + confoff);if (type &IRQ_TYPE_LEVEL_MASK ) val &= ~confmask;
@@ -65,8 +69,10 @@ int gic_configure_irq(unsigned int irq, unsigned int type, val |= confmask;/* If the current configuration is the same, then we are done */ -if (val == oldval) +if (val == oldval) { +raw_spin_unlock_irqrestore (&irq_controller_lock, flags);return 0 ; + }/* * Write back the new configuration, and possibly re-enable
@@ -84,6 +90,7 @@ int gic_configure_irq(unsigned int irq, unsigned int type,pr_warn ("GIC: PPI%d is secure or misconfigured\n" , irq -16 ); } +raw_spin_unlock_irqrestore (&irq_controller_lock, flags);if (sync_access)sync_access ();
drivers/irqchip/irq-gic-v3-its.c +215 -52
333 lines not on this page · raw message
drivers/irqchip/irq-gic-v3.c +86 -13
211 lines not on this page · raw message
drivers/irqchip/irq-gic.c +27 -17
133 lines not on this page · raw message
drivers/irqchip/irq-mscc-ocelot.c new file +118 -0
118 lines not on this page · raw message
drivers/irqchip/irq-renesas-intc-irqpin.c +16 -24
@@ -17,7 +17,6 @@* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <linux/clk.h> #include <linux/init.h> #include <linux/of.h> #include <linux/platform_device.h>
@@ -78,16 +77,14 @@ struct intc_irqpin_priv {struct platform_device *pdev;struct irq_chip irq_chip;struct irq_domain *irq_domain; -struct clk *clk; +atomic_t wakeup_path; unsigned shared_irqs:1; - unsigned needs_clk:1;u8 shared_irq_mask; };struct intc_irqpin_config {unsigned int irlm_bit;unsigned needs_irlm:1 ; -unsigned needs_clk:1 ; };static unsigned long intc_irqpin_read32 (void __iomem *iomem)
@@ -287,14 +284,10 @@ static int intc_irqpin_irq_set_wake(struct irq_data *d, unsigned int on)int hw_irq =irqd_to_hwirq (d);irq_set_irq_wake (p->irq[hw_irq].requested_irq, on); - -if (!p->clk) -return 0 ; -if (on) -clk_enable (p->clk); +atomic_inc (&p->wakeup_path);else -clk_disable (p->clk); +atomic_dec (&p->wakeup_path);return 0 ; }
@@ -369,12 +362,10 @@ static const struct irq_domain_ops intc_irqpin_irq_domain_ops = {static const struct intc_irqpin_config intc_irqpin_irlm_r8a777x = { .irlm_bit =23 ,/* ICR0.IRLM0 */ .needs_irlm =1 , - .needs_clk =0 , };static const struct intc_irqpin_config intc_irqpin_rmobile = { .needs_irlm =0 , - .needs_clk =1 , };static const struct of_device_id intc_irqpin_dt_ids[] = {
@@ -426,18 +417,6 @@ static int intc_irqpin_probe(struct platform_device *pdev)platform_set_drvdata (pdev, p); config =of_device_get_match_data (dev); -if (config) - p->needs_clk = config->needs_clk; - - p->clk =devm_clk_get (dev,NULL ); -if (IS_ERR (p->clk)) { -if (p->needs_clk) { -dev_err (dev,"unable to get clock\n" ); - ret =PTR_ERR (p->clk); - goto err0; - } - p->clk =NULL ; - }pm_runtime_enable (dev);pm_runtime_get_sync (dev);
@@ -606,12 +585,25 @@ static int intc_irqpin_remove(struct platform_device *pdev)return 0 ; } +static int __maybe_unused intc_irqpin_suspend (struct device *dev) +{ +struct intc_irqpin_priv *p =dev_get_drvdata (dev); + +if (atomic_read (&p->wakeup_path)) +device_set_wakeup_path (dev); + +return 0 ; +} + +static SIMPLE_DEV_PM_OPS(intc_irqpin_pm_ops, intc_irqpin_suspend, NULL); +static struct platform_driver intc_irqpin_device_driver = { .probe = intc_irqpin_probe, .remove = intc_irqpin_remove, .driver = { .name ="renesas_intc_irqpin" , .of_match_table = intc_irqpin_dt_ids, + .pm = &intc_irqpin_pm_ops, } };
drivers/irqchip/irq-renesas-irqc.c +16 -14
@@ -17,7 +17,6 @@* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <linux/clk.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/spinlock.h>
@@ -64,7 +63,7 @@ struct irqc_priv {struct platform_device *pdev;struct irq_chip_generic *gc;struct irq_domain *irq_domain; -struct clk *clk; +atomic_t wakeup_path; };static struct irqc_priv *irq_data_to_priv (struct irq_data *data)
@@ -111,14 +110,10 @@ static int irqc_irq_set_wake(struct irq_data *d, unsigned int on)int hw_irq =irqd_to_hwirq (d);irq_set_irq_wake (p->irq[hw_irq].requested_irq, on); - -if (!p->clk) -return 0 ; -if (on) -clk_enable (p->clk); +atomic_inc (&p->wakeup_path);else -clk_disable (p->clk); +atomic_dec (&p->wakeup_path);return 0 ; }
@@ -159,12 +154,6 @@ static int irqc_probe(struct platform_device *pdev) p->pdev = pdev;platform_set_drvdata (pdev, p); - p->clk =devm_clk_get (&pdev->dev,NULL ); -if (IS_ERR (p->clk)) { -dev_warn (&pdev->dev,"unable to get clock\n" ); - p->clk =NULL ; - } -pm_runtime_enable (&pdev->dev);pm_runtime_get_sync (&pdev->dev);
@@ -276,6 +265,18 @@ static int irqc_remove(struct platform_device *pdev)return 0 ; } +static int __maybe_unused irqc_suspend (struct device *dev) +{ +struct irqc_priv *p =dev_get_drvdata (dev); + +if (atomic_read (&p->wakeup_path)) +device_set_wakeup_path (dev); + +return 0 ; +} + +static SIMPLE_DEV_PM_OPS(irqc_pm_ops, irqc_suspend, NULL); +static const struct of_device_id irqc_dt_ids[] = { { .compatible ="renesas,irqc" , }, {},
@@ -288,6 +289,7 @@ static struct platform_driver irqc_device_driver = { .driver = { .name = "renesas_irqc", .of_match_table = irqc_dt_ids, + .pm = &irqc_pm_ops, } };
drivers/irqchip/qcom-pdc.c new file +311 -0
311 lines not on this page · raw message
include/linux/irq.h +18 -5
@@ -10,18 +10,13 @@* Thanks. --rmk */ -#include <linux/smp.h> -#include <linux/linkage.h> #include <linux/cache.h> #include <linux/spinlock.h> #include <linux/cpumask.h> -#include <linux/gfp.h> #include <linux/irqhandler.h> #include <linux/irqreturn.h> #include <linux/irqnr.h> -#include <linux/errno.h> #include <linux/topology.h> -#include <linux/wait.h> #include <linux/io.h> #include <linux/slab.h>
@@ -1170,4 +1165,22 @@ int __ipi_send_mask(struct irq_desc *desc, const struct cpumask *dest);int ipi_send_single (unsigned int virq,unsigned int cpu);int ipi_send_mask (unsigned int virq,const struct cpumask *dest); +#ifdef CONFIG_GENERIC_IRQ_MULTI_HANDLER +/* +* Registers a generic IRQ handling function as the top-level IRQ handler in +* the system, which is generally the first C code called from an assembly +* architecture-specific interrupt handler. +* +* Returns 0 on success, or -EBUSY if an IRQ handler has already been +* registered. +*/ +int __init set_handle_irq (void (*handle_irq)(struct pt_regs *)); + +/* +* Allows interrupt handlers to find the irqchip that's been registered as the +* top-level IRQ handler. +*/ +extern void (*handle_arch_irq)(struct pt_regs *)__ro_after_init ; +#endif +#endif /* _LINUX_IRQ_H */
include/linux/irqchip/arm-gic-v3.h +3 -1
@@ -106,6 +106,7 @@#define GICR_PIDR2 GICD_PIDR2#define GICR_CTLR_ENABLE_LPIS (1UL << 0) +#define GICR_CTLR_RWP (1UL << 3)#define GICR_TYPER_CPU_NUMBER (r) (((r) >> 8) & 0xffff)
@@ -312,7 +313,8 @@#define GITS_TYPER_DEVBITS_SHIFT 13#define GITS_TYPER_DEVBITS (r) ((((r) >> GITS_TYPER_DEVBITS_SHIFT) & 0x1f) + 1)#define GITS_TYPER_PTA (1UL << 19) -#define GITS_TYPER_HWCOLLCNT_SHIFT 24 +#define GITS_TYPER_HCC_SHIFT 24 +#define GITS_TYPER_HCC (r) (((r) >> GITS_TYPER_HCC_SHIFT) & 0xff)#define GITS_TYPER_VMOVP (1ULL << 37)#define GITS_IIDR_REV_SHIFT 12
kernel/irq/Kconfig +5 -0
@@ -132,3 +132,8 @@ config GENERIC_IRQ_DEBUGFS If you don't know what to do here, say N. endmenu + +config GENERIC_IRQ_MULTI_HANDLER + bool + help + Allow to specify the low level IRQ handler at run time.
kernel/irq/autoprobe.c +0 -2
@@ -1,7 +1,5 @@// SPDX-License-Identifier: GPL-2.0 /* -* linux/kernel/irq/autoprobe.c -* * Copyright (C) 1992, 1998-2004 Linus Torvalds, Ingo Molnar * * This file contains the interrupt probing code and driver APIs.
kernel/irq/chip.c +4 -6
@@ -1,13 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 /* -* linux/kernel/irq/chip.c -* * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar * Copyright (C) 2005-2006, Thomas Gleixner, Russell King * -* This file contains the core interrupt handling code, for irq-chip -* based architectures. -* -* Detailed information is available in Documentation/core-api/genericirq.rst +* This file contains the core interrupt handling code, for irq-chip based +* architectures. Detailed information is available in +* Documentation/core-api/genericirq.rst */ #include <linux/irq.h>
kernel/irq/cpuhotplug.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Generic cpu hotunplug interrupt migration code copied from the * arch/arm implementation
kernel/irq/debugfs.c +3 -5
@@ -1,8 +1,6 @@ -/* -* Copyright 2017 Thomas Gleixner <[email protected]> -* -* This file is licensed under the GPL V2. -*/ +// SPDX-License-Identifier: GPL-2.0 +// Copyright 2017 Thomas Gleixner <[email protected]> +#include <linux/irqdomain.h> #include <linux/irq.h> #include <linux/uaccess.h>
kernel/irq/devres.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/module.h> #include <linux/interrupt.h> #include <linux/device.h>
kernel/irq/dummychip.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar * Copyright (C) 2005-2006, Thomas Gleixner, Russell King
kernel/irq/generic-chip.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Library implementing the most common irq chip callback functions *
kernel/irq/handle.c +18 -5
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* -* linux/kernel/irq/handle.c -* * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar * Copyright (C) 2005-2006, Thomas Gleixner, Russell King * -* This file contains the core interrupt handling code. -* -* Detailed information is available in Documentation/core-api/genericirq.rst +* This file contains the core interrupt handling code. Detailed +* information is available in Documentation/core-api/genericirq.rst * */
@@ -20,6 +18,10 @@#include "internals.h" +#ifdef CONFIG_GENERIC_IRQ_MULTI_HANDLER +void (*handle_arch_irq)(struct pt_regs *)__ro_after_init ; +#endif +/** * handle_bad_irq - handle spurious and unhandled irqs * @desc: description of the interrupt
@@ -207,3 +209,14 @@ irqreturn_t handle_irq_event(struct irq_desc *desc)irqd_clear (&desc->irq_data,IRQD_IRQ_INPROGRESS );return ret; } + +#ifdef CONFIG_GENERIC_IRQ_MULTI_HANDLER +int __init set_handle_irq (void (*handle_irq)(struct pt_regs *)) +{ +if (handle_arch_irq) +return -EBUSY ; + + handle_arch_irq = handle_irq; +return 0 ; +} +#endif
kernel/irq/ipi.c +1 -2
@@ -1,6 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 /* -* linux/kernel/irq/ipi.c -* * Copyright (C) 2015 Imagination Technologies Ltd * Author: Qais Yousef <[email protected]> *
kernel/irq/irq_sim.c +9 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2017 Bartosz Golaszewski <[email protected]> *
@@ -7,6 +8,7 @@* option) any later version. */ +#include <linux/slab.h> #include <linux/irq_sim.h> #include <linux/irq.h>
@@ -49,7 +51,8 @@ static void irq_sim_handle_irq(struct irq_work *work)* @sim: The interrupt simulator object to initialize. * @num_irqs: Number of interrupts to allocate * -* Returns 0 on success and a negative error number on failure. +* On success: return the base of the allocated interrupt range. +* On failure: a negative errno. */ int irq_sim_init (struct irq_sim *sim,unsigned int num_irqs) {
@@ -78,7 +81,7 @@ int irq_sim_init(struct irq_sim *sim, unsigned int num_irqs)init_irq_work (&sim->work_ctx.work, irq_sim_handle_irq); sim->irq_count = num_irqs; -return 0 ; +return sim->irq_base; }EXPORT_SYMBOL_GPL (irq_sim_init);
@@ -110,7 +113,8 @@ static void devm_irq_sim_release(struct device *dev, void *res)* @sim: The interrupt simulator object to initialize. * @num_irqs: Number of interrupts to allocate * -* Returns 0 on success and a negative error number on failure. +* On success: return the base of the allocated interrupt range. +* On failure: a negative errno. */ int devm_irq_sim_init (struct device *dev,struct irq_sim *sim,unsigned int num_irqs)
@@ -123,7 +127,7 @@ int devm_irq_sim_init(struct device *dev, struct irq_sim *sim,return -ENOMEM ; rv =irq_sim_init (sim, num_irqs); -if (rv) { +if (rv <0 ) {devres_free (dr);return rv; }
@@ -131,7 +135,7 @@ int devm_irq_sim_init(struct device *dev, struct irq_sim *sim, dr->sim = sim;devres_add (dev, dr); -return 0 ; +return rv; }EXPORT_SYMBOL_GPL (devm_irq_sim_init);
kernel/irq/irqdesc.c +20 -3
@@ -1,10 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar * Copyright (C) 2005-2006, Thomas Gleixner, Russell King * -* This file contains the interrupt descriptor management code -* -* Detailed information is available in Documentation/core-api/genericirq.rst +* This file contains the interrupt descriptor management code. Detailed +* information is available in Documentation/core-api/genericirq.rst * */ #include <linux/irq.h>
@@ -210,6 +210,22 @@ static ssize_t type_show(struct kobject *kobj, }IRQ_ATTR_RO (type); +static ssize_t wakeup_show (struct kobject *kobj, +struct kobj_attribute *attr,char *buf) +{ + struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); +ssize_t ret =0 ; + +raw_spin_lock_irq (&desc->lock); + ret =sprintf (buf,"%s\n" , +irqd_is_wakeup_set (&desc->irq_data) ?"enabled" :"disabled" ); +raw_spin_unlock_irq (&desc->lock); + +return ret; + +} +IRQ_ATTR_RO (wakeup); +static ssize_t name_show (struct kobject *kobj,struct kobj_attribute *attr,char *buf) {
@@ -253,6 +269,7 @@ static struct attribute *irq_attrs[] = { &chip_name_attr.attr, &hwirq_attr.attr, &type_attr.attr, + &wakeup_attr.attr, &name_attr.attr, &actions_attr.attr,NULL
kernel/irq/irqdomain.c +2 -0
@@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 +#define pr_fmt (fmt) "irq: " fmt#include <linux/acpi.h>
kernel/irq/manage.c +12 -9
@@ -1,6 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 /* -* linux/kernel/irq/manage.c -* * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar * Copyright (C) 2005-2006 Thomas Gleixner *
@@ -855,10 +854,14 @@ irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action)* This code is triggered unconditionally. Check the affinity * mask pointer. For CPU_MASK_OFFSTACK=n this is optimized out. */ -if (cpumask_available (desc->irq_common_data.affinity)) -cpumask_copy (mask, desc->irq_common_data.affinity); -else +if (cpumask_available (desc->irq_common_data.affinity)) { +const struct cpumask *m; + + m =irq_data_get_effective_affinity_mask (&desc->irq_data); +cpumask_copy (mask, m); + }else { valid = false; + }raw_spin_unlock_irq (&desc->lock);if (valid)
@@ -1519,9 +1522,9 @@ EXPORT_SYMBOL_GPL(setup_irq);* Internal function to unregister an irqaction - used to free * regular and special interrupts that are part of the architecture. */ -static struct irqaction *__free_irq (unsigned int irq,void *dev_id) +static struct irqaction *__free_irq (struct irq_desc *desc,void *dev_id) { -struct irq_desc *desc =irq_to_desc (irq); +unsigned irq = desc->irq_data.irq;struct irqaction *action, **action_ptr;unsigned long flags;
@@ -1651,7 +1654,7 @@ void remove_irq(unsigned int irq, struct irqaction *act)struct irq_desc *desc =irq_to_desc (irq);if (desc && !WARN_ON (irq_settings_is_per_cpu_devid (desc))) -__free_irq (irq, act->dev_id); +__free_irq (desc, act->dev_id); }EXPORT_SYMBOL_GPL (remove_irq);
@@ -1685,7 +1688,7 @@ const void *free_irq(unsigned int irq, void *dev_id) desc->affinity_notify =NULL ;#endif - action =__free_irq (irq, dev_id); + action =__free_irq (desc, dev_id);if (!action)return NULL ;
kernel/irq/matrix.c +3 -5
@@ -1,8 +1,6 @@ -/* -* Copyright (C) 2017 Thomas Gleixner <[email protected]> -* -* SPDX-License-Identifier: GPL-2.0 -*/ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2017 Thomas Gleixner <[email protected]> +#include <linux/spinlock.h> #include <linux/seq_file.h> #include <linux/bitmap.h>
kernel/irq/msi.c +1 -2
@@ -1,6 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 /* -* linux/kernel/irq/msi.c -* * Copyright (C) 2014 Intel Corp. * Author: Jiang Liu <[email protected]> *
kernel/irq/pm.c +1 -2
@@ -1,6 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 /* -* linux/kernel/irq/pm.c -* * Copyright (C) 2009 Rafael J. Wysocki <[email protected]>, Novell Inc. * * This file contains power management functions related to interrupts.
kernel/irq/proc.c +0 -2
@@ -1,7 +1,5 @@// SPDX-License-Identifier: GPL-2.0 /* -* linux/kernel/irq/proc.c -* * Copyright (C) 1992, 1998-2004 Linus Torvalds, Ingo Molnar * * This file contains the /proc/irq/ handling code.
kernel/irq/resend.c +0 -2
@@ -1,7 +1,5 @@// SPDX-License-Identifier: GPL-2.0 /* -* linux/kernel/irq/resend.c -* * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar * Copyright (C) 2005-2006, Thomas Gleixner *
kernel/irq/spurious.c +0 -2
@@ -1,7 +1,5 @@// SPDX-License-Identifier: GPL-2.0 /* -* linux/kernel/irq/spurious.c -* * Copyright (C) 1992, 1998-2004 Linus Torvalds, Ingo Molnar * * This file contains spurious interrupt handling.
kernel/irq/timings.c +3 -10
@@ -1,13 +1,6 @@ -/* -* linux/kernel/irq/timings.c -* -* Copyright (C) 2016, Linaro Ltd - Daniel Lezcano <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -*/ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2016, Linaro Ltd - Daniel Lezcano <[email protected]> +#include <linux/kernel.h> #include <linux/percpu.h> #include <linux/slab.h>
kernel/softirq.c +31 -51
118 lines not on this page · raw message
Quoted 3 lines · On Tue, 03 Apr 2018 05:03:56 PDT (-0700), [email protected] wrote:
Palmer Dabbelt (2):
genirq: AddCONFIG_GENERIC_IRQ_MULTI_HANDLER
RISC-V: Move to the newGENERIC_IRQ_MULTI_HANDLERhandler
Oh, sorry, I must have screwed something up here. I attempted to send out a v4 of this patch set that doesn't break ARM here
https://lkml.org/lkml/2018/3/27/671
I assume it's too late to swap this out for that? If so that's OK, I can just send a follow-on.
Sorry for breaking things!
Quoted 5 lines · Palmer Dabbelt
I assume it's too late to swap this out for that? If so that's OK, I can just send a follow-on.
Sorry for breaking things!
Thomas,
I'll delay pulling your trees until tomorrow in case you want to fix
things up.
And after that, I guess we can fix it up after-the-fact too.
Linus
Quoted 5 lines · Linus Torvalds
Quoted 4 lines · Palmer Dabbelt
I assume it's too late to swap this out for that? If so that's OK, I can just send a follow-on.
Quoted 7 lines
Quoted 1 line
Sorry for breaking things!
Thomas,
I'll delay pulling your trees until tomorrow in case you want to fix
things up.And after that, I guess we can fix it up after-the-fact too.
Thanks! The linked patch set should be fully bisectable, while this one will fail on some ARM randconfigs.
Quoted 3 lines · Palmer Dabbelt
Thanks! The linked patch set should be fully bisectable, while this one will fail on some ARM randconfigs.
If it's only some (not very realistic) randconfigs, I suspect an incremental fix is probably the easier solution, rather than redoing that whole branch.
So mind at least sending that incremental fix on top of the branch to Thomas and making his life easier if he decides to go that way?
And if Thomas is busy doing something else (*), and I come back to this tomorrow as-is, I'd want to pull his tree and just apply the incremental fix anyway, so it makes sense to send it to me as well.
Linus
(*) I have long since accepted that some people have a life outside of kernel development too, and don't always reply immediately. I may not _understand_ it, but I am resigned to the fact.
Quoted 8 lines · Linus Torvalds
Quoted 3 lines · Palmer Dabbelt
Thanks! The linked patch set should be fully bisectable, while this one will fail on some ARM randconfigs.
If it's only some (not very realistic) randconfigs, I suspect an incremental fix is probably the easier solution, rather than redoing that whole branch.
They're randconfigs that can't be selected via menuconfig so maybe that's not a big deal (and it's why I missed it in the first place). I'm a big fan of the sorts of automated build tools that find all my bugs, which is why I was willing to jump through some hoops to make the patch set bisectable.
Quoted 2 lines
So mind at least sending that incremental fix on top of the branch to Thomas and making his life easier if he decides to go that way?
I'm treating this as the cover letter to that patch set. I've build tested this with the same set of configs as my full patch set (arm defconfig, arm64 defconfig, openrisc defconfig, and a failing arm config from the 0-day robot) but only after the final patch was applied -- it's not bisectable anyway.
I've dropped the various acknowledgements, as this is a bit messy and I don't want to sign any else up as agreeing with it :).
I have follow-on patches to convert arm, arm64, and openrisc to GENERIC_IRQ_MULTI_HANDLER and then remove the MULTI_IRQ_HANDLER, but since they're not strictly part of this cleanup I'll submit those via a more normal process if you end up taking these patches.
This is available as a more pull request smelling method via
git://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git
palmer-for-linus-4.17-ugly_irqIt's on top of the full IRQ pull request. After doing everything I feel like it might have been a bit better to base this only on top of the broken patch (so git bisect could have a bit more info to avoid entering the broken region), but I feel like that's splitting hairs at this point.
Quoted 9 lines
And if Thomas is busy doing something else (*), and I come back to this tomorrow as-is, I'd want to pull his tree and just apply the incremental fix anyway, so it makes sense to send it to me as well.
Linus
(*) I have long since accepted that some people have a life outside of kernel development too, and don't always reply immediately. I may not _understand_ it, but I am resigned to the fact.
Ah, well, I guess in this case it's all really my fault: While I generally try to avoid having a life, I recently went outside to attend ELC and managed to catch the flu, which resulted in me missing Thomas' complaints of me breaking things.
I can't promise that won't happen again :).
PATCH 1/3 arm64: Set CONFIG_MULTI_IRQ_HANDLER
arm has an optional MULTI_IRQ_HANDLER, which arm64 copied but didn't make optional. I'm converting this to generic code, but in order to aid the porting effort I want to define this on arm64 for a bit. This will go away at the end of this patch set.
--- arch/arm64/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/Kconfig +4 -0
@@ -132,6 +132,7 @@ config ARM64 select IRQ_DOMAIN select IRQ_FORCED_THREADING select MODULES_USE_ELF_RELA + select MULTI_IRQ_HANDLER select NO_BOOTMEM select OF select OF_EARLY_FLATTREE
@@ -275,6 +276,9 @@ config ARCH_SUPPORTS_UPROBES config ARCH_PROC_KCORE_TEXT def_bool y +config MULTI_IRQ_HANDLER + def_bool y + source "init/Kconfig" source "kernel/Kconfig.freezer"
Signature · 1 line
2.16.1
tip-bot for Palmer Dabbelt
merge bot[tip:irq/core] arm64: Set CONFIG_MULTI_IRQ_HANDLER
arm64: Set CONFIG_MULTI_IRQ_HANDLER
Commit-ID: 667b24d049e5dd643a351757fee1a17472cd1719 Gitweb: https://git.kernel.org/tip/667b24d049e5dd643a351757fee1a17472cd1719 Author: Palmer Dabbelt <[email protected]> AuthorDate: Tue, 3 Apr 2018 21:31:28 -0700 Committer: Thomas Gleixner <[email protected]> CommitDate: Wed, 4 Apr 2018 12:04:28 +0200
arm64: Set CONFIG_MULTI_IRQ_HANDLER
arm has an optional MULTI_IRQ_HANDLER, which arm64 copied but didn't make optional. The multi irq handler infrastructure has been copied to generic code selectable with a new config symbol. That symbol can be selected by randconfig builds and can cause build breakage.
Introduce CONFIG_MULTI_IRQ_HANDLER as an intermediate step which prevents the core config symbol from being selected. The arm64 local config symbol will be removed once arm64 gets converted to the generic code.
--- arch/arm64/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/Kconfig +4 -0
@@ -132,6 +132,7 @@ config ARM64 select IRQ_DOMAIN select IRQ_FORCED_THREADING select MODULES_USE_ELF_RELA + select MULTI_IRQ_HANDLER select NO_BOOTMEM select OF select OF_EARLY_FLATTREE
@@ -275,6 +276,9 @@ config ARCH_SUPPORTS_UPROBES config ARCH_PROC_KCORE_TEXT def_bool y +config MULTI_IRQ_HANDLER + def_bool y + source "init/Kconfig" source "kernel/Kconfig.freezer"
PATCH 2/3 openrisc: Set CONFIG_MULTI_IRQ_HANDLER
In reply to Palmer Dabbeltarm has an optional MULTI_IRQ_HANDLER, which arm64 copied but didn't make optional. I'm converting this to generic code, but in order to aid the porting effort I want to define this on arm64 for a bit. This will go away at the end of this patch set.
--- arch/openrisc/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
arch/openrisc/Kconfig +4 -0
@@ -27,6 +27,7 @@ config OPENRISC select GENERIC_STRNLEN_USER select GENERIC_SMP_IDLE_THREAD select MODULES_USE_ELF_RELA + select MULTI_IRQ_HANDLER select HAVE_DEBUG_STACKOVERFLOW select OR1K_PIC select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1
@@ -68,6 +69,9 @@ config STACKTRACE_SUPPORT config LOCKDEP_SUPPORT def_bool y +config MULTI_IRQ_HANDLER + def_bool y + source "init/Kconfig" source "kernel/Kconfig.freezer"
Signature · 1 line
2.16.1
tip-bot for Palmer Dabbelt
merge bot[tip:irq/core] openrisc: Set CONFIG_MULTI_IRQ_HANDLER
openrisc: Set CONFIG_MULTI_IRQ_HANDLER
Commit-ID: 83fbdf1c0595470d98ee99a6474099aee870640f Gitweb: https://git.kernel.org/tip/83fbdf1c0595470d98ee99a6474099aee870640f Author: Palmer Dabbelt <[email protected]> AuthorDate: Tue, 3 Apr 2018 21:31:29 -0700 Committer: Thomas Gleixner <[email protected]> CommitDate: Wed, 4 Apr 2018 12:04:28 +0200
openrisc: Set CONFIG_MULTI_IRQ_HANDLER
arm has an optional MULTI_IRQ_HANDLER, which openrisc copied but didn't make optional. The multi irq handler infrastructure has been copied to generic code selectable with a new config symbol. That symbol can be selected by randconfig builds and can cause build breakage.
Introduce CONFIG_MULTI_IRQ_HANDLER as an intermediate step which prevents the core config symbol from being selected. The openrisc local config symbol will be removed once openrisc gets converted to the generic code.
--- arch/openrisc/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
arch/openrisc/Kconfig +4 -0
@@ -27,6 +27,7 @@ config OPENRISC select GENERIC_STRNLEN_USER select GENERIC_SMP_IDLE_THREAD select MODULES_USE_ELF_RELA + select MULTI_IRQ_HANDLER select HAVE_DEBUG_STACKOVERFLOW select OR1K_PIC select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1
@@ -68,6 +69,9 @@ config STACKTRACE_SUPPORT config LOCKDEP_SUPPORT def_bool y +config MULTI_IRQ_HANDLER + def_bool y + source "init/Kconfig" source "kernel/Kconfig.freezer"
PATCH 3/3 irq: GENERIC_IRQ_MULTI_HANDLER conflicts with MULTI_IRQ_HANDLER
In reply to Palmer DabbeltThese define the same symbol so they're mutually exclusive. By the end of this patch set I'll have removed MULTI_IRQ_HANDLER, but for now it's slightly easier to make these as conflicting so architectures that now define MULTI_IRQ_HANDLER won't get the generic version selected by randconfig.
This will go away when every port is converted over to GENERIC_IRQ_MULTI_HANDLER.
--- kernel/irq/Kconfig | 1 + 1 file changed, 1 insertion(+)
kernel/irq/Kconfig +1 -0
@@ -134,6 +134,7 @@ config GENERIC_IRQ_DEBUGFS endmenu config GENERIC_IRQ_MULTI_HANDLER + depends on !MULTI_IRQ_HANDLER bool help Allow to specify the low level IRQ handler at run time.
Signature · 1 line
2.16.1
tip-bot for Palmer Dabbelt
merge bot[tip:irq/core] genirq: Make GENERIC_IRQ_MULTI_HANDLER depend on !MULTI_IRQ_HANDLER
genirq: Make GENERIC_IRQ_MULTI_HANDLER depend on !MULTI_IRQ_HANDLER
Commit-ID: d6f73825dcd0fa1de9a6bf37c79f6109cc87b82f Gitweb: https://git.kernel.org/tip/d6f73825dcd0fa1de9a6bf37c79f6109cc87b82f Author: Palmer Dabbelt <[email protected]> AuthorDate: Tue, 3 Apr 2018 21:31:30 -0700 Committer: Thomas Gleixner <[email protected]> CommitDate: Wed, 4 Apr 2018 12:04:28 +0200
genirq: Make GENERIC_IRQ_MULTI_HANDLER depend on !MULTI_IRQ_HANDLER
These config switches enable the same code in the core and the not yet converted architecture code. They can be selected both by randconfig builds and cause linker error because the same symbols are defined twice.
Make the new GENERIC_IRQ_MULTI_HANDLER depend on !MULTI_IRQ_HANDLER to prevent that. The dependency will be removed once all architectures are converted over.
--- kernel/irq/Kconfig | 1 + 1 file changed, 1 insertion(+)
kernel/irq/Kconfig +1 -0
@@ -134,6 +134,7 @@ config GENERIC_IRQ_DEBUGFS endmenu config GENERIC_IRQ_MULTI_HANDLER + depends on !MULTI_IRQ_HANDLER bool help Allow to specify the low level IRQ handler at run time.
Quoted 16 lines · Linus Torvalds
Quoted 3 lines · Palmer Dabbelt
Thanks! The linked patch set should be fully bisectable, while this one will fail on some ARM randconfigs.
If it's only some (not very realistic) randconfigs, I suspect an incremental fix is probably the easier solution, rather than redoing that whole branch.
So mind at least sending that incremental fix on top of the branch to Thomas and making his life easier if he decides to go that way?
And if Thomas is busy doing something else (*), and I come back to this tomorrow as-is, I'd want to pull his tree and just apply the incremental fix anyway, so it makes sense to send it to me as well.
Quoted 5 lines
Linus
(*) I have long since accepted that some people have a life outside of kernel development too, and don't always reply immediately. I may not _understand_ it, but I am resigned to the fact.
I briefly returned from that other life and applied the 3 patches on top after massaging the changelogs a bit and pushed everything out for you to pull.
Thanks,
tglx
Quoted 23 lines · On Wed, 04 Apr 2018 03:19:54 PDT (-0700), [email protected] wrote:
Quoted 16 lines · Linus Torvalds
Quoted 3 lines · Palmer Dabbelt
Thanks! The linked patch set should be fully bisectable, while this one will fail on some ARM randconfigs.
If it's only some (not very realistic) randconfigs, I suspect an incremental fix is probably the easier solution, rather than redoing that whole branch.
So mind at least sending that incremental fix on top of the branch to Thomas and making his life easier if he decides to go that way?
And if Thomas is busy doing something else (*), and I come back to this tomorrow as-is, I'd want to pull his tree and just apply the incremental fix anyway, so it makes sense to send it to me as well.
Quoted 5 lines
Linus
(*) I have long since accepted that some people have a life outside of kernel development too, and don't always reply immediately. I may not _understand_ it, but I am resigned to the fact.
Quoted 7 lines
I briefly returned from that other life and applied the 3 patches on top after massaging the changelogs a bit and pushed everything out for you to pull.
Thanks,
tglx
Works for me. Thanks!