Can anybody help me find the runtime value of PCI_IOBASE ?
./arch/arm64/include/asm/io.h:#define PCI_IOBASE ((void __iomem *)PCI_IO_START)
./arch/arm64/include/asm/memory.h:#define PCI_IO_START (PCI_IO_END - PCI_IO_SIZE)
./arch/arm64/include/asm/memory.h:#define PCI_IO_END (VMEMMAP_START - SZ_2M)
./arch/arm64/include/asm/memory.h:#define VMEMMAP_START (-VMEMMAP_SIZE - SZ_2M)
I remember older kernels used to provide memory layout early on boot but I cannot seem to find it. I want the memory address that represents the start of the PCI memory area so I can make a dummy io.h userland header.
Ie on the C2 mainline kernels used to provide at boot which I could use to workout the value, maybe its still the same
PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
Edit: I dont have PCI subsystem enabled in my build, can someone share output of