lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090609145305.GD3986@prithivi.gnumonks.org>
Date:	Tue, 9 Jun 2009 22:53:05 +0800
From:	Harald Welte <HaraldWelte@...tech.com>
To:	Jaswinder Singh Rajput <jaswinder@...nel.org>
Cc:	linux-kernel@...r.kernel.org, tglx@...utronix.de,
	Ingo Molnar <mingo@...e.hu>
Subject: Re: [PATCH] X86: cpu_debug support for VIA / Centaur CPU's

Thanks for your quick response.

On Tue, Jun 09, 2009 at 02:23:18PM +0530, Jaswinder Singh Rajput wrote:
 
> On Tue, 2009-06-09 at 16:29 +0800, Harald Welte wrote:
> > This patch adds the MSR definitions for the VIA/Centaur CPU models
> > to cpu_debug.c
> > 
> > Signed-off-by: Harald Welte <HaraldWelte@...tech.com>
> 
> As per Ingo suggestion, we removed model information from cpu_debug and
> is available in -tip :

but what happens if one MSR has a different group from vendor A to vendor B?
and what happens if you read MSR's on a CPU that doesn't have them?  I suppose
you get a segmentation fault, at least that's what I've received in the past
when accidentially reading a MSR that doesn't exist.  Is that what the _safe_
variant of rdmsr is for?

> Please check latest -tip from and see how it works with your chips :

I suppose it works, but it probably lacks all the via/centaur specific MSR's.
I'll work on a patch as soon as i find time.

> git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git
> 
> Currently I am doing more changes and available in :
> 
> http://git.kernel.org/?p=linux/kernel/git/jaswinder/linux-2.6-cpu.git;a=shortlog;h=x86/cpu

Which means I should base on which of those tree to make sure it can be merged?

-- 
- Harald Welte <HaraldWelte@...tech.com>	    http://linux.via.com.tw/
============================================================================
VIA Free and Open Source Software Liaison
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ