commit | 8a71f0c656e0521867931eecff54eb3a35ca65a7 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Tue Sep 06 14:04:45 2016 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Fri Sep 09 18:12:08 2016 +0100 |
tree | 4c460a0145d2a9a1c2a70b93ceb294a2c7280ac7 | |
parent | 0e27a7fce60f8c334ef59de0fbf5df8744e752e0 [diff] |
arm64: sysreg: replace open-coded mrs_s/msr_s with {read,write}_sysreg_s Similar to our {read,write}_sysreg accessors for architected, named system registers, this patch introduces {read,write}_sysreg_s variants that can take arbitrary sys_reg output and therefore access IMPDEF registers or registers that unsupported by binutils. Reviewed-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>