diff options
| author | Ashok Raj <[email protected]> | 2023-01-30 21:39:48 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2023-01-31 15:47:03 +0000 |
| commit | 25d0dc4b957cc8674f8554e85f18a00467e876d7 (patch) | |
| tree | 47d159c908305f56818e2bad0656ae994f5cac2f /drivers/acpi/cppc_acpi.c | |
| parent | x86/microcode/intel: Print old and new revision during early boot (diff) | |
| download | kernel-25d0dc4b957cc8674f8554e85f18a00467e876d7.tar.gz kernel-25d0dc4b957cc8674f8554e85f18a00467e876d7.zip | |
x86/microcode: Allow only "1" as a late reload trigger value
Microcode gets reloaded late only if "1" is written to the reload file.
However, the code silently treats any other unsigned integer as a
successful write even though no actions are performed to load microcode.
Make the loader more strict to accept only "1" as a trigger value and
return an error otherwise.
[ bp: Massage commit message. ]
Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Ashok Raj <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
