[PATCH v3 0/3] arch_topology/cacheinfo: Fixes for v5.20

Sudeep Holla sudeep.holla at arm.com
Wed Jul 20 05:55:37 PDT 2022


These are fixes for the cacheinfo/arch_topology updates containing [0]
queued currently in the -next via [3].

Signed-off-by: Sudeep Holla <sudeep.holla at arm.com>

---
Changes in v3 from v2[2]:
	- Dropped mapping and unmapping of PPTT at runtime using
	  acpi_{get,put}_table() to avoid "BUG: sleeping function
	  called from invalid context"
	- Added tested-by from Geert

Changes in v2[2] from v1[1]:
        - Changed the cacheinfo per-cpu allocation to be atomic
	  to fix possible "BUG: sleeping function called from invalid context"
        - Added all the received tags

[0] https://lore.kernel.org/all/20220704101605.1318280-1-sudeep.holla@arm.com
[1] https://lore.kernel.org/all/20220713133344.1201247-1-sudeep.holla@arm.com
[2] https://lore.kernel.org/all/20220715102609.2160689-1-sudeep.holla@arm.com
[3] https://lore.kernel.org/all/20220706124644.2276077-1-sudeep.holla@arm.com

---
Sudeep Holla (3):
      cacheinfo: Use atomic allocation for percpu cache attributes
      ACPI: PPTT: Leave the table mapped for the runtime usage
      arch_topology: Fix cache attributes detection in the CPU hotplug path

 drivers/acpi/pptt.c          | 102 ++++++++++++++++++++-----------------------
 drivers/base/arch_topology.c |  16 +++----
 drivers/base/cacheinfo.c     |   2 +-
 3 files changed, 54 insertions(+), 66 deletions(-)
---
base-commit: 7128af87c7f1c30cd6cebe0b012cc25872c689e2
change-id: 20220720-arch_topo_fixes-d91d43827aeb

Best regards,
-- 
Regards,
Sudeep




More information about the linux-riscv mailing list