diff options
| author | Jiaxun Yang <[email protected]> | 2025-06-07 12:43:56 +0000 |
|---|---|---|
| committer | Thomas Bogendoerfer <[email protected]> | 2025-07-16 18:01:07 +0000 |
| commit | 35ad7e181541aa5757f9f316768d3e64403ec843 (patch) | |
| tree | d3891cd69ce8e308f64f4bb8e05a01e303a25b5a /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | MIPS: SGI-IP27: Delete an unnecessary check before kfree() in hub_domain_free() (diff) | |
| download | kernel-35ad7e181541aa5757f9f316768d3e64403ec843.tar.gz kernel-35ad7e181541aa5757f9f316768d3e64403ec843.zip | |
MIPS: mm: tlb-r4k: Uniquify TLB entries on init
Hardware or bootloader will initialize TLB entries to any value, which
may collide with kernel's UNIQUE_ENTRYHI value. On MIPS microAptiv/M5150
family of cores this will trigger machine check exception and cause boot
failure. On M5150 simulation this could happen 7 times out of 1000 boots.
Replace local_flush_tlb_all() with r4k_tlb_uniquify() which probes each
TLB ENTRIHI unique value for collisions before it's written, and in case
of collision try a different ASID.
Cc: [email protected]
Signed-off-by: Jiaxun Yang <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
