NetBSD-Bugs archive

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

Re: bin/54220: cpuctl identify segfault on AMD Phenom(tm) II X6 1100T Processor



The following reply was made to PR bin/54220; it has been noted by GNATS.

From: Tobias Ulmer <tobiasu%tmux.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/54220: cpuctl identify segfault on AMD Phenom(tm) II X6
 1100T Processor
Date: Mon, 20 May 2019 13:36:21 +0200

 On Mon, May 20, 2019 at 06:20:01AM +0000, Masanobu SAITOH wrote:
 > The following reply was made to PR bin/54220; it has been noted by GNATS.
 > 
 > From: Masanobu SAITOH <msaitoh%execsw.org@localhost>
 > To: gnats-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
 > Cc: msaitoh%execsw.org@localhost
 > Subject: Re: bin/54220: cpuctl identify segfault on AMD Phenom(tm) II X6 1100T
 >  Processor
 > Date: Mon, 20 May 2019 15:18:39 +0900
 > ...
 >  Add X86_RDMSR into x86/x86/sys_machdep.c::sys_sysarch(), use rdmsr_safe(9)
 >  and add x86_rdmsr(or other name) into lib{i386,x86_64} if it's acceptable?
 
 If I may, I would suggest /dev/cpuctl:
 https://nxr.netbsd.org/xref/src/sys/kern/kern_cpu.c#214
 It's already used by cpuctl "the tool".
 
 This sort of syncs with FreeBSDs similar driver, which could make
 porting performance monitoring tools easier.
 http://fxr.watson.org/fxr/source/dev/cpuctl/cpuctl.c#L169
 
 >  
 >  
 >  -- 
 >  -----------------------------------------------
 >                  SAITOH Masanobu (msaitoh%execsw.org@localhost
 >                                   msaitoh%netbsd.org@localhost)
 >  
 


Home | Main Index | Thread Index | Old Index