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

irqchip/ixp4xx: Register the base PA instead of its VA in fwnode

Do not expose the base VA (it appears in debugfs). Instead,
record the PA, which at least can be used to precisely identify
the associated irqchip and domain.

Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Zyngier <maz@kernel.org>

+1 -1
+1 -1
drivers/irqchip/irq-ixp4xx.c
··· 319 319 pr_crit("IXP4XX: could not ioremap interrupt controller\n"); 320 320 return; 321 321 } 322 - fwnode = irq_domain_alloc_fwnode(base); 322 + fwnode = irq_domain_alloc_fwnode(&irqbase); 323 323 if (!fwnode) { 324 324 pr_crit("IXP4XX: no domain handle\n"); 325 325 return;