From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.67.36.65 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796562380; b=ERdgLUUrK3Q76PVUpj3Wy5VpJxT9DXOSbRViFLCwIDM+rYekaFeZ4HZpb1eG6mJX+28h a9r6MCgUKpq1VwA8rXtEJpnx7wqstR5QxN80+qMMZTjKb7uldzsXAa+sG8ThQ1lfhXt2n 5Bdix+8DXWpnjJ4s1tFWeIgTgDlVCCRArUP02cVtemr4uZYSeSI4k0yMvla8OJacNbH8V XxIihIf/KYKa5UDAMBU0vYanzfm6zf0fVIcV6quIxvN2Nf0iVATlmEN2TFjJZnSmlUSwp TDUBatLtpbXLdAlK5BT7Pxjmpeq+Jh6mk35kClZDxrX79q5ZZdJvrTtzityvNUmAZ9A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796562380; h=DMARC-Filter:Received:DKIM-Signature:Received:MIME-Version:Date:From: To:Cc:Subject:In-Reply-To:References:Message-ID:Content-Type: Content-Transfer-Encoding; bh=CWQc9n+bXjg//hWqa2wCOYXquJsa93GjrjJgeE7bbcA=; b=XH3PjDlN2fvVcmmj3JevhV82zRV67DnQnlBUxgl12KQC+lCZA9YsTktI23FtAMPQ8QbM 8YvwFM348gTvOo6uVrNgXimJxFErpSm64EcusFt/hAmBagamxh4MWfk51nP0YGPGjB2GV UZR8J+WYQOnA5yAz+ZMu6tDF48TQh1aHUcfzQ6egstOixhJs2uW+6eVZYqzzromjweYcj gGjM+TUmCeFPkxOH9+fj/rlGjPqJZg85OuROOW8NbnELbKYhQFV4j3DLHTQr/YR1H9I+s 6a7bb0qNpe/UxfAuUVfzEF9eE75LzV2ZFABrAqu5U9bnjxta9+XayLBgTjJ6DKQgYVw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=posteo.de; spf=pass smtp.mailfrom=posteo.de; dkim=pass header.d=posteo.de header.i=@posteo.de header.a=rsa-sha256 header.s=1984.8680eb header.b=lsmkdjNY; arc=none smtp.remote-ip=185.67.36.65 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CF70606A324 for ; Sun, 6 Dec 2026 13:06:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0CF70606A324 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=posteo.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.de header.i=@posteo.de header.a=rsa-sha256 header.s=1984.8680eb header.b=lsmkdjNY Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C923E240028 for ; Sun, 6 Dec 2026 14:06:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.de; s=1984.8680eb; t=1796562370; bh=CWQc9n+bXjg//hWqa2wCOYXquJsa93GjrjJgeE7bbcA=; h=MIME-Version:Date:From:To:Cc:Subject:Message-ID:Content-Type: Content-Transfer-Encoding:From; b=lsmkdjNYgLWivfUfEa3KtFFEc6Mg2EzsTwLgLG54e8p0Z42CZsP4L4YeJvi5+KPyY UAPKFdoAxHpGJgfSVRwvJDaaHQorqhtLj0jcJ67IZgGzx5XysdHCCpdo0CwRb9dD01 j86D6XVNNJeRvza3VjsknCQs4D6oGouc4faYDuO5Hc3x3aTzZbZNTT/HQZa+TbrIRw IACWDBO8dToCUUxntt89jhUG1NrI+uoTPRiv1qgvqlI+zE4kH69kUzB+y2koKuSOPM pJk6B7sjlGbUPjeNJ5EwK9aOKd/G09Y5w+0u9NMS4MXEYwaGX+Y2wkEJDuFub5nou/ PCJhgl36hpaiw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4jj58J0TK7z6v19; Sun, 6 Dec 2026 14:06:07 +0100 (CET) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Date: Sun, 06 Dec 2026 13:06:10 +0000 From: Tobias Laas To: Laurence Oberman Cc: Thorsten Leemhuis , Baolu Lu , Bart Van Assche , Lu Baolu , Jason Gunthorpe , Joerg Roedel , 70sp <70sp@protonmail.com>, Damien Le Moal , Jens Axboe , 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 , Will Deacon , Niklas Cassel , Johnathan Chan Subject: Re: [REGRESSION] DMAR fault by Intel H97 SATA controller since "block: Increase =?UTF-8?Q?BLK=5FDEF=5FMAX=5FSECTORS=5FCAP=22=20=28=36=2E?= =?UTF-8?Q?=31=37-rc=31=29?= In-Reply-To: References: <5ad27a97aafbc08a8702d5b90d09cd59@posteo.de> <87b1bbd8-8113-4890-8623-738b19a9cc7b@leemhuis.info> <2adaf0ef9e1a2fa18590f7d8dbf203c0f7de2be7.camel@redhat.com> <0edb9525-5068-42e6-b6c3-a1dcebcbcea7@acm.org> <672d7d54-a485-4e5b-9d5e-d2fd87fe292f@linux.dev> <82B1AB2F-EC1F-4A79-B791-9C14FAFD6F62@posteo.de> Message-ID: <8be5db5c24af59ff7f83a1b9de978953@posteo.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Am 04.12.2026 14:22 schrieb Laurence Oberman: > On Fri, 2026-12-04 at 12:47 +0000, Tobias Laas wrote: >> Am 4. Dezember 2026 09:51:41 MEZ schrieb Thorsten Leemhuis >> : >> > 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=3D@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. >> Hi Thorsten, >>=20 >> I am afraid it is not clear yet whether superpages also need to be >> disabled when the iGFX is disabled. >> Please bear with me. I would like to test this over the weekend. >>=20 >> Best regards, >> Tobias Laas >>=20 >> > Ciao, Thorsten >=20 > Hi Tobias, >=20 > Thanks, that is a useful thing to settle, because Bart's generalized > patch keys on the iGPU being present: with the iGPU disabled in BIOS, > 00:02.0 normally disappears and the quirk does not trigger, so > superpages stay enabled. >=20 > A suggested test, so the result answers the question directly: >=20 > 1. Disable the iGPU in BIOS, boot an unpatched kernel with > intel_iommu=3Don (no sp_off) and the default 4 MiB cap. > 2. Capture: > dmesg | grep -E 'DMAR: (DRHD|dmar[0-9])' > lspci -s 00:02.0 > It would be interesting to see whether the BIOS then drops the > igfx DRHD entirely and/or changes CAP.SLLPS on the remaining unit. Hi Laurence, with Bart's patch (v1) applied and the igfx enabled, dmesg | grep DMAR=20 shows: [ 0.007882] ACPI: DMAR 0x00000000AD612860 0000B8 (v01 INTEL BDW =20 00000001 INTL 00000001) [ 0.007894] ACPI: Reserving DMAR table memory at [mem=20 0xad612860-0xad612917] [ 0.018342] DMAR: IOMMU enabled [ 0.060021] DMAR: Host address width 39 [ 0.060023] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 [ 0.060028] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap=20 c0000020660462 ecap f0101a [ 0.060032] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 [ 0.060036] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap=20 d2008c20660462 ecap f010da [ 0.060039] DMAR: RMRR base: 0x000000ade9f000 end: 0x000000adeadfff [ 0.060042] DMAR: RMRR base: 0x000000af000000 end: 0x000000bf1fffff [ 0.060045] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1 [ 0.060048] DMAR-IR: HPET id 0 under DRHD base 0xfed91000 [ 0.060050] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt=20 out bit. [ 0.060051] DMAR-IR: Use 'intremap=3Dno_x2apic_optout' to override the= =20 BIOS setting. [ 0.060535] DMAR-IR: Enabled IRQ remapping in xapic mode [ 2.264853] DMAR: No ATSR found [ 2.264854] DMAR: No SATC found [ 2.264857] DMAR: Disabling superpages on Haswell with integrated=20 graphics [ 2.264859] DMAR: dmar0: Using Queued invalidation [ 2.264865] DMAR: dmar1: Using Queued invalidation [ 2.267816] DMAR: Intel(R) Virtualization Technology for Directed I/O [ 7.969686] i915 0000:00:02.0: [drm] DMAR active, disabling use of=20 stolen memory and with the igfx disabled: [ 0.007714] ACPI: DMAR 0x00000000CE612860 000080 (v01 INTEL BDW =20 00000001 INTL 00000001) [ 0.007725] ACPI: Reserving DMAR table memory at [mem=20 0xce612860-0xce6128df] [ 0.018851] DMAR: IOMMU enabled [ 0.061424] DMAR: Host address width 39 [ 0.061426] DMAR: DRHD base: 0x000000fed90000 flags: 0x1 [ 0.061432] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap=20 d2008c20660462 ecap f010da [ 0.061435] DMAR: RMRR base: 0x000000cee9f000 end: 0x000000ceeadfff [ 0.061439] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed90000 IOMMU 0 [ 0.061442] DMAR-IR: HPET id 0 under DRHD base 0xfed90000 [ 0.061444] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt=20 out bit. [ 0.061445] DMAR-IR: Use 'intremap=3Dno_x2apic_optout' to override the= =20 BIOS setting. [ 0.061727] DMAR-IR: Enabled IRQ remapping in xapic mode [ 2.272842] DMAR: No ATSR found [ 2.272844] DMAR: No SATC found [ 2.272847] DMAR: dmar0: Using Queued invalidation [ 2.273427] DMAR: Intel(R) Virtualization Technology for Directed I/O This means that when the igfx is disabled in the BIOS, it drops the=20 corresponding DMAR unit entirely, but the capabilities stay the same. > 3. Generate large I/O on the SATA SSD (normal boot plus a large > sequential read is enough; with hugepages, e.g. > fio --name=3Dsp --filename=3D/dev/sdX --direct=3D1 --readonly \ > --rw=3Dread --bs=3D2M --iomem=3Dmmaphuge --iodepth=3D8 \ > --ioengine=3Dlibaio --runtime=3D30 --time_based > after echo 64 > /proc/sys/vm/nr_hugepages) and check for DMAR > fault reason 0x0c. >=20 > If that is clean, the quirk only needs to apply while the iGPU is > enabled, which matches the datasheet wording and Bart's v2. If it > still faults, the quirk would need to key on the platform rather than > on the presence of the iGPU. Yes this is clean: the quirk only needs to apply with the igfx enabled. To be honest, among the proposed patches, I like Johnathan's approach (=20 https://lore.kernel.org/linux-iommu/20260929151832.80069-1-johnathanc@novas= ilicon.dev/=20 ) with the PCI fixup header best, because it runs earlier during boot=20 than =C5=A0imon and Bart's approach: [ 0.007754] ACPI: DMAR 0x00000000AD612860 0000B8 (v01 INTEL BDW =20 00000001 INTL 00000001) [ 0.007766] ACPI: Reserving DMAR table memory at [mem=20 0xad612860-0xad612917] [ 0.060655] DMAR: Host address width 39 [ 0.060657] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 [ 0.060662] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap=20 c0000020660462 ecap f0101a [ 0.060666] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 [ 0.060670] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap=20 d2008c20660462 ecap f010da [ 0.060673] DMAR: RMRR base: 0x000000ade9f000 end: 0x000000adeadfff [ 0.060676] DMAR: RMRR base: 0x000000af000000 end: 0x000000bf1fffff [ 0.060679] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1 [ 0.060682] DMAR-IR: HPET id 0 under DRHD base 0xfed91000 [ 0.060684] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt=20 out bit. [ 0.060685] DMAR-IR: Use 'intremap=3Dno_x2apic_optout' to override the= =20 BIOS setting. [ 0.061156] DMAR-IR: Enabled IRQ remapping in xapic mode [ 0.209289] pci 0000:00:02.0: DMAR: Disabling IOMMU superpages [ 2.268829] DMAR: No ATSR found [ 2.268830] DMAR: No SATC found [ 2.268832] DMAR: dmar0: Using Queued invalidation [ 2.268838] DMAR: dmar1: Using Queued invalidation [ 2.271780] DMAR: Intel(R) Virtualization Technology for Directed I/O [ 7.012104] i915 0000:00:02.0: [drm] DMAR active, disabling use of=20 stolen memory I have adapted it to match all Haswell igfx PCI IDs (see=20 https://elixir.bootlin.com/linux/v7.4-rc2/source/include/drm/intel/pciids= =2Eh#L266=20 ) rather than the host bridge IDs, see below. I'd appreciate any=20 feedback or suggestions for improvement. Best regards, Tobias Laas diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c index 5a2e705a2f2e..28ead5dfa009 100644 --- a/drivers/iommu/intel/iommu.c +++ b/drivers/iommu/intel/iommu.c @@ -4143,6 +4143,76 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,=20 0x2e30, quirk_iommu_rwbf); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e40,=20 quirk_iommu_rwbf); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e90,=20 quirk_iommu_rwbf); +static void quirk_iommu_no_superpage(struct pci_dev *dev) +{ + if (risky_device(dev)) + return; + pci_info(dev, "Disabling IOMMU superpages\n"); + intel_iommu_superpage =3D 0; +} + +/* Haswell requires superpages to be disabled when integrated graphics=20 is enabled */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A02,=20 quirk_iommu_no_superpage); /* ULT GT1 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A06,=20 quirk_iommu_no_superpage); /* ULT GT1 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A0A,=20 quirk_iommu_no_superpage); /* ULT GT1 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A0B,=20 quirk_iommu_no_superpage); /* ULT GT1 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A0E,=20 quirk_iommu_no_superpage); /* ULX GT1 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0402,=20 quirk_iommu_no_superpage); /* GT1 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0406,=20 quirk_iommu_no_superpage); /* GT1 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x040A,=20 quirk_iommu_no_superpage); /* GT1 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x040B,=20 quirk_iommu_no_superpage); /* GT1 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x040E,=20 quirk_iommu_no_superpage); /* GT1 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C02,=20 quirk_iommu_no_superpage); /* SDV GT1 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C06,=20 quirk_iommu_no_superpage); /* SDV GT1 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C0A,=20 quirk_iommu_no_superpage); /* SDV GT1 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C0B,=20 quirk_iommu_no_superpage); /* SDV GT1 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C0E,=20 quirk_iommu_no_superpage); /* SDV GT1 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D02,=20 quirk_iommu_no_superpage); /* CRW GT1 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D06,=20 quirk_iommu_no_superpage); /* CRW GT1 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D0A,=20 quirk_iommu_no_superpage); /* CRW GT1 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D0B,=20 quirk_iommu_no_superpage); /* CRW GT1 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D0E,=20 quirk_iommu_no_superpage); /* CRW GT1 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A12,=20 quirk_iommu_no_superpage); /* ULT GT2 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A16,=20 quirk_iommu_no_superpage); /* ULT GT2 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A1A,=20 quirk_iommu_no_superpage); /* ULT GT2 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A1B,=20 quirk_iommu_no_superpage); /* ULT GT2 reserved */\ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A1E,=20 quirk_iommu_no_superpage); /* ULX GT2 mobile */\ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0412,=20 quirk_iommu_no_superpage); /* GT2 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0416,=20 quirk_iommu_no_superpage); /* GT2 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x041A,=20 quirk_iommu_no_superpage); /* GT2 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x041B,=20 quirk_iommu_no_superpage); /* GT2 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x041E,=20 quirk_iommu_no_superpage); /* GT2 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C12,=20 quirk_iommu_no_superpage); /* SDV GT2 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C16,=20 quirk_iommu_no_superpage); /* SDV GT2 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C1A,=20 quirk_iommu_no_superpage); /* SDV GT2 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C1B,=20 quirk_iommu_no_superpage); /* SDV GT2 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C1E,=20 quirk_iommu_no_superpage); /* SDV GT2 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D12,=20 quirk_iommu_no_superpage); /* CRW GT2 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D16,=20 quirk_iommu_no_superpage); /* CRW GT2 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D1A,=20 quirk_iommu_no_superpage); /* CRW GT2 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D1B,=20 quirk_iommu_no_superpage); /* CRW GT2 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D1E,=20 quirk_iommu_no_superpage); /* CRW GT2 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A22,=20 quirk_iommu_no_superpage); /* ULT GT3 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A26,=20 quirk_iommu_no_superpage); /* ULT GT3 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A2A,=20 quirk_iommu_no_superpage); /* ULT GT3 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A2B,=20 quirk_iommu_no_superpage); /* ULT GT3 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0A2E,=20 quirk_iommu_no_superpage); /* ULT GT3 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0422,=20 quirk_iommu_no_superpage); /* GT3 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0426,=20 quirk_iommu_no_superpage); /* GT3 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x042A,=20 quirk_iommu_no_superpage); /* GT3 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x042B,=20 quirk_iommu_no_superpage); /* GT3 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x042E,=20 quirk_iommu_no_superpage); /* GT3 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C22,=20 quirk_iommu_no_superpage); /* SDV GT3 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C26,=20 quirk_iommu_no_superpage); /* SDV GT3 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C2A,=20 quirk_iommu_no_superpage); /* SDV GT3 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C2B,=20 quirk_iommu_no_superpage); /* SDV GT3 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0C2E,=20 quirk_iommu_no_superpage); /* SDV GT3 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D22,=20 quirk_iommu_no_superpage); /* CRW GT3 desktop */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D26,=20 quirk_iommu_no_superpage); /* CRW GT3 mobile */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D2A,=20 quirk_iommu_no_superpage); /* CRW GT3 server */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D2B,=20 quirk_iommu_no_superpage); /* CRW GT3 reserved */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0D2E,=20 quirk_iommu_no_superpage); /* CRW GT3 reserved */ + #define GGC 0x52 #define GGC_MEMORY_SIZE_MASK (0xf << 8) #define GGC_MEMORY_SIZE_NONE (0x0 << 8) > I'm building Bart's generalized version now and will confirm it is a > no-op on a non-affected platform (Coffee Lake, both DRHDs report > SLLPS =3D 2M|1G), as I did for the first version. >=20 > Regards, > Laurence