From: Usama Arif <usama.arif@linux.dev>
To: Vasant Hegde <vasant.hegde@amd.com>
Cc: Usama Arif <usama.arif@linux.dev>,
iommu@lists.linux.dev, joro@8bytes.org, will@kernel.org,
robin.murphy@arm.com, suravee.suthikulpanit@amd.com,
bp@alien8.de, Joerg Roedel <joerg.roedel@amd.com>,
samuelcrossley@gmail.com, "Srivastava,
Dheeraj Kumar" <DheerajKumar.Srivastava@amd.com>
Subject: Re: [PATCH 0/2] iommu/amd: Use MAX buffer size when SNP is enabled on Family 0x19
Date: Mon, 17 Aug 2026 09:06:41 -0700 [thread overview]
Message-ID: <20260817160642.418302-1-usama.arif@linux.dev> (raw)
In-Reply-To: <697be383-2de0-4c6b-91c1-9887d23ddc9b@amd.com>
On Thu, 13 Aug 2026 19:28:55 +0530 Vasant Hegde <vasant.hegde@amd.com> wrote:
> Usama,
>
> On 8/13/2026 6:48 PM, Usama Arif wrote:
> > [You don't often get email from usama.arif@linux.dev. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> >
> > On Mon, 20 Apr 2026 08:42:02 +0000 Vasant Hegde <vasant.hegde@amd.com> wrote:
> >
> >> This series addresses CVE-2023-20585 [1] by increasing the AMD IOMMU
> >> Event log and PPR log buffer sizes to the maximum supported value (512K)
> >> on affected CPU families when SNP is enabled.
> >>
> >> Use MAX buffer size when SNP is enabled on Milan/Genoa. Impacted buffers:
> >> - Milan : Event log (PPR/GALog is not supported when SNP is enabled)
> >> - Genoa : Event and PPR log (GALog is not supported when SNP is enabled)
> >>
> >
> > Hi,
> >
> > This series seems to break kexec in our production on Milan hosts with SEV enabled.
> > This is on the 6.18.43 stable kernel backport.
>
> Do you have dmesg?
>
> >
> > If on top of 6.18.43 release, we revert the 2 commits, i.e.
> > Revert "iommu/amd: Use maximum PPR log buffer size when SNP is enabled on Family 0x19"
> > Revert "iommu/amd: Use maximum Event log buffer size when SNP is enabled on Family 0x19"
> >
> > kexec starts working again.
> > > Could you help in fixing this issue?
>
> Sure. We will try to reproduce it internally and get back to you.
Hi,
Just following up, were you able to reproduce this?
I was able to trace down the hang to this do while loop [1].
Could this be a firmware bug? We are currently running 1.53 (below
shows up in the dmesg).
[ 22.245942] ccp 0000:41:00.1: SEV-SNP API:1.53 build:5
[ 22.308933] ccp 0000:41:00.1: SEV API:1.53 build:5
[1] https://elixir.bootlin.com/linux/v7.2/source/arch/x86/virt/svm/sev.c#L1017
Thanks,
Usama
>
> -Vasant
>
>
next prev parent reply other threads:[~2026-08-17 16:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-20 8:42 [PATCH 0/2] iommu/amd: Use MAX buffer size when SNP is enabled on Family 0x19 Vasant Hegde
2026-04-20 8:42 ` [PATCH 1/2] iommu/amd: Use maximum Event log " Vasant Hegde
2026-04-20 8:42 ` [PATCH 2/2] iommu/amd: Use maximum PPR " Vasant Hegde
2026-04-23 12:57 ` [PATCH 0/2] iommu/amd: Use MAX " Srivastava, Dheeraj Kumar
2026-04-27 11:50 ` Jörg Rödel
2026-08-13 13:18 ` Usama Arif
2026-08-13 13:35 ` Jason Gunthorpe
2026-08-13 14:17 ` Usama Arif
2026-08-13 13:58 ` Vasant Hegde
2026-08-13 14:17 ` Usama Arif
2026-08-17 16:06 ` Usama Arif [this message]
2026-08-18 6:45 ` Vasant Hegde
2026-08-18 14:29 ` Tom Lendacky
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=20260817160642.418302-1-usama.arif@linux.dev \
--to=usama.arif@linux.dev \
--cc=DheerajKumar.Srivastava@amd.com \
--cc=bp@alien8.de \
--cc=iommu@lists.linux.dev \
--cc=joerg.roedel@amd.com \
--cc=joro@8bytes.org \
--cc=robin.murphy@arm.com \
--cc=samuelcrossley@gmail.com \
--cc=suravee.suthikulpanit@amd.com \
--cc=vasant.hegde@amd.com \
--cc=will@kernel.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.