Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'irq-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull misc irqchip fixes from Ingo Molnar:

- Fix NULL pointer dereference crashes due to missing .chip_flags setup
in the sg2042-msi and irq-bcm2712-mip irqchip drivers

- Remove the davinci aintc irqchip driver's leftover header too

* tag 'irq-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
irqchip/irq-bcm2712-mip: Set EOI/ACK flags in msi_parent_ops
irqchip/sg2042-msi: Add missing chip flags
irqchip/davinci: Remove leftover header

+2 -27
+1
drivers/irqchip/irq-bcm2712-mip.c
··· 163 163 static const struct msi_parent_ops mip_msi_parent_ops = { 164 164 .supported_flags = MIP_MSI_FLAGS_SUPPORTED, 165 165 .required_flags = MIP_MSI_FLAGS_REQUIRED, 166 + .chip_flags = MSI_CHIP_FLAG_SET_EOI | MSI_CHIP_FLAG_SET_ACK, 166 167 .bus_select_token = DOMAIN_BUS_GENERIC_MSI, 167 168 .bus_select_mask = MATCH_PCI_MSI, 168 169 .prefix = "MIP-MSI-",
+1
drivers/irqchip/irq-sg2042-msi.c
··· 151 151 static const struct msi_parent_ops sg2042_msi_parent_ops = { 152 152 .required_flags = SG2042_MSI_FLAGS_REQUIRED, 153 153 .supported_flags = SG2042_MSI_FLAGS_SUPPORTED, 154 + .chip_flags = MSI_CHIP_FLAG_SET_ACK, 154 155 .bus_select_mask = MATCH_PCI_MSI, 155 156 .bus_select_token = DOMAIN_BUS_NEXUS, 156 157 .prefix = "SG2042-",
-27
include/linux/irqchip/irq-davinci-aintc.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 - /* 3 - * Copyright (C) 2019 Texas Instruments 4 - */ 5 - 6 - #ifndef _LINUX_IRQ_DAVINCI_AINTC_ 7 - #define _LINUX_IRQ_DAVINCI_AINTC_ 8 - 9 - #include <linux/ioport.h> 10 - 11 - /** 12 - * struct davinci_aintc_config - configuration data for davinci-aintc driver. 13 - * 14 - * @reg: register range to map 15 - * @num_irqs: number of HW interrupts supported by the controller 16 - * @prios: an array of size num_irqs containing priority settings for 17 - * each interrupt 18 - */ 19 - struct davinci_aintc_config { 20 - struct resource reg; 21 - unsigned int num_irqs; 22 - u8 *prios; 23 - }; 24 - 25 - void davinci_aintc_init(const struct davinci_aintc_config *config); 26 - 27 - #endif /* _LINUX_IRQ_DAVINCI_AINTC_ */