You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ARC: Fix an issue when changing RTP1 register and don't invalidate TLB
Add local_flush_tlb_all() function after changing RTP1 register from
early_pg_dir to swapper_pg_dir - main Linux kernel page table.
After this, we need to provide mapping for peripheral (UART for
example) to swapper_pg_dir which is done in early_fixmap_shutdown().
Before this patch there was an issue because we used cached UART
mapping from early_pg_dir but actual RTP1 pointed to new table
swapper_pg_dir.
This issue was found in QEMU because it doesn't simulate TLB while
on nSIM and RTL all worked fine because they simulate/use TLB.
0 commit comments