From: Keir Fraser Subject: Re: [Xen-changelog] [xen-unstable] vt-d: Fixpanic in msi_msg_read_remap_rte with acpi=off Date: Fri, 16 Oct 2009 11:22:17 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Cui, Dexuan" , "xen-devel@lists.xensource.com" , Miroslav Rezanina List-Id: xen-devel@lists.xenproject.org On 16/10/2009 11:03, "Cui, Dexuan" wrote: > Actually when iommu=1 and acpi=off, in __start_xen() -> acpi_boot_init(), > acpi_dmar_init() can't be invoked at all and hence parse_dmar_table() can't be > invoked, as a result, we should not try to use VT-d at all, however, the > global variable iommu_enabled is left set to 1. > > So I don't think this changeset is the right fix. I think the correct one > should be: in disable_acpi(), we force iommu_enabled to 0. Sounds better to me. -- Keir