** Summary changed: - change CONFIG_PERF_EVENTS_AMD_UNCORE from m to y + [SRU] change CONFIG_PERF_EVENTS_AMD_UNCORE from m to y
** Also affects: linux (Ubuntu Noble) Importance: Undecided Status: Confirmed ** Also affects: linux (Ubuntu Mantic) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Mantic) Status: New => Confirmed ** Description changed: - Ubuntu currently sets CONFIG_PERF_EVENTS_AMD_UNCORE=m for distro - kernels. + [Impact] + Ubuntu currently sets CONFIG_PERF_EVENTS_AMD_UNCORE=m for distro kernels. However, unlike plug and play devices, there is no way to load uncore module when user tries to use uncore event. Also, a primary motivation to add module support in uncore driver was to ease development (https://git.kernel.org/torvalds/c/05485745ad482). - So, ask ubuntu to switch to CONFIG_PERF_EVENTS_AMD_UNCORE=y. + Its not immediately apparent from perf tool output that the "amd-uncore" + module is not loaded when opening "amd_df" or "amd_l3" events fail or + when they do not show up in "perf list" despite using a compatible + kernel. Since the primary motivation of the commit [1] that made it + possible for this to be loaded as a module was to make development + easier, CONFIG_PERF_EVENTS_AMD_UNCORE defaults to 'y' [2]. + + [1] https://git.kernel.org/torvalds/c/05485745ad482 + [2] https://github.com/torvalds/linux/blob/master/arch/x86/events/Kconfig#L40 + + [Fix] + + Change kernel config to CONFIG_PERF_EVENTS_AMD_UNCORE=y + + [Test case] + + (How can this change be tested/verified?) + + [Where problems may occur] + + (What side effects or regressions could this change create?) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2033416 Title: [SRU] change CONFIG_PERF_EVENTS_AMD_UNCORE from m to y Status in linux package in Ubuntu: Confirmed Status in linux source package in Mantic: Confirmed Status in linux source package in Noble: Confirmed Bug description: [Impact] Ubuntu currently sets CONFIG_PERF_EVENTS_AMD_UNCORE=m for distro kernels. However, unlike plug and play devices, there is no way to load uncore module when user tries to use uncore event. Also, a primary motivation to add module support in uncore driver was to ease development (https://git.kernel.org/torvalds/c/05485745ad482). Its not immediately apparent from perf tool output that the "amd- uncore" module is not loaded when opening "amd_df" or "amd_l3" events fail or when they do not show up in "perf list" despite using a compatible kernel. Since the primary motivation of the commit [1] that made it possible for this to be loaded as a module was to make development easier, CONFIG_PERF_EVENTS_AMD_UNCORE defaults to 'y' [2]. [1] https://git.kernel.org/torvalds/c/05485745ad482 [2] https://github.com/torvalds/linux/blob/master/arch/x86/events/Kconfig#L40 [Fix] Change kernel config to CONFIG_PERF_EVENTS_AMD_UNCORE=y [Test case] (How can this change be tested/verified?) [Where problems may occur] (What side effects or regressions could this change create?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2033416/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp