lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250928072650.1419-1-guojinhui.liam@bytedance.com>
Date: Sun, 28 Sep 2025 15:26:50 +0800
From: Jinhui Guo <guojinhui.liam@...edance.com>
To: joro@...tes.org,
	suravee.suthikulpanit@....com
Cc: guojinhui.liam@...edance.com,
	iommu@...ts.linux.dev,
	linux-kernel@...r.kernel.org
Subject: [PATCH] iommu/amd: Enable PCIe ACS once AMD IOMMU initialization succeeds

Date: Sun, 28 Sep 2025 14:58:17 +0800, Jinhui Guo wrote:
>@@ -3212,9 +3212,6 @@ static bool __init detect_ivrs(void)
> 	}
> 
>out:
>-	/* Make sure ACS will be enabled during PCI probe */
>-	pci_request_acs();
>-
>	return true;
>}
> 
>@@ -3284,6 +3281,10 @@ static int __init state_next(void)
> 			ret = -EINVAL;
> 		} else {
> 			ret = early_amd_iommu_init();
>+			if (!ret) {
>+				/* Make sure ACS will be enabled during PCI probe */
>+				pci_request_acs();
>+			}
> 			init_state = ret ? IOMMU_INIT_ERROR : IOMMU_ACPI_FINISHED;
> 		}
> 		break;

Please discard this patch. It breaks when interrupt remapping is off.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ