Re: [PATCH 0/3] arm64:msr: Add MSR driver

From: Marc Zyngier
Date: Mon Nov 30 2020 - 13:07:26 EST


On 2020-11-30 17:48, Rongwei Wang wrote:

The interfaces of this module is same as MSR module in user space, and to solve
the problem that ARM platform has no similar MSR module. Using this interface,
we did some pressure tests to test the stability and security of MSR driver. The
test results show that the driver will not cause system panic if various
illegal values and multithreading concurrent access are passed through the
interface.

It would certainly help if you described what problem you are trying
to solve here. In general, giving userspace access to random system
registers is a pretty bad idea.

Are you trying to validate a CPU? a hypervisor? Or is it just a fun way
to check how many things you can poke before something catches fire?

Thanks,

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