Allow PCI bus address, PA, and VA to differ
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 0 repliesNew
- v111 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | mpc8641hpcn: Set up outbound pci windows before inboundboard/ | +6 | 5 replies | |
| 1/8 | mpc8641hpcn: Set up outbound pci windows before inbound | +0 | 0 replies | |
| 2/8 | drivers/pci: Create pci_map_bar functiondrivers/ include/ | +43 | 1 reply | |
| 3/8 | powerpc: Move duplicated BAT defines to mmu.hboard/ board/ board/ +5 more | +64 | 1 reply | |
| 4/8 | mpc86xx: Add support to populate addr map based on BATscpu/ include/ lib_ppc/ +1 more | +69 | 2 replies | |
| 5/8 | mpc8641hpcn: Clean up PCI mapping conceptsboard/ include/ | +16 | 2 replies | |
| 6/8 | MPC8641HPCN: Enable CONFIG_ADDR_MAPinclude/ | +2 | 2 replies | |
| 7/8 | drivers/block/ahci: Fix pci mapping bugdrivers/ | +2 | 1 reply | |
| 8/8 | mpc8641hpcn: Change PCI MEM pci bus addressinclude/ | +10 | 2 replies |
Reviews trailers per patch
6 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Jon Loeliger |
|---|---|
| 1/8 | A-b |
| 1/8 | A-b |
| 2/8 | |
| 3/8 | |
| 4/8 | A-b |
| 5/8 | A-b |
| 6/8 | A-b |
| 7/8 | |
| 8/8 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH 00/08 V2] Allow PCI bus address, PA, and VA to differ
This is resubmit of a series I sent back in December - I've rebased to the latest tree and split out a couple of the patches as requested.
This patch series cleans up much of the 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, such as the ahci driver directly using the pci BAR setting as a virtual address and pci window mapping overlap. There's also some cleanup to the BAT code that were needed to make some of this cleaner.
Cheers,
Becky
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/mpc86xx/cpu_init.c | 27 +++++++++++ drivers/block/ahci.c | 7 +-- drivers/pci/pci.c | 19 ++++++++ include/74xx_7xx.h | 37 --------------- include/asm-ppc/e300.h | 35 -------------- include/asm-ppc/mmu.h | 73 ++++++++++++++++++++++------ include/configs/MPC8641HPCN.h | 28 +++++++++-- include/mpc824x.h | 39 --------------- include/mpc86xx.h | 41 ---------------- include/pci.h | 28 +++++++++-- lib_ppc/bat_rw.c | 28 +++++++++++ lib_ppc/board.c | 2 +- 16 files changed, 211 insertions(+), 213 deletions(-)