Thread (4 messages) flat view 4 messages, 4 authors, 2021-12-21

Re: [PATCH]selftests/powerpc: skip tests for unavailable mitigations.

From: Russell Currey <hidden>
Date: 2021-12-15 04:36:52

On Mon, 2021-12-13 at 22:12 +0530, Sachin Sant wrote:
Mitigation patching test iterates over a set of mitigations
irrespective
of whether a certain mitigation is supported/available in the kernel.
This causes following messages on a kernel where some mitigations
are unavailable:

  Spawned threads enabling/disabling mitigations ...
  cat: entry_flush: No such file or directory
  cat: uaccess_flush: No such file or directory
  Waiting for timeout ...
  OK

This patch adds a check for available mitigations in the kernel.

Reported-by: Nageswara R Sastry <redacted>
Signed-off-by: Sachin Sant <redacted>
Reviewed-by: Russell Currey <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help