[Bionic] ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Currently, we use the ACPI processor ID only for the leaf/processor nodes as the specification states it must match the value of the ACPI processor ID field in the processor’s entry in the MADT.
However, if a PPTT structure represents a processors group, it matches a processor container UID in the namespace and the ACPI_PPTT_
Let's use UID whenever ACPI_PPTT_
Fixes: 2bd00bcd73e5 (ACPI/PPTT: Add Processor Properties Topology Table parsing)
[Fix]
This patch in is 4.18:
30998033f62a ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_
[Test]
-- testcase --
#!/bin/bash
stress-ng -q --vm 100 --vm-bytes 1G --cpu 210 --timeout 2400s --metrics-brief &
pid=$!
for i in {1..210}; do
num=$(
echo "Offline CPU $num"
echo 0 > /sys/devices/
sleep 3s
echo "Online CPU $num"
echo 1 > /sys/devices/
done
kill -9 $pid
----------------
Executed the test case with stock Bionic kernel and with Bionic kernel with patches applied. No system hang or crash was observed. On Cavium CN99XX Thunder X2 system.
[Regression Potential]
Regression tested on Cavium Thunder X2 CN99XX system, and none were found. Regression risk is low.
CVE References
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
tags: | added: cscc |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1797200
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.