Hi
When I was doing some memory-related projects, it always reported error
"nonzero mapcount", but its judgment condition was that _mapcount was not equal
to -1, so I felt the original string was a bit inappropriate, so I tried to
update it.
Signed-off-by: Rongwei Wang
---
mm/page_a
> On Dec 3, 2020, at 7:45 PM, Marc Zyngier wrote:
>
> On 2020-12-03 11:25, Rongwei Wang wrote:
>>> 2020年12月3日 下午4:35,Marc Zyngier 写道:
>
> [...]
>
>>> But what does it mean to change random system registers while the kernel
>>> itself is using t
> 2020年12月3日 下午4:35,Marc Zyngier 写道:
>
> On 2020-12-03 05:45, Rongwei Wang wrote:
>>> 2020年12月1日 下午11:37,Marc Zyngier 写道:
>>> On 2020-12-01 14:25, wangrongwei wrote:
>>>>> 2020年12月1日 下午4:12,Marc Zyngier 写道:
>>>>> On 2020-12-01 03:09,
registers.
> reason for userspace to ever access privileged system registers, and
> the fact that x86 has such feature isn't a good justification.
>
>M.
> --
> Jazz is not dead. It just smells funny…
Sorry for the delayed response.
Regards,
Rongwei Wang.
> 2020年12月1日 下午11:25,Borislav Petkov 写道:
>
> On Tue, Dec 01, 2020 at 11:17:39PM +0800, Rongwei Wang wrote:
>> In ARM, the system registers can only be accessed through msr and mrs,
>> so the problem created by MSR driver (depend on rdmsr and wrmsr) in
>> x86 is not
.
In addition, we want cross-platform compatabilities, and fill these gaps in the
ARM.
>
> --
> Regards/Gruss,
>Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette
Regards,
Rongwei Wang.
register_undef_hook and unregister_undef_hook to handle
the low probability undefined exception which triggered only by MSR-ARM driver.
Signed-off-by: Rongwei Wang
---
arch/arm64/kernel/insn.c | 2 ++
arch/arm64/kernel/traps.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/arm64
: 409
Readable registers: 196
The above is a test of more than 600 system registers, and no system exception
occurred
Rongwei Wang (3):
arm64:insn: Export the symbol to modify code text
arm64:msr: Introduce MSR ARM driver
arm64:msr: Enable MSR ARM driver
arch/arm64/Kconfig | 9
By default, MSR-ARM is compiled as a module.
Signed-off-by: Rongwei Wang
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 5cfe3cf..952cf6a 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch
: Rongwei Wang
---
arch/arm64/Kconfig | 9 +
arch/arm64/include/asm/msr_arm.h | 75
arch/arm64/kernel/Makefile | 3 +-
arch/arm64/kernel/msr_arm.c | 399 +++
arch/arm64/kernel/msr_smp.c | 249
5
10 matches
Mail list logo