diff options
| author | Suzuki K Poulose <[email protected]> | 2017-01-09 17:28:31 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2017-01-12 12:31:09 +0000 |
| commit | 77c97b4ee21290f5f083173d957843b615abbff2 (patch) | |
| tree | f808443f1cf7c95776dd62c4047b2257e98a3d96 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | fe4fbdbcddeaab58a4f9b5297f28b8a4babf6f1f (diff) | |
arm64: cpufeature: Expose CPUID registers by emulation
This patch adds the hook for emulating MRS instruction to
export the 'user visible' value of supported system registers.
We emulate only the following id space for system registers:
Op0=3, Op1=0, CRn=0, CRm=[0, 4-7]
The rest will fall back to SIGILL. This capability is also
advertised via a new HWCAP_CPUID.
Cc: Catalin Marinas <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Will Deacon <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
[will: add missing static keyword to enable_mrs_emulation]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions