swiotlb: changes for powerpc/highmem
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 14 repliesIn review
- v15 patches 11 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | swiotlb: comment corrections (no code changes)lib/ | +11 | 0 replies | |
| 2/7 | swiotlb: fix compile warninglib/ | +1 | 0 replies | |
| 3/7 | swiotlb: map_page fix for highmem systemslib/ | +1 | 0 replies | |
| 4/7 | swiotlb: Allow arch override of address_needs_mappinglib/ | +8 | 0 replies | |
| 5/7 | swiotlb: (re)Create swiotlb_unmap_singlelib/ | +23 | 13 replies | |
| 6/7 | swiotlb: Use swiotlb_sync_single instead of duplicating codelib/ | +12 | 0 replies | |
| 7/7 | swiotlb: Change swiotlb_bus_to[phys,virt] prototypesarch/ include/ lib/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH V2 0/7] swiotlb: changes for powerpc/highmem
This is v2 of a series of fairly minor patches that get swiotlb working on 32-bit powerpc systems with HIGHMEM, plus some cleanup of the outdated comments in the code. I've made a couple of things weak that ppc needs to override, and have changed the prototypes for a couple of functions to include the hwdev pointer, which we need to ppc to convert bus addresses to and from phys/virt addresses. I've also fixed a build warning I've been seeing on ppc.
In response to commentary on the previous series, I've also refactored the code a bit, altough I did this slightly differently than was suggested because I noticed we could use the new helper function in 2 places instead of one. I've reformatted a bit of code based on commentary as well.
I have not tested this in any way on any non-ppc platforms, so commentary/testing from x86/ia64 folks is, once again, greatly appreciated.
I'm going to be offline for the next week, but will respond to commentary as soon as I return.
Cheers,
Becky
diffstat:
arch/x86/kernel/pci-swiotlb.c | 2 +- include/linux/swiotlb.h | 3 +- lib/swiotlb.c | 115 ++++++++++++++++++++++------------------- 3 files changed, 64 insertions(+), 56 deletions(-)