NetBSD-Bugs archive

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

PR/50332 CVS commit: src/sys/arch



The following reply was made to PR port-xen/50332; it has been noted by GNATS.

From: "Jaromir Dolecek" <jdolecek%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/50332 CVS commit: src/sys/arch
Date: Tue, 19 Jun 2018 19:50:20 +0000

 Module Name:	src
 Committed By:	jdolecek
 Date:		Tue Jun 19 19:50:19 UTC 2018
 
 Modified Files:
 	src/sys/arch/x86/include: fpu.h
 	src/sys/arch/x86/x86: cpu.c fpu.c identcpu.c
 	src/sys/arch/xen/x86: cpu.c
 
 Log Message:
 fix FPU initialization on Xen to allow e.g. AVX when supported by hardware;
 only use XSAVE when the the CPUID OSXSAVE bit is set, as this seems to be
 reliable indication
 
 tested with Xen 4.2.6 DOM0/DOMU on Intel CPU, without and with no-xsave flag,
 so should work also on those AMD CPUs, which have XSAVE disabled by default;
 also tested with Xen DOM0 4.8.3
 
 fixes PR kern/50332 by Torbjorn Granlund; sorry it took three years to address
 
 XXX pullup netbsd-8
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x86/include/fpu.h
 cvs rdiff -u -r1.155 -r1.156 src/sys/arch/x86/x86/cpu.c
 cvs rdiff -u -r1.39 -r1.40 src/sys/arch/x86/x86/fpu.c
 cvs rdiff -u -r1.72 -r1.73 src/sys/arch/x86/x86/identcpu.c
 cvs rdiff -u -r1.117 -r1.118 src/sys/arch/xen/x86/cpu.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index