LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: linuxppc-dev@lists.ozlabs.org,
	Aboorva Devarajan <aboorvad@linux.ibm.com>
Cc: Athira Rajeev <atrajeev@linux.ibm.com>,
	Christophe Leroy <chleroy@kernel.org>,
	linux-kernel@vger.kernel.org,
	Sourabh Jain <sourabhjain@linux.ibm.com>,
	Ritesh Harjani <ritesh.list@gmail.com>,
	Shrikanth Hegde <sshegde@linux.ibm.com>
Subject: Re: [PATCH v3 0/3] powerpc: fix preempt_count imbalances in perf and kexec paths
Date: Sat, 20 Jun 2026 03:29:08 +0530	[thread overview]
Message-ID: <178190618809.653308.7398309926910414335.b4-ty@linux.ibm.com> (raw)
In-Reply-To: <20260605082912.305100-1-aboorvad@linux.ibm.com>

On Fri, 05 Jun 2026 13:59:09 +0530, Aboorva Devarajan wrote:
> This patch series fixes some minor preempt_count bookkeeping issues in
> arch/powerpc/ found during a preemption leak audit prompted by the
> lazy/full preemption model changes. These are get_cpu/put_cpu and
> get_cpu_var/put_cpu_var pairing errors that leave preempt_count
> incorrectly elevated or underflowed.
> 
> v2 -> v3:
>  - Patches 2 and 3: use raw_smp_processor_id() instead of
>    smp_processor_id(). Both paths run with interrupts
>    disabled, so the plain accessor is sufficient.
> 
> [...]

Applied to powerpc/next.

[1/3] powerpc/perf: fix preempt count underflow in fsl_emb_pmu_del
      https://git.kernel.org/powerpc/c/81e3a86030462824a67d697739cf3f387f4ba350
[2/3] powerpc/powernv: fix preempt count leak in pnv_kexec_wait_secondaries_down
      https://git.kernel.org/powerpc/c/0ecd26e93e698c8327521910fc6296f5b84a4b92
[3/3] powerpc/kexec: fix double get_cpu() imbalance in kexec_prepare_cpus
      https://git.kernel.org/powerpc/c/5c86f1c1f972761a04bf22f4c0618d1aa714185b

cheers


      parent reply	other threads:[~2026-06-19 21:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-05  8:29 [PATCH v3 0/3] powerpc: fix preempt_count imbalances in perf and kexec paths Aboorva Devarajan
2026-06-05  8:29 ` [PATCH v3 1/3] powerpc/perf: fix preempt count underflow in fsl_emb_pmu_del Aboorva Devarajan
2026-06-05  8:29 ` [PATCH v3 2/3] powerpc/powernv: fix preempt count leak in pnv_kexec_wait_secondaries_down Aboorva Devarajan
2026-06-05  8:29 ` [PATCH v3 3/3] powerpc/kexec: fix double get_cpu() imbalance in kexec_prepare_cpus Aboorva Devarajan
2026-06-05 11:03   ` Shrikanth Hegde
2026-06-19  6:15 ` [PATCH v3 0/3] powerpc: fix preempt_count imbalances in perf and kexec paths Ritesh Harjani
2026-06-19 21:59 ` 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=178190618809.653308.7398309926910414335.b4-ty@linux.ibm.com \
    --to=maddy@linux.ibm.com \
    --cc=aboorvad@linux.ibm.com \
    --cc=atrajeev@linux.ibm.com \
    --cc=chleroy@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=ritesh.list@gmail.com \
    --cc=sourabhjain@linux.ibm.com \
    --cc=sshegde@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