|
Bugzilla – Full Text Bug Listing |
| Summary: | Backport arm64: Enable Nvidia driver for Coresight PMU arch device | ||
|---|---|---|---|
| Product: | [openSUSE] PUBLIC SUSE Linux Enterprise Server 15 SP6 | Reporter: | Carol Soto <csoto> |
| Component: | Kernel | Assignee: | Ivan Ivanov <ivan.ivanov> |
| Status: | IN_PROGRESS --- | QA Contact: | |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | afaerber, arm-bugs, csoto, ddavis, ivan.ivanov, mbenes, mochs |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | aarch64 | ||
| OS: | SLES 15 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Carol Soto
2024-07-24 17:03:30 UTC
(In reply to Carol Soto from comment #0) > We want to be able to do: > perf list | grep nvidia > and see PMU events listed at SLES 15 SP6. > > SLES 15 SP6 has this patch: > https://github.com/torvalds/linux/commit/ > bfc653aa89cb05796d7b4e046600accb442c9b7a > > Then will need this patch: > > arm64: defconfig: Enable NVIDIA CoreSight PMU driver > > CONFIG_NVIDIA_CORESIGHT_PMU_ARCH_SYSTEM_PMU=m > > This patch went thru this patch: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/ > ?id=a9a4cd9c3397109c2799cb765ab0d3959831a248 Not exactly, updating defconfig would not help much. > lore discussion: > > https://lore.kernel.org/linux-arm-kernel/20240509215808.126217-1- > bwicaksono@nvidia.com/ > > > Probably need to enable this one too: > grep CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU > /boot/config-6.4.0-150600.23.14-64kb > # CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU is not set Right, so the report is just about enabling CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU, correct? (In reply to Miroslav Beneš from comment #1) > (In reply to Carol Soto from comment #0) > > We want to be able to do: > > perf list | grep nvidia > > and see PMU events listed at SLES 15 SP6. > > > > SLES 15 SP6 has this patch: > > https://github.com/torvalds/linux/commit/ > > bfc653aa89cb05796d7b4e046600accb442c9b7a > > > > Then will need this patch: > > > > arm64: defconfig: Enable NVIDIA CoreSight PMU driver > > > > CONFIG_NVIDIA_CORESIGHT_PMU_ARCH_SYSTEM_PMU=m > > > > This patch went thru this patch: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/ > > ?id=a9a4cd9c3397109c2799cb765ab0d3959831a248 > > Not exactly, updating defconfig would not help much. > > > lore discussion: > > > > https://lore.kernel.org/linux-arm-kernel/20240509215808.126217-1- > > bwicaksono@nvidia.com/ > > > > > > Probably need to enable this one too: > > grep CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU > > /boot/config-6.4.0-150600.23.14-64kb > > # CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU is not set > > Right, so the report is just about enabling > CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU, correct? Yes enabling CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU and CONFIG_NVIDIA_CORESIGHT_PMU_ARCH_SYSTEM_PMU. (In reply to Carol Soto from comment #2) > (In reply to Miroslav Beneš from comment #1) > > (In reply to Carol Soto from comment #0) > > > We want to be able to do: > > > perf list | grep nvidia > > > and see PMU events listed at SLES 15 SP6. > > > > > > SLES 15 SP6 has this patch: > > > https://github.com/torvalds/linux/commit/ > > > bfc653aa89cb05796d7b4e046600accb442c9b7a > > > > > > Then will need this patch: > > > > > > arm64: defconfig: Enable NVIDIA CoreSight PMU driver > > > > > > CONFIG_NVIDIA_CORESIGHT_PMU_ARCH_SYSTEM_PMU=m > > > > > > This patch went thru this patch: > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/ > > > ?id=a9a4cd9c3397109c2799cb765ab0d3959831a248 > > > > Not exactly, updating defconfig would not help much. > > > > > lore discussion: > > > > > > https://lore.kernel.org/linux-arm-kernel/20240509215808.126217-1- > > > bwicaksono@nvidia.com/ > > > > > > > > > Probably need to enable this one too: > > > grep CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU > > > /boot/config-6.4.0-150600.23.14-64kb > > > # CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU is not set > > > > Right, so the report is just about enabling > > CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU, correct? > > Yes enabling CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU and > CONFIG_NVIDIA_CORESIGHT_PMU_ARCH_SYSTEM_PMU. Just in case, they can be CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU=m CONFIG_NVIDIA_CORESIGHT_PMU_ARCH_SYSTEM_PMU=m |