Skip to contentSkip to conversation

Patch "x86/amd_nb: Add AMD family 17h model 60h PCI IDs" has been added to the 5.7-stable tree

DISCUSSION Alexander Monakov 2 participants 4 messages Jun 19, 2020 1 message not in the archive Stable branch

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

x86/amd_nb: Add AMD family 17h model 60h PCI IDs

to the 5.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

Quoted 6 lines

The filename of the patch is:

     x86-amd_nb-add-amd-family-17h-model-60h-pci-ids.patch

and it can be found in the queue-5.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

It's not good to pick this patch alone into stable. Either all 3 patches from https://lore.kernel.org/lkml/[email protected]/
should be taken, or none of those.

In particular, the edac module will warn on load without the third patch.

Likewise for 5.4-stable (should I send a separate mail for that?)

Alexander

Quoted 71 lines

commit 2adc45163a51ed6f0a0e776ee5c13639dfe22a8e

Author: Alexander Monakov <[email protected]>
Date:   Sun May 10 20:48:40 2020 +0000

x86/amd_nb: Add AMD family 17h model 60h PCI IDs

[ Upstream commit a4e91825d7e1252f7cba005f1451e5464b23c15d ]

Add PCI IDs for AMD Renoir (4000-series Ryzen CPUs). This is necessary to enable support for temperature sensors via the k10temp module.

arch/x86/kernel/amd_nb.c +5 -0
index b6b3297851f3..18f6b7c4bd79 100644
@@ -18,9 +18,11 @@
 #define PCI_DEVICE_ID_AMD_17H_ROOT	0x1450
 #define PCI_DEVICE_ID_AMD_17H_M10H_ROOT	0x15d0
 #define PCI_DEVICE_ID_AMD_17H_M30H_ROOT	0x1480
+#define PCI_DEVICE_ID_AMD_17H_M60H_ROOT	0x1630
 #define PCI_DEVICE_ID_AMD_17H_DF_F4	0x1464
 #define PCI_DEVICE_ID_AMD_17H_M10H_DF_F4 0x15ec
 #define PCI_DEVICE_ID_AMD_17H_M30H_DF_F4 0x1494
+#define PCI_DEVICE_ID_AMD_17H_M60H_DF_F4 0x144c
 #define PCI_DEVICE_ID_AMD_17H_M70H_DF_F4 0x1444
 #define PCI_DEVICE_ID_AMD_19H_DF_F4	0x1654
 
@@ -33,6 +35,7 @@ static const struct pci_device_id amd_root_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_ROOT) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M10H_ROOT) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M30H_ROOT) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M60H_ROOT) },
 	{}
 };
 
@@ -50,6 +53,7 @@ static const struct pci_device_id amd_nb_misc_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_DF_F3) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M10H_DF_F3) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M30H_DF_F3) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M60H_DF_F3) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CNB17H_F3) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_DF_F3) },
@@ -65,6 +69,7 @@ static const struct pci_device_id amd_nb_link_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_DF_F4) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M10H_DF_F4) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M30H_DF_F4) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M60H_DF_F4) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F4) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_DF_F4) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CNB17H_F4) },
include/linux/pci_ids.h +1 -0
index 9a57e6717e5c..0ad57693f392 100644
@@ -550,6 +550,7 @@
 #define PCI_DEVICE_ID_AMD_17H_DF_F3	0x1463
 #define PCI_DEVICE_ID_AMD_17H_M10H_DF_F3 0x15eb
 #define PCI_DEVICE_ID_AMD_17H_M30H_DF_F3 0x1493
+#define PCI_DEVICE_ID_AMD_17H_M60H_DF_F3 0x144b
 #define PCI_DEVICE_ID_AMD_17H_M70H_DF_F3 0x1443
 #define PCI_DEVICE_ID_AMD_19H_DF_F3	0x1653
 #define PCI_DEVICE_ID_AMD_CNB17H_F3	0x1703
maintainer
#2 lore raw
Quoted 16 lines · Alexander Monakov
Quoted 7 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

x86/amd_nb: Add AMD family 17h model 60h PCI IDs

to the 5.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

Quoted 6 lines

The filename of the patch is:

     x86-amd_nb-add-amd-family-17h-model-60h-pci-ids.patch

and it can be found in the queue-5.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 7 lines

It's not good to pick this patch alone into stable. Either all 3 patches from https://lore.kernel.org/lkml/[email protected]/
should be taken, or none of those.

In particular, the edac module will warn on load without the third patch.

Likewise for 5.4-stable (should I send a separate mail for that?)

What are the git commit ids that should be applied that are not?

thanks,

greg k-h

#3 lore raw
Quoted 21 lines · Greg KH
Quoted 20 lines · Alexander Monakov
Quoted 7 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

x86/amd_nb: Add AMD family 17h model 60h PCI IDs

to the 5.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

Quoted 6 lines

The filename of the patch is:

     x86-amd_nb-add-amd-family-17h-model-60h-pci-ids.patch

and it can be found in the queue-5.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

It's not good to pick this patch alone into stable. Either all 3 patches from https://lore.kernel.org/lkml/[email protected]/
should be taken, or none of those.

Quoted 5 lines
Quoted 3 lines

In particular, the edac module will warn on load without the third patch.

Likewise for 5.4-stable (should I send a separate mail for that?)

What are the git commit ids that should be applied that are not?

279f0b3a4b8066 ("hwmon: (k10temp) Add AMD family 17h model 60h PCI match")

b6bea24d41519e ("EDAC/amd64: Add AMD family 17h model 60h PCI IDs")

Alexander

maintainer
#4 lore raw
Quoted 27 lines · Alexander Monakov
Quoted 23 lines · Greg KH
Quoted 22 lines · Alexander Monakov
Quoted 7 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

x86/amd_nb: Add AMD family 17h model 60h PCI IDs

to the 5.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

Quoted 6 lines

The filename of the patch is:

     x86-amd_nb-add-amd-family-17h-model-60h-pci-ids.patch

and it can be found in the queue-5.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

It's not good to pick this patch alone into stable. Either all 3 patches from https://lore.kernel.org/lkml/[email protected]/
should be taken, or none of those.

In particular, the edac module will warn on load without the third patch.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Likewise for 5.4-stable (should I send a separate mail for that?)

What are the git commit ids that should be applied that are not?

279f0b3a4b8066 ("hwmon: (k10temp) Add AMD family 17h model 60h PCI match")

b6bea24d41519e ("EDAC/amd64: Add AMD family 17h model 60h PCI IDs")

Thanks, all now queued up!

greg k-h