[PATCH] parisc: Fix cache coherency for copy/clear_user_page operations

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

 



As noted by James E.J. Bottomley, we need to purge the kernel TLB entries used when copying/clearing to user pages on PA 2.0 systems that require cache coherency. Otherwise, we generate inequivalent
aliases and incorrect cache operation.

The patch also disables preemption around both the TLB and cache flushes as it seemed the effect of the
purge might be lost.

So far with approximately two days testing, I have seen no random segmentation faults on 4-way rp3440.

Signed-off-by: John David Anglin  <dave.anglin@xxxxxxxx>
---


Attachment: cache-alias.d
Description: Binary data



--
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