@@ -2906,7 +2906,6 @@ static struct amd64_family_type family_types[] = {
2906
2906
[F17_CPUS ] = {
2907
2907
.ctl_name = "F17h" ,
2908
2908
.f0_id = PCI_DEVICE_ID_AMD_17H_DF_F0 ,
2909
- .f6_id = PCI_DEVICE_ID_AMD_17H_DF_F6 ,
2910
2909
.max_mcs = 2 ,
2911
2910
.ops = {
2912
2911
.early_channel_count = f17_early_channel_count ,
@@ -2916,7 +2915,6 @@ static struct amd64_family_type family_types[] = {
2916
2915
[F17_M10H_CPUS ] = {
2917
2916
.ctl_name = "F17h_M10h" ,
2918
2917
.f0_id = PCI_DEVICE_ID_AMD_17H_M10H_DF_F0 ,
2919
- .f6_id = PCI_DEVICE_ID_AMD_17H_M10H_DF_F6 ,
2920
2918
.max_mcs = 2 ,
2921
2919
.ops = {
2922
2920
.early_channel_count = f17_early_channel_count ,
@@ -2926,7 +2924,6 @@ static struct amd64_family_type family_types[] = {
2926
2924
[F17_M30H_CPUS ] = {
2927
2925
.ctl_name = "F17h_M30h" ,
2928
2926
.f0_id = PCI_DEVICE_ID_AMD_17H_M30H_DF_F0 ,
2929
- .f6_id = PCI_DEVICE_ID_AMD_17H_M30H_DF_F6 ,
2930
2927
.max_mcs = 8 ,
2931
2928
.ops = {
2932
2929
.early_channel_count = f17_early_channel_count ,
@@ -2936,7 +2933,6 @@ static struct amd64_family_type family_types[] = {
2936
2933
[F17_M60H_CPUS ] = {
2937
2934
.ctl_name = "F17h_M60h" ,
2938
2935
.f0_id = PCI_DEVICE_ID_AMD_17H_M60H_DF_F0 ,
2939
- .f6_id = PCI_DEVICE_ID_AMD_17H_M60H_DF_F6 ,
2940
2936
.max_mcs = 2 ,
2941
2937
.ops = {
2942
2938
.early_channel_count = f17_early_channel_count ,
@@ -2946,7 +2942,6 @@ static struct amd64_family_type family_types[] = {
2946
2942
[F17_M70H_CPUS ] = {
2947
2943
.ctl_name = "F17h_M70h" ,
2948
2944
.f0_id = PCI_DEVICE_ID_AMD_17H_M70H_DF_F0 ,
2949
- .f6_id = PCI_DEVICE_ID_AMD_17H_M70H_DF_F6 ,
2950
2945
.max_mcs = 2 ,
2951
2946
.ops = {
2952
2947
.early_channel_count = f17_early_channel_count ,
@@ -2956,7 +2951,6 @@ static struct amd64_family_type family_types[] = {
2956
2951
[F19_CPUS ] = {
2957
2952
.ctl_name = "F19h" ,
2958
2953
.f0_id = PCI_DEVICE_ID_AMD_19H_DF_F0 ,
2959
- .f6_id = PCI_DEVICE_ID_AMD_19H_DF_F6 ,
2960
2954
.max_mcs = 8 ,
2961
2955
.ops = {
2962
2956
.early_channel_count = f17_early_channel_count ,
@@ -2966,7 +2960,6 @@ static struct amd64_family_type family_types[] = {
2966
2960
[F19_M10H_CPUS ] = {
2967
2961
.ctl_name = "F19h_M10h" ,
2968
2962
.f0_id = PCI_DEVICE_ID_AMD_19H_M10H_DF_F0 ,
2969
- .f6_id = PCI_DEVICE_ID_AMD_19H_M10H_DF_F6 ,
2970
2963
.max_mcs = 12 ,
2971
2964
.flags .zn_regs_v2 = 1 ,
2972
2965
.ops = {
@@ -2977,7 +2970,6 @@ static struct amd64_family_type family_types[] = {
2977
2970
[F19_M50H_CPUS ] = {
2978
2971
.ctl_name = "F19h_M50h" ,
2979
2972
.f0_id = PCI_DEVICE_ID_AMD_19H_M50H_DF_F0 ,
2980
- .f6_id = PCI_DEVICE_ID_AMD_19H_M50H_DF_F6 ,
2981
2973
.max_mcs = 2 ,
2982
2974
.ops = {
2983
2975
.early_channel_count = f17_early_channel_count ,
@@ -3290,7 +3282,7 @@ static void decode_umc_error(int node_id, struct mce *m)
3290
3282
/*
3291
3283
* Use pvt->F3 which contains the F3 CPU PCI device to get the related
3292
3284
* F1 (AddrMap) and F2 (Dct) devices. Return negative value on error.
3293
- * Reserve F0 and F6 on systems with a UMC.
3285
+ * Reserve F0 on systems with a UMC.
3294
3286
*/
3295
3287
static int
3296
3288
reserve_mc_sibling_devs (struct amd64_pvt * pvt , u16 pci_id1 , u16 pci_id2 )
@@ -3302,21 +3294,11 @@ reserve_mc_sibling_devs(struct amd64_pvt *pvt, u16 pci_id1, u16 pci_id2)
3302
3294
return - ENODEV ;
3303
3295
}
3304
3296
3305
- pvt -> F6 = pci_get_related_function (pvt -> F3 -> vendor , pci_id2 , pvt -> F3 );
3306
- if (!pvt -> F6 ) {
3307
- pci_dev_put (pvt -> F0 );
3308
- pvt -> F0 = NULL ;
3309
-
3310
- edac_dbg (1 , "F6 not found: device 0x%x\n" , pci_id2 );
3311
- return - ENODEV ;
3312
- }
3313
-
3314
3297
if (!pci_ctl_dev )
3315
3298
pci_ctl_dev = & pvt -> F0 -> dev ;
3316
3299
3317
3300
edac_dbg (1 , "F0: %s\n" , pci_name (pvt -> F0 ));
3318
3301
edac_dbg (1 , "F3: %s\n" , pci_name (pvt -> F3 ));
3319
- edac_dbg (1 , "F6: %s\n" , pci_name (pvt -> F6 ));
3320
3302
3321
3303
return 0 ;
3322
3304
}
@@ -3352,7 +3334,6 @@ static void free_mc_sibling_devs(struct amd64_pvt *pvt)
3352
3334
{
3353
3335
if (pvt -> umc ) {
3354
3336
pci_dev_put (pvt -> F0 );
3355
- pci_dev_put (pvt -> F6 );
3356
3337
} else {
3357
3338
pci_dev_put (pvt -> F1 );
3358
3339
pci_dev_put (pvt -> F2 );
@@ -4078,7 +4059,6 @@ static int hw_info_get(struct amd64_pvt *pvt)
4078
4059
return - ENOMEM ;
4079
4060
4080
4061
pci_id1 = fam_type -> f0_id ;
4081
- pci_id2 = fam_type -> f6_id ;
4082
4062
} else {
4083
4063
pci_id1 = fam_type -> f1_id ;
4084
4064
pci_id2 = fam_type -> f2_id ;
0 commit comments