Topic Title: linux version that supports kabini (amd family 16h)
Topic Summary: not getting hardware PMIs on kabini with 3.4 or 3.15 kernel
Created On: 04/29/2014 06:22 PM
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 04/29/2014 06:22 PM
User is offline View Users Profile Print this message

Author Icon
kabini14
Peon

Posts: 2
Joined: 04/29/2014

hi. am not getting hardware PMIs on kabini with 3.4 or 3.15 kernel. due to this, kernel based hard lockup detection is broken. 

 

I see below code in tip of linux tree perf_event_amd_uncore.c

 

        /* and we do not enable counter overflow interrupts */

        hwc->config = event->attr.config & AMD64_RAW_EVENT_MASK_NB;

 

does it mean that h/w PMUs are supported differently for 16h family?

 

thanks.

 05/07/2014 02:13 PM
User is offline View Users Profile Print this message

Author Icon
kabini14
Peon

Posts: 2
Joined: 04/29/2014

I write to 0xc001_0004 a counter and I see that it overflows fine. However I don't see any NMI. I also checked 0xc001_0000 and its value is 0x530076, which shows that the NMI is enabled. 

Can anyone with a 16h family of processors check the PMI count in /proc/interrupts?

 

thanks.

 05/07/2014 05:03 PM
User is offline View Users Profile Print this message

Author Icon
Eydee
Ninja Zombie Killer

Posts: 4905
Joined: 12/27/2008

Even if it's a hardware bug, you obviously can't fix it, so you should probably take this problem to the kernel developers.



-------------------------

CPU: AMD Phenom II X4 810 @ 3120MHz | RAM: Kingmax 2x2GB DDR2 800 @ 833MHz| MoBo: MSI K9A2 CF v1.0 (BIOS: 1.D)| GPU: Asus HD 6850 1024MB (DirectCu) @ 835/1135MHz | Display: L24FHD | PSU: PC Power & Cooling Silencer 750 Quad | OS: MS Windows 3.11 Pro x64

Statistics
85707 users are registered to the AMD Support and Game forum.
There are currently 6 users logged in.

FuseTalk Hosting Executive Plan v3.2 - © 1999-2014 FuseTalk Inc. All rights reserved.