summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorPunit Agrawal <punit.agrawal@oss.qualcomm.com>2025-10-24 13:31:25 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-10-27 20:43:41 +0100
commit543d35004007a06ef247acf2fc55efa8388aa741 (patch)
tree57e26a9d6f8066faf77aae2d160dd99fa6c95708 /tools/docs/parse-headers.py
parentdc131bcd8d9219f7da533918abcb0d32951b7702 (diff)
ACPI: SPCR: Check for table version when using precise baudrate
Commit 4d330fe54145 ("ACPI: SPCR: Support Precise Baud Rate field") added support to use the precise baud rate available since SPCR 1.09 (revision 4) but failed to check the version of the table provided by the firmware. Accessing an older version of SPCR table causes accesses beyond the end of the table and can lead to garbage data to be used for the baud rate. Check the version of the firmware provided SPCR to ensure that the precise baudrate is vaild before using it. Fixes: 4d330fe54145 ("ACPI: SPCR: Support Precise Baud Rate field") Signed-off-by: Punit Agrawal <punit.agrawal@oss.qualcomm.com> Link: https://patch.msgid.link/20251024123125.1081612-1-punit.agrawal@oss.qualcomm.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions