[PATCH] fix PMU initialization on pseries lpar

Michael Ellerman michael at ellerman.id.au
Wed Aug 2 14:29:33 EST 2006


On Wed, 2006-08-02 at 00:20 -0400, Sonny Rao wrote:
> We should not be calling power4_enable_pmcs() in
> pseries_lpar_enable_pmcs(); just doing the hypercall is sufficient. 
> Prior to 2.6.15 we did not call power4_enable_pmcs() for an lpar.
> 
> power4_enable_pmcs() tries to read the hid0 register which is no
> longer legal for an lpar in newer Power processors.

Argh, how did I miss that. Mea culpa. 

cheers

-- 
Michael Ellerman
IBM OzLabs

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060802/1cbaaa33/attachment.pgp>


More information about the Linuxppc-dev mailing list