** Description changed: [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. + 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/$(uname -r)/kernel/drivers/perf/hisilicon 2) check *.ko 3) [Actual Results] @ubuntu:~$ cat /boot/config-4.15.0-140-generic | grep -i CONFIG_HISI_PMU CONFIG_HISI_PMU=y [Expected Results] @ubuntu:~$ cat /boot/config-4.15.0-140-generic | grep -i CONFIG_HISI_PMU 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
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1956086 Title: config CONFIG_HISI_PMU for kunpeng920 To manage notifications about this bug go to: https://bugs.launchpad.net/kunpeng920/+bug/1956086/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
