aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAnthony Steinhauser <asteinhauser@google.com>2019-12-16 14:53:47 -0800
committerWill Deacon <will@kernel.org>2020-01-08 17:27:41 +0000
commitb3c75c9d762b67de278c8847529b1e3a4c143a8e (patch)
tree975c442aff849d5ba08c6a6e372d6650439622a1 /tools/perf/scripts/python/mem-phys-addr.py
parent46cf053efec6a3a5f343fead837777efe8252a46 (diff)
Return ENODEV when the selected speculation misfeature is unsupported
When the control of the selected speculation misbehavior is unsupported, the kernel should return ENODEV according to the documentation: https://www.kernel.org/doc/html/v4.17/userspace-api/spec_ctrl.html Current aarch64 implementation of SSB control sometimes returns EINVAL which is reserved for unimplemented prctl and for violations of reserved arguments. This change makes the aarch64 implementation consistent with the x86 implementation and with the documentation. Signed-off-by: Anthony Steinhauser <asteinhauser@google.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions