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

From: Bart Van Assche

Date: Wed Nov 25 2026 - 18:27:50 EST


On 11/25/26 2:51 PM, 70sp wrote:
as I mentioned in the referenced regression thread I reported, the
patch I sent out was basically an example to show that it works for
my use case. I wrote that I don't think the patch is ideal (in fact,
I think it's an absolutely terrible solution to fix this). This is
also the reason, why I just sent it as a snippet of code.

Please take a look at the code before the regression started to
occur. It was implemented universally. These vibe coded patches are
horrible compared to the original code. We are literally making an
exemption for a specific CPU in a place where it shouldn't be. The
actual correct solution would be to make a patch which works
similarly to the pre-regression state.

If we are going to merge something that is made by a LLM we should
at least make it good. Ideally made by an actual human.
(+Lu, Jason and Joerg, signers/reviewers of the patch mentioned in the
Fixes: tag)

Is a better solution possible than the patch "iommu/vt-d: Disable
superpages on Haswell with integrated graphics" I posted here:
https://lore.kernel.org/linux-block/uJluFNYGCCrdvnYT3MatN_4Om8UczTJX_dzxumJxyCAC7F-Ubrekb7LPwlRxhCW0J91UBf-TqeRoJQfgYIYBRvMsPmE-Qs1eAg5zbDP0s58=@protonmail.com/T/#mc147f250c5356e3742ab3d30ccf6b4a3a8c4196b ?

Thanks,

Bart.