From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH v2 3/5] x86/smp: perform disabling on interrupts ahead of AP shutdown
Date: Mon, 10 Feb 2025 11:47:24 +0100 [thread overview]
Message-ID: <Z6nZPDcu9h6zmmgx@macbook.local> (raw)
In-Reply-To: <72b7a783-3895-439e-aaa5-0422198e5cbb@suse.com>
On Mon, Feb 10, 2025 at 11:24:58AM +0100, Jan Beulich wrote:
> On 06.02.2025 16:06, Roger Pau Monne wrote:
> > Move the disabling of interrupt sources so it's done ahead of the offlining
> > of APs. This is to prevent AMD systems triggering "Receive accept error"
> > when interrupts target CPUs that are no longer online.
> >
> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> > ---
> > Changes since v1:
> > - New in this version.
>
> Ah, you decided to effectively split the original patch.
>
> Reviewed-by: Jan Beulich <jbeulich@suse.com>
> with a question:
>
> > --- a/xen/arch/x86/smp.c
> > +++ b/xen/arch/x86/smp.c
> > @@ -374,6 +374,8 @@ void smp_send_stop(void)
> > smp_call_function(stop_this_cpu, &stop_aps, 0);
> >
> > local_irq_disable();
> > + disable_IO_APIC();
> > + hpet_disable();
>
> Is this then taking care of the bogus error interrupt observing ESR=0x00?
This, with the extra commits that follow should prevent the error from
triggering yes. With all patches in the series applied I'm no longer
able to see the ESR=0x00 message.
Thanks, Roger.
next prev parent reply other threads:[~2025-02-10 10:47 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-06 15:06 [PATCH v2 0/5] xen/x86: prevent local APIC errors at shutdown Roger Pau Monne
2025-02-06 15:06 ` [PATCH v2 1/5] x86/shutdown: offline APs with interrupts disabled on all CPUs Roger Pau Monne
2025-02-10 10:20 ` Jan Beulich
2025-02-10 10:46 ` Roger Pau Monné
2025-02-10 11:09 ` Jan Beulich
2025-02-06 15:06 ` [PATCH v2 2/5] x86/irq: drop fixup_irqs() parameters Roger Pau Monne
2025-02-06 15:06 ` [PATCH v2 3/5] x86/smp: perform disabling on interrupts ahead of AP shutdown Roger Pau Monne
2025-02-10 10:24 ` Jan Beulich
2025-02-10 10:47 ` Roger Pau Monné [this message]
2025-02-06 15:06 ` [PATCH v2 4/5] x86/pci: disable MSI(-X) on all devices at shutdown Roger Pau Monne
2025-02-10 10:41 ` Jan Beulich
2025-02-06 15:06 ` [PATCH v2 5/5] x86/iommu: disable interrupts " Roger Pau Monne
2025-02-10 11:04 ` Jan Beulich
2025-02-10 10:02 ` [PATCH for-4.20? v2 0/5] xen/x86: prevent local APIC errors " Roger Pau Monné
2025-02-10 18:29 ` Oleksii Kurochko
2025-02-11 8:38 ` Roger Pau Monné
2025-02-11 9:26 ` Jan Beulich
2025-02-11 6:39 ` [PATCH " Jan Beulich
2025-02-11 8:50 ` Roger Pau Monné
2025-02-11 9:20 ` Jan Beulich
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=Z6nZPDcu9h6zmmgx@macbook.local \
--to=roger.pau@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=jbeulich@suse.com \
--cc=xen-devel@lists.xenproject.org \
/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.