config CONFIG_HISI_PMU for kunpeng920
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Fix Released
|
Undecided
|
Ike Panhc | ||
Ubuntu-20.04 |
Fix Released
|
Undecided
|
Ike Panhc | ||
Ubuntu-20.04-hwe |
Fix Released
|
Undecided
|
Ike Panhc | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Ike Panhc | ||
Focal |
Fix Released
|
Medium
|
Ike Panhc | ||
Impish |
Fix Released
|
Medium
|
Ike Panhc | ||
Jammy |
Fix Released
|
Medium
|
Ike Panhc | ||
Kinetic |
Fix Released
|
Undecided
|
Ike Panhc |
Bug Description
[Impact]
We have Hisilicon PMU modules built-in and they can not be unloaded. There is no way to replace with a updated module unless we build it as module. It also wastes memory on arm64 systems based on other SoCs.
[Test Plan]
`lsmod | grep hisi_uncore` shall see 4 modules loaded and they can be unloaded.
[Regression Risk]
CONFIG_HISI_PMU shall be only affected Hisilicon platforms that HISI0213 is found in ACPI tables. We shall have perf test run on these platforms and others have lowest risk.
=======
[Bug Description]
hisi pmu support x.ko module to use it for kunpeng920
[Steps to Reproduce]
1) cd /lib/modules/
2) check *.ko
3)
[Actual Results]
@ubuntu:~$ cat /boot/config-
CONFIG_HISI_PMU=y
[Expected Results]
@ubuntu:~$ cat /boot/config-
CONFIG_HISI_PMU=m
[Reproducibility]
100%
[Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):
[Resolution]
drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers
CVE References
description: | updated |
Changed in linux (Ubuntu): | |
assignee: | nobody → Ike Panhc (ikepanhc) |
status: | New → In Progress |
Changed in linux (Ubuntu Jammy): | |
status: | New → In Progress |
assignee: | nobody → Ike Panhc (ikepanhc) |
Changed in linux (Ubuntu Focal): | |
status: | New → In Progress |
assignee: | nobody → Ike Panhc (ikepanhc) |
no longer affects: | kunpeng920/ubuntu-21.10 |
Changed in linux (Ubuntu Impish): | |
status: | New → In Progress |
assignee: | nobody → Ike Panhc (ikepanhc) |
Changed in linux (Ubuntu Jammy): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Impish): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Impish): | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in kunpeng920: | |
status: | In Progress → Fix Committed |
Changed in kunpeng920: | |
status: | Fix Committed → Fix Released |
Hi,
I believe you are suggesting merging patch 97807325a02b ("drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers") and CONFIG_HISI_PMU=m.
Is there any testcase for PMU driver that we can verify driver is good?