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: <20111221201227.GA9262@alboin.amr.corp.intel.com>
Date:	Wed, 21 Dec 2011 12:12:27 -0800
From:	Andi Kleen <ak@...ux.intel.com>
To:	Thomas Renninger <trenn@...e.de>
Cc:	Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org,
	hpa@...or.com, kay.sievers@....org, davej@...hat.com,
	kay.sievers@...y.org
Subject: Re: [PATCH 7/8] cpufreq: Add support for x86 cpuinfo auto loading
 v3

> > +static const struct x86_cpu_id powernow_k8_ids[] = {
> > +	{ X86_VENDOR_AMD, 0xf, },
> > +	{ X86_VENDOR_AMD, 0x10, },
> > +	{ X86_VENDOR_AMD, 0x11, },
> > +	{ X86_VENDOR_AMD, 0x12, },
> > +	{ X86_VENDOR_AMD, 0x13, },
> > +	{ X86_VENDOR_AMD, 0x14, },
> { X86_VENDOR_AMD, 0x15, },
> 
> Should also have BullDozer family included.

I think it really needs a cpuid feature bit for the hwpstate.  This is
not in one of the normal CPUID leaves, so the amd specific CPU init
code would need to set it.

I added 0x15 for now, but it would be good if someone with the hardware
fixed it like this.

Then could just add a match on "AMD-hw pstate" or so.

-Andi
--
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