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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 27 Nov 2007 15:48:02 -0800
From:	mark gross <mgross@...ux.intel.com>
To:	lkml <linux-kernel@...r.kernel.org>
Cc:	ak@...ux.intel.com
Subject: [mgross@...ux.intel.com: intel-iommu-PMEN-think-oh patch.]

I forgot to cc the list.

--mgross

----- Forwarded message from mark gross <mgross@...ux.intel.com> -----

Date: Tue, 27 Nov 2007 15:46:09 -0800
From: mark gross <mgross@...ux.intel.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Reply-To: mgross@...ux.intel.com
Subject: intel-iommu-PMEN-think-oh patch.

I screwed up with my earlier patch to enable the portected memroy.  The
macro IOMMU_WAIT, exits when the condition goes true.  Without this
patch the code will hang at boot and some ( all?) vtd enabled systems.


--mgross

Signed-off-by: mark gross <mgross@...ux.intel.com>


Index: linux-2.6.24-rc2+/drivers/pci/intel-iommu.c
===================================================================
--- linux-2.6.24-rc2+.orig/drivers/pci/intel-iommu.c	2007-11-27 15:29:38.000000000 -0800
+++ linux-2.6.24-rc2+/drivers/pci/intel-iommu.c	2007-11-27 15:30:06.000000000 -0800
@@ -704,7 +704,7 @@
 
 	/* wait for the protected region status bit to clear */
 	IOMMU_WAIT_OP(iommu, DMAR_PMEN_REG,
-		readl, (pmen & DMA_PMEN_PRS), pmen);
+		readl, !(pmen & DMA_PMEN_PRS), pmen);
 
 	spin_unlock_irqrestore(&iommu->register_lock, flags);
 }

----- End forwarded message -----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ