x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
From: Zhang Rui <[email protected]>
The SMT siblings value returned by CPUID.1F SMT level EBX differs among CPUs on Intel Hybrid platforms like AlderLake and MeteorLake. It returns 2 for Pcore CPUs which have SMT siblings and returns 1 for Ecore CPUs which do not have SMT siblings.
Today, the CPU boot code sets the global variable smp_num_siblings when every CPU thread is brought up. The last thread to boot will overwrite it with the number of siblings of *that* thread. That last thread to boot will "win". If the thread is a Pcore, smp_num_siblings == 2. If it is an Ecore, smp_num_siblings == 1.
smp_num_siblings describes if the *system* supports SMT. It should specify the maximum number of SMT threads among all cores.
Ensure that smp_num_siblings represents the system-wide maximum number of siblings by always increasing its value. Never allow it to decrease.
On MeteorLake-P platform, this fixes a problem that the Ecore CPUs are not updated in any cpu sibling map because the system is treated as an UP system when probing Ecore CPUs.
Below shows part of the CPU topology information before and after the fix, for both Pcore and Ecore CPU (cpu0 is Pcore, cpu 12 is Ecore).
...
-/sys/devices/system/cpu/cpu0/topology/package_cpus:000fff -/sys/devices/system/cpu/cpu0/topology/package_cpus_list:0-11 +/sys/devices/system/cpu/cpu0/topology/package_cpus:3fffff +/sys/devices/system/cpu/cpu0/topology/package_cpus_list:0-21
...
-/sys/devices/system/cpu/cpu12/topology/package_cpus:001000 -/sys/devices/system/cpu/cpu12/topology/package_cpus_list:12 +/sys/devices/system/cpu/cpu12/topology/package_cpus:3fffff +/sys/devices/system/cpu/cpu12/topology/package_cpus_list:0-21
And this also breaks userspace tools like lscpu
-Core(s) per socket: 1 -Socket(s): 11 +Core(s) per socket: 16 +Socket(s): 1
References: https://lore.kernel.org/lkml/[email protected]
References: https://gitlab.freedesktop.org/drm/intel/-/issues/8317
--- arch/x86/kernel/cpu/topology.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
arch/x86/kernel/cpu/topology.c +3 -2
@@ -79,7 +79,7 @@ int detect_extended_topology_early(struct cpuinfo_x86 *c)* initial apic id, which also represents 32-bit extended x2apic id. */ c->initial_apicid = edx; - smp_num_siblings =LEVEL_MAX_SIBLINGS (ebx); + smp_num_siblings =max_t (int, smp_num_siblings,LEVEL_MAX_SIBLINGS (ebx));#endif return 0 ; }
@@ -109,7 +109,8 @@ int detect_extended_topology(struct cpuinfo_x86 *c)*/ cpuid_count (leaf,SMT_LEVEL , &eax, &ebx, &ecx, &edx); c->initial_apicid = edx; - core_level_siblings = smp_num_siblings =LEVEL_MAX_SIBLINGS (ebx); + core_level_siblings =LEVEL_MAX_SIBLINGS (ebx); + smp_num_siblings =max_t (int, smp_num_siblings,LEVEL_MAX_SIBLINGS (ebx)); core_plus_mask_width = ht_mask_width =BITS_SHIFT_NEXT_LEVEL (eax); die_level_siblings =LEVEL_MAX_SIBLINGS (ebx); pkg_mask_width = die_plus_mask_width =BITS_SHIFT_NEXT_LEVEL (eax);
Signature · 1 line
2.37.2
Saarinen, Jani
Tested-byHi,
Quoted 25 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Imre Deak
Sent: maanantai 27. maaliskuuta 2023 15.11
To: [email protected]
Subject: [Intel-gfx] [core-for-CI] x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platformFrom: Zhang Rui <[email protected]>
The SMT siblings value returned by CPUID.1F SMT level EBX differs among CPUs on Intel Hybrid platforms like AlderLake and MeteorLake.
It returns 2 for Pcore CPUs which have SMT siblings and returns 1 for Ecore CPUs which do not have SMT siblings.Today, the CPU boot code sets the global variable
smp_num_siblingswhen every CPU thread is brought up. The last thread to boot will overwrite it with the number of siblings of *that* thread. That last thread to boot will "win". If the thread is a Pcore,smp_num_siblings== 2. If it is an Ecore,smp_num_siblings== 1.
smp_num_siblingsdescribes if the *system* supports SMT. It should specify the maximum number of SMT threads among all cores.Ensure that
smp_num_siblingsrepresents the system-wide maximum number of siblings by always increasing its value. Never allow it to decrease.
Quoted 6 lines
On MeteorLake-P platform, this fixes a problem that the Ecore CPUs are not updated in any cpu sibling map because the system is treated as an UP system when probing Ecore CPUs.
Below shows part of the CPU topology information before and after the fix, for both Pcore and Ecore CPU (cpu0 is Pcore, cpu 12 is Ecore).
by: https://patchwork.freedesktop.org/series/115601/ trybot series. For this there is https://gitlab.freedesktop.org/drm/intel/-/issues/8317
Br,
Jani
Quoted 61 lines
...
(quoted diff) +4
-4-/sys/devices/system/cpu/cpu0/topology/package_cpus:000fff -/sys/devices/system/cpu/cpu0/topology/package_cpus_list:0-11 +/sys/devices/system/cpu/cpu0/topology/package_cpus:3fffff +/sys/devices/system/cpu/cpu0/topology/package_cpus_list:0-21 -/sys/devices/system/cpu/cpu12/topology/package_cpus:001000 -/sys/devices/system/cpu/cpu12/topology/package_cpus_list:12 +/sys/devices/system/cpu/cpu12/topology/package_cpus:3fffff +/sys/devices/system/cpu/cpu12/topology/package_cpus_list:0-21And this also breaks userspace tools like lscpu
(quoted diff) +2
-2-Core(s) per socket: 1 -Socket(s): 11 +Core(s) per socket: 16 +Socket(s): 1Fixes bbb65d2d365e ("x86: use cpuid vector 0xb when available for detecting cputopology")
Fixes 95f3d39ccf7a ("x86/cpu/topology: Provide
detect_extended_topology_early()")Suggested-by Len Brown <[email protected]>Signed-off-by Zhang Rui <[email protected]>[Imre: resend for core-for-CI]References: https://lore.kernel.org/lkml/20230323015640.27906-1-
[email protected]
References: https://gitlab.freedesktop.org/drm/intel/-/issues/8317Signed-off-by Imre Deak <[email protected]>--- arch/x86/kernel/cpu/topology.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)arch/x86/kernel/cpu/topology.c index renamed from arch/x86/kernel/cpu/topology.c +0
-0
5e868b62a7c4e..0270925fe013b100644arch/x86/kernel/cpu/topology.c +5
-3@@ -79,7 +79,7 @@ int detect_extended_topology_early(struct cpuinfo_x86 *c)* initial apic id, which also represents 32-bit extended x2apic id. */ c->initial_apicid = edx; - smp_num_siblings =LEVEL_MAX_SIBLINGS (ebx); + smp_num_siblings =max_t (int, smp_num_siblings, +LEVEL_MAX_SIBLINGS (ebx));#endif return 0 ; }@@ -109,7 +109,8 @@ int detect_extended_topology(struct cpuinfo_x86 *c)*/ cpuid_count (leaf,SMT_LEVEL , &eax, &ebx, &ecx, &edx); c->initial_apicid = edx; - core_level_siblings = smp_num_siblings =LEVEL_MAX_SIBLINGS (ebx); + core_level_siblings =LEVEL_MAX_SIBLINGS (ebx); + smp_num_siblings =max_t (int, smp_num_siblings, +LEVEL_MAX_SIBLINGS (ebx)); core_plus_mask_width = ht_mask_width =BITS_SHIFT_NEXT_LEVEL (eax); die_level_siblings =LEVEL_MAX_SIBLINGS (ebx); pkg_mask_width = die_plus_mask_width =BITS_SHIFT_NEXT_LEVEL (eax); --2.37.2
[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
URL : https://patchwork.freedesktop.org/series/115661/
State : warning
== Summary ==
Error: dim checkpatch failede89219f0529c x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform -:57: WARNING:BAD_SIGN_OFF: 'Tested-by:' is the preferred signature form #57:
-:57: WARNING:BAD_SIGN_OFF: Unexpected content after email: 'Jani Saarinen <[email protected]> on local MTL setup. Also tested earlier on other CI systems', should be: 'Jani Saarinen <[email protected]> (on local MTL setup. Also tested earlier on other CI systems)' #57:
total: 0 errors, 2 warnings, 0 checks, 17 lines checked
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
URL : https://patchwork.freedesktop.org/series/115661/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_12921 -> Patchwork_115661v1
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_115661v1 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_115661v1, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.html
Participating hosts (37 -> 37)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_115661v1:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-hsw-4770/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw-4770/igt@i915_selftest@[email protected]
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@fbdev@info:
- {bat-kbl-2}: [SKIP][3] ([fdo#109271]) -> [ABORT][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-kbl-2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kbl-2/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_115661v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@lmem0:
- bat-dg2-11: [PASS][5] -> [INCOMPLETE][6] ([i915#6311])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-11/igt@gem_exec_suspend@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-11/igt@gem_exec_suspend@[email protected]
* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][7] -> [ABORT][8] ([i915#4983])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-1/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-1/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-FAIL][9] ([i915#6367] / [i915#7913] / [i915#7996])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@[email protected]
* igt@i915_suspend@basic-s3-without-i915:
- bat-rpls-2: NOTRUN -> [ABORT][10] ([i915#6687] / [i915#7978])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1:
- bat-dg2-8: [PASS][11] -> [FAIL][12] ([i915#7932])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-soraka: [DMESG-FAIL][13] ([i915#5334] / [i915#7872]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@reset:
- bat-rpls-2: [ABORT][15] ([i915#4983] / [i915#7913]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-2/igt@i915_selftest@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6311]: https://gitlab.freedesktop.org/drm/intel/issues/6311
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7872]: https://gitlab.freedesktop.org/drm/intel/issues/7872
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996
Build changes
-------------
* Linux: CI_DRM_12921 -> Patchwork_115661v1
CI-20190529: 20190529
CI_DRM_12921: 3de6040ce9900a94ec626662d5c6a227b37eeb1c @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7221: 4b77c6d85024d22ca521d510f8eee574128fe04f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115661v1: 3de6040ce9900a94ec626662d5c6a227b37eeb1c @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
83d9e76610d5 x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.html
Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
Hi Rui,
after applying your
"x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform"
fix on the drm-tip tree (see the patchwork URL below) the CI tests show some regression on a HSW and a KBL machine (see [2] and [4] below) in the i915 driver. However I think they can't be related to your changes, since on these machines all cores will report the same number of CPU siblings. Could you confirm this and that in general the reported siblings can only vary on platforms with both E and P cores (ADL-P being the first such platform)?
Thanks,
Imre
Quoted 136 lines · Patchwork
== Series Details ==
Series: x86/topology: fix erroneous
smp_num_siblingson Intel Hybrid platform
URL : https://patchwork.freedesktop.org/series/115661/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_12921->Patchwork_115661v1
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_115661v1absolutely need to be verified manually.If you think the reported changes have nothing to do with the changes introduced in
Patchwork_115661v1, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.html
Participating hosts (37 -> 37)
------------------------------No changes in participating hosts
Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_115661v1:### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-hsw-4770/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw-4770/igt@i915_selftest@[email protected]#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@fbdev@info:
- {bat-kbl-2}: [SKIP][3] ([fdo#109271]) -> [ABORT][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-kbl-2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kbl-2/igt@[email protected]Known issues
------------Here are the changes found in
Patchwork_115661v1that come from known issues:### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@lmem0:
- bat-dg2-11: [PASS][5] -> [INCOMPLETE][6] ([i915#6311])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-11/igt@gem_exec_suspend@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-11/igt@gem_exec_suspend@[email protected]* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][7] -> [ABORT][8] ([i915#4983])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-1/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-1/igt@i915_selftest@[email protected]* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-FAIL][9] ([i915#6367] / [i915#7913] / [i915#7996])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@[email protected]* igt@i915_suspend@basic-s3-without-i915:
- bat-rpls-2: NOTRUN -> [ABORT][10] ([i915#6687] / [i915#7978])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@[email protected]* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1:
- bat-dg2-8: [PASS][11] -> [FAIL][12] ([i915#7932])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-soraka: [DMESG-FAIL][13] ([i915#5334] / [i915#7872]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html* igt@i915_selftest@live@reset:
- bat-rpls-2: [ABORT][15] ([i915#4983] / [i915#7913]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-2/igt@i915_selftest@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@[email protected]{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6311]: https://gitlab.freedesktop.org/drm/intel/issues/6311
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7872]: https://gitlab.freedesktop.org/drm/intel/issues/7872
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996Build changes
-------------* Linux:
CI_DRM_12921->Patchwork_115661v1CI-20190529: 20190529
CI_DRM_12921:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux
IGT_7221:4b77c6d85024d22ca521d510f8eee574128fe04f@ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115661v1:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux### Linux commits
83d9e76610d5x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platform== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.html
Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
Hi, Imre,
Thanks for raising this.
Quoted 6 lines · Imre Deak
Hi Rui,
after applying your
"x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platform"
Quoted 7 lines
fix on the drm-tip tree (see the patchwork URL below) the CI tests show
some regression on a HSW and a KBL machine (see [2] and [4] below) in the i915 driver. However I think they can't be related to your changes,
since on these machines all cores will report the same number of CPU siblings.
Right.
Quoted 4 lines
Could you confirm this and that in general the reported
siblings can only vary on platforms with both E and P cores (ADL-P being
the first such platform)?
Right.
I don't think the patch could bring any change related. It only affects hybrid platforms.
Thanks,
rui
Quoted 179 lines
Thanks,
ImreQuoted 174 lines · Patchwork
== Series Details ==
Series: x86/topology: fix erroneous
smp_num_siblingson Intel Hybrid platform
URL : https://patchwork.freedesktop.org/series/115661/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_12921->Patchwork_115661v1
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_115661v1absolutely
need to be
verified manually.If you think the reported changes have nothing to do with the
changes
introduced inPatchwork_115661v1, please notify your bug team to
allow them
to document this new failure mode, which will reduce false
positives in CI.External URL:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.htmlParticipating hosts (37 -> 37)
------------------------------No changes in participating hosts
Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_115661v1:### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][1] -> [DMESG-WARN][2]
[1]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-hsw-4770/igt@i915_selftest@[email protected]
[2]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw-4770/igt@i915_selftest@[email protected]#### Suppressed ####
The following results come from untrusted machines, tests, or
statuses.
They do not affect the overall result.* igt@fbdev@info:
- {bat-kbl-2}: [SKIP][3] ([fdo#109271]) -> [ABORT][4]
[3]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-kbl-2/igt@[email protected]
[4]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kbl-2/igt@[email protected]Known issues
------------Here are the changes found in
Patchwork_115661v1that come from
known issues:### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@lmem0:
- bat-dg2-11: [PASS][5] -> [INCOMPLETE][6]
([i915#6311])
[5]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-11/igt@gem_exec_suspend@[email protected]
[6]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-11/igt@gem_exec_suspend@[email protected]* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][7] -> [ABORT][8] ([i915#4983])
[7]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-1/igt@i915_selftest@[email protected]
[8]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-1/igt@i915_selftest@[email protected]* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-FAIL][9] ([i915#6367] /
[i915#7913] / [i915#7996])
[9]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@[email protected]* igt@i915_suspend@basic-s3-without-i915:
- bat-rpls-2: NOTRUN -> [ABORT][10] ([i915#6687] /
[i915#7978])
[10]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@[email protected]* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-
dp-1:
- bat-dg2-8: [PASS][11] -> [FAIL][12] ([i915#7932])
[11]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[12]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-soraka: [DMESG-FAIL][13] ([i915#5334] /
[i915#7872]) -> [PASS][14]
[13]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
[14]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html* igt@i915_selftest@live@reset:
- bat-rpls-2: [ABORT][15] ([i915#4983] / [i915#7913])
-> [PASS][16]
[15]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-2/igt@i915_selftest@[email protected]
[16]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@[email protected]{name}: This element is suppressed. This means it is ignored when
computing
the status of the difference (SUCCESS, WARNING, or
FAILURE).[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6311]: https://gitlab.freedesktop.org/drm/intel/issues/6311
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7872]: https://gitlab.freedesktop.org/drm/intel/issues/7872
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996Build changes
-------------* Linux:
CI_DRM_12921->Patchwork_115661v1CI-20190529: 20190529
CI_DRM_12921:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux
IGT_7221:4b77c6d85024d22ca521d510f8eee574128fe04f@
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115661v1:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux### Linux commits
83d9e76610d5x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platform== Logs ==
For more details see:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.html
Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
Quoted 28 lines · Zhang Rui
Hi, Imre,
Thanks for raising this.
Quoted 6 lines · Imre Deak
Hi Rui,
after applying your
"x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platform"Quoted 9 lines
fix on the drm-tip tree (see the patchwork URL below) the CI tests show
some regression on a HSW and a KBL machine (see [2] and [4] below) in
the i915 driver. However I think they can't be related to your changes,
since on these machines all cores will report the same number of CPU
siblings.Right.
Quoted 4 lines
Could you confirm this and that in general the reported
siblings can only vary on platforms with both E and P cores (ADL-P being
the first such platform)?
Quoted 4 lines
Right.
I don't think the patch could bring any change related. It only affects hybrid platforms.
Is this topology fix patch the only patch applied? or together with some other patches?
I can hardly imagine that the fix patch can trigger such issues, so I suspect they are intermittent issues. say
is the regression 100% reproducible?
does the warning/failure ever show without the patch?
BTW, I just happened to see this thread
https://lore.kernel.org/all/DM8PR11MB565580BCF44661B6A392F0CEE08B9@DM8PR11MB5655.namprd11.prod.outlook.com/
If the problem on hand has been verified to be not related with the topology fix, can we update in this thread as well?
https://lore.kernel.org/all/[email protected]/
This is another issue that the patch fixes. And it's better to have a Buglink/Tested-by tag in the commit.
thanks,
rui
Quoted 197 lines
Thanks,
ruiQuoted 194 lines
Thanks,
ImreQuoted 190 lines · Patchwork
== Series Details ==
Series: x86/topology: fix erroneous
smp_num_siblingson Intel Hybrid platform
URL : https://patchwork.freedesktop.org/series/115661/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_12921->Patchwork_115661v1
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_115661v1
absolutely
need to be
verified manually.If you think the reported changes have nothing to do with the
changes
introduced inPatchwork_115661v1, please notify your bug team
to
allow them
to document this new failure mode, which will reduce false
positives in CI.External URL:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.htmlParticipating hosts (37 -> 37)
------------------------------No changes in participating hosts
Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_115661v1:### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][1] -> [DMESG-WARN][2]
[1]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-hsw-4770/igt@i915_selftest@[email protected]
[2]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw-4770/igt@i915_selftest@[email protected]#### Suppressed ####
The following results come from untrusted machines, tests, or
statuses.
They do not affect the overall result.* igt@fbdev@info:
- {bat-kbl-2}: [SKIP][3] ([fdo#109271]) -> [ABORT][4]
[3]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-kbl-2/igt@[email protected]
[4]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kbl-2/igt@[email protected]Known issues
------------Here are the changes found in
Patchwork_115661v1that come from
known issues:### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@lmem0:
- bat-dg2-11: [PASS][5] -> [INCOMPLETE][6]
([i915#6311])
[5]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-11/igt@gem_exec_suspend@[email protected]
[6]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-11/igt@gem_exec_suspend@[email protected]* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][7] -> [ABORT][8] ([i915#4983])
[7]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-1/igt@i915_selftest@[email protected]
[8]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-1/igt@i915_selftest@[email protected]* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-FAIL][9] ([i915#6367]
/
[i915#7913] / [i915#7996])
[9]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@[email protected]* igt@i915_suspend@basic-s3-without-i915:
- bat-rpls-2: NOTRUN -> [ABORT][10] ([i915#6687] /
[i915#7978])
[10]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@[email protected]* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-
dp-1:
- bat-dg2-8: [PASS][11] -> [FAIL][12] ([i915#7932])
[11]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[12]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-soraka: [DMESG-FAIL][13] ([i915#5334] /
[i915#7872]) -> [PASS][14]
[13]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
[14]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html* igt@i915_selftest@live@reset:
- bat-rpls-2: [ABORT][15] ([i915#4983] / [i915#7913])
-> [PASS][16]
[15]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-2/igt@i915_selftest@[email protected]
[16]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@[email protected]{name}: This element is suppressed. This means it is ignored
when
computing
the status of the difference (SUCCESS, WARNING, or
FAILURE).[fdo#109271]:
https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#4983]:
https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]:
https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6311]:
https://gitlab.freedesktop.org/drm/intel/issues/6311
[i915#6367]:
https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]:
https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7872]:
https://gitlab.freedesktop.org/drm/intel/issues/7872
[i915#7913]:
https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]:
https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7978]:
https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7996]:
https://gitlab.freedesktop.org/drm/intel/issues/7996Build changes
-------------* Linux:
CI_DRM_12921->Patchwork_115661v1CI-20190529: 20190529
CI_DRM_12921:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux
IGT_7221:4b77c6d85024d22ca521d510f8eee574128fe04f@
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115661v1:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux### Linux commits
83d9e76610d5x86/topology: fix erroneoussmp_num_siblingson Intel
Hybrid platform== Logs ==
For more details see:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.html
Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
Hi.
Quoted 32 lines
-----Original Message-----
From: Zhang, Rui <[email protected]>
Sent: tiistai 28. maaliskuuta 2023 4.57
To: Deak, Imre <[email protected]>
Cc: Saarinen, Jani <[email protected]>; [email protected]
Subject: Re: ✗ Fi.CI.BAT: failure for x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platformQuoted 23 lines · Zhang Rui
Hi, Imre,
Thanks for raising this.
Quoted 11 lines · Imre Deak
Hi Rui,
after applying your
"x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platform"fix on the drm-tip tree (see the patchwork URL below) the CI tests show some regression on a HSW and a KBL machine (see [2] and [4] below) in the i915 driver. However I think they can't be related to your changes, since on these machines all cores will report the same number of CPU siblings.
Right.
Quoted 3 lines
Could you confirm this and that in general the reported siblings
can only vary on platforms with both E and P cores (ADL-P being the first such platform)?
Quoted 6 lines
Quoted 4 lines
Right.
I don't think the patch could bring any change related. It only affects hybrid platforms.
Is this topology fix patch the only patch applied? or together with some other patches?
This only.
Quoted 3 lines
I can hardly imagine that the fix patch can trigger such issues, so I suspect they are intermittent issues. say is the regression 100% reproducible?
This is not regression. I assume drm-tip misses this patch (as was not part of 6.3rc yet.)
Quoted 1 line
does the warning/failure ever show without the patch?
Yes, On our local (3) system's seen on all.
Quoted 225 lines
BTW, I just happened to see this thread
https://lore.kernel.org/all/DM8PR11MB565580BCF44661B6A392F0CEE08B9@DM8P
R11MB5655.namprd11.prod.outlook.com/
If the problem on hand has been verified to be not related with the topology fix, can we update in this thread as well?
https://lore.kernel.org/all/[email protected]/
This is another issue that the patch fixes. And it's better to have a Buglink/Tested-by tag in the commit.thanks,
ruiQuoted 58 lines
Thanks,
ruiQuoted 55 lines
Thanks,
ImreQuoted 51 lines · Patchwork
== Series Details ==
Series: x86/topology: fix erroneous
smp_num_siblingson Intel Hybrid platform
URL : https://patchwork.freedesktop.org/series/115661/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_12921->Patchwork_115661v1
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_115661v1
absolutely need to be
verified manually.If you think the reported changes have nothing to do with the
changes
introduced inPatchwork_115661v1, please notify your bug team to
allow them
to document this new failure mode, which will reduce false
positives in CI.External URL:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.
htmlParticipating hosts (37 -> 37)
------------------------------No changes in participating hosts
Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_115661v1:### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][1] -> [DMESG-WARN][2]
[1]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-hsw-4770/igt@i915_selftest@[email protected]
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
[2]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw
-4770/igt@i915_selftest@[email protected]#### Suppressed ####
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
The following results come from untrusted machines, tests, or
statuses.
They do not affect the overall result.* igt@fbdev@info:
- {bat-kbl-2}: [SKIP][3] ([fdo#109271]) -> [ABORT][4]
[3]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-kbl-2/igt@[email protected]
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
[4]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kb
l-2/igt@[email protected]Known issues
------------Here are the changes found in
Patchwork_115661v1that come from
known issues:### IGT changes ###
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@lmem0:
- bat-dg2-11: [PASS][5] -> [INCOMPLETE][6]
([i915#6311])
[5]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-11/igt@gem_exec_suspend@[email protected]
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
[6]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg
2-11/igt@gem_exec_suspend@[email protected]* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][7] -> [ABORT][8] ([i915#4983])
[7]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-1/igt@i915_selftest@[email protected]
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
[8]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rp
ls-1/igt@i915_selftest@[email protected]* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-FAIL][9] ([i915#6367]
/
[i915#7913] / [i915#7996])
[9]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rp
ls-2/igt@i915_selftest@[email protected]* igt@i915_suspend@basic-s3-without-i915:
- bat-rpls-2: NOTRUN -> [ABORT][10] ([i915#6687] /
[i915#7978])
[10]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rp
ls-2/igt@[email protected]Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-
dp-1:
- bat-dg2-8: [PASS][11] -> [FAIL][12] ([i915#7932])
[11]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
[12]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg
2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-d p-1.htmlQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-soraka: [DMESG-FAIL][13] ([i915#5334] /
[i915#7872]) -> [PASS][14]
[13]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
[14]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-kbl
-soraka/igt@i915_selftest@live@gt_heartbeat.html* igt@i915_selftest@live@reset:
- bat-rpls-2: [ABORT][15] ([i915#4983] / [i915#7913])
-> [PASS][16]
[15]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-2/igt@i915_selftest@[email protected]
Quoted 58 lines
Quoted 58 lines
Quoted 58 lines
[16]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rp
ls-2/igt@i915_selftest@[email protected]{name}: This element is suppressed. This means it is ignored
when computing
the status of the difference (SUCCESS, WARNING, or
FAILURE).[fdo#109271]:
https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#4983]:
https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]:
https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6311]:
https://gitlab.freedesktop.org/drm/intel/issues/6311
[i915#6367]:
https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]:
https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7872]:
https://gitlab.freedesktop.org/drm/intel/issues/7872
[i915#7913]:
https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]:
https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7978]:
https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7996]:
https://gitlab.freedesktop.org/drm/intel/issues/7996Build changes
-------------* Linux:
CI_DRM_12921->Patchwork_115661v1CI-20190529: 20190529
CI_DRM_12921:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux
IGT_7221:4b77c6d85024d22ca521d510f8eee574128fe04f@
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115661v1:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux### Linux commits
83d9e76610d5x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platform== Logs ==
For more details see:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.
html
Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
Hi,
Quoted 47 lines
-----Original Message-----
From: Saarinen, Jani
Sent: tiistai 28. maaliskuuta 2023 9.35
To: Zhang, Rui <[email protected]>; Deak, Imre <[email protected]>
Cc: [email protected]
Subject: RE: ✗ Fi.CI.BAT: failure for x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platformHi.
Quoted 38 lines
-----Original Message-----
From: Zhang, Rui <[email protected]>
Sent: tiistai 28. maaliskuuta 2023 4.57
To: Deak, Imre <[email protected]>
Cc: Saarinen, Jani <[email protected]>; [email protected]
Subject: Re: ✗ Fi.CI.BAT: failure for x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platformQuoted 27 lines · Zhang Rui
Hi, Imre,
Thanks for raising this.
Quoted 11 lines · Imre Deak
Hi Rui,
after applying your
"x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platform"fix on the drm-tip tree (see the patchwork URL below) the CI tests show some regression on a HSW and a KBL machine (see [2] and [4] below) in the i915 driver. However I think they can't be related to your changes, since on these machines all cores will report the same number of CPU siblings.
Right.
Quoted 3 lines
Could you confirm this and that in general the reported siblings
can only vary on platforms with both E and P cores (ADL-P being the first such platform)?Right.
I don't think the patch could bring any change related. It only affects hybrid platforms.
Quoted 8 lines
Quoted 1 line
Is this topology fix patch the only patch applied? or together with some other
patches?
This only.Quoted 3 lines
I can hardly imagine that the fix patch can trigger such issues, so I suspect they are intermittent issues. say is the regression 100% reproducible?
This is not regression. I assume drm-tip misses this patch (as was not part of 6.3rc yet.)
Ignore this comment, badly read mail only. I assume it is hard to day as this test is done on CI (pre-merge) Let Imre to comment here.
Quoted 3 lines
Quoted 2 lines
does the warning/failure ever show without the patch?
Yes, On our local (3) system's seen on all.
Again. Ignore this too.
Quoted 232 lines
Quoted 3 lines
BTW, I just happened to see this thread
https://lore.kernel.org/all/DM8PR11MB565580BCF44661B6A392F0CEE08B9@DM8
Quoted 228 lines
P
R11MB5655.namprd11.prod.outlook.com/
If the problem on hand has been verified to be not related with the topology fix, can we update in this thread as well?
https://lore.kernel.org/all/[email protected]
/ This is another issue that the patch fixes. And it's better to have a Buglink/Tested-by tag in the commit.thanks,
ruiQuoted 58 lines
Thanks,
ruiQuoted 55 lines
Thanks,
ImreQuoted 51 lines · Patchwork
== Series Details ==
Series: x86/topology: fix erroneous
smp_num_siblingson Intel Hybrid platform
URL : https://patchwork.freedesktop.org/series/115661/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_12921->Patchwork_115661v1
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_115661v1
absolutely need to be
verified manually.If you think the reported changes have nothing to do with the
changes
introduced inPatchwork_115661v1, please notify your bug team
to allow them
to document this new failure mode, which will reduce false
positives in CI.External URL:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.
htmlParticipating hosts (37 -> 37)
------------------------------No changes in participating hosts
Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_115661v1:### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][1] -> [DMESG-WARN][2]
[1]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-hsw-4770/igt@i915_selftest@[email protected]
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
[2]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-h
sw -4770/igt@i915_selftest@[email protected]#### Suppressed ####
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
The following results come from untrusted machines, tests, or
statuses.
They do not affect the overall result.* igt@fbdev@info:
- {bat-kbl-2}: [SKIP][3] ([fdo#109271]) -> [ABORT][4]
[3]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-kbl-2/igt@[email protected]
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
[4]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-
kb
l-2/igt@[email protected]Known issues
------------Here are the changes found in
Patchwork_115661v1that come
from known issues:### IGT changes ###
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@lmem0:
- bat-dg2-11: [PASS][5] -> [INCOMPLETE][6]
([i915#6311])
[5]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-11/igt@gem_exec_suspend@[email protected]
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
[6]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-
dg 2-11/igt@gem_exec_suspend@[email protected]* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][7] -> [ABORT][8] ([i915#4983])
[7]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-1/igt@i915_selftest@[email protected]
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
[8]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-
rp ls-1/igt@i915_selftest@[email protected]* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-FAIL][9] ([i915#6367]
/
[i915#7913] / [i915#7996])
[9]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-
rp ls-2/igt@i915_selftest@[email protected]* igt@i915_suspend@basic-s3-without-i915:
- bat-rpls-2: NOTRUN -> [ABORT][10] ([i915#6687] /
[i915#7978])
[10]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-
rp ls-2/igt@[email protected]Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
*
igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d- dp-1:
- bat-dg2-8: [PASS][11] -> [FAIL][12] ([i915#7932])
[11]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected] ml
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
[12]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-
dg 2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d -d
p-1.htmlQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-soraka: [DMESG-FAIL][13] ([i915#5334] /
[i915#7872]) -> [PASS][14]
[13]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
[14]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-k
bl -soraka/igt@i915_selftest@live@gt_heartbeat.html* igt@i915_selftest@live@reset:
- bat-rpls-2: [ABORT][15] ([i915#4983] / [i915#7913])
-> [PASS][16]
[15]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-2/igt@i915_selftest@[email protected]
Quoted 58 lines
Quoted 58 lines
Quoted 58 lines
[16]:https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-
rp ls-2/igt@i915_selftest@[email protected]{name}: This element is suppressed. This means it is ignored
when computing
the status of the difference (SUCCESS, WARNING, or
FAILURE).[fdo#109271]:
https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#4983]:
https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]:
https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6311]:
https://gitlab.freedesktop.org/drm/intel/issues/6311
[i915#6367]:
https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]:
https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7872]:
https://gitlab.freedesktop.org/drm/intel/issues/7872
[i915#7913]:
https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]:
https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7978]:
https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7996]:
https://gitlab.freedesktop.org/drm/intel/issues/7996Build changes
-------------* Linux:
CI_DRM_12921->Patchwork_115661v1CI-20190529: 20190529
CI_DRM_12921:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux
IGT_7221:4b77c6d85024d22ca521d510f8eee574128fe04f@
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115661v1:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux### Linux commits
83d9e76610d5x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platform== Logs ==
For more details see:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.
html
Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
In reply to Zhang, RuiQuoted 19 lines · Rui
Quoted 18 lines · Zhang Rui
Hi, Imre,
Thanks for raising this.
Quoted 10 lines · Imre Deak
Hi Rui,
after applying your
"x86/topology: fix erroneoussmp_num_siblingson Intel Hybrid platform"fix on the drm-tip tree (see the patchwork URL below) the CI tests show some regression on a HSW and a KBL machine (see [2] and [4] below) in the i915 driver. However I think they can't be related to your changes, since on these machines all cores will report the same number of CPU siblings.
Right.
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Could you confirm this and that in general the reported siblings can only vary on platforms with both E and P cores (ADL-P being the first such platform)?
Right.
I don't think the patch could bring any change related. It only affects hybrid platforms.
Ok, thanks for confirming.
Quoted 1 line
Is this topology fix patch the only patch applied?
Yes.
Quoted 5 lines
or together with some other patches?
I can hardly imagine that the fix patch can trigger such issues, so I suspect they are intermittent issues. say
is the regression 100% reproducible?
No, the problems reported by CI here happened already earlier, before this patch was applied, so they seem to be sporadic. I don't think either that they are related to the fix; nevertheless wanted to get the above clarification from you.
Quoted 1 line
does the warning/failure ever show without the patch?
Yes, they also happened in CI builds before the patch was applied.
Quoted 4 lines
BTW, I just happened to see this thread
https://lore.kernel.org/all/DM8PR11MB565580BCF44661B6A392F0CEE08B9@DM8PR11MB5655.namprd11.prod.outlook.com/
If the problem on hand has been verified to be not related with the topology fix, can we update in this thread as well?
This email is in the same thread as the above message.
Quoted 2 lines
https://lore.kernel.org/all/[email protected]/
This is another issue that the patch fixes.
I added the above link to the patch with a References: trailer.
Quoted 1 line
And it's better to have a Buglink/Tested-by tag in the commit.
The patch has a link to a bug Jani opened, and his Tested-by can be added while the fix is applied.
Thanks,
Imre
Quoted 200 lines
thanks,
ruiQuoted 197 lines
Thanks,
ruiQuoted 194 lines
Thanks,
ImreQuoted 190 lines · Patchwork
== Series Details ==
Series: x86/topology: fix erroneous
smp_num_siblingson Intel Hybrid platform
URL : https://patchwork.freedesktop.org/series/115661/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_12921->Patchwork_115661v1
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_115661v1
absolutely
need to be
verified manually.If you think the reported changes have nothing to do with the
changes
introduced inPatchwork_115661v1, please notify your bug team
to
allow them
to document this new failure mode, which will reduce false
positives in CI.External URL:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.htmlParticipating hosts (37 -> 37)
------------------------------No changes in participating hosts
Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_115661v1:### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][1] -> [DMESG-WARN][2]
[1]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-hsw-4770/igt@i915_selftest@[email protected]
[2]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw-4770/igt@i915_selftest@[email protected]#### Suppressed ####
The following results come from untrusted machines, tests, or
statuses.
They do not affect the overall result.* igt@fbdev@info:
- {bat-kbl-2}: [SKIP][3] ([fdo#109271]) -> [ABORT][4]
[3]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-kbl-2/igt@[email protected]
[4]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kbl-2/igt@[email protected]Known issues
------------Here are the changes found in
Patchwork_115661v1that come from
known issues:### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@lmem0:
- bat-dg2-11: [PASS][5] -> [INCOMPLETE][6]
([i915#6311])
[5]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-11/igt@gem_exec_suspend@[email protected]
[6]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-11/igt@gem_exec_suspend@[email protected]* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][7] -> [ABORT][8] ([i915#4983])
[7]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-1/igt@i915_selftest@[email protected]
[8]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-1/igt@i915_selftest@[email protected]* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-FAIL][9] ([i915#6367]
/
[i915#7913] / [i915#7996])
[9]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@[email protected]* igt@i915_suspend@basic-s3-without-i915:
- bat-rpls-2: NOTRUN -> [ABORT][10] ([i915#6687] /
[i915#7978])
[10]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@[email protected]* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-
dp-1:
- bat-dg2-8: [PASS][11] -> [FAIL][12] ([i915#7932])
[11]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[12]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-soraka: [DMESG-FAIL][13] ([i915#5334] /
[i915#7872]) -> [PASS][14]
[13]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
[14]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html* igt@i915_selftest@live@reset:
- bat-rpls-2: [ABORT][15] ([i915#4983] / [i915#7913])
-> [PASS][16]
[15]:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12921/bat-rpls-2/igt@i915_selftest@[email protected]
[16]:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@[email protected]{name}: This element is suppressed. This means it is ignored
when
computing
the status of the difference (SUCCESS, WARNING, or
FAILURE).[fdo#109271]:
https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#4983]:
https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]:
https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6311]:
https://gitlab.freedesktop.org/drm/intel/issues/6311
[i915#6367]:
https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]:
https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7872]:
https://gitlab.freedesktop.org/drm/intel/issues/7872
[i915#7913]:
https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]:
https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7978]:
https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7996]:
https://gitlab.freedesktop.org/drm/intel/issues/7996Build changes
-------------* Linux:
CI_DRM_12921->Patchwork_115661v1CI-20190529: 20190529
CI_DRM_12921:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux
IGT_7221:4b77c6d85024d22ca521d510f8eee574128fe04f@
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115661v1:3de6040ce9900a94ec626662d5c6a227b37eeb1c@git://anongit.freedesktop.org/gfx-ci/linux### Linux commits
83d9e76610d5x86/topology: fix erroneoussmp_num_siblingson Intel
Hybrid platform== Logs ==
For more details see:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/index.html
[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2)
URL : https://patchwork.freedesktop.org/series/115661/
State : warning
== Summary ==
Error: dim checkpatch failed3daf24e07285 x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform -:57: WARNING:BAD_SIGN_OFF: 'Tested-by:' is the preferred signature form #57:
-:57: WARNING:BAD_SIGN_OFF: Unexpected content after email: 'Jani Saarinen <[email protected]> on local MTL setup. Also tested earlier on other CI systems', should be: 'Jani Saarinen <[email protected]> (on local MTL setup. Also tested earlier on other CI systems)' #57:
total: 0 errors, 2 warnings, 0 checks, 17 lines checked
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2)
URL : https://patchwork.freedesktop.org/series/115661/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12923 -> Patchwork_115661v2
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/index.html
Participating hosts (36 -> 36)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in Patchwork_115661v2 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@guc:
- bat-rpls-2: [PASS][1] -> [DMESG-WARN][2] ([i915#7852])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/bat-rpls-2/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/bat-rpls-2/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@requests:
- bat-rpls-1: [PASS][3] -> [ABORT][4] ([i915#7911] / [i915#7982])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/bat-rpls-1/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/bat-rpls-1/igt@i915_selftest@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-dg2-11: NOTRUN -> [SKIP][5] ([i915#7828])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/bat-dg2-11/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][6] ([i915#5354])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/bat-dg2-11/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_lrc:
- bat-dg2-11: [INCOMPLETE][7] ([i915#7609] / [i915#7913]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/bat-dg2-11/igt@i915_selftest@live@gt_lrc.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/bat-dg2-11/igt@i915_selftest@live@gt_lrc.html
* igt@kms_pipe_crc_basic@nonblocking-crc@pipe-c-dp-1:
- bat-dg2-8: [FAIL][9] ([i915#7932]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
#### Warnings ####
* igt@i915_selftest@live@slpc:
- bat-rpls-2: [DMESG-FAIL][11] ([i915#6367] / [i915#7913] / [i915#7996]) -> [DMESG-FAIL][12] ([i915#6997] / [i915#7913])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/bat-rpls-2/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/bat-rpls-2/igt@i915_selftest@[email protected]
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7609]: https://gitlab.freedesktop.org/drm/intel/issues/7609
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7852]: https://gitlab.freedesktop.org/drm/intel/issues/7852
[i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7982]: https://gitlab.freedesktop.org/drm/intel/issues/7982
[i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996
Build changes
-------------
* Linux: CI_DRM_12923 -> Patchwork_115661v2
CI-20190529: 20190529
CI_DRM_12923: cdd32ac83137835a85bad4ca4b4751ea90960e72 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7221: 4b77c6d85024d22ca521d510f8eee574128fe04f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115661v2: cdd32ac83137835a85bad4ca4b4751ea90960e72 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
4543e0fc055b x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2)
URL : https://patchwork.freedesktop.org/series/115661/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12923_full -> Patchwork_115661v2_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in Patchwork_115661v2_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_suspend@forcewake:
- shard-apl: [PASS][1] -> [ABORT][2] ([i915#180])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/shard-apl1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-apl2/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-cpu:
- shard-snb: NOTRUN -> [SKIP][3] ([fdo#109271]) +62 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-snb5/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-cpu.html
#### Possible fixes ####
* igt@gem_eio@hibernate:
- {shard-dg1}: [ABORT][4] ([i915#7975]) -> [PASS][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/shard-dg1-14/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-dg1-15/igt@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][6] ([i915#2842]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/shard-glk2/igt@gem_exec_fair@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-glk6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-apl: [FAIL][8] ([i915#2842]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/shard-apl4/igt@gem_exec_fair@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-apl1/igt@gem_exec_fair@[email protected]
* igt@i915_pm_rps@reset:
- shard-snb: [INCOMPLETE][10] ([i915#7790]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/shard-snb4/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-snb5/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [FAIL][12] ([i915#2346]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/shard-glk2/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-glk8/igt@[email protected]
* igt@kms_cursor_legacy@forked-move@pipe-b:
- {shard-dg1}: [INCOMPLETE][14] ([i915#8011]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12923/shard-dg1-14/igt@kms_cursor_legacy@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-dg1-16/igt@kms_cursor_legacy@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3938]: https://gitlab.freedesktop.org/drm/intel/issues/3938
[i915#4036]: https://gitlab.freedesktop.org/drm/intel/issues/4036
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4818]: https://gitlab.freedesktop.org/drm/intel/issues/4818
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4854]: https://gitlab.freedesktop.org/drm/intel/issues/4854
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5431]: https://gitlab.freedesktop.org/drm/intel/issues/5431
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7790]: https://gitlab.freedesktop.org/drm/intel/issues/7790
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
[i915#8308]: https://gitlab.freedesktop.org/drm/intel/issues/8308
Build changes
-------------
* Linux: CI_DRM_12923 -> Patchwork_115661v2
CI-20190529: 20190529
CI_DRM_12923: cdd32ac83137835a85bad4ca4b4751ea90960e72 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7221: 4b77c6d85024d22ca521d510f8eee574128fe04f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115661v2: cdd32ac83137835a85bad4ca4b4751ea90960e72 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/index.html
Jani Nikula
AppliedQuoted 49 lines · Imre Deak
From: Zhang Rui <[email protected]>
The SMT siblings value returned by CPUID.1F SMT level EBX differs among CPUs on Intel Hybrid platforms like AlderLake and MeteorLake. It returns 2 for Pcore CPUs which have SMT siblings and returns 1 for Ecore CPUs which do not have SMT siblings.
Today, the CPU boot code sets the global variable
smp_num_siblingswhen every CPU thread is brought up. The last thread to boot will overwrite it with the number of siblings of *that* thread. That last thread to boot will "win". If the thread is a Pcore,smp_num_siblings== 2. If it is an Ecore,smp_num_siblings== 1.
smp_num_siblingsdescribes if the *system* supports SMT. It should specify the maximum number of SMT threads among all cores.Ensure that
smp_num_siblingsrepresents the system-wide maximum number of siblings by always increasing its value. Never allow it to decrease.On MeteorLake-P platform, this fixes a problem that the Ecore CPUs are not updated in any cpu sibling map because the system is treated as an UP system when probing Ecore CPUs.
Below shows part of the CPU topology information before and after the fix, for both Pcore and Ecore CPU (cpu0 is Pcore, cpu 12 is Ecore).
...(quoted diff) +4
-4-/sys/devices/system/cpu/cpu0/topology/package_cpus:000fff -/sys/devices/system/cpu/cpu0/topology/package_cpus_list:0-11 +/sys/devices/system/cpu/cpu0/topology/package_cpus:3fffff +/sys/devices/system/cpu/cpu0/topology/package_cpus_list:0-21 -/sys/devices/system/cpu/cpu12/topology/package_cpus:001000 -/sys/devices/system/cpu/cpu12/topology/package_cpus_list:12 +/sys/devices/system/cpu/cpu12/topology/package_cpus:3fffff +/sys/devices/system/cpu/cpu12/topology/package_cpus_list:0-21And this also breaks userspace tools like lscpu
(quoted diff) +2
-2-Core(s) per socket: 1 -Socket(s): 11 +Core(s) per socket: 16 +Socket(s): 1Fixes bbb65d2d365e ("x86: use cpuid vector 0xb when available for detecting cpu topology")Fixes 95f3d39ccf7a ("x86/cpu/topology: Provide detect_extended_topology_early()")Suggested-by Len Brown <[email protected]>Signed-off-by Zhang Rui <[email protected]>[Imre: resend for core-for-CI]
Quoted 3 lines
References: https://lore.kernel.org/lkml/[email protected]
References: https://gitlab.freedesktop.org/drm/intel/-/issues/8317Signed-off-by Imre Deak <[email protected]>
Pushed to topic/core-for-CI as a stopgap measure.
BR,
Jani.
Quoted 27 lines
--- arch/x86/kernel/cpu/topology.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)arch/x86/kernel/cpu/topology.c +3
-2@@ -79,7 +79,7 @@ int detect_extended_topology_early(struct cpuinfo_x86 *c)* initial apic id, which also represents 32-bit extended x2apic id. */ c->initial_apicid = edx; - smp_num_siblings =LEVEL_MAX_SIBLINGS (ebx); + smp_num_siblings =max_t (int, smp_num_siblings,LEVEL_MAX_SIBLINGS (ebx));#endif return 0 ; }@@ -109,7 +109,8 @@ int detect_extended_topology(struct cpuinfo_x86 *c)*/ cpuid_count (leaf,SMT_LEVEL , &eax, &ebx, &ecx, &edx); c->initial_apicid = edx; - core_level_siblings = smp_num_siblings =LEVEL_MAX_SIBLINGS (ebx); + core_level_siblings =LEVEL_MAX_SIBLINGS (ebx); + smp_num_siblings =max_t (int, smp_num_siblings,LEVEL_MAX_SIBLINGS (ebx)); core_plus_mask_width = ht_mask_width =BITS_SHIFT_NEXT_LEVEL (eax); die_level_siblings =LEVEL_MAX_SIBLINGS (ebx); pkg_mask_width = die_plus_mask_width =BITS_SHIFT_NEXT_LEVEL (eax);
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center