All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/11] Allow PCI bus address, PA, and VA to differ
@ 2008-12-04  5:04 Becky Bruce
  2008-12-04  5:04 ` [U-Boot] [PATCH 01/11] powerpc: fix io.h build warning with CONFIG_PHYS_64BIT Becky Bruce
                   ` (10 more replies)
  0 siblings, 11 replies; 24+ messages in thread
From: Becky Bruce @ 2008-12-04  5:04 UTC (permalink / raw)
  To: u-boot


This patch series cleans up much of for VA/PA/PCI bus address confusion
that is is currently causing a couple of problems on the 8641 36-bit
port, and was preventing us from having a PCI mem bus address that
differed from the virtual address of the region.

I have fixed a number of problems, from the ahci driver directly using
the pci BAR setting as a virtual address, to the CFI flash driver
inconsistently treating flash_info->start as a physical address or virtual
address, to pci window mapping overlap.

We also now require support for Kumar's new CONFIG_ADDR_MAP code,
which I have added - his patches will need to be applied before these;
some of these patches are actually fixes to that code.  I ended up doing
some cleanup to the BAT defines as I was implementing this capability.

Here's the diffstat:
board/alaska/alaska.c                     |   36 +++++++-------
board/etin/debris/flash.c                 |    1 +
board/etin/kvme080/kvme080.c              |    1 +
board/freescale/mpc8641hpcn/mpc8641hpcn.c |   22 ++++----
cpu/mpc85xx/tlb.c                         |    4 +-
cpu/mpc86xx/cpu_init.c                    |   27 +++++++++++
drivers/block/ahci.c                      |    7 +--
drivers/mtd/cfi_flash.c                   |   53 +++++++++-----------
drivers/pci/pci.c                         |   19 ++++++++
include/74xx_7xx.h                        |   37 ---------------
include/addr_map.h                        |    2 +-
include/asm-ppc/e300.h                    |   35 --------------
include/asm-ppc/io.h                      |    2 +-
include/asm-ppc/mmu.h                     |   73 ++++++++++++++++++++++------
include/configs/MPC8641HPCN.h             |   30 +++++++++---
include/flash.h                           |    2 +-
include/mpc824x.h                         |   39 ---------------
include/mpc86xx.h                         |   41 ----------------
include/pci.h                             |   28 +++++++++--
lib_generic/addr_map.c                    |    4 +-
lib_ppc/bat_rw.c                          |   28 +++++++++++
lib_ppc/board.c                           |    2 +-
22 files changed, 243 insertions(+), 250 deletions(-)

I am submitting this as a series, because these are required, in this
order, for MPC8641HPCN to continue to build and boot.  I am aware that I've
changed files that belong to a number of maintainers; I'm not sure how we want
to handle this.

Cheers,
Becky

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2009-02-06 15:45 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-04  5:04 [U-Boot] [PATCH 00/11] Allow PCI bus address, PA, and VA to differ Becky Bruce
2008-12-04  5:04 ` [U-Boot] [PATCH 01/11] powerpc: fix io.h build warning with CONFIG_PHYS_64BIT Becky Bruce
2008-12-16 15:55   ` Wolfgang Denk
2008-12-16 22:46     ` Wolfgang Denk
2008-12-04  5:04 ` [U-Boot] [PATCH 02/11] mpc8641hpcn: Set up outbound pci windows before inbound Becky Bruce
2009-02-06 15:45   ` Kumar Gala
2008-12-04  5:04 ` [U-Boot] [PATCH 03/11] drivers/pci: Create pci_map_bar function Becky Bruce
2009-01-28 14:21   ` Kumar Gala
2008-12-04  5:04 ` [U-Boot] [PATCH 04/11] powerpc: Move duplicated BAT defines to mmu.h Becky Bruce
2008-12-04  5:04 ` [U-Boot] [PATCH 05/11] lib_generic/addr_map: Change size to phys_size_t from ulong Becky Bruce
2008-12-13 23:22   ` Kumar Gala
2008-12-04  5:04 ` [U-Boot] [PATCH 06/11] mpc86xx: Add support to populate addr map based on BATs Becky Bruce
2008-12-04  5:04 ` [U-Boot] [PATCH 07/11] flash/cfi_flash: Use virtual sector start address, not phys Becky Bruce
2009-01-14  8:38   ` Kumar Gala
2009-01-14  8:57     ` Kumar Gala
2009-01-14 11:45       ` Haavard Skinnemoen
2009-01-14 11:34     ` Haavard Skinnemoen
2009-01-14 14:38       ` Kumar Gala
2009-01-14 12:12     ` Stefan Roese
2008-12-04  5:04 ` [U-Boot] [PATCH 08/11] mpc8641hpcn: Clean up PCI mapping concepts Becky Bruce
2008-12-04  5:04 ` [U-Boot] [PATCH 09/11] MPC8641HPCN: Enable CONFIG_ADDR_MAP Becky Bruce
2008-12-04  5:04 ` [U-Boot] [PATCH 10/11] drivers/block/ahci: Fix pci mapping bug Becky Bruce
2009-01-28 14:22   ` Kumar Gala
2008-12-04  5:04 ` [U-Boot] [PATCH 11/11] mpc8641hpcn: Change PCI MEM pci bus address Becky Bruce

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.