Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/xen/include Ignore ioapic write failures.



details:   https://anonhg.NetBSD.org/src/rev/dc52a7e8d6a5
branches:  trunk
changeset: 753297:dc52a7e8d6a5
user:      cegger <cegger%NetBSD.org@localhost>
date:      Mon Mar 22 16:43:08 2010 +0000

description:
Ignore ioapic write failures.
They happen when writing to ioapic pins Xen already disabled.
This makes netbsd dom0 booting.

diffstat:

 sys/arch/xen/include/i82093var.h |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r d4a02be4d168 -r dc52a7e8d6a5 sys/arch/xen/include/i82093var.h
--- a/sys/arch/xen/include/i82093var.h  Mon Mar 22 16:17:43 2010 +0000
+++ b/sys/arch/xen/include/i82093var.h  Mon Mar 22 16:43:08 2010 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: i82093var.h,v 1.3 2009/07/29 12:02:06 cegger Exp $ */
+/*      $NetBSD: i82093var.h,v 1.4 2010/03/22 16:43:08 cegger Exp $ */
 
 #include "opt_xen.h"
 #define _IOAPIC_CUSTOM_RW
@@ -33,8 +33,6 @@
        op.u.apic_op.reg = regid;
        op.u.apic_op.value = val;
        ret = HYPERVISOR_physdev_op(&op);
-       if (ret) {
+       if (ret)
                printf("PHYSDEVOP_APIC_WRITE ret %d\n", ret);
-               panic("PHYSDEVOP_APIC_WRITE");
-       }
 }



Home | Main Index | Thread Index | Old Index