Re: [REGRESSION] DMAR fault by Intel H97 SATA controller since "block: Increase BLK_DEF_MAX_SECTORS_CAP" (6.17-rc1)

From: Niklas Cassel

Date: Mon Nov 23 2026 - 16:15:24 EST


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.


>
> 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

Does it work if you revert:
d373449d8e97 ("iommu/vt-d: Use the generic iommu page table") ?


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