mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jason Andryuk <jason.andryuk@amd.com>
To: Roger Pau Monne <roger.pau@citrix.com>,
	<xen-devel@lists.xenproject.org>, <linux-kernel@vger.kernel.org>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
	<Xenia.Ragiadakou@amd.com>, <Alejandro.GarciaVallejo@amd.com>,
	Juergen Gross <jgross@suse.com>,
	"Boris Ostrovsky" <boris.ostrovsky@oracle.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>, <x86@kernel.org>,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] x86/xen: disable CPU idle and frequency drivers for PVH dom0
Date: Mon, 7 Apr 2025 10:13:50 -0400	[thread overview]
Message-ID: <99ad29b0-e57e-454e-b9b8-63b33f25ab45@amd.com> (raw)
In-Reply-To: <20250407101842.67228-1-roger.pau@citrix.com>

On 2025-04-07 06:18, Roger Pau Monne wrote:
> When running as a PVH dom0 the ACPI tables exposed to Linux are (mostly)
> the native ones, thus exposing the C and P states, that can lead to
> attachment of CPU idle and frequency drivers.  However the entity in
> control of the CPU C and P states is Xen, as dom0 doesn't have a full view
> of the system load, neither has all CPUs assigned and identity pinned.
> 
> Like it's done for classic PV guests, prevent Linux from using idle or
> frequency state drivers when running as a PVH dom0.
> 
> On an AMD EPYC 7543P system without this fix a Linux PVH dom0 will keep the
> host CPUs spinning at 100% even when dom0 is completely idle, as it's
> attempting to use the acpi_idle driver.
> 
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>

Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>

Thanks,
Jason

      reply	other threads:[~2025-04-07 14:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-07 10:18 Roger Pau Monne
2025-04-07 14:13 ` Jason Andryuk [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=99ad29b0-e57e-454e-b9b8-63b33f25ab45@amd.com \
    --to=jason.andryuk@amd.com \
    --cc=Alejandro.GarciaVallejo@amd.com \
    --cc=Xenia.Ragiadakou@amd.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=jgross@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --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 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®