Linux block layer
 help / color / mirror / Atom feed
From: Tobias Laas <tobias.laas@posteo.de>
To: Niklas Cassel <cassel@kernel.org>
Cc: Damien Le Moal <dlemoal@kernel.org>, Jens Axboe <axboe@kernel.dk>,
	regressions@lists.linux.dev, linux-block@vger.kernel.org,
	linux-ide@vger.kernel.org, iommu@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	David Woodhouse <dwmw2@infradead.org>,
	Lu Baolu <baolu.lu@linux.intel.com>,
	Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>
Subject: Re: [REGRESSION] DMAR fault by Intel H97 SATA controller since "block: Increase BLK_DEF_MAX_SECTORS_CAP" (6.17-rc1)
Date: Tue, 24 Nov 2026 07:20:39 +0000	[thread overview]
Message-ID: <572a3776f303846961d9897c55421a0e@posteo.de> (raw)
In-Reply-To: <awSs5Cw3hFkf4O4T@ryzen>

Am 23.11.2026 22:15 schrieb Niklas Cassel:
> Hello Tobias,
> 
> On Mon, Nov 23, 2026 at 06:51:03PM +0000, Tobias Laas wrote:
>> One way forward could be to a new entry to __ata_dev_max_sec_quirks
>> similarly to the recent commit 
>> a12cc63129380a5364e787d92b30a3257f66c250
>> ("ata: libata-core: Add max sector quirk to INTEL SSDSCKKB240G8"). 
>> However,
>> I wonder, whether that would fix the underlying issue or rather be a
>> workaround, because 4088 does not fit the pattern of all other 
>> entries,
>> which specify either a power of 2 or a power of 2 minus 1.
> 
> Your attached kernel log shows that you have a
> Samsung SSD 860 PRO 1TB, FW: RVM02B6Q
> 
> This SSD is probably quite common, so I somewhat doubt that it is the
> SSD that is at fault here.
Hello Niklas,

thanks for the the quick reply. Indeed the Samsung SSD 860 PRO series is 
quite common.
> 
>> 
>> Furthermore, the first error messages are DMAR faults, and a SATA SSD 
>> that
>> isn't functioning properly shouldn't cause any DMAR faults, because 
>> the SATA
>> controller should never read from or write to areas outside its memory
>> region.
>> Since the issue with mounting the rootfs disappears with 
>> intel_iommu=off, I
>> wonder, whether there is a limitation on the maxmium block size either 
>> by
>> the hardware or from the configuration of the IOMMU and SATA 
>> controller by
>> the kernel.
> 
> Considering how common your SSD is, my guess is that it is somehow an
> IOMMU or a BIOS/ACPI bug (since the BIOS generates specific ACPI tables 
> -
> DMAR on Intel).
> 
> 
> We have seen similar reports here:
> https://bugzilla.kernel.org/show_bug.cgi?id=220693
> https://bugzilla.kernel.org/show_bug.cgi?id=221713
Thanks for the pointer. The first report sounds as if it discusses 
several issues. I agree with Ivan's comment at 
https://bugzilla.kernel.org/show_bug.cgi?id=220693#c42 .

I am afraid the second report is specific to HP server mainboards. In 
contrast to the logs in the Debian bug report, I have never seen the 
following error:
DMAR: DRHD: handling fault status reg 2
DMAR: [INTR-REMAP] Request device [01:00.0] fault index 0x1c [fault 
reason 0x26] Blocked an interrupt request due to source-id verification 
failure.
On my mainboard, I have only observed DMAR errors with [fault reason 
0x0c] non-zero reserved fields in PTE.
> 
> Does it work if you 
> revert:https://posteo.de/webmail/?_task=mail&_id=4553111306b0538dd90e75&_action=compose#
> d373449d8e97 ("iommu/vt-d: Use the generic iommu page table") ?
To be honest I built many kernel versions between the increase in 
BLK_DEF_MAX_SECTORS_CAP (~ 6.17-rc1) and HEAD for the bisection, and 
since the change you mention was not included until 6.19-rc1, I have 
tested kernels with and without this change, so I doubt a revert would 
help.

Best regards,
Tobias Laas
> 
> It would be nice if we could involve some Intel IOMMU experts.
> 
> If the ACPI DMAR is at fault, perhaps it is possible for the kernel to
> patch the ACPI DMAR for your platform.
> 
> 
> Kind regards,
> Niklas

      parent reply	other threads:[~2026-11-24  7:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 18:51 [REGRESSION] DMAR fault by Intel H97 SATA controller since "block: Increase BLK_DEF_MAX_SECTORS_CAP" (6.17-rc1) Tobias Laas
2026-11-23 21:15 ` Niklas Cassel
2026-11-23 21:49   ` Laurence Oberman
2026-11-24  7:20   ` Tobias Laas [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=572a3776f303846961d9897c55421a0e@posteo.de \
    --to=tobias.laas@posteo.de \
    --cc=axboe@kernel.dk \
    --cc=baolu.lu@linux.intel.com \
    --cc=cassel@kernel.org \
    --cc=dlemoal@kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=regressions@lists.linux.dev \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox