mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thorsten Leemhuis <regressions@leemhuis.info>
To: Baolu Lu <baolu.lu@linux.dev>,
	Bart Van Assche <bvanassche@acm.org>,
	Lu Baolu <baolu.lu@linux.intel.com>,
	Jason Gunthorpe <jgg@ziepe.ca>, Joerg Roedel <joro@8bytes.org>
Cc: 70sp <70sp@protonmail.com>,
	Laurence Oberman <loberman@redhat.com>,
	Tobias Laas <tobias.laas@posteo.de>,
	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>,
	Will Deacon <will@kernel.org>, Niklas Cassel <cassel@kernel.org>
Subject: Re: [REGRESSION] DMAR fault by Intel H97 SATA controller since "block: Increase BLK_DEF_MAX_SECTORS_CAP" (6.17-rc1)
Date: Fri, 4 Dec 2026 09:51:41 +0100	[thread overview]
Message-ID: <a02184bb-5ca2-4d3a-a7c8-9a55d1f18f16@leemhuis.info> (raw)
In-Reply-To: <672d7d54-a485-4e5b-9d5e-d2fd87fe292f@linux.dev>

On 12/1/26 10:04, Baolu Lu wrote:
> On 11/26/26 07:27, Bart Van Assche wrote:
>> 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 ?
> 
> I noticed that there is a similar fix here
> 
> https://lore.kernel.org/linux-iommu/20260929151832.80069-1-
> johnathanc@novasilicon.dev/

I might have missed something, but it looks like this is stalled again.
And no wonder, even I feel uncertain here, as there are multiple threads
and fixes (some of them similar) for the problem. Will likely be similar
for maintainers, so I suspect none will take a closer look at those
fixes unless someone re-submits one as the agreed on path forward
freshly, containing all Reported-by and Links to earlier discussions
(the one from Bart gets close already from what I see, unless I
missed/misunderstood something, which is quite possible).

Baolu Lu, could you maybe take care of this, given that you authored the
culprit, even if that was quite a while ago? Unless somebody has a
better idea.

Ciao, Thorsten

  reply	other threads:[~2026-12-04  8:52 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 18:51 Tobias Laas
2026-11-23 21:15 ` Niklas Cassel
2026-11-23 21:49   ` Laurence Oberman
2026-11-25  8:29     ` Tobias Laas
2026-11-25 12:45       ` Laurence Oberman
2026-12-01  6:28         ` Baolu Lu
2026-11-24  7:20   ` Tobias Laas
2026-11-24  8:55   ` Thorsten Leemhuis
2026-11-25  8:52     ` Thorsten Leemhuis
2026-11-25 18:29       ` Bart Van Assche
2026-11-25 19:26         ` Laurence Oberman
2026-11-25 22:51           ` 70sp
2026-11-25 23:27             ` Bart Van Assche
2026-11-26 13:31               ` Laurence Oberman
2026-11-26 13:52                 ` 70sp
2026-11-27 13:57                   ` 70sp
2026-11-27 15:56                     ` Bart Van Assche
2026-12-04 14:05                       ` Laurence Oberman
2026-12-05 12:12                         ` 70sp
2026-12-05 16:02                           ` 70sp
2026-11-28 20:35                     ` Tobias Laas
2026-11-29 16:56                       ` 70sp
2026-12-01  9:04               ` Baolu Lu
2026-12-04  8:51                 ` Thorsten Leemhuis [this message]
2026-12-04 12:47                   ` Tobias Laas
2026-12-04 13:22                     ` Laurence Oberman
2026-12-06 13:06                       ` Tobias Laas

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=a02184bb-5ca2-4d3a-a7c8-9a55d1f18f16@leemhuis.info \
    --to=regressions@leemhuis.info \
    --cc=70sp@protonmail.com \
    --cc=axboe@kernel.dk \
    --cc=baolu.lu@linux.dev \
    --cc=baolu.lu@linux.intel.com \
    --cc=bvanassche@acm.org \
    --cc=cassel@kernel.org \
    --cc=dlemoal@kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=iommu@lists.linux.dev \
    --cc=jgg@ziepe.ca \
    --cc=joro@8bytes.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loberman@redhat.com \
    --cc=regressions@lists.linux.dev \
    --cc=tobias.laas@posteo.de \
    --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

all inboxes | Powered by JetHome®