intel: Add more Kabylake PCI IDs.
PATCH 1/2 intel: Add more Kabylake PCI IDs.
The spec has been updated adding new PCI IDs.
--- intel/intel_chipset.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
intel/intel_chipset.h +10 -4
@@ -194,7 +194,9 @@#define PCI_CHIP_KABYLAKE_ULT_GT2 0x5916#define PCI_CHIP_KABYLAKE_ULT_GT1_5 0x5913#define PCI_CHIP_KABYLAKE_ULT_GT1 0x5906 -#define PCI_CHIP_KABYLAKE_ULT_GT3 0x5926 +#define PCI_CHIP_KABYLAKE_ULT_GT3_0 0x5923 +#define PCI_CHIP_KABYLAKE_ULT_GT3_1 0x5926 +#define PCI_CHIP_KABYLAKE_ULT_GT3_2 0x5927#define PCI_CHIP_KABYLAKE_ULT_GT2F 0x5921#define PCI_CHIP_KABYLAKE_ULX_GT1_5 0x5915#define PCI_CHIP_KABYLAKE_ULX_GT1 0x590E
@@ -206,7 +208,8 @@#define PCI_CHIP_KABYLAKE_HALO_GT2 0x591B#define PCI_CHIP_KABYLAKE_HALO_GT4 0x593B#define PCI_CHIP_KABYLAKE_HALO_GT3 0x592B -#define PCI_CHIP_KABYLAKE_HALO_GT1 0x590B +#define PCI_CHIP_KABYLAKE_H_GT1_0 0x5908 +#define PCI_CHIP_KABYLAKE_H_GT1_1 0x590B#define PCI_CHIP_KABYLAKE_SRV_GT2 0x591A#define PCI_CHIP_KABYLAKE_SRV_GT3 0x592A#define PCI_CHIP_KABYLAKE_SRV_GT1 0x590A
@@ -414,7 +417,8 @@ (devid) == PCI_CHIP_KABYLAKE_ULT_GT1 || \ (devid) == PCI_CHIP_KABYLAKE_ULX_GT1 || \ (devid) == PCI_CHIP_KABYLAKE_DT_GT1 || \ - (devid) == PCI_CHIP_KABYLAKE_HALO_GT1 || \ + (devid) == PCI_CHIP_KABYLAKE_H_GT1_0 || \ + (devid) == PCI_CHIP_KABYLAKE_H_GT1_1 || \ (devid) == PCI_CHIP_KABYLAKE_SRV_GT1)#define IS_KBL_GT2 (devid) ((devid) == PCI_CHIP_KABYLAKE_ULT_GT2 || \
@@ -425,7 +429,9 @@ (devid) == PCI_CHIP_KABYLAKE_SRV_GT2 || \ (devid) == PCI_CHIP_KABYLAKE_WKS_GT2) -#define IS_KBL_GT3 (devid) ((devid) == PCI_CHIP_KABYLAKE_ULT_GT3 || \ +#define IS_KBL_GT3 (devid) ((devid) == PCI_CHIP_KABYLAKE_ULT_GT3_0 || \ + (devid) == PCI_CHIP_KABYLAKE_ULT_GT3_1 || \ + (devid) == PCI_CHIP_KABYLAKE_ULT_GT3_2 || \ (devid) == PCI_CHIP_KABYLAKE_HALO_GT3 || \ (devid) == PCI_CHIP_KABYLAKE_SRV_GT3)
Signature · 6 lines
2.5.5 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/2 intel: Removing PCI IDs that are no longer listed as Kabylake.
This is unusual. Usually IDs listed on early stages of platform definition are kept there as reserved for later use.
However these IDs here are not listed anymore in any of steppings and devices IDs tables for Kabylake on configurations overview section of BSpec.
So it is better removing them before they become used in any other future platform.
--- intel/intel_chipset.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-)
intel/intel_chipset.h +3 -13
@@ -204,18 +204,13 @@#define PCI_CHIP_KABYLAKE_DT_GT2 0x5912#define PCI_CHIP_KABYLAKE_DT_GT1_5 0x5917#define PCI_CHIP_KABYLAKE_DT_GT1 0x5902 -#define PCI_CHIP_KABYLAKE_DT_GT4 0x5932#define PCI_CHIP_KABYLAKE_HALO_GT2 0x591B#define PCI_CHIP_KABYLAKE_HALO_GT4 0x593B -#define PCI_CHIP_KABYLAKE_HALO_GT3 0x592B#define PCI_CHIP_KABYLAKE_H_GT1_0 0x5908#define PCI_CHIP_KABYLAKE_H_GT1_1 0x590B#define PCI_CHIP_KABYLAKE_SRV_GT2 0x591A -#define PCI_CHIP_KABYLAKE_SRV_GT3 0x592A#define PCI_CHIP_KABYLAKE_SRV_GT1 0x590A -#define PCI_CHIP_KABYLAKE_SRV_GT4 0x593A#define PCI_CHIP_KABYLAKE_WKS_GT2 0x591D -#define PCI_CHIP_KABYLAKE_WKS_GT4 0x593D#define PCI_CHIP_BROXTON_0 0x0A84#define PCI_CHIP_BROXTON_1 0x1A84
@@ -431,14 +426,9 @@#define IS_KBL_GT3 (devid) ((devid) == PCI_CHIP_KABYLAKE_ULT_GT3_0 || \ (devid) == PCI_CHIP_KABYLAKE_ULT_GT3_1 || \ - (devid) == PCI_CHIP_KABYLAKE_ULT_GT3_2 || \ - (devid) == PCI_CHIP_KABYLAKE_HALO_GT3 || \ - (devid) == PCI_CHIP_KABYLAKE_SRV_GT3) - -#define IS_KBL_GT4 (devid) ((devid) == PCI_CHIP_KABYLAKE_DT_GT4 || \ - (devid) == PCI_CHIP_KABYLAKE_HALO_GT4 || \ - (devid) == PCI_CHIP_KABYLAKE_SRV_GT4 || \ - (devid) == PCI_CHIP_KABYLAKE_WKS_GT4) + (devid) == PCI_CHIP_KABYLAKE_ULT_GT3_2) + +#define IS_KBL_GT4 (devid) ((devid) == PCI_CHIP_KABYLAKE_HALO_GT4)#define IS_KABYLAKE (devid) (IS_KBL_GT1(devid) || \ IS_KBL_GT2(devid) || \
Signature · 6 lines
2.5.5 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Ro.CI.BAT: failure for series starting with [1/2] intel: Add more Kabylake PCI IDs.
In reply to Rodrigo Vivi== Series Details ==
== Series Details ==
Series: series starting with [1/2] intel: Add more Kabylake PCI IDs.
URL : https://patchwork.freedesktop.org/series/9102/
State : failure
== Summary ==
Applying: intel: Add more Kabylake PCI IDs.
fatal: sha1 information is lacking or useless (intel/intel_chipset.h).
error: could not build fake ancestor
Patch failed at 0001 intel: Add more Kabylake PCI IDs.
The copy of the patch that failed is found in: .git/rebase-apply/patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 23 lines · Rodrigo Vivi
The spec has been updated adding new PCI IDs.
Signed-off-by Rodrigo Vivi <[email protected]>--- intel/intel_chipset.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)intel/intel_chipset.h +3
-1@@ -194,7 +194,9 @@#define PCI_CHIP_KABYLAKE_ULT_GT2 0x5916#define PCI_CHIP_KABYLAKE_ULT_GT1_5 0x5913#define PCI_CHIP_KABYLAKE_ULT_GT1 0x5906 -#define PCI_CHIP_KABYLAKE_ULT_GT3 0x5926 +#define PCI_CHIP_KABYLAKE_ULT_GT3_0 0x5923 +#define PCI_CHIP_KABYLAKE_ULT_GT3_1 0x5926 +#define PCI_CHIP_KABYLAKE_ULT_GT3_2 0x5927#define PCI_CHIP_KABYLAKE_ULT_GT2F 0x5921#define PCI_CHIP_KABYLAKE_ULX_GT1_5 0x5915#define PCI_CHIP_KABYLAKE_ULX_GT1 0x590E
intel/intel_chipset.h line 212
Quoted 6 lines
intel/intel_chipset.h +2
-1@@ -206,7 +208,8 @@#define PCI_CHIP_KABYLAKE_HALO_GT2 0x591B#define PCI_CHIP_KABYLAKE_HALO_GT4 0x593B#define PCI_CHIP_KABYLAKE_HALO_GT3 0x592B -#define PCI_CHIP_KABYLAKE_HALO_GT1 0x590B +#define PCI_CHIP_KABYLAKE_H_GT1_0 0x5908 +#define PCI_CHIP_KABYLAKE_H_GT1_1 0x590B
Does H here mean Halo? Some of defines have the whole word "HALO" and some "H". Shouldn't we keep that uniform?
Quoted 14 lines
intel/intel_chipset.h +2
-1#define PCI_CHIP_KABYLAKE_SRV_GT2 0x591A#define PCI_CHIP_KABYLAKE_SRV_GT3 0x592A#define PCI_CHIP_KABYLAKE_SRV_GT1 0x590A@@ -414,7 +417,8 @@ (devid) == PCI_CHIP_KABYLAKE_ULT_GT1 || \ (devid) == PCI_CHIP_KABYLAKE_ULX_GT1 || \ (devid) == PCI_CHIP_KABYLAKE_DT_GT1 || \ - (devid) == PCI_CHIP_KABYLAKE_HALO_GT1 || \ + (devid) == PCI_CHIP_KABYLAKE_H_GT1_0 || \ + (devid) == PCI_CHIP_KABYLAKE_H_GT1_1 || \ (devid) == PCI_CHIP_KABYLAKE_SRV_GT1)#define IS_KBL_GT2 (devid) ((devid) == PCI_CHIP_KABYLAKE_ULT_GT2 || \
intel/intel_chipset.h line 437
Quoted 10 lines
intel/intel_chipset.h +3
-1@@ -425,7 +429,9 @@ (devid) == PCI_CHIP_KABYLAKE_SRV_GT2 || \ (devid) == PCI_CHIP_KABYLAKE_WKS_GT2) -#define IS_KBL_GT3 (devid) ((devid) == PCI_CHIP_KABYLAKE_ULT_GT3 || \ +#define IS_KBL_GT3 (devid) ((devid) == PCI_CHIP_KABYLAKE_ULT_GT3_0 || \ + (devid) == PCI_CHIP_KABYLAKE_ULT_GT3_1 || \ + (devid) == PCI_CHIP_KABYLAKE_ULT_GT3_2 || \ (devid) == PCI_CHIP_KABYLAKE_HALO_GT3 || \ (devid) == PCI_CHIP_KABYLAKE_SRV_GT3)
I verified the PCI IDs against the Spec, looks good to me.
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 25 lines · Dhinakaran
Quoted 24 lines · Rodrigo Vivi
The spec has been updated adding new PCI IDs.
Signed-off-by Rodrigo Vivi <[email protected]>---
intel/intel_chipset.h | 14 ++++++++++----1 file changed, 10 insertions(+), 4 deletions(-)intel/intel_chipset.h +3
-1@@ -194,7 +194,9 @@ #define PCI_CHIP_KABYLAKE_ULT_GT2 0x5916 #define PCI_CHIP_KABYLAKE_ULT_GT1_5 0x5913 #define PCI_CHIP_KABYLAKE_ULT_GT1 0x5906 -#define PCI_CHIP_KABYLAKE_ULT_GT3 0x5926 +#define PCI_CHIP_KABYLAKE_ULT_GT3_0 0x5923 +#define PCI_CHIP_KABYLAKE_ULT_GT3_1 0x5926 +#define PCI_CHIP_KABYLAKE_ULT_GT3_2 0x5927 #define PCI_CHIP_KABYLAKE_ULT_GT2F 0x5921 #define PCI_CHIP_KABYLAKE_ULX_GT1_5 0x5915 #define PCI_CHIP_KABYLAKE_ULX_GT1 0x590E@@ -206,7 +208,8 @@
Quoted 8 lines
intel/intel_chipset.h line 212
Quoted 6 lines
intel/intel_chipset.h +2
-1#define PCI_CHIP_KABYLAKE_HALO_GT2 0x591B #define PCI_CHIP_KABYLAKE_HALO_GT4 0x593B #define PCI_CHIP_KABYLAKE_HALO_GT3 0x592B -#define PCI_CHIP_KABYLAKE_HALO_GT1 0x590B +#define PCI_CHIP_KABYLAKE_H_GT1_0 0x5908 +#define PCI_CHIP_KABYLAKE_H_GT1_1 0x590BDoes H here mean Halo? Some of defines have the whole word "HALO" and some "H". Shouldn't we keep that uniform?
I also like keeping it uniform, but was trying to keep the alignment... otherwise I'd have to touch all lines and didn't want change all lines that are not directly being affected....
Yeap H for Halo, like U for ULT and like Y for ULX :/ (KBL ULX are actually more known as KBL-Y. Nobody uses the terms ULT and ULX after BDW...)
But you point is definitely good. I just don't know if I send one patch to just fix the name convention and one to fix the ids or let HALO and mess with alignments... suggestions?
Quoted 35 lines
Quoted 35 lines
intel/intel_chipset.h +0
-0#define PCI_CHIP_KABYLAKE_SRV_GT2 0x591A #define PCI_CHIP_KABYLAKE_SRV_GT3 0x592A #define PCI_CHIP_KABYLAKE_SRV_GT1 0x590A@@ -414,7 +417,8 @@(devid) ==
PCI_CHIP_KABYLAKE_ULT_GT1|| \
(devid) ==PCI_CHIP_KABYLAKE_ULX_GT1|| \
(devid) ==PCI_CHIP_KABYLAKE_DT_GT1|| \intel/intel_chipset.h +0
-1- (devid) ==
PCI_CHIP_KABYLAKE_HALO_GT1|| \intel/intel_chipset.h +1
-0+ (devid) ==
PCI_CHIP_KABYLAKE_H_GT1_0|| \intel/intel_chipset.h +1
-0+ (devid) ==
PCI_CHIP_KABYLAKE_H_GT1_1|| \
(devid) ==PCI_CHIP_KABYLAKE_SRV_GT1)
#defineIS_KBL_GT2(devid)((devid) ==PCI_CHIP_KABYLAKE_ULT_GT2|| \intel/intel_chipset.h +0
-0@@ -425,7 +429,9 @@(devid) ==
PCI_CHIP_KABYLAKE_SRV_GT2|| \
(devid) ==PCI_CHIP_KABYLAKE_WKS_GT2)
-#defineIS_KBL_GT3(devid)((devid) ==PCI_CHIP_KABYLAKE_ULT_GT3|| \
+#defineIS_KBL_GT3(devid)((devid) ==PCI_CHIP_KABYLAKE_ULT_GT3_0|| \intel/intel_chipset.h +1
-0+ (devid) ==
PCI_CHIP_KABYLAKE_ULT_GT3_1|| \
Quoted 8 lines
Quoted 7 lines
intel/intel_chipset.h +1
-0+ (devid) ==
PCI_CHIP_KABYLAKE_ULT_GT3_2|| \
(devid) ==PCI_CHIP_KABYLAKE_HALO_GT3|| \
(devid) ==PCI_CHIP_KABYLAKE_SRV_GT3)I verified the PCI IDs against the Spec, looks good to me.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx