Commit be9790f1 authored by Julien Thierry's avatar Julien Thierry Committed by Alexandru Elisei
Browse files

arm/pci: Do not use first PCI IO space bytes for devices



Linux has this convention that the lower 0x1000 bytes of the IO space
should not be used. (cf PCIBIOS_MIN_IO).

Just allocate those bytes to prevent future allocation assigning it to
devices.

Signed-off-by: default avatarJulien Thierry <julien.thierry@arm.com>
parent 528920f4
......@@ -37,6 +37,9 @@ void pci__arm_init(struct kvm *kvm)
/* Make PCI port allocation start at a properly aligned address */
pci_get_io_port_block(align_pad);
/* Convention, don't allocate first 0x1000 bytes of PCI IO */
pci_get_io_port_block(0x1000);
}
void pci__generate_fdt_nodes(void *fdt)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment