powerpc/8xx: Optimisation of TLB handling for IMMR and RAM
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 0 repliesNew
- v27 patches 4 repliesSuperseded
- v17 patches 0 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | powerpc/8xx: Fix vaddr for IMMR early remaparch/ arch/ arch/ +2 more | +41 | 0 replies | |
| 2/7 | powerpc/8xx: Map IMMR area with 512k page at a fixed addressarch/ arch/ arch/ | +86 | 0 replies | |
| 3/7 | powerpc/8xx: CONFIG_PIN_TLB unneeded for CONFIG_PPC_EARLY_DEBUG_CPMarch/ | +0 | 0 replies | |
| 4/7 | powerpc/8xx: unpin all TLBs before flushingarch/ | +10 | 0 replies | |
| 5/7 | powerpc/8xx: Don't use page table for linear memory spacearch/ arch/ | +55 | 0 replies | |
| 6/7 | powerpc/8xx: Rework CONFIG_PIN_TLB handlingarch/ arch/ | +23 | 0 replies | |
| 7/7 | powerpc/8xx: add CONFIG_PIN_TLB_IMMRarch/ arch/ arch/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/7] powerpc/8xx: Optimisation of TLB handling for IMMR and RAM
The purpose of this set of patches is to continue on TLB handling optimisation on the 8xx with the handling of IMMR area as a single 512k area instead of multiple 4k pages.
This set includes a rework of linear RAM mapping in order to not use page table but direct linear mapping. The result is equivalent to the use of BATs on other PPCs and it avoids reading the page table.
This set also includes a rework of the handling of PIN_TLB config option. This option used to be linked to the quantity of RAM available. It is now independant, users having only 8M memory can also use PIN_TLB.
Christophe Leroy (7):
powerpc/8xx: Fix vaddr for IMMR early remap
powerpc/8xx: Map IMMR area with 512k page at a fixed address powerpc/8xx: CONFIG_PIN_TLB unneeded for CONFIG_PPC_EARLY_DEBUG_CPM powerpc/8xx: unpin all TLBs before flushing
powerpc/8xx: Don't use page table for linear memory space powerpc/8xx: Rework CONFIG_PIN_TLB handling
powerpc/8xx: add CONFIG_PIN_TLB_IMMR
arch/powerpc/Kconfig | 5 ++ arch/powerpc/Kconfig.debug | 1 - arch/powerpc/include/asm/fixmap.h | 7 ++ arch/powerpc/include/asm/mmu-8xx.h | 3 + arch/powerpc/kernel/asm-offsets.c | 8 ++ arch/powerpc/kernel/head_8xx.S | 159 +++++++++++++++++++------------------ arch/powerpc/mm/8xx_mmu.c | 131 ++++++++++++++++++++---------- arch/powerpc/mm/mmu_decl.h | 3 +- arch/powerpc/sysdev/cpm_common.c | 22 +++-- 9 files changed, 212 insertions(+), 127 deletions(-)
Signature · 4 lines
v2: Fixed a test in the 6/7 v3: Fixed issue with 82xx 2.1.0