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

From: Tobias Laas

Date: Sat Nov 28 2026 - 15:35:56 EST


Am 27.11.2026 14:57 schrieb 70sp:
Hi all,

I have taken a look at the patches and the entire problem much more in
depth, and there probably isn't a significantly better variant to do
this.

In the state before the regression, the kernel was assigning smaller
page sizes for some cases, so it wasn't ideal as I thought. I also
haven't found a better place for the quirk to belong as there are
already exemptions for specific platforms in the code (I thought there
weren't). This one is probably fine.

I am sorry to Bart and Laurence who had to handle this. I thought my
patch was bad, so I thought the same about Barts, but it looks like
it's the correct way to approach it.

I was told to repost my patch formally by Lu Baolu (
https://lore.kernel.org/regressions/d931a389-c143-4a6a-931c-bc7025bcefb9@xxxxxxxxxxxxxxx/
), probably because it fixes at least my case.
Hi Šimon,

thanks for the update. I highly appreciate your high standards.

I see that your patch sets intel_iommu_superpage=0 similarly to the sp_off command line parameter on Haswell desktop&mobile, whose datasheets (volume 1) all say: "IGD Intel VT-d engine does not support superpage and BIOS should disable superpage in default Intel VT-d engine when iGFX is enabled." I just wonder whether one can use superpages in the default VT-d engine when the iGFX is disabled. If this was the case, an additional check whether the iGFX is enabled similarly to Bart's patch (or by checking bit 4 of the DEVEN register, see section 3.1.14 of volume 2 of the datasheets) would be great.

I think we should wait for confirmation from Tobias and if it's
positive, we can send out the final patch closing both cases.
From what I can tell, the patch is highly likely to fix the issue, because it automatically sets intel_iommu_superpage=0 similarly to the sp_off command line parameter that I tested, which resolved the problem. I am afraid I have only limited access to the system at the moment, and other than my question above, I don't want to delay the process, because the patch works correctly on your Haswell system as far as I have understood, and because setting intel_iommu_superpage=0 with your patch is the same for all Haswell systems.

Best regards,
Tobias Laas

Thank you for listening to me.

Best regards,
Šimon Pospíchal