All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Nicholas Piggin <npiggin@gmail.com>, linuxppc-dev@lists.ozlabs.org
Cc: Cédric Le Goater <clg@kaod.org>
Subject: Re: [PATCH] powerpc/64s: Make NMI record implicitly soft-masked code as irqs disabled
Date: Sun, 16 May 2021 08:43:54 +1000	[thread overview]
Message-ID: <162111863488.1890426.15623689321545527511.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <20210503111708.758261-1-npiggin@gmail.com>

On Mon, 3 May 2021 21:17:08 +1000, Nicholas Piggin wrote:
> scv support introduced the notion of code that implicitly soft-masks
> irqs due to the instruction addresses. This is required because scv
> enters the kernel with MSR[EE]=1.
> 
> If a NMI (including soft-NMI) interrupt hits when we are implicitly
> soft-masked then its regs->softe does not reflect this because it is
> derived from the explicit soft mask state (paca->irq_soft_mask). This
> makes arch_irq_disabled_regs(regs) return false.
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/64s: Make NMI record implicitly soft-masked code as irqs disabled
      https://git.kernel.org/powerpc/c/4ec5feec1ad029bdf7d49bc50ccc0c195eeabe93

cheers

      reply	other threads:[~2021-05-15 22:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-03 11:17 [PATCH] powerpc/64s: Make NMI record implicitly soft-masked code as irqs disabled Nicholas Piggin
2021-05-15 22:43 ` Michael Ellerman [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=162111863488.1890426.15623689321545527511.b4-ty@ellerman.id.au \
    --to=patch-notifications@ellerman.id.au \
    --cc=clg@kaod.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=npiggin@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.