Re: [PATCH] ia64: Fix kernel BUG at lib/ioremap.c:72!

2018-08-20 Thread Linus Torvalds
On Mon, Aug 20, 2018 at 9:31 AM Tony Luck wrote: > I'd suggested an #if !CONFIG_IA64 in the functon, but Arnd > suggested keeping the fix inside the arch/ia64 tree. > > Fixes: 0bbf47eab469 ("ia64: use asm-generic/io.h") Applied. Linus

[PATCH] ia64: Fix kernel BUG at lib/ioremap.c:72!

2018-08-20 Thread Tony Luck
Commit: 0bbf47eab469 ("ia64: use asm-generic/io.h") results in a BUG while booting ia64. This is because asm-generic/io.h defines PCI_IOBASE, which results in the function acpi_pci_root_remap_iospace() doing a lot of unnecessary (and wrong) things. I'd suggested an #if !CONFIG_IA64 in the func