Thread (13 messages) 13 messages, 3 authors, 2017-01-10

[PATCH v4 0/9] arm64: Expose CPUID registers via emulation

From: Will Deacon <hidden>
Date: 2017-01-10 17:15:02
Also in: lkml

On Mon, Jan 09, 2017 at 05:28:23PM +0000, Suzuki K Poulose wrote:
This series adds a new ABI to expose the CPU feature registers
to the user space via emulation of MRS instruction. The system exposes
only a limited set of feature values (See the documentation patch)
from the cpufeature infrastructure. The feature bits that are not
exposed are set to the 'safe value' which implies 'not supported'.

Apart from the selected feature registers, we expose MIDR_EL1 (Main
ID Register). The user should be aware that, reading MIDR_EL1 can be
tricky on a heterogeneous system (just like getcpu()). We export the
value of the current CPU where 'MRS' is executed.

Applies on v4.10-rc3.
Thanks, I'll queue this for 4.11.

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