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

Allows safer access to model specific registers (MSRs)

Results 46 msr-safe issues
Sort by recently updated
recently updated
newest added

`MAX_WLIST_BSIZE` is the maximum size of an allowlist and is `#defined` in `msr_whitelist.c` as `((128 * 1024) + 1)`. The maximum size of a batch array is `(2^14-1)`, which is...

enhancement

For kernel version `3.10.0-1160.71.1.1chaos.ch6.x86_64` `gcc/4.8-redhat` good `gcc/4.9.3` error `gcc/6.1.0` error `gcc/7.1.0` error `gcc/7.3.0` good `gcc/8.1.0` good `gcc/8.3.1` good `gcc/9.3.1` warnings `gcc/10.2.1`warnings `gcc 11.2.0-19ubuntu1` good Eventually I'd like to get a...

bug

As part of backwards capability with the stock msr kernel module we wanted to allow userspace programs with `CAP_SYS_RAWIO` to access MSRs without an allowlist check. In practice, this hasn't...

enhancement

Fix build with added Linux Kernel Version and RHEL check for RHEL backported change. Requires const struct device *dev rather than struct device *dev for devnode.

`al_06_3F` contains the following: ``` 45 # 0x00000186 0x0000000000000000 # "IA32_PERFEVTSEL0 (Table: 2-29)" 46 # 0x00000187 0x0000000000000000 # "IA32_PERFEVTSEL1 (Table: 2-29)" 47 # 0x00000188 0x0000000000000000 # "IA32_PERFEVTSEL2 (Table: 2-29)" 48...

1. Allow an `msr_batch_array` to be validated once again the allowlist and the be repeatedly executed. Subsequent `ioctl` calls to trigger re-execution should probably provide the userspace buffer for the...

the original blr input data for table 2-20 has a typo on line 243. ```83E0 IA32_X2APIC_DIV_CONF``` the address should be 83EH, the templatemaker.py script matches each line from the input...