Re: [PATCH] parisc: Maybe fix A500 boot crash with 44786880df196a4200c178945c4d41675faf9fb7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I believe the following change will fix the cache/TLB inconsistency observed
by Meelis.  After changing the page table entries, we need to flush the
cache and TLB to ensure that we don't have any stale PTE values in the
cache or TLB.

The alternative patching is done after all CPUs are running.  Thus, we need
to flush the whole cache and TLB.

I included the init section in the range modified by map_pages as suggested
by Helge.  Some routines in the init section may require patching.

It still boots on my A500 and RP3440 but that is all I can reliably test.

--
Meelis Roos <mroos@xxxxxxxx>



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux