Home
last modified time | relevance | path

Searched hist:"38973 ba7903fa0660a31b2bdc50ff711ec8d08c9" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dpci_32.cdiff 38973ba7903fa0660a31b2bdc50ff711ec8d08c9 Fri Mar 16 18:48:09 CDT 2012 Bjorn Helgaas <bhelgaas@google.com> powerpc/PCI: compute I/O space bus-to-resource offset consistently

Make sure we compute CPU addresses (resource start/end) the same way both
when we set up the I/O aperture (hose->io_resource) and when we use
pcibios_bus_to_resource() to convert BAR values into resources.

This fixes a build failure ("cast from pointer to integer of different
size" in configs where resource_size_t is 64 bits but pointers are 32 bits)
I introduced in 6c5705fec63d.

Acked-By: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
H A Dpci_64.cdiff 38973ba7903fa0660a31b2bdc50ff711ec8d08c9 Fri Mar 16 18:48:09 CDT 2012 Bjorn Helgaas <bhelgaas@google.com> powerpc/PCI: compute I/O space bus-to-resource offset consistently

Make sure we compute CPU addresses (resource start/end) the same way both
when we set up the I/O aperture (hose->io_resource) and when we use
pcibios_bus_to_resource() to convert BAR values into resources.

This fixes a build failure ("cast from pointer to integer of different
size" in configs where resource_size_t is 64 bits but pointers are 32 bits)
I introduced in 6c5705fec63d.

Acked-By: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
H A Dpci-common.cdiff 38973ba7903fa0660a31b2bdc50ff711ec8d08c9 Fri Mar 16 18:48:09 CDT 2012 Bjorn Helgaas <bhelgaas@google.com> powerpc/PCI: compute I/O space bus-to-resource offset consistently

Make sure we compute CPU addresses (resource start/end) the same way both
when we set up the I/O aperture (hose->io_resource) and when we use
pcibios_bus_to_resource() to convert BAR values into resources.

This fixes a build failure ("cast from pointer to integer of different
size" in configs where resource_size_t is 64 bits but pointers are 32 bits)
I introduced in 6c5705fec63d.

Acked-By: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
/openbmc/linux/arch/powerpc/include/asm/
H A Dpci.hdiff 38973ba7903fa0660a31b2bdc50ff711ec8d08c9 Fri Mar 16 18:48:09 CDT 2012 Bjorn Helgaas <bhelgaas@google.com> powerpc/PCI: compute I/O space bus-to-resource offset consistently

Make sure we compute CPU addresses (resource start/end) the same way both
when we set up the I/O aperture (hose->io_resource) and when we use
pcibios_bus_to_resource() to convert BAR values into resources.

This fixes a build failure ("cast from pointer to integer of different
size" in configs where resource_size_t is 64 bits but pointers are 32 bits)
I introduced in 6c5705fec63d.

Acked-By: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>