All of lore.kernel.org
 help / color / mirror / Atom feed
From: Niklas Cassel <cassel@kernel.org>
To: Pe3k <pe3cek@gmail.com>
Cc: iommu@lists.linux.dev, Lu Baolu <baolu.lu@linux.intel.com>,
	David Woodhouse <dwmw2@infradead.org>,
	Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>,
	Robin Murphy <robin.murphy@arm.com>,
	Damien Le Moal <dlemoal@kernel.org>,
	regressions@lists.linux.dev
Subject: Re: iommu/vt-d: data corruption, AHCI gets IOVAs inside its RMRR (HP Gen8)
Date: Thu, 26 Nov 2026 09:48:37 +0100	[thread overview]
Message-ID: <awfyZTNe9WFue33m@ryzen> (raw)
In-Reply-To: <CAGvcwsDzu1HEUPWNRvybqH1=Lte0rYk9JohctDgR252eByBtvg@mail.gmail.com>

On Wed, Nov 25, 2026 at 04:49:10PM +0100, Pe3k wrote:
> Hi,
> 
> I tested the suspected commit and its parent on the spare Gen8. Same
> setup as before: intel_iommu=on, translated default domain, the same
> copy load, and the 5.11 mainline config trimmed with localmodconfig.
> 
>   c062db039f40 (parent), two boots: clean. 0 of 6 copies bad, no DMAR
>       errors, and no map in the RMRR range in the iommu:map and
>       intel_iommu:map_sg traces.
>   c588072bba6b ("iommu/vt-d: Convert intel iommu driver to the iommu
>       ops"), one boot: broken. 21 x "DMA PTE for vPFN 0xf1f80..
>       already set" with the WARN in __domain_mapping, 1 of 6 copies bad
>       (20 zero pages and 1 page of RMRR firmware data), and iommu:map
>       shows AHCI mappings inside 0xf1f7e000-0xf1f94fff.
> 
> So c588072bba6b introduced it. Its changelog says "Remove the iova
> handling and reserve region code from the intel iommu driver". Before
> it, VT-d reserved the RMRRs in each domain's IOVA space itself. Since
> then that seems to rely on the generic reserved-region code, and on this
> machine AHCI's RMRR does not end up reserved in the IOVA space of the
> group it shares with 00:1f.0.

Adding regressions list and dropping linux-ide list, since this is not an
ATA problem.


Kind regards,
Niklas

  reply	other threads:[~2026-11-26  8:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 18:08 iommu/vt-d: data corruption, AHCI gets IOVAs inside its RMRR (HP Gen8) Pe3k
2026-11-24 21:19 ` Niklas Cassel
2026-11-25 10:01   ` Pe3k
2026-11-25 11:00     ` Niklas Cassel
2026-11-25 13:48       ` Pe3k
2026-11-25 15:49         ` Pe3k
2026-11-26  8:48           ` Niklas Cassel [this message]
2026-11-27  5:38 ` Baolu Lu
2026-11-27 10:13   ` Pe3k

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=awfyZTNe9WFue33m@ryzen \
    --to=cassel@kernel.org \
    --cc=baolu.lu@linux.intel.com \
    --cc=dlemoal@kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=pe3cek@gmail.com \
    --cc=regressions@lists.linux.dev \
    --cc=robin.murphy@arm.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.