On 02.01.16 21:44, Mark Cave-Ayland wrote:
This patchset primarily fixes up pci_bus_addr_to_host_addr() to support both memory and IO spaces in order to generate a correct AAPL,address property for IO space mappings. As well as this, it removes the configuration space range from the PCI host bridge for all machines except SPARC64 which fixes an issue with Darwin/OS X calculating the wrong address spaces for PCI accesses.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
(all except patch 1/5, my forth is weak) Reviewed-by: Alexander Graf agraf@suse.de
Mark Cave-Ayland (5): pci: switch ob_pci_map_in() to use physical addresses rather than region and size pci: support PCI spaces other than memory in pci_bus_addr_to_host_addr() pci: fix AAPL,address property for IO space mappings pci: enable AAPL,address property for all Apple PPC machines pci: remove the configuration space range from the PCI host bridge by default
openbios-devel/drivers/pci.c | 56 ++++++++++++++++++++++++--------- openbios-devel/drivers/pci.fs | 68 +++++------------------------------------ openbios-devel/drivers/vga.fs | 11 ++++--- 3 files changed, 56 insertions(+), 79 deletions(-)