Re: fixmap problem on PA11 hardware

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

 



Hi Helge,

My sense is the invalidate patch isn't correct.  The main difference between pdc and fdc is that
it is optional whether pdc writes the cache line back to memory when it's dirty at priority 0.

Note also that flush_kernel_vmap_range and invalidate_kernel_vmap_range both have this hunk
which may behave differently:

        if ((!IS_ENABLED(CONFIG_SMP) || !arch_irqs_disabled()) &&
            (unsigned long)size >= parisc_cache_flush_threshold) {
                flush_tlb_kernel_range(start, end);
                flush_data_cache();
                return;
        }

Dave

On 2021-10-31 5:22 p.m., Helge Deller wrote:
On 10/27/21 22:14, John David Anglin wrote:
On 2021-10-27 3:09 p.m., Helge Deller wrote:
In the archives I found this old thread, which might be related:
https://www.spinics.net/lists/linux-parisc/msg09391.html
These seems unlikely as both 7100LC and 7300LC are PA-RISC 1.1 processors (1.1c vs. 1.1e).  Big difference
seems to be cache.
Yes, there were at least two problems.
I just sent two patches to the list which fix the crashes.
But FTRACE still doesn't work on PA1.x machines as expected,
while the same code seems to work on PA2.x machines (running the same 32bit kernel).


--
John David Anglin  dave.anglin@xxxxxxxx





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

  Powered by Linux