From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Vaibhav Jain <vaibhav@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>,
atrajeev@linux.vnet.ibm.com, kjain@linux.ibm.com,
disgoel@linux.ibm.com, hbathini@linux.ibm.com,
adubey@linux.ibm.com, gautam@linux.ibm.com
Subject: Re: [PATCH] powerpc/perf: Fix ref-counting on the PMU 'vpa_pmu'
Date: Fri, 14 Mar 2025 09:17:02 +0530 [thread overview]
Message-ID: <174192385436.14370.8988935499499753559.b4-ty@linux.ibm.com> (raw)
In-Reply-To: <20250204153527.125491-1-vaibhav@linux.ibm.com>
On Tue, 04 Feb 2025 21:05:26 +0530, Vaibhav Jain wrote:
> Commit 176cda0619b6 ("powerpc/perf: Add perf interface to expose vpa
> counters") introduced 'vpa_pmu' to expose Book3s-HV nested APIv2 provided
> L1<->L2 context switch latency counters to L1 user-space via
> perf-events. However the newly introduced PMU named 'vpa_pmu' doesn't
> assign ownership of the PMU to the module 'vpa_pmu'. Consequently the
> module 'vpa_pmu' can be unloaded while one of the perf-events are still
> active, which can lead to kernel oops and panic of the form below on a
> Pseries-LPAR:
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/perf: Fix ref-counting on the PMU 'vpa_pmu'
https://git.kernel.org/powerpc/c/ff99d5b6a246715f2257123cdf6c4a29cb33aa78
Thanks
prev parent reply other threads:[~2025-03-14 3:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-04 15:35 Vaibhav Jain
2025-03-14 3:47 ` Madhavan Srinivasan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174192385436.14370.8988935499499753559.b4-ty@linux.ibm.com \
--to=maddy@linux.ibm.com \
--cc=adubey@linux.ibm.com \
--cc=atrajeev@linux.vnet.ibm.com \
--cc=disgoel@linux.ibm.com \
--cc=gautam@linux.ibm.com \
--cc=hbathini@linux.ibm.com \
--cc=kjain@linux.ibm.com \
--cc=kvm-ppc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=vaibhav@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®