]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: pfr_update: Fix the driver update version check
authorChen Yu <yu.c.chen@intel.com>
Tue, 22 Jul 2025 14:32:33 +0000 (22:32 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 20 Aug 2025 13:30:36 +0000 (15:30 +0200)
commit8151320c747efb22d30b035af989fed0d502176e
tree79ca6d90d71fa804401e83cb329b4fac47ce8d21
parentc17b750b3ad9f45f2b6f7e6f7f4679844244f0b9
ACPI: pfr_update: Fix the driver update version check

The security-version-number check should be used rather
than the runtime version check for driver updates.

Otherwise, the firmware update would fail when the update binary had
a lower runtime version number than the current one.

Fixes: 0db89fa243e5 ("ACPI: Introduce Platform Firmware Runtime Update device driver")
Cc: 5.17+ <stable@vger.kernel.org> # 5.17+
Reported-by: "Govindarajulu, Hariganesh" <hariganesh.govindarajulu@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Link: https://patch.msgid.link/20250722143233.3970607-1-yu.c.chen@intel.com
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pfr_update.c
include/uapi/linux/pfrut.h