Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 sun4v: request hypervisor api major...



details:   https://anonhg.NetBSD.org/src/rev/560ee9558d2a
branches:  trunk
changeset: 984331:560ee9558d2a
user:      palle <palle%NetBSD.org@localhost>
date:      Sat Jul 03 19:39:07 2021 +0000

description:
sun4v: request hypervisor api major version 3 for the interrupt group - should solve issues when setting up interrupts on S7 systems

diffstat:

 sys/arch/sparc64/sparc64/autoconf.c |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r 1aa41c7140ce -r 560ee9558d2a sys/arch/sparc64/sparc64/autoconf.c
--- a/sys/arch/sparc64/sparc64/autoconf.c       Sat Jul 03 19:34:47 2021 +0000
+++ b/sys/arch/sparc64/sparc64/autoconf.c       Sat Jul 03 19:39:07 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.232 2021/07/03 19:18:55 palle Exp $ */
+/*     $NetBSD: autoconf.c,v 1.233 2021/07/03 19:39:07 palle Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.232 2021/07/03 19:18:55 palle Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.233 2021/07/03 19:39:07 palle Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -189,9 +189,9 @@
 char sun4v_soft_state_booting[] __align32 = "NetBSD booting";
 char sun4v_soft_state_running[] __align32 = "NetBSD running";
 
+void   sun4v_interrupt_init(void);
 #if 0
 XXX notyet             
-void   sun4v_interrupt_init(void);
 void   sun4v_sdio_init(void);
 #endif
 #endif
@@ -378,9 +378,9 @@
        if (CPU_ISSUN4V) {
                sun4v_soft_state_init();
                sun4v_set_soft_state(SIS_TRANSITION, sun4v_soft_state_booting);
+               sun4v_interrupt_init();
 #if 0
 XXX notyet             
-               sun4v_interrupt_init();
                sun4v_sdio_init();
 #endif 
        }
@@ -570,8 +570,6 @@
                printf("soft_state_set: %d\n", err);
 }
 
-#if 0
-XXX notyet             
 void
 sun4v_interrupt_init(void)
 {
@@ -582,7 +580,6 @@
 
        sun4v_group_interrupt_major = 3;
 }
-#endif
 
 #if 0
 XXX notyet             



Home | Main Index | Thread Index | Old Index