All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
@ 2023-03-27 12:11 Imre Deak
  2023-03-27 12:46 ` Saarinen, Jani
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Imre Deak @ 2023-03-27 12:11 UTC (permalink / raw)
  To: intel-gfx

From: Zhang Rui <rui.zhang@intel.com>

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

CC: stable@kernel.org
Fixes: 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 <len.brown@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
[Imre: resend for core-for-CI]
References: https://lore.kernel.org/lkml/20230323015640.27906-1-rui.zhang@intel.com
References: https://gitlab.freedesktop.org/drm/intel/-/issues/8317
Signed-off-by: Imre Deak <imre.deak@intel.com>
---
 arch/x86/kernel/cpu/topology.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/cpu/topology.c b/arch/x86/kernel/cpu/topology.c
index 5e868b62a7c4e..0270925fe013b 100644
--- a/arch/x86/kernel/cpu/topology.c
+++ b/arch/x86/kernel/cpu/topology.c
@@ -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


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
  2023-03-27 12:11 [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform Imre Deak
@ 2023-03-27 12:46 ` Saarinen, Jani
  2023-03-27 18:45 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Saarinen, Jani @ 2023-03-27 12:46 UTC (permalink / raw)
  To: Deak, Imre, intel-gfx

Hi, 
> -----Original Message-----
> From: Intel-gfx <intel-gfx-bounces@lists.freedesktop.org> On Behalf Of Imre Deak
> Sent: maanantai 27. maaliskuuta 2023 15.11
> To: intel-gfx@lists.freedesktop.org
> Subject: [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on
> Intel Hybrid platform
> 
> From: Zhang Rui <rui.zhang@intel.com>
> 
> 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).

Tested-By: Jani Saarinen <jani.saarinen@intel.com> on local MTL setup. Also tested earlier on other CI systems 
by: https://patchwork.freedesktop.org/series/115601/ trybot series. 
For this there is https://gitlab.freedesktop.org/drm/intel/-/issues/8317 

Br,
Jani

> ...
> -/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
> 
> CC: stable@kernel.org
> Fixes: 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 <len.brown@intel.com>
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
> [Imre: resend for core-for-CI]
> References: https://lore.kernel.org/lkml/20230323015640.27906-1-
> rui.zhang@intel.com
> References: https://gitlab.freedesktop.org/drm/intel/-/issues/8317
> Signed-off-by: Imre Deak <imre.deak@intel.com>
> ---
>  arch/x86/kernel/cpu/topology.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/x86/kernel/cpu/topology.c b/arch/x86/kernel/cpu/topology.c index
> 5e868b62a7c4e..0270925fe013b 100644
> --- a/arch/x86/kernel/cpu/topology.c
> +++ b/arch/x86/kernel/cpu/topology.c
> @@ -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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
  2023-03-27 12:11 [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform Imre Deak
  2023-03-27 12:46 ` Saarinen, Jani
@ 2023-03-27 18:45 ` Patchwork
  2023-03-27 19:02 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2023-03-27 18:45 UTC (permalink / raw)
  To: Imre Deak; +Cc: intel-gfx

== 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 failed
e89219f0529c x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
-:57: WARNING:BAD_SIGN_OFF: 'Tested-by:' is the preferred signature form
#57: 
Tested-By: Jani Saarinen <jani.saarinen@intel.com> on local MTL setup. Also tested earlier on other CI systems

-:57: WARNING:BAD_SIGN_OFF: Unexpected content after email: 'Jani Saarinen <jani.saarinen@intel.com> on local MTL setup. Also tested earlier on other CI systems', should be: 'Jani Saarinen <jani.saarinen@intel.com> (on local MTL setup. Also tested earlier on other CI systems)'
#57: 
Tested-By: Jani Saarinen <jani.saarinen@intel.com> on local MTL setup. Also tested earlier on other CI systems

total: 0 errors, 2 warnings, 0 checks, 17 lines checked



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Intel-gfx] ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
  2023-03-27 12:11 [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform Imre Deak
  2023-03-27 12:46 ` Saarinen, Jani
  2023-03-27 18:45 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
@ 2023-03-27 19:02 ` Patchwork
  2023-03-27 21:26   ` Imre Deak
  2023-03-28  8:00 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2) Patchwork
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Patchwork @ 2023-03-27 19:02 UTC (permalink / raw)
  To: Imre Deak; +Cc: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 5776 bytes --]

== 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@live@hangcheck.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw-4770/igt@i915_selftest@live@hangcheck.html

  
#### 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@fbdev@info.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kbl-2/igt@fbdev@info.html

  
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@basic-s3@lmem0.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-11/igt@gem_exec_suspend@basic-s3@lmem0.html

  * 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@live@reset.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-1/igt@i915_selftest@live@reset.html

  * 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@live@slpc.html

  * 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@i915_suspend@basic-s3-without-i915.html

  * 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@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1.html

  
#### 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@live@reset.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@live@reset.html

  
  {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

[-- Attachment #2: Type: text/html, Size: 6751 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Intel-gfx]  ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
  2023-03-27 19:02 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
@ 2023-03-27 21:26   ` Imre Deak
  2023-03-28  1:14     ` Zhang, Rui
  0 siblings, 1 reply; 14+ messages in thread
From: Imre Deak @ 2023-03-27 21:26 UTC (permalink / raw)
  To: Zhang Rui; +Cc: intel-gfx

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

On Mon, Mar 27, 2023 at 07:02:25PM +0000, Patchwork wrote:
> == 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@live@hangcheck.html
>    [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw-4770/igt@i915_selftest@live@hangcheck.html
> 
>   
> #### 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@fbdev@info.html
>    [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kbl-2/igt@fbdev@info.html
> 
>   
> 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@basic-s3@lmem0.html
>    [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-11/igt@gem_exec_suspend@basic-s3@lmem0.html
> 
>   * 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@live@reset.html
>    [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-1/igt@i915_selftest@live@reset.html
> 
>   * 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@live@slpc.html
> 
>   * 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@i915_suspend@basic-s3-without-i915.html
> 
>   * 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@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
>    [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
> 
>   
> #### 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@live@reset.html
>    [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@live@reset.html
> 
>   
>   {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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Intel-gfx]  ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
  2023-03-27 21:26   ` Imre Deak
@ 2023-03-28  1:14     ` Zhang, Rui
  2023-03-28  1:57       ` Zhang, Rui
  0 siblings, 1 reply; 14+ messages in thread
From: Zhang, Rui @ 2023-03-28  1:14 UTC (permalink / raw)
  To: Deak, Imre; +Cc: intel-gfx

Hi, Imre,

Thanks for raising this.

On Tue, 2023-03-28 at 00:26 +0300, Imre Deak wrote:
> 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.

Right.

>  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
> 
> Thanks,
> Imre
> 
> On Mon, Mar 27, 2023 at 07:02:25PM +0000, Patchwork wrote:
> > == 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@live@hangcheck.html
> >    [2]: 
> > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw-4770/igt@i915_selftest@live@hangcheck.html
> > 
> >   
> > #### 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@fbdev@info.html
> >    [4]: 
> > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kbl-2/igt@fbdev@info.html
> > 
> >   
> > 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@basic-s3@lmem0.html
> >    [6]: 
> > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-11/igt@gem_exec_suspend@basic-s3@lmem0.html
> > 
> >   * 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@live@reset.html
> >    [8]: 
> > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-1/igt@i915_selftest@live@reset.html
> > 
> >   * 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@live@slpc.html
> > 
> >   * 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@i915_suspend@basic-s3-without-i915.html
> > 
> >   * 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@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
> >    [12]: 
> > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
> > 
> >   
> > #### 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@live@reset.html
> >    [16]: 
> > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@live@reset.html
> > 
> >   
> >   {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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Intel-gfx]  ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
  2023-03-28  1:14     ` Zhang, Rui
@ 2023-03-28  1:57       ` Zhang, Rui
  2023-03-28  6:34         ` Saarinen, Jani
  2023-03-28  7:23         ` Imre Deak
  0 siblings, 2 replies; 14+ messages in thread
From: Zhang, Rui @ 2023-03-28  1:57 UTC (permalink / raw)
  To: Deak, Imre; +Cc: intel-gfx

On Tue, 2023-03-28 at 09:14 +0800, Zhang Rui wrote:
> Hi, Imre,
> 
> Thanks for raising this.
> 
> On Tue, 2023-03-28 at 00:26 +0300, Imre Deak wrote:
> > 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.
> 
> Right.
> 
> >  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.

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/20230323015640.27906-1-rui.zhang@intel.com/
This is another issue that the patch fixes. And it's better to have a
Buglink/Tested-by tag in the commit.

thanks,
rui

> 
> Thanks,
> rui
> > Thanks,
> > Imre
> > 
> > On Mon, Mar 27, 2023 at 07:02:25PM +0000, Patchwork wrote:
> > > == 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@live@hangcheck.html
> > >    [2]: 
> > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw-4770/igt@i915_selftest@live@hangcheck.html
> > > 
> > >   
> > > #### 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@fbdev@info.html
> > >    [4]: 
> > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kbl-2/igt@fbdev@info.html
> > > 
> > >   
> > > 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@basic-s3@lmem0.html
> > >    [6]: 
> > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-11/igt@gem_exec_suspend@basic-s3@lmem0.html
> > > 
> > >   * 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@live@reset.html
> > >    [8]: 
> > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-1/igt@i915_selftest@live@reset.html
> > > 
> > >   * 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@live@slpc.html
> > > 
> > >   * 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@i915_suspend@basic-s3-without-i915.html
> > > 
> > >   * 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@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
> > >    [12]: 
> > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
> > > 
> > >   
> > > #### 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@live@reset.html
> > >    [16]: 
> > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@live@reset.html
> > > 
> > >   
> > >   {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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Intel-gfx]  ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
  2023-03-28  1:57       ` Zhang, Rui
@ 2023-03-28  6:34         ` Saarinen, Jani
  2023-03-28  6:47           ` Saarinen, Jani
  2023-03-28  7:23         ` Imre Deak
  1 sibling, 1 reply; 14+ messages in thread
From: Saarinen, Jani @ 2023-03-28  6:34 UTC (permalink / raw)
  To: Zhang, Rui, Deak, Imre; +Cc: intel-gfx

Hi. 
> -----Original Message-----
> From: Zhang, Rui <rui.zhang@intel.com>
> Sent: tiistai 28. maaliskuuta 2023 4.57
> To: Deak, Imre <imre.deak@intel.com>
> Cc: Saarinen, Jani <jani.saarinen@intel.com>; intel-gfx@lists.freedesktop.org
> Subject: Re: ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings
> on Intel Hybrid platform
> 
> On Tue, 2023-03-28 at 09:14 +0800, Zhang Rui wrote:
> > Hi, Imre,
> >
> > Thanks for raising this.
> >
> > On Tue, 2023-03-28 at 00:26 +0300, Imre Deak wrote:
> > > 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.
> >
> > Right.
> >
> > >  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.
> 
> Is this topology fix patch the only patch applied? or together with some other patches?
This only. 
> 
> 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.)

> does the warning/failure ever show without the patch?
Yes, On our local (3) system's seen on all. 
> 
> 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/20230323015640.27906-1-rui.zhang@intel.com/
> This is another issue that the patch fixes. And it's better to have a Buglink/Tested-by
> tag in the commit.
> 
> thanks,
> rui
> 
> >
> > Thanks,
> > rui
> > > Thanks,
> > > Imre
> > >
> > > On Mon, Mar 27, 2023 at 07:02:25PM +0000, Patchwork wrote:
> > > > == 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@live@hangcheck.html
> > > >    [2]:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw
> > > > -4770/igt@i915_selftest@live@hangcheck.html
> > > >
> > > >
> > > > #### 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@fbdev@info.html
> > > >    [4]:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kb
> > > > l-2/igt@fbdev@info.html
> > > >
> > > >
> > > > 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@basic-s3@lmem0.html
> > > >    [6]:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg
> > > > 2-11/igt@gem_exec_suspend@basic-s3@lmem0.html
> > > >
> > > >   * 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@live@reset.html
> > > >    [8]:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rp
> > > > ls-1/igt@i915_selftest@live@reset.html
> > > >
> > > >   * 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@live@slpc.html
> > > >
> > > >   * 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@i915_suspend@basic-s3-without-i915.html
> > > >
> > > >   * 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@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
> > > >    [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.html
> > > >
> > > >
> > > > #### 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@live@reset.html
> > > >    [16]:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rp
> > > > ls-2/igt@i915_selftest@live@reset.html
> > > >
> > > >
> > > >   {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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Intel-gfx]  ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
  2023-03-28  6:34         ` Saarinen, Jani
@ 2023-03-28  6:47           ` Saarinen, Jani
  0 siblings, 0 replies; 14+ messages in thread
From: Saarinen, Jani @ 2023-03-28  6:47 UTC (permalink / raw)
  To: Zhang, Rui, Deak, Imre; +Cc: intel-gfx

Hi,

> -----Original Message-----
> From: Saarinen, Jani
> Sent: tiistai 28. maaliskuuta 2023 9.35
> To: Zhang, Rui <rui.zhang@intel.com>; Deak, Imre <imre.deak@intel.com>
> Cc: intel-gfx@lists.freedesktop.org
> Subject: RE: ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous
> smp_num_siblings on Intel Hybrid platform
> 
> Hi.
> > -----Original Message-----
> > From: Zhang, Rui <rui.zhang@intel.com>
> > Sent: tiistai 28. maaliskuuta 2023 4.57
> > To: Deak, Imre <imre.deak@intel.com>
> > Cc: Saarinen, Jani <jani.saarinen@intel.com>;
> > intel-gfx@lists.freedesktop.org
> > Subject: Re: ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous
> > smp_num_siblings on Intel Hybrid platform
> >
> > On Tue, 2023-03-28 at 09:14 +0800, Zhang Rui wrote:
> > > Hi, Imre,
> > >
> > > Thanks for raising this.
> > >
> > > On Tue, 2023-03-28 at 00:26 +0300, Imre Deak wrote:
> > > > 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.
> > >
> > > Right.
> > >
> > > >  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.
> >
> > Is this topology fix patch the only patch applied? or together with some other
> patches?
> This only.
> >
> > 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. 
> 
> > does the warning/failure ever show without the patch?
> Yes, On our local (3) system's seen on all.
Again. Ignore this too. 
> >
> > BTW, I just happened to see this thread
> >
> https://lore.kernel.org/all/DM8PR11MB565580BCF44661B6A392F0CEE08B9@DM8
> > 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/20230323015640.27906-1-rui.zhang@intel.com
> > / This is another issue that the patch fixes. And it's better to have
> > a Buglink/Tested-by tag in the commit.
> >
> > thanks,
> > rui
> >
> > >
> > > Thanks,
> > > rui
> > > > Thanks,
> > > > Imre
> > > >
> > > > On Mon, Mar 27, 2023 at 07:02:25PM +0000, Patchwork wrote:
> > > > > == 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@live@hangcheck.html
> > > > >    [2]:
> > > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-h
> > > > > sw -4770/igt@i915_selftest@live@hangcheck.html
> > > > >
> > > > >
> > > > > #### 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@fbdev@info.html
> > > > >    [4]:
> > > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-
> > > > > kb
> > > > > l-2/igt@fbdev@info.html
> > > > >
> > > > >
> > > > > 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@basic-s3@lmem0.html
> > > > >    [6]:
> > > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-
> > > > > dg 2-11/igt@gem_exec_suspend@basic-s3@lmem0.html
> > > > >
> > > > >   * 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@live@reset.html
> > > > >    [8]:
> > > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-
> > > > > rp ls-1/igt@i915_selftest@live@reset.html
> > > > >
> > > > >   * 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@live@slpc.html
> > > > >
> > > > >   * 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@i915_suspend@basic-s3-without-i915.html
> > > > >
> > > > >   *
> > > > > 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@nonblocking-crc-frame-sequence@pipe-d-dp-1.ht
> > ml
> > > > >    [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.html
> > > > >
> > > > >
> > > > > #### 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-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@live@reset.html
> > > > >    [16]:
> > > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-
> > > > > rp ls-2/igt@i915_selftest@live@reset.html
> > > > >
> > > > >
> > > > >   {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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Intel-gfx]  ✗ Fi.CI.BAT: failure for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
  2023-03-28  1:57       ` Zhang, Rui
  2023-03-28  6:34         ` Saarinen, Jani
@ 2023-03-28  7:23         ` Imre Deak
  1 sibling, 0 replies; 14+ messages in thread
From: Imre Deak @ 2023-03-28  7:23 UTC (permalink / raw)
  To: Zhang, Rui; +Cc: intel-gfx

On Tue, Mar 28, 2023 at 04:57:14AM +0300, Zhang, Rui wrote:
> On Tue, 2023-03-28 at 09:14 +0800, Zhang Rui wrote:
> > Hi, Imre,
> >
> > Thanks for raising this.
> >
> > On Tue, 2023-03-28 at 00:26 +0300, Imre Deak wrote:
> > > 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.
> >
> > Right.
> >
> > >  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.

> Is this topology fix patch the only patch applied?

Yes.

> 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.

> does the warning/failure ever show without the patch?

Yes, they also happened in CI builds before the patch was applied.

> 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.

> https://lore.kernel.org/all/20230323015640.27906-1-rui.zhang@intel.com/
> This is another issue that the patch fixes. 

I added the above link to the patch with a References: trailer.

> 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

> thanks,
> rui
> 
> >
> > Thanks,
> > rui
> > > Thanks,
> > > Imre
> > >
> > > On Mon, Mar 27, 2023 at 07:02:25PM +0000, Patchwork wrote:
> > > > == 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@live@hangcheck.html
> > > >    [2]:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/fi-hsw-4770/igt@i915_selftest@live@hangcheck.html
> > > >
> > > >
> > > > #### 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@fbdev@info.html
> > > >    [4]:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-kbl-2/igt@fbdev@info.html
> > > >
> > > >
> > > > 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@basic-s3@lmem0.html
> > > >    [6]:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-11/igt@gem_exec_suspend@basic-s3@lmem0.html
> > > >
> > > >   * 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@live@reset.html
> > > >    [8]:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-1/igt@i915_selftest@live@reset.html
> > > >
> > > >   * 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@live@slpc.html
> > > >
> > > >   * 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@i915_suspend@basic-s3-without-i915.html
> > > >
> > > >   * 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@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
> > > >    [12]:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
> > > >
> > > >
> > > > #### 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@live@reset.html
> > > >    [16]:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v1/bat-rpls-2/igt@i915_selftest@live@reset.html
> > > >
> > > >
> > > >   {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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2)
  2023-03-27 12:11 [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform Imre Deak
                   ` (2 preceding siblings ...)
  2023-03-27 19:02 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
@ 2023-03-28  8:00 ` Patchwork
  2023-03-28  8:13 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2023-03-28  8:00 UTC (permalink / raw)
  To: Imre Deak; +Cc: intel-gfx

== 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 failed
3daf24e07285 x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
-:57: WARNING:BAD_SIGN_OFF: 'Tested-by:' is the preferred signature form
#57: 
Tested-By: Jani Saarinen <jani.saarinen@intel.com> on local MTL setup. Also tested earlier on other CI systems

-:57: WARNING:BAD_SIGN_OFF: Unexpected content after email: 'Jani Saarinen <jani.saarinen@intel.com> on local MTL setup. Also tested earlier on other CI systems', should be: 'Jani Saarinen <jani.saarinen@intel.com> (on local MTL setup. Also tested earlier on other CI systems)'
#57: 
Tested-By: Jani Saarinen <jani.saarinen@intel.com> on local MTL setup. Also tested earlier on other CI systems

total: 0 errors, 2 warnings, 0 checks, 17 lines checked



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Intel-gfx] ✓ Fi.CI.BAT: success for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2)
  2023-03-27 12:11 [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform Imre Deak
                   ` (3 preceding siblings ...)
  2023-03-28  8:00 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2) Patchwork
@ 2023-03-28  8:13 ` Patchwork
  2023-03-28 15:32 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
  2023-03-28 15:59 ` [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform Jani Nikula
  6 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2023-03-28  8:13 UTC (permalink / raw)
  To: Imre Deak; +Cc: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 4414 bytes --]

== 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@live@guc.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/bat-rpls-2/igt@i915_selftest@live@guc.html

  * 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@live@requests.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/bat-rpls-1/igt@i915_selftest@live@requests.html

  * 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@kms_chamelium_hpd@common-hpd-after-suspend.html

  * 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@kms_pipe_crc_basic@nonblocking-crc-frame-sequence.html

  
#### 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@nonblocking-crc@pipe-c-dp-1.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc@pipe-c-dp-1.html

  
#### 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@live@slpc.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/bat-rpls-2/igt@i915_selftest@live@slpc.html

  
  [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

[-- Attachment #2: Type: text/html, Size: 5305 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Intel-gfx] ✓ Fi.CI.IGT: success for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2)
  2023-03-27 12:11 [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform Imre Deak
                   ` (4 preceding siblings ...)
  2023-03-28  8:13 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
@ 2023-03-28 15:32 ` Patchwork
  2023-03-28 15:59 ` [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform Jani Nikula
  6 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2023-03-28 15:32 UTC (permalink / raw)
  To: Imre Deak; +Cc: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 8758 bytes --]

== 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@i915_suspend@forcewake.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-apl2/igt@i915_suspend@forcewake.html

  * 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@gem_eio@hibernate.html
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-dg1-15/igt@gem_eio@hibernate.html

  * 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@basic-pace-share@rcs0.html
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-glk6/igt@gem_exec_fair@basic-pace-share@rcs0.html

  * 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@basic-pace-solo@rcs0.html
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-apl1/igt@gem_exec_fair@basic-pace-solo@rcs0.html

  * 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@i915_pm_rps@reset.html
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-snb5/igt@i915_pm_rps@reset.html

  * 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@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-glk8/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html

  * 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@forked-move@pipe-b.html
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115661v2/shard-dg1-16/igt@kms_cursor_legacy@forked-move@pipe-b.html

  
  {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

[-- Attachment #2: Type: text/html, Size: 5479 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform
  2023-03-27 12:11 [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform Imre Deak
                   ` (5 preceding siblings ...)
  2023-03-28 15:32 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
@ 2023-03-28 15:59 ` Jani Nikula
  6 siblings, 0 replies; 14+ messages in thread
From: Jani Nikula @ 2023-03-28 15:59 UTC (permalink / raw)
  To: Imre Deak, intel-gfx

On Mon, 27 Mar 2023, Imre Deak <imre.deak@intel.com> wrote:
> From: Zhang Rui <rui.zhang@intel.com>
>
> 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
>
> CC: stable@kernel.org
> Fixes: 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 <len.brown@intel.com>
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
> [Imre: resend for core-for-CI]
> References: https://lore.kernel.org/lkml/20230323015640.27906-1-rui.zhang@intel.com
> References: https://gitlab.freedesktop.org/drm/intel/-/issues/8317
> Signed-off-by: Imre Deak <imre.deak@intel.com>

Pushed to topic/core-for-CI as a stopgap measure.

BR,
Jani.

> ---
>  arch/x86/kernel/cpu/topology.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/kernel/cpu/topology.c b/arch/x86/kernel/cpu/topology.c
> index 5e868b62a7c4e..0270925fe013b 100644
> --- a/arch/x86/kernel/cpu/topology.c
> +++ b/arch/x86/kernel/cpu/topology.c
> @@ -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);

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-03-28 15:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 12:11 [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform Imre Deak
2023-03-27 12:46 ` Saarinen, Jani
2023-03-27 18:45 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2023-03-27 19:02 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-03-27 21:26   ` Imre Deak
2023-03-28  1:14     ` Zhang, Rui
2023-03-28  1:57       ` Zhang, Rui
2023-03-28  6:34         ` Saarinen, Jani
2023-03-28  6:47           ` Saarinen, Jani
2023-03-28  7:23         ` Imre Deak
2023-03-28  8:00 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform (rev2) Patchwork
2023-03-28  8:13 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-03-28 15:32 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2023-03-28 15:59 ` [Intel-gfx] [core-for-CI] x86/topology: fix erroneous smp_num_siblings on Intel Hybrid platform Jani Nikula

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.