Thread (8 messages) 8 messages, 4 authors, 2022-05-24

Re: [PATCH v2 1/2] powerpc/powernv: Get L1D flush requirements from device-tree

From: Michael Ellerman <hidden>
Date: 2022-05-24 11:27:51

On Mon, 4 Apr 2022 20:15:35 +1000, Russell Currey wrote:
The device-tree properties no-need-l1d-flush-msr-pr-1-to-0 and
no-need-l1d-flush-kernel-on-user-access are the equivalents of
H_CPU_BEHAV_NO_L1D_FLUSH_ENTRY and H_CPU_BEHAV_NO_L1D_FLUSH_UACCESS
from the H_GET_CPU_CHARACTERISTICS hcall on pseries respectively.

In commit d02fa40d759f ("powerpc/powernv: Remove POWER9 PVR version
check for entry and uaccess flushes") the condition for disabling the
L1D flush on kernel entry and user access was changed from any non-P9
CPU to only checking P7 and P8.  Without the appropriate device-tree
checks for newer processors on powernv, these flushes are unnecessarily
enabled on those systems.  This patch corrects this.

[...]
Applied to powerpc/next.

[1/2] powerpc/powernv: Get L1D flush requirements from device-tree
      https://git.kernel.org/powerpc/c/2efee6adb56159288bce9d1ab51fc9056d7007d4
[2/2] powerpc/powernv: Get STF barrier requirements from device-tree
      https://git.kernel.org/powerpc/c/d2a3c131981d4498571908df95c3c9393a00adf5

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help