Modular Broadcom irqchip drivers
Subsystems (11)
v2 cover Modular Broadcom irqchip drivers
Hi Thomas, Marc,
This patch series aims at allowing the 3 interrupt controller drivers used on Broadcom STB platforms to be built as modules in order for those to be shipped in a GKI enabled system (Android).
The irq-bcm7038-l1 requires us to export a number of symbols, which is not great, but there are not obvious solutions other than adding accessor functions to get the same information.
Assuming you are happy with the changes though, please do take the last two changes as well through your tree.
Thanks!
Changes in v2:
- avoid using irq_to_desc() and use irq_get_irq_data() instead
- re-order patches to avoid linking failure for irq-brcmstb-l2
- removed the use of .irq_cpu_offline() and converted BMIPS to use irq_migrate_all_off_this_cpu()
- avoid exporting of_irq_count() and use a platform device passed down from the irqchip platform driver registration code instead
- added kernel-doc fix
Florian Fainelli (12):
arch: Export cpu_logical_map to modules
MIPS: BMIPS: Remove use of irq_cpu_offline irqchip/irq-bcm7038-l1: Remove .irq_cpu_offline() irqchip/irq-bcm7038-l1: Use irq_get_irq_data() irqchip/irq-bcm7038-l1: Switch to IRQCHIP_PLATFORM_DRIVER
genirq: Export irq_gc_{unmask_enable,mask_disable}_reg irqchip/irq-brcmstb-l2: Switch to IRQCHIP_PLATFORM_DRIVER
irqchip: Provide platform_device to of_irq_init_cb_t irqchip/irq-bcm7120-l2: Switch to IRQCHIP_PLATFORM_DRIVER
arm64: broadcom: Removed forced select of interrupt controllers
ARM: bcm: Removed forced select of interrupt controllers
irqchip: Fix kernel-doc parameter typo for IRQCHIP_DECLARE
arch/arm/kernel/setup.c | 1 + arch/arm/mach-bcm/Kconfig | 4 ---- arch/arm64/Kconfig.platforms | 3 --- arch/arm64/kernel/setup.c | 1 + arch/mips/Kconfig | 1 + arch/mips/kernel/smp-bmips.c | 3 ++- arch/sh/kernel/smp.c | 1 + drivers/irqchip/Kconfig | 12 +++++++--- drivers/irqchip/irq-bcm7038-l1.c | 38 +++++--------------------------- drivers/irqchip/irq-bcm7120-l2.c | 28 +++++++++++++---------- drivers/irqchip/irq-brcmstb-l2.c | 16 ++++++++------ drivers/irqchip/irqchip.c | 2 +- drivers/of/irq.c | 2 +- include/linux/irqchip.h | 2 +- include/linux/of_irq.h | 5 ++++- kernel/irq/generic-chip.c | 2 ++ 16 files changed, 55 insertions(+), 66 deletions(-)
Signature · 1 line
2.25.1
PATCH v2 1/12 arch: Export cpu_logical_map to modules
In order to allow drivers/irqchip/irq-bcm7038-l1.c to be built as a module and usable in GKI, export cpu_logical_map or __cpu_logical_map towards the modules. This follows what MIPS has been doing since 2dc2ae344e0e ("MIPS: Export __cpu_number_map and __cpu_logical_map.")
--- arch/arm/kernel/setup.c | 1 + arch/arm64/kernel/setup.c | 1 + arch/sh/kernel/smp.c | 1 + 3 files changed, 3 insertions(+)
arch/arm/kernel/setup.c +1 -0
@@ -585,6 +585,7 @@ void notrace cpu_init(void) }u32 __cpu_logical_map[NR_CPUS ] = { [0 ...NR_CPUS -1 ] =MPIDR_INVALID }; +EXPORT_SYMBOL (__cpu_logical_map);void __init smp_setup_processor_id (void ) {
arch/arm64/kernel/setup.c +1 -0
@@ -290,6 +290,7 @@ u64 cpu_logical_map(unsigned int cpu) {return __cpu_logical_map[cpu]; } +EXPORT_SYMBOL (cpu_logical_map); void __init __no_sanitize_address setup_arch(char **cmdline_p) {
arch/sh/kernel/smp.c +1 -0
@@ -30,6 +30,7 @@int __cpu_number_map[NR_CPUS ];/* Map physical to logical */ int __cpu_logical_map[NR_CPUS ];/* Map logical to physical */ +EXPORT_SYMBOL (__cpu_logical_map);struct plat_smp_ops *mp_ops =NULL ;
Signature · 1 line
2.25.1
Re: [PATCH v2 01/12] arch: Export cpu_logical_map to modules
Quoted 4 lines · Florian Fainelli
In order to allow
drivers/irqchip/irq-bcm7038-l1.cto be built as a module and usable in GKI, exportcpu_logical_mapor__cpu_logical_maptowards the modules. This follows what MIPS has been doing since2dc2ae344e0e("MIPS: Export__cpu_number_mapand__cpu_logical_map.")
This seems like a pretty bad idea. For one you should export an accessor instead of the data structure. And this probably should be an EXPORT_SYMBOL_GPL.
Re: [PATCH v2 01/12] arch: Export cpu_logical_map to modules
Quoted 9 lines · Christoph Hellwig
Quoted 4 lines · Florian Fainelli
In order to allow
drivers/irqchip/irq-bcm7038-l1.cto be built as a module and usable in GKI, exportcpu_logical_mapor__cpu_logical_maptowards the modules. This follows what MIPS has been doing since2dc2ae344e0e("MIPS: Export__cpu_number_mapand__cpu_logical_map.")This seems like a pretty bad idea. For one you should export an accessor instead of the data structure. And this probably should be an
EXPORT_SYMBOL_GPL.
In hindsight, we should not need that change, and the use of cpu_logical_map[] within drivers/irqchip/irq-bcm7038-l1.c should be restricted to a MIPS build where the driver is a level 1 interrupt controller and there are multiple per-cpu register copies.
In an ARM/ARM64 configuration that driver is always used as a second level interrupt controller whereby it is hanging off the ARM GIC interrupt controller, and the intc->cpus[] array will only be 1 element. Fortunately since you cannot re-parent a L2 interrupt controller's interrupt handler to a different CPU, "it just happens to work".
Thanks!
Signature · 1 line
Florian
PATCH v2 2/12 MIPS: BMIPS: Remove use of irq_cpu_offline
In reply to Florian Fainelliirq_cpu_offline() is only used by MIPS and we should instead use irq_migrate_all_off_this_cpu(). This will be helpful in order to remove drivers/irqchip/irq-bcm7038-l1.c irq_cpu_offline callback which would have got in the way of making this driver modular.
--- arch/mips/Kconfig | 1 + arch/mips/kernel/smp-bmips.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-)
arch/mips/Kconfig +1 -0
@@ -1782,6 +1782,7 @@ config CPU_BMIPS select CPU_HAS_PREFETCH select CPU_SUPPORTS_CPUFREQ select MIPS_EXTERNAL_TIMER + select GENERIC_IRQ_MIGRATION if HOTPLUG_CPU help Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
arch/mips/kernel/smp-bmips.c +2 -1
@@ -26,6 +26,7 @@#include <linux/bug.h> #include <linux/kernel.h> #include <linux/kexec.h> +#include <linux/irq.h> #include <asm/time.h> #include <asm/processor.h>
@@ -373,7 +374,7 @@ static int bmips_cpu_disable(void)set_cpu_online (cpu, false);calculate_cpu_foreign_map (); -irq_cpu_offline (); +irq_migrate_all_off_this_cpu ();clear_c0_status (IE_IRQ5 );local_flush_tlb_all ();
Signature · 1 line
2.25.1
PATCH v2 3/12 irqchip/irq-bcm7038-l1: Remove .irq_cpu_offline()
In reply to Florian FainelliWith arch/mips/kernel/smp-bmips.c having been migrated away from irq_cpu_offline() and use irq_migrate_all_off_this_cpu() instead, we no longer need to implement an .irq_cpu_offline() callback. This is a necessary change to facilitate the building of this driver as a module.
--- drivers/irqchip/irq-bcm7038-l1.c | 30 ------------------------------ 1 file changed, 30 deletions(-)
drivers/irqchip/irq-bcm7038-l1.c +0 -30
@@ -221,33 +221,6 @@ static int bcm7038_l1_set_affinity(struct irq_data *d,return 0 ; } -#ifdef CONFIG_SMP -static void bcm7038_l1_cpu_offline (struct irq_data *d) -{ -struct cpumask *mask =irq_data_get_affinity_mask (d); -int cpu =smp_processor_id (); -cpumask_t new_affinity; - -/* This CPU was not on the affinity mask */ -if (!cpumask_test_cpu (cpu, mask)) -return ; - -if (cpumask_weight (mask) >1 ) { -/* -* Multiple CPU affinity, remove this CPU from the affinity -* mask -*/ -cpumask_copy (&new_affinity, mask); -cpumask_clear_cpu (cpu, &new_affinity); - }else { -/* Only CPU, put on the lowest online CPU */ -cpumask_clear (&new_affinity); -cpumask_set_cpu (cpumask_first (cpu_online_mask), &new_affinity); - } -irq_set_affinity_locked (d, &new_affinity, false); -} -#endif -static int __init bcm7038_l1_init_one (struct device_node *dn,unsigned int idx,struct bcm7038_l1_chip *intc)
@@ -396,9 +369,6 @@ static struct irq_chip bcm7038_l1_irq_chip = { .irq_mask = bcm7038_l1_mask, .irq_unmask = bcm7038_l1_unmask, .irq_set_affinity = bcm7038_l1_set_affinity, -#ifdef CONFIG_SMP - .irq_cpu_offline = bcm7038_l1_cpu_offline, -#endif #ifdef CONFIG_PM_SLEEP .irq_set_wake = bcm7038_l1_set_wake,#endif
Signature · 1 line
2.25.1
PATCH v2 4/12 irqchip/irq-bcm7038-l1: Use irq_get_irq_data()
In reply to Florian FainelliUsing irq_desc_get_irq_data(irq_to_desc()) to retrieve the irq_data structure from a virtual interrupt number is going to be problematic to make irq-bcm7038-l1 a module because irq_to_desc() is not exported, and there is no intent to export it to modules, see 64a1b95bb9fe ("genirq:
Restrict export of irq_to_desc()").
--- drivers/irqchip/irq-bcm7038-l1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-bcm7038-l1.c +1 -1
@@ -386,7 +386,7 @@ static int bcm7038_l1_map(struct irq_domain *d, unsigned int virq,irq_set_chip_and_handler (virq, &bcm7038_l1_irq_chip, handle_level_irq);irq_set_chip_data (virq, d->host_data); -irqd_set_single_target (irq_desc_get_irq_data (irq_to_desc (virq))); +irqd_set_single_target (irq_get_irq_data (virq));return 0 ; }
Signature · 1 line
2.25.1
PATCH v2 5/12 irqchip/irq-bcm7038-l1: Switch to IRQCHIP_PLATFORM_DRIVER
In reply to Florian FainelliAllow the user selection and building of this interrupt controller driver as a module since it is used on ARM/ARM64 based systems as a second level interrupt controller hanging off the ARM GIC and is therefore loadable during boot.
--- drivers/irqchip/Kconfig | 4 +++- drivers/irqchip/irq-bcm7038-l1.c | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-)
drivers/irqchip/Kconfig +3 -1
@@ -115,7 +115,9 @@ config BCM6345_L1_IRQ select GENERIC_IRQ_EFFECTIVE_AFF_MASK config BCM7038_L1_IRQ - bool + tristate "Broadcom STB 7038-style L1/L2 interrupt controller driver" + depends on ARCH_BRCMSTB || BMIPS_GENERIC + default ARCH_BRCMSTB || BMIPS_GENERIC select GENERIC_IRQ_CHIP select IRQ_DOMAIN select GENERIC_IRQ_EFFECTIVE_AFF_MASK
drivers/irqchip/irq-bcm7038-l1.c +5 -1
@@ -454,4 +454,8 @@ static int __init bcm7038_l1_of_init(struct device_node *dn,return ret; } -IRQCHIP_DECLARE (bcm7038_l1,"brcm,bcm7038-l1-intc" , bcm7038_l1_of_init); +IRQCHIP_PLATFORM_DRIVER_BEGIN(bcm7038_l1) +IRQCHIP_MATCH("brcm,bcm7038-l1-intc", bcm7038_l1_of_init) +IRQCHIP_PLATFORM_DRIVER_END(bcm7038_l1) +MODULE_DESCRIPTION("Broadcom STB 7038-style L1/L2 interrupt controller"); +MODULE_LICENSE ("GPL v2" );
Signature · 1 line
2.25.1
PATCH v2 6/12 genirq: Export irq_gc_{unmask_enable,mask_disable}_reg
In reply to Florian FainelliIn order to allow drivers/irqchip/irq-brcmstb-l2.c to be built as a module we need to export: irq_gc_unmask_enable_reg() and irq_gc_mask_disable_reg().
--- kernel/irq/generic-chip.c | 2 ++ 1 file changed, 2 insertions(+)
kernel/irq/generic-chip.c +2 -0
@@ -44,6 +44,7 @@ void irq_gc_mask_disable_reg(struct irq_data *d) *ct->mask_cache &= ~mask;irq_gc_unlock (gc); } +EXPORT_SYMBOL_GPL (irq_gc_mask_disable_reg);/** * irq_gc_mask_set_bit - Mask chip via setting bit in mask register
@@ -103,6 +104,7 @@ void irq_gc_unmask_enable_reg(struct irq_data *d) *ct->mask_cache |= mask;irq_gc_unlock (gc); } +EXPORT_SYMBOL_GPL (irq_gc_unmask_enable_reg);/** * irq_gc_ack_set_bit - Ack pending interrupt via setting bit
Signature · 1 line
2.25.1
PATCH v2 7/12 irqchip/irq-brcmstb-l2: Switch to IRQCHIP_PLATFORM_DRIVER
In reply to Florian FainelliAllow the user selection and building of this interrupt controller driver as a module since it is used on ARM/ARM64 based systems as a second level interrupt controller hanging off the ARM GIC and is therefore loadable during boot.
--- drivers/irqchip/Kconfig | 4 +++- drivers/irqchip/irq-brcmstb-l2.c | 16 +++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-)
drivers/irqchip/Kconfig +3 -1
@@ -128,7 +128,9 @@ config BCM7120_L2_IRQ select IRQ_DOMAIN config BRCMSTB_L2_IRQ - bool + tristate "Broadcom STB generic L2 interrupt controller driver" + depends on ARCH_BCM2835 || ARCH_BRCMSTB || BMIPS_GENERIC + default ARCH_BCM2835 || ARCH_BRCMSTB || BMIPS_GENERIC select GENERIC_IRQ_CHIP select IRQ_DOMAIN
drivers/irqchip/irq-brcmstb-l2.c +9 -7
@@ -275,16 +275,18 @@ static int __init brcmstb_l2_edge_intc_of_init(struct device_node *np, {return brcmstb_l2_intc_of_init (np, parent, &l2_edge_intc_init); } -IRQCHIP_DECLARE (brcmstb_l2_intc,"brcm,l2-intc" , brcmstb_l2_edge_intc_of_init); -IRQCHIP_DECLARE (brcmstb_hif_spi_l2_intc,"brcm,hif-spi-l2-intc" , - brcmstb_l2_edge_intc_of_init); -IRQCHIP_DECLARE (brcmstb_upg_aux_aon_l2_intc,"brcm,upg-aux-aon-l2-intc" , - brcmstb_l2_edge_intc_of_init);static int __init brcmstb_l2_lvl_intc_of_init (struct device_node *np,struct device_node *parent) {return brcmstb_l2_intc_of_init (np, parent, &l2_lvl_intc_init); } -IRQCHIP_DECLARE (bcm7271_l2_intc,"brcm,bcm7271-l2-intc" , - brcmstb_l2_lvl_intc_of_init); + +IRQCHIP_PLATFORM_DRIVER_BEGIN(brcmstb_l2) +IRQCHIP_MATCH("brcm,l2-intc", brcmstb_l2_edge_intc_of_init) +IRQCHIP_MATCH("brcm,hif-spi-l2-intc", brcmstb_l2_edge_intc_of_init) +IRQCHIP_MATCH("brcm,upg-aux-aon-l2-intc", brcmstb_l2_edge_intc_of_init) +IRQCHIP_MATCH("brcm,bcm7271-l2-intc", brcmstb_l2_lvl_intc_of_init) +IRQCHIP_PLATFORM_DRIVER_END(brcmstb_l2) +MODULE_DESCRIPTION("Broadcom STB generic L2 interrupt controller"); +MODULE_LICENSE ("GPL v2" );
Signature · 1 line
2.25.1
PATCH v2 8/12 irqchip: Provide platform_device to of_irq_init_cb_t
In reply to Florian FainelliProvide the platform device mapping to the interrupt controller node to the of_irq_init_cb_t callback such that drivers can make use of it.
--- drivers/irqchip/irqchip.c | 2 +- drivers/of/irq.c | 2 +- include/linux/of_irq.h | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-)
drivers/irqchip/irqchip.c +1 -1
@@ -55,6 +55,6 @@ int platform_irqchip_probe(struct platform_device *pdev)if (par_np && !irq_find_matching_host (par_np,DOMAIN_BUS_ANY ))return -EPROBE_DEFER ; -return irq_init_cb (np, par_np); +return irq_init_cb (np, par_np, pdev); }EXPORT_SYMBOL_GPL (platform_irqchip_probe);
drivers/of/irq.c +1 -1
@@ -538,7 +538,7 @@ void __init of_irq_init(const struct of_device_id *matches) desc->dev, desc->dev, desc->interrupt_parent); ret = desc->irq_init_cb (desc->dev, - desc->interrupt_parent); + desc->interrupt_parent,NULL );if (ret) {of_node_clear_flag (desc->dev,OF_POPULATED );kfree (desc);
include/linux/of_irq.h +4 -1
@@ -9,7 +9,10 @@#include <linux/ioport.h> #include <linux/of.h> -typedef int (*of_irq_init_cb_t )(struct device_node *,struct device_node *); +struct platform_device ; + +typedef int (*of_irq_init_cb_t )(struct device_node *,struct device_node *, +struct platform_device *);/* * Workarounds only applied to 32bit powermac machines
Signature · 1 line
2.25.1
PATCH v2 9/12 irqchip/irq-bcm7120-l2: Switch to IRQCHIP_PLATFORM_DRIVER
In reply to Florian FainelliAllow the user selection and building of this interrupt controller driver as a module since it is used on ARM/ARM64 based systems as a second level interrupt controller hanging off the ARM GIC and is therefore loadable during boot.
To avoid using of_irq_count() which is not exported towards module, switch the driver to use the platform_device provided by the irqchip platform driver code and resolve the number of interrupts using platform_irq_count().
--- drivers/irqchip/Kconfig | 4 +++- drivers/irqchip/irq-bcm7120-l2.c | 28 ++++++++++++++++------------ 2 files changed, 19 insertions(+), 13 deletions(-)
drivers/irqchip/Kconfig +3 -1
@@ -123,7 +123,9 @@ config BCM7038_L1_IRQ select GENERIC_IRQ_EFFECTIVE_AFF_MASK config BCM7120_L2_IRQ - bool + tristate "Broadcom STB 7120-style L2 interrupt controller driver" + depends on ARCH_BRCMSTB || BMIPS_GENERIC + default ARCH_BRCMSTB || BMIPS_GENERIC select GENERIC_IRQ_CHIP select IRQ_DOMAIN
drivers/irqchip/irq-bcm7120-l2.c +16 -12
@@ -214,6 +214,7 @@ static int __init bcm7120_l2_intc_iomap_3380(struct device_node *dn,static int __init bcm7120_l2_intc_probe (struct device_node *dn,struct device_node *parent, +struct platform_device *pdev,int (*iomap_regs_fn)(struct device_node *,struct bcm7120_l2_intc_data *),const char *intc_name)
@@ -230,7 +231,7 @@ static int __init bcm7120_l2_intc_probe(struct device_node *dn,if (!data)return -ENOMEM ; - data->num_parent_irqs =of_irq_count (dn); + data->num_parent_irqs =platform_irq_count (pdev);if (data->num_parent_irqs <=0 ) {pr_err ("invalid number of parent interrupts\n" ); ret = -ENOMEM ;
@@ -334,21 +335,24 @@ static int __init bcm7120_l2_intc_probe(struct device_node *dn, }static int __init bcm7120_l2_intc_probe_7120 (struct device_node *dn, -struct device_node *parent) +struct device_node *parent, +struct platform_device *pdev) { -return bcm7120_l2_intc_probe (dn, parent, bcm7120_l2_intc_iomap_7120, -"BCM7120 L2" ); +return bcm7120_l2_intc_probe (dn, parent, pdev, + bcm7120_l2_intc_iomap_7120,"BCM7120 L2" ); }static int __init bcm7120_l2_intc_probe_3380 (struct device_node *dn, -struct device_node *parent) +struct device_node *parent, +struct platform_device *pdev) { -return bcm7120_l2_intc_probe (dn, parent, bcm7120_l2_intc_iomap_3380, -"BCM3380 L2" ); +return bcm7120_l2_intc_probe (dn, parent, pdev, + bcm7120_l2_intc_iomap_3380,"BCM3380 L2" ); } -IRQCHIP_DECLARE (bcm7120_l2_intc,"brcm,bcm7120-l2-intc" , - bcm7120_l2_intc_probe_7120); - -IRQCHIP_DECLARE (bcm3380_l2_intc,"brcm,bcm3380-l2-intc" , - bcm7120_l2_intc_probe_3380); +IRQCHIP_PLATFORM_DRIVER_BEGIN(bcm7120_l2) +IRQCHIP_MATCH("brcm,bcm7120-l2-intc", bcm7120_l2_intc_probe_7120) +IRQCHIP_MATCH("brcm,bcm3380-l2-intc", bcm7120_l2_intc_probe_3380) +IRQCHIP_PLATFORM_DRIVER_END(bcm7120_l2) +MODULE_DESCRIPTION("Broadcom STB 7120-style L2 interrupt controller driver"); +MODULE_LICENSE ("GPL v2" );
Signature · 1 line
2.25.1
PATCH v2 10/12 arm64: broadcom: Removed forced select of interrupt controllers
In reply to Florian FainelliNow that the various second level interrupt controllers have been moved to IRQCHIP_PLATFORM_DRIVER and they do default to ARCH_BRCMSTB and ARCH_BCM2835 where relevant, remove their forced selection from the machine entry to allow an user to build them as modules.
--- arch/arm64/Kconfig.platforms | 3 --- 1 file changed, 3 deletions(-)
arch/arm64/Kconfig.platforms +0 -3
@@ -44,7 +44,6 @@ config ARCH_BCM2835 select ARM_AMBA select ARM_GIC select ARM_TIMER_SP804 - select BRCMSTB_L2_IRQ help This enables support for the Broadcom BCM2837 and BCM2711 SoC. These SoCs are used in the Raspberry Pi 3 and 4 devices.
@@ -82,8 +81,6 @@ config ARCH_BITMAIN config ARCH_BRCMSTB bool "Broadcom Set-Top-Box SoCs" select ARCH_HAS_RESET_CONTROLLER - select BCM7038_L1_IRQ - select BRCMSTB_L2_IRQ select GENERIC_IRQ_CHIP select PINCTRL help
Signature · 1 line
2.25.1
PATCH v2 11/12 ARM: bcm: Removed forced select of interrupt controllers
In reply to Florian FainelliNow that the various second level interrupt controllers have been moved to IRQCHIP_PLATFORM_DRIVER and they do default to ARCH_BRCMSTB and ARCH_BCM2835 where relevant, remove their forced selection from the machine entry to allow an user to build them as modules.
--- arch/arm/mach-bcm/Kconfig | 4 ---- 1 file changed, 4 deletions(-)
arch/arm/mach-bcm/Kconfig +0 -4
@@ -161,7 +161,6 @@ config ARCH_BCM2835 select ARM_TIMER_SP804 select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7 select BCM2835_TIMER - select BRCMSTB_L2_IRQ select PINCTRL select PINCTRL_BCM2835 select MFD_CORE
@@ -209,9 +208,6 @@ config ARCH_BRCMSTB select ARM_GIC select ARM_ERRATA_798181 if SMP select HAVE_ARM_ARCH_TIMER - select BCM7038_L1_IRQ - select BRCMSTB_L2_IRQ - select BCM7120_L2_IRQ select ZONE_DMA if ARM_LPAE select SOC_BRCMSTB select SOC_BUS
Signature · 1 line
2.25.1
PATCH v2 12/12 irqchip: Fix kernel-doc parameter typo for IRQCHIP_DECLARE
In reply to Florian FainelliThe documentation refers to "compstr" when we have the argument named "compat", fix the typo.
--- include/linux/irqchip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/irqchip.h +1 -1
@@ -23,7 +23,7 @@* * @name: name that must be unique across all IRQCHIP_DECLARE of the * same file. -* @compstr: compatible string of the irqchip driver +* @compat: compatible string of the irqchip driver * @fn: initialization function */ #define IRQCHIP_DECLARE (name, compat, fn) OF_DECLARE_2(irqchip, name, compat, fn)
Signature · 1 line
2.25.1