lkml.org 
[lkml]   [2020]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/3] arm64:msr: Add MSR driver
On 2020-12-03 11:25, Rongwei Wang wrote:
>> 2020年12月3日 下午4:35,Marc Zyngier <maz@kernel.org> 写道:

[...]

>> But what does it mean to change random system registers while the
>> kernel
>> itself is using them in parallel? All you are introducing is a bunch
>> of
>> uncontrolled, unexpected, and possibly fatal side effects.
> This problem exists when writing to a register, but it does not exist
> when reading a register.

If you're not aware that the ARM architecture does have system registers
with read side-effects, you really shouldn't be writing this code.

M.
--
Jazz is not dead. It just smells funny...

\
 
 \ /
  Last update: 2020-12-03 12:46    [W:0.094 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site