mirror of
https://github.com/torvalds/linux.git
synced 2026-10-08 03:26:02 +02:00
Add check for enabled levels only when reading MMIO. Some levels can be
disabled by BIOS. If the level is not enabled, return an error.
Reset the enable and allowed level masks if there is a failure to add a
perf level.
Fixes:
|
||
|---|---|---|
| .. | ||
| arm64 | ||
| chrome | ||
| cznic | ||
| goldfish | ||
| loongarch | ||
| mellanox | ||
| mips | ||
| olpc | ||
| raspberrypi | ||
| surface | ||
| wmi | ||
| x86 | ||
| Kconfig | ||
| Makefile | ||