All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: cleanup after tboot fix (c/s 23101:dd386a4b6595)
@ 2011-03-28  7:00 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2011-03-28  7:00 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

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 <jbeulich@novell.com>

--- a/xen/drivers/passthrough/vtd/dmar.c
+++ b/xen/drivers/passthrough/vtd/dmar.c
@@ -761,12 +761,7 @@ out:
 
 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);
 
     return parse_dmar_table(acpi_parse_dmar);
 }




[-- Attachment #2: acpi-tboot-cleanup-23101.patch --]
[-- Type: text/plain, Size: 799 bytes --]

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 <jbeulich@novell.com>

--- a/xen/drivers/passthrough/vtd/dmar.c
+++ b/xen/drivers/passthrough/vtd/dmar.c
@@ -761,12 +761,7 @@ out:
 
 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);
 
     return parse_dmar_table(acpi_parse_dmar);
 }

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-28  7:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-28  7:00 [PATCH] x86: cleanup after tboot fix (c/s 23101:dd386a4b6595) Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.