Skip to contentSkip to conversation

x86: cleanup after tboot fix (c/s 23101:dd386a4b6595)

PATCH New Jan Beulich 1 participant 1 message Mar 28, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: cleanup after tboot fix (c/s 23101:dd386a4b6595)

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.

xen/drivers/passthrough/vtd/dmar.c +0 -5
@@ -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);
 }

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.

xen/drivers/passthrough/vtd/dmar.c +0 -5
@@ -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);
 }

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel