From: "Jan Beulich" Subject: [PATCH] x86: cleanup after tboot fix (c/s 23101:dd386a4b6595) Date: Mon, 28 Mar 2011 08:00:28 +0100 Message-ID: <4D904E2C0200007800038958@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part9BB74B1C.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part9BB74B1C.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline When submitting the patch that became 23101:dd386a4b6595 I forgot that I actually intended to remove the pointless IRQ disabling and restoring (and the then pointless comment). Pointless because the code, other than its pre-23013:65d26504e843 original, now runs before interrupts get enabled for the first time. Signed-off-by: Jan Beulich --- a/xen/drivers/passthrough/vtd/dmar.c +++ b/xen/drivers/passthrough/vtd/dmar.c @@ -761,12 +761,7 @@ out: =20 int __init acpi_dmar_init(void) { - unsigned long flags; - - /* Disabling IRQs avoids cross-CPU TLB flush in map_pages_to_xen(). = */ - local_irq_save(flags); acpi_get_table(ACPI_SIG_DMAR, 0, &dmar_table); - local_irq_restore(flags); =20 return parse_dmar_table(acpi_parse_dmar); } --=__Part9BB74B1C.0__= Content-Type: text/plain; name="acpi-tboot-cleanup-23101.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="acpi-tboot-cleanup-23101.patch" When submitting the patch that became 23101:dd386a4b6595 I forgot that=0AI = actually intended to remove the pointless IRQ disabling and restoring=0A(an= d the then pointless comment). Pointless because the code, other=0Athan = its pre-23013:65d26504e843 original, now runs before interrupts=0Aget = enabled for the first time.=0A=0ASigned-off-by: Jan Beulich =0A=0A--- a/xen/drivers/passthrough/vtd/dmar.c=0A+++ b/xen/drivers/pa= ssthrough/vtd/dmar.c=0A@@ -761,12 +761,7 @@ out:=0A =0A int __init = acpi_dmar_init(void)=0A {=0A- unsigned long flags;=0A-=0A- /* = Disabling IRQs avoids cross-CPU TLB flush in map_pages_to_xen(). */=0A- = local_irq_save(flags);=0A acpi_get_table(ACPI_SIG_DMAR, 0, &dmar_table)= ;=0A- local_irq_restore(flags);=0A =0A return parse_dmar_table(acpi_= parse_dmar);=0A }=0A --=__Part9BB74B1C.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part9BB74B1C.0__=--