msr-safe icon indicating copy to clipboard operation
msr-safe copied to clipboard

Removes open and close fileops from msr_batch.

Open rountree opened this issue 1 year ago • 0 comments

This was copy/paste code from the msr_safe device that's not useful for the batch device.

The X86_FEATURE_MSR is only used in two places in the kernel source: msr.c and arch/x86/include/asm/required-features.h. The latter states

Define minimum CPUID feature set for kernel These bits are checked
   really early to actually display a visible error message before the
   kernel dies.

No need to be checking it here (or in msr-entry, for that matter).

Fixes #118 #117

rountree avatar Oct 17 '22 13:10 rountree