[3.5.y.z,extended,stable] Patch "x86, AMD: Power driver support for AMD's family 16h" has been added to staging queue

Message ID 1357591020-20918-1-git-send-email-herton.krzesinski@canonical.com
State New
Headers show

Commit Message

Herton Ronaldo Krzesinski Jan. 7, 2013, 8:37 p.m.
This is a note to let you know that I have just added a patch titled

    x86,AMD: Power driver support for AMD's family 16h

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:


If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see



From 0520b088f524c251c0a1ffb14ee63434684218cd Mon Sep 17 00:00:00 2001
From: Boris Ostrovsky <boris.ostrovsky@amd.com>
Date: Wed, 5 Dec 2012 06:12:42 -0500
Subject: [PATCH] x86,AMD: Power driver support for AMD's family 16h

commit 22e32f4f57778ebc6e17812fa3008361c05d64f9 upstream.

Add family 16h PCI ID to AMD's power driver to allow it report
power consumption on these processors.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@amd.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
[ herton: unfuzz patch ]
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
 drivers/hwmon/fam15h_power.c |    4 ++++
 1 file changed, 4 insertions(+)



diff --git a/drivers/hwmon/fam15h_power.c b/drivers/hwmon/fam15h_power.c
index 49dadf4..e5c9b44 100644
--- a/drivers/hwmon/fam15h_power.c
+++ b/drivers/hwmon/fam15h_power.c
@@ -31,6 +31,9 @@  MODULE_DESCRIPTION("AMD Family 15h CPU processor power monitor");
 MODULE_AUTHOR("Andreas Herrmann <andreas.herrmann3@amd.com>");

+/* Family 16h Northbridge's function 4 PCI ID */
+#define PCI_DEVICE_ID_AMD_16H_NB_F4	0x1534
 /* D18F3 */
 #define REG_NORTHBRIDGE_CAP		0xe8

@@ -256,6 +259,7 @@  static void __devexit fam15h_power_remove(struct pci_dev *pdev)

 static DEFINE_PCI_DEVICE_TABLE(fam15h_power_id_table) = {
 MODULE_DEVICE_TABLE(pci, fam15h_power_id_table);