All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Use -EIO code for GuC initialization failures
@ 2019-08-11 19:51 Michal Wajdeczko
  2019-08-11 19:51 ` [PATCH 1/4] drm/i915/uc: Fail early if there is no GuC fw available Michal Wajdeczko
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Michal Wajdeczko @ 2019-08-11 19:51 UTC (permalink / raw)
  To: intel-gfx

Next portion of GuC/HuC improvements

Michal Wajdeczko (4):
  drm/i915/uc: Fail early if there is no GuC fw available
  drm/i915/uc: Include HuC firmware version in summary
  drm/i915/uc: Update messages from fw upload step
  drm/i915/uc: Use -EIO code for GuC initialization failures

 drivers/gpu/drm/i915/gt/uc/intel_uc.c    | 32 +++++++++++++++---------
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 14 +++--------
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h | 21 ++++++++++++++++
 drivers/gpu/drm/i915/i915_gem.c          | 14 ++++++-----
 4 files changed, 52 insertions(+), 29 deletions(-)

-- 
2.19.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* [PATCH 1/4] drm/i915/uc: Fail early if there is no GuC fw available
  2019-08-11 19:51 [PATCH 0/4] Use -EIO code for GuC initialization failures Michal Wajdeczko
@ 2019-08-11 19:51 ` Michal Wajdeczko
  2019-08-11 20:22   ` Chris Wilson
  2019-08-11 19:51 ` [PATCH 2/4] drm/i915/uc: Include HuC firmware version in summary Michal Wajdeczko
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 15+ messages in thread
From: Michal Wajdeczko @ 2019-08-11 19:51 UTC (permalink / raw)
  To: intel-gfx

We don't want to rely on misleading WOPCM partitioning error.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/gt/uc/intel_uc.c    |  5 +++++
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h | 21 +++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
index 32aa4509ba1d..aa9701cfc754 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
@@ -436,6 +436,11 @@ int intel_uc_init_hw(struct intel_uc *uc)
 	if (!intel_uc_supports_guc(uc))
 		return 0;
 
+	if (!intel_uc_fw_is_available(&guc->fw)) {
+		ret = intel_uc_fw_status_to_error(guc->fw.status);
+		goto err_out;
+	}
+
 	ret = uc_init_wopcm(uc);
 	if (ret)
 		goto err_out;
diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h b/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h
index 0d22e73dff15..ad7e72316dcc 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h
+++ b/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h
@@ -107,6 +107,27 @@ const char *intel_uc_fw_status_repr(enum intel_uc_fw_status status)
 	return "<invalid>";
 }
 
+static inline int intel_uc_fw_status_to_error(enum intel_uc_fw_status status)
+{
+	switch (status) {
+	case INTEL_UC_FIRMWARE_NOT_SUPPORTED:
+	case INTEL_UC_FIRMWARE_UNINITIALIZED:
+		return -EPERM;
+	case INTEL_UC_FIRMWARE_MISSING:
+		return -ENOENT;
+	case INTEL_UC_FIRMWARE_ERROR:
+		return -ENOEXEC;
+	case INTEL_UC_FIRMWARE_FAIL:
+		return -EIO;
+	case INTEL_UC_FIRMWARE_SELECTED:
+	case INTEL_UC_FIRMWARE_AVAILABLE:
+	case INTEL_UC_FIRMWARE_TRANSFERRED:
+	case INTEL_UC_FIRMWARE_RUNNING:
+		return 0;
+	}
+	return -EINVAL;
+}
+
 static inline const char *intel_uc_fw_type_repr(enum intel_uc_fw_type type)
 {
 	switch (type) {
-- 
2.19.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* [PATCH 2/4] drm/i915/uc: Include HuC firmware version in summary
  2019-08-11 19:51 [PATCH 0/4] Use -EIO code for GuC initialization failures Michal Wajdeczko
  2019-08-11 19:51 ` [PATCH 1/4] drm/i915/uc: Fail early if there is no GuC fw available Michal Wajdeczko
@ 2019-08-11 19:51 ` Michal Wajdeczko
  2019-08-11 20:24   ` Chris Wilson
  2019-08-12  7:39   ` [PATCH v2 " Michal Wajdeczko
  2019-08-11 19:51 ` [PATCH 3/4] drm/i915/uc: Update messages from fw upload step Michal Wajdeczko
                   ` (3 subsequent siblings)
  5 siblings, 2 replies; 15+ messages in thread
From: Michal Wajdeczko @ 2019-08-11 19:51 UTC (permalink / raw)
  To: intel-gfx

After successful uC initialization we are reporting GuC
firmware version and status of GuC submission and HuC.
Add HuC fw version to this report to make it complete,
but also skip all HuC info if HuC is not supported.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/gt/uc/intel_uc.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
index aa9701cfc754..2acf7907287c 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
@@ -503,12 +503,20 @@ int intel_uc_init_hw(struct intel_uc *uc)
 			goto err_communication;
 	}
 
-	dev_info(i915->drm.dev, "GuC firmware version %u.%u\n",
+	dev_info(i915->drm.dev, "%s firmware version %u.%u\n",
+		 intel_uc_fw_type_repr(INTEL_UC_FW_TYPE_GUC),
 		 guc->fw.major_ver_found, guc->fw.minor_ver_found);
-	dev_info(i915->drm.dev, "GuC submission %s\n",
+	dev_info(i915->drm.dev, "%s %s\n", "GuC submission",
 		 enableddisabled(intel_uc_supports_guc_submission(uc)));
-	dev_info(i915->drm.dev, "HuC %s\n",
-		 enableddisabled(intel_huc_is_authenticated(huc)));
+
+	if (intel_uc_supports_huc(uc)) {
+		dev_info(i915->drm.dev, "%s firmware version %u.%u\n",
+			 intel_uc_fw_type_repr(INTEL_UC_FW_TYPE_HUC),
+			 huc->fw.major_ver_found, huc->fw.minor_ver_found);
+		dev_info(i915->drm.dev, "%s %s\n",
+			 intel_uc_fw_type_repr(INTEL_UC_FW_TYPE_HUC),
+			 enableddisabled(intel_huc_is_authenticated(huc)));
+	}
 
 	return 0;
 
-- 
2.19.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* [PATCH 3/4] drm/i915/uc: Update messages from fw upload step
  2019-08-11 19:51 [PATCH 0/4] Use -EIO code for GuC initialization failures Michal Wajdeczko
  2019-08-11 19:51 ` [PATCH 1/4] drm/i915/uc: Fail early if there is no GuC fw available Michal Wajdeczko
  2019-08-11 19:51 ` [PATCH 2/4] drm/i915/uc: Include HuC firmware version in summary Michal Wajdeczko
@ 2019-08-11 19:51 ` Michal Wajdeczko
  2019-08-11 20:25   ` Chris Wilson
  2019-08-11 19:51 ` [PATCH 4/4] drm/i915/uc: Use -EIO code for GuC initialization failures Michal Wajdeczko
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 15+ messages in thread
From: Michal Wajdeczko @ 2019-08-11 19:51 UTC (permalink / raw)
  To: intel-gfx

Our old messages were redundant or misleading (as loaded is
not the same as running). Keep only one message for debug.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c b/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
index 22828a76626d..5665019d341a 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
@@ -493,9 +493,6 @@ int intel_uc_fw_upload(struct intel_uc_fw *uc_fw, struct intel_gt *gt,
 {
 	int err;
 
-	DRM_DEBUG_DRIVER("%s fw load %s\n",
-			 intel_uc_fw_type_repr(uc_fw->type), uc_fw->path);
-
 	/* make sure the status was cleared the last time we reset the uc */
 	GEM_BUG_ON(intel_uc_fw_is_loaded(uc_fw));
 
@@ -514,14 +511,9 @@ int intel_uc_fw_upload(struct intel_uc_fw *uc_fw, struct intel_gt *gt,
 		goto fail;
 
 	uc_fw->status = INTEL_UC_FIRMWARE_TRANSFERRED;
-	DRM_DEBUG_DRIVER("%s fw xfer completed\n",
-			 intel_uc_fw_type_repr(uc_fw->type));
-
-	DRM_INFO("%s: Loaded firmware %s (version %u.%u)\n",
-		 intel_uc_fw_type_repr(uc_fw->type),
-		 uc_fw->path,
-		 uc_fw->major_ver_found, uc_fw->minor_ver_found);
-
+	DRM_DEV_DEBUG_DRIVER(gt->i915->drm.dev, "%s firmware %s: %s\n",
+			     intel_uc_fw_type_repr(uc_fw->type), uc_fw->path,
+			     intel_uc_fw_status_repr(uc_fw->status));
 	return 0;
 
 fail:
-- 
2.19.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* [PATCH 4/4] drm/i915/uc: Use -EIO code for GuC initialization failures
  2019-08-11 19:51 [PATCH 0/4] Use -EIO code for GuC initialization failures Michal Wajdeczko
                   ` (2 preceding siblings ...)
  2019-08-11 19:51 ` [PATCH 3/4] drm/i915/uc: Update messages from fw upload step Michal Wajdeczko
@ 2019-08-11 19:51 ` Michal Wajdeczko
  2019-08-11 20:26   ` Chris Wilson
  2019-08-11 20:33 ` ✗ Fi.CI.BAT: failure for " Patchwork
  2019-08-12  8:40 ` ✗ Fi.CI.BAT: failure for Use -EIO code for GuC initialization failures (rev2) Patchwork
  5 siblings, 1 reply; 15+ messages in thread
From: Michal Wajdeczko @ 2019-08-11 19:51 UTC (permalink / raw)
  To: intel-gfx

Since commit 6ca9a2beb54a ("drm/i915: Unwind i915_gem_init() failure")
we believed that we correctly handle all errors encountered during
GuC initialization, including special one that indicates request to
run driver with disabled GPU submission (-EIO).

Unfortunately since commit 121981fafe69 ("drm/i915/guc: Combine
enable_guc_loading|submission modparams") we stopped using that
error code to avoid unwanted fallback to execlist submission mode.

In result any GuC initialization failure was treated as non-recoverable
error leading to driver load abort, so we could not even read related
GuC error log to investigate cause of the problem.

For now always return -EIO on any uC hardware related failure.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/gt/uc/intel_uc.c | 11 +++--------
 drivers/gpu/drm/i915/i915_gem.c       | 14 ++++++++------
 2 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
index 2acf7907287c..3b33fb275efb 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
@@ -530,15 +530,10 @@ int intel_uc_init_hw(struct intel_uc *uc)
 err_out:
 	__uc_sanitize(uc);
 
-	/*
-	 * Note that there is no fallback as either user explicitly asked for
-	 * the GuC or driver default option was to run with the GuC enabled.
-	 */
-	if (GEM_WARN_ON(ret == -EIO))
-		ret = -EINVAL;
-
 	i915_probe_error(i915, "GuC initialization failed %d\n", ret);
-	return ret;
+
+	/* We want to keep KMS alive */
+	return -EIO;
 }
 
 void intel_uc_fini_hw(struct intel_uc *uc)
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 6ff01a404346..4752a3bf9636 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -1463,8 +1463,10 @@ int i915_gem_init(struct drm_i915_private *dev_priv)
 	intel_init_gt_powersave(dev_priv);
 
 	ret = intel_uc_init(&dev_priv->gt.uc);
-	if (ret)
+	if (ret) {
+		GEM_BUG_ON(ret == -EIO);
 		goto err_pm;
+	}
 
 	ret = i915_gem_init_hw(dev_priv);
 	if (ret)
@@ -1526,7 +1528,8 @@ int i915_gem_init(struct drm_i915_private *dev_priv)
 err_init_hw:
 	intel_uc_fini_hw(&dev_priv->gt.uc);
 err_uc_init:
-	intel_uc_fini(&dev_priv->gt.uc);
+	if (ret != -EIO)
+		intel_uc_fini(&dev_priv->gt.uc);
 err_pm:
 	if (ret != -EIO) {
 		intel_cleanup_gt_powersave(dev_priv);
@@ -1542,9 +1545,8 @@ int i915_gem_init(struct drm_i915_private *dev_priv)
 	intel_uncore_forcewake_put(&dev_priv->uncore, FORCEWAKE_ALL);
 	mutex_unlock(&dev_priv->drm.struct_mutex);
 
-	intel_uc_cleanup_firmwares(&dev_priv->gt.uc);
-
 	if (ret != -EIO) {
+		intel_uc_cleanup_firmwares(&dev_priv->gt.uc);
 		i915_gem_cleanup_userptr(dev_priv);
 		intel_timelines_fini(dev_priv);
 	}
@@ -1553,8 +1555,8 @@ int i915_gem_init(struct drm_i915_private *dev_priv)
 		mutex_lock(&dev_priv->drm.struct_mutex);
 
 		/*
-		 * Allow engine initialisation to fail by marking the GPU as
-		 * wedged. But we only want to do this where the GPU is angry,
+		 * Allow engines or uC initialisation to fail by marking the GPU
+		 * as wedged. But we only want to do this when the GPU is angry,
 		 * for all other failure, such as an allocation failure, bail.
 		 */
 		if (!intel_gt_is_wedged(&dev_priv->gt)) {
-- 
2.19.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH 1/4] drm/i915/uc: Fail early if there is no GuC fw available
  2019-08-11 19:51 ` [PATCH 1/4] drm/i915/uc: Fail early if there is no GuC fw available Michal Wajdeczko
@ 2019-08-11 20:22   ` Chris Wilson
  0 siblings, 0 replies; 15+ messages in thread
From: Chris Wilson @ 2019-08-11 20:22 UTC (permalink / raw)
  To: Michal Wajdeczko, intel-gfx

Quoting Michal Wajdeczko (2019-08-11 20:51:29)
> We don't want to rely on misleading WOPCM partitioning error.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
> ---
>  drivers/gpu/drm/i915/gt/uc/intel_uc.c    |  5 +++++
>  drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h | 21 +++++++++++++++++++++
>  2 files changed, 26 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> index 32aa4509ba1d..aa9701cfc754 100644
> --- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> +++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> @@ -436,6 +436,11 @@ int intel_uc_init_hw(struct intel_uc *uc)
>         if (!intel_uc_supports_guc(uc))
>                 return 0;
>  
> +       if (!intel_uc_fw_is_available(&guc->fw)) {
> +               ret = intel_uc_fw_status_to_error(guc->fw.status);
> +               goto err_out;
> +       }
> +
>         ret = uc_init_wopcm(uc);
>         if (ret)
>                 goto err_out;
> diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h b/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h
> index 0d22e73dff15..ad7e72316dcc 100644
> --- a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h
> +++ b/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h
> @@ -107,6 +107,27 @@ const char *intel_uc_fw_status_repr(enum intel_uc_fw_status status)
>         return "<invalid>";
>  }
>  
> +static inline int intel_uc_fw_status_to_error(enum intel_uc_fw_status status)
> +{
> +       switch (status) {
> +       case INTEL_UC_FIRMWARE_NOT_SUPPORTED:
> +       case INTEL_UC_FIRMWARE_UNINITIALIZED:
> +               return -EPERM;
> +       case INTEL_UC_FIRMWARE_MISSING:
> +               return -ENOENT;
> +       case INTEL_UC_FIRMWARE_ERROR:
> +               return -ENOEXEC;
> +       case INTEL_UC_FIRMWARE_FAIL:
> +               return -EIO;

Worth distinguishing with -ENXIO or is the similarity to -EIO important?
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH 2/4] drm/i915/uc: Include HuC firmware version in summary
  2019-08-11 19:51 ` [PATCH 2/4] drm/i915/uc: Include HuC firmware version in summary Michal Wajdeczko
@ 2019-08-11 20:24   ` Chris Wilson
  2019-08-12  7:39   ` [PATCH v2 " Michal Wajdeczko
  1 sibling, 0 replies; 15+ messages in thread
From: Chris Wilson @ 2019-08-11 20:24 UTC (permalink / raw)
  To: Michal Wajdeczko, intel-gfx

Quoting Michal Wajdeczko (2019-08-11 20:51:30)
> After successful uC initialization we are reporting GuC
> firmware version and status of GuC submission and HuC.
> Add HuC fw version to this report to make it complete,
> but also skip all HuC info if HuC is not supported.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
> ---
>  drivers/gpu/drm/i915/gt/uc/intel_uc.c | 16 ++++++++++++----
>  1 file changed, 12 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> index aa9701cfc754..2acf7907287c 100644
> --- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> +++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> @@ -503,12 +503,20 @@ int intel_uc_init_hw(struct intel_uc *uc)
>                         goto err_communication;
>         }
>  
> -       dev_info(i915->drm.dev, "GuC firmware version %u.%u\n",
> +       dev_info(i915->drm.dev, "%s firmware version %u.%u\n",
> +                intel_uc_fw_type_repr(INTEL_UC_FW_TYPE_GUC),
>                  guc->fw.major_ver_found, guc->fw.minor_ver_found);
> -       dev_info(i915->drm.dev, "GuC submission %s\n",
> +       dev_info(i915->drm.dev, "%s %s\n", "GuC submission",
>                  enableddisabled(intel_uc_supports_guc_submission(uc)));
> -       dev_info(i915->drm.dev, "HuC %s\n",
> -                enableddisabled(intel_huc_is_authenticated(huc)));
> +
> +       if (intel_uc_supports_huc(uc)) {
> +               dev_info(i915->drm.dev, "%s firmware version %u.%u\n",
> +                        intel_uc_fw_type_repr(INTEL_UC_FW_TYPE_HUC),
> +                        huc->fw.major_ver_found, huc->fw.minor_ver_found);
> +               dev_info(i915->drm.dev, "%s %s\n",
> +                        intel_uc_fw_type_repr(INTEL_UC_FW_TYPE_HUC),
> +                        enableddisabled(intel_huc_is_authenticated(huc)));
> +       }

Could I ask you to squeeze each down to one line?
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH 3/4] drm/i915/uc: Update messages from fw upload step
  2019-08-11 19:51 ` [PATCH 3/4] drm/i915/uc: Update messages from fw upload step Michal Wajdeczko
@ 2019-08-11 20:25   ` Chris Wilson
  0 siblings, 0 replies; 15+ messages in thread
From: Chris Wilson @ 2019-08-11 20:25 UTC (permalink / raw)
  To: Michal Wajdeczko, intel-gfx

Quoting Michal Wajdeczko (2019-08-11 20:51:31)
> Our old messages were redundant or misleading (as loaded is
> not the same as running). Keep only one message for debug.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>

One is still one too many :)
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH 4/4] drm/i915/uc: Use -EIO code for GuC initialization failures
  2019-08-11 19:51 ` [PATCH 4/4] drm/i915/uc: Use -EIO code for GuC initialization failures Michal Wajdeczko
@ 2019-08-11 20:26   ` Chris Wilson
  0 siblings, 0 replies; 15+ messages in thread
From: Chris Wilson @ 2019-08-11 20:26 UTC (permalink / raw)
  To: Michal Wajdeczko, intel-gfx

Quoting Michal Wajdeczko (2019-08-11 20:51:32)
> Since commit 6ca9a2beb54a ("drm/i915: Unwind i915_gem_init() failure")
> we believed that we correctly handle all errors encountered during
> GuC initialization, including special one that indicates request to
> run driver with disabled GPU submission (-EIO).
> 
> Unfortunately since commit 121981fafe69 ("drm/i915/guc: Combine
> enable_guc_loading|submission modparams") we stopped using that
> error code to avoid unwanted fallback to execlist submission mode.
> 
> In result any GuC initialization failure was treated as non-recoverable
> error leading to driver load abort, so we could not even read related
> GuC error log to investigate cause of the problem.
> 
> For now always return -EIO on any uC hardware related failure.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>

Works for me,
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* ✗ Fi.CI.BAT: failure for Use -EIO code for GuC initialization failures
  2019-08-11 19:51 [PATCH 0/4] Use -EIO code for GuC initialization failures Michal Wajdeczko
                   ` (3 preceding siblings ...)
  2019-08-11 19:51 ` [PATCH 4/4] drm/i915/uc: Use -EIO code for GuC initialization failures Michal Wajdeczko
@ 2019-08-11 20:33 ` Patchwork
  2019-08-12  8:40 ` ✗ Fi.CI.BAT: failure for Use -EIO code for GuC initialization failures (rev2) Patchwork
  5 siblings, 0 replies; 15+ messages in thread
From: Patchwork @ 2019-08-11 20:33 UTC (permalink / raw)
  To: Michal Wajdeczko; +Cc: intel-gfx

== Series Details ==

Series: Use -EIO code for GuC initialization failures
URL   : https://patchwork.freedesktop.org/series/65060/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_6678 -> Patchwork_13974
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_13974 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_13974, 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_13974/

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_13974:

### IGT changes ###

#### Possible regressions ####

  * igt@i915_selftest@live_workarounds:
    - fi-bsw-kefka:       [PASS][1] -> [DMESG-WARN][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6678/fi-bsw-kefka/igt@i915_selftest@live_workarounds.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13974/fi-bsw-kefka/igt@i915_selftest@live_workarounds.html

  
Known issues
------------

  Here are the changes found in Patchwork_13974 that come from known issues:

### IGT changes ###

#### Possible fixes ####

  * {igt@gem_ctx_switch@legacy-render}:
    - fi-icl-u2:          [INCOMPLETE][3] ([fdo#107713]) -> [PASS][4]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6678/fi-icl-u2/igt@gem_ctx_switch@legacy-render.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13974/fi-icl-u2/igt@gem_ctx_switch@legacy-render.html

  * igt@i915_selftest@live_requests:
    - fi-byt-j1900:       [INCOMPLETE][5] ([fdo#102657]) -> [PASS][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6678/fi-byt-j1900/igt@i915_selftest@live_requests.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13974/fi-byt-j1900/igt@i915_selftest@live_requests.html

  * igt@kms_busy@basic-flip-a:
    - fi-kbl-7567u:       [SKIP][7] ([fdo#109271] / [fdo#109278]) -> [PASS][8] +2 similar issues
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6678/fi-kbl-7567u/igt@kms_busy@basic-flip-a.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13974/fi-kbl-7567u/igt@kms_busy@basic-flip-a.html

  * igt@kms_busy@basic-flip-c:
    - fi-kbl-7500u:       [SKIP][9] ([fdo#109271] / [fdo#109278]) -> [PASS][10] +2 similar issues
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6678/fi-kbl-7500u/igt@kms_busy@basic-flip-c.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13974/fi-kbl-7500u/igt@kms_busy@basic-flip-c.html

  * igt@kms_chamelium@common-hpd-after-suspend:
    - fi-kbl-7567u:       [WARN][11] ([fdo#109380]) -> [PASS][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6678/fi-kbl-7567u/igt@kms_chamelium@common-hpd-after-suspend.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13974/fi-kbl-7567u/igt@kms_chamelium@common-hpd-after-suspend.html

  * igt@kms_chamelium@hdmi-hpd-fast:
    - fi-kbl-7500u:       [FAIL][13] ([fdo#109485]) -> [PASS][14]
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6678/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13974/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html

  * igt@kms_pipe_crc_basic@read-crc-pipe-c:
    - fi-kbl-7567u:       [SKIP][15] ([fdo#109271]) -> [PASS][16] +23 similar issues
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6678/fi-kbl-7567u/igt@kms_pipe_crc_basic@read-crc-pipe-c.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13974/fi-kbl-7567u/igt@kms_pipe_crc_basic@read-crc-pipe-c.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#102657]: https://bugs.freedesktop.org/show_bug.cgi?id=102657
  [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
  [fdo#109380]: https://bugs.freedesktop.org/show_bug.cgi?id=109380
  [fdo#109485]: https://bugs.freedesktop.org/show_bug.cgi?id=109485


Participating hosts (54 -> 45)
------------------------------

  Missing    (9): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-whl-u fi-kbl-8809g fi-icl-y fi-byt-clapper fi-bdw-samus 


Build changes
-------------

  * CI: CI-20190529 -> None
  * Linux: CI_DRM_6678 -> Patchwork_13974

  CI-20190529: 20190529
  CI_DRM_6678: 0330b51e91d7c3bedfe40afadc6c221e4d1a9c61 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_5127: f43f5fa12ac1b93febfe3eeb9e9985f5f3e2eff0 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_13974: f590970f056352e32b870ab61c6f7e5a64580cce @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

f590970f0563 drm/i915/uc: Use -EIO code for GuC initialization failures
ee3037fc4ec1 drm/i915/uc: Update messages from fw upload step
826469aa37b2 drm/i915/uc: Include HuC firmware version in summary
be600f3531d5 drm/i915/uc: Fail early if there is no GuC fw available

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13974/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* [PATCH v2 2/4] drm/i915/uc: Include HuC firmware version in summary
  2019-08-11 19:51 ` [PATCH 2/4] drm/i915/uc: Include HuC firmware version in summary Michal Wajdeczko
  2019-08-11 20:24   ` Chris Wilson
@ 2019-08-12  7:39   ` Michal Wajdeczko
  2019-08-12  7:55     ` Chris Wilson
  1 sibling, 1 reply; 15+ messages in thread
From: Michal Wajdeczko @ 2019-08-12  7:39 UTC (permalink / raw)
  To: intel-gfx

After successful uC initialization we are reporting GuC
firmware version and status of GuC submission and HuC.
Add HuC fw version to this report to make it complete,
but also skip all HuC info if HuC is not supported.

v2: squeeze to one line (Chris)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/gt/uc/intel_uc.c | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
index aa9701cfc754..a3a5918c6782 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
@@ -503,12 +503,20 @@ int intel_uc_init_hw(struct intel_uc *uc)
 			goto err_communication;
 	}
 
-	dev_info(i915->drm.dev, "GuC firmware version %u.%u\n",
-		 guc->fw.major_ver_found, guc->fw.minor_ver_found);
-	dev_info(i915->drm.dev, "GuC submission %s\n",
+	dev_info(i915->drm.dev, "%s firmware %s version %u.%u %s:%s\n",
+		 intel_uc_fw_type_repr(INTEL_UC_FW_TYPE_GUC), guc->fw.path,
+		 guc->fw.major_ver_found, guc->fw.minor_ver_found,
+		 "submission",
 		 enableddisabled(intel_uc_supports_guc_submission(uc)));
-	dev_info(i915->drm.dev, "HuC %s\n",
-		 enableddisabled(intel_huc_is_authenticated(huc)));
+
+	if (intel_uc_supports_huc(uc)) {
+		dev_info(i915->drm.dev, "%s firmware %s version %u.%u %s:%s\n",
+			 intel_uc_fw_type_repr(INTEL_UC_FW_TYPE_HUC),
+			 huc->fw.path,
+			 huc->fw.major_ver_found, huc->fw.minor_ver_found,
+			 "authenticated",
+			 yesno(intel_huc_is_authenticated(huc)));
+	}
 
 	return 0;
 
-- 
2.19.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH v2 2/4] drm/i915/uc: Include HuC firmware version in summary
  2019-08-12  7:39   ` [PATCH v2 " Michal Wajdeczko
@ 2019-08-12  7:55     ` Chris Wilson
  0 siblings, 0 replies; 15+ messages in thread
From: Chris Wilson @ 2019-08-12  7:55 UTC (permalink / raw)
  To: Michal Wajdeczko, intel-gfx

Quoting Michal Wajdeczko (2019-08-12 08:39:49)
> After successful uC initialization we are reporting GuC
> firmware version and status of GuC submission and HuC.
> Add HuC fw version to this report to make it complete,
> but also skip all HuC info if HuC is not supported.
> 
> v2: squeeze to one line (Chris)
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>

> ---
>  drivers/gpu/drm/i915/gt/uc/intel_uc.c | 18 +++++++++++++-----
>  1 file changed, 13 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> index aa9701cfc754..a3a5918c6782 100644
> --- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> +++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
> @@ -503,12 +503,20 @@ int intel_uc_init_hw(struct intel_uc *uc)
>                         goto err_communication;
>         }
>  
> -       dev_info(i915->drm.dev, "GuC firmware version %u.%u\n",
> -                guc->fw.major_ver_found, guc->fw.minor_ver_found);
> -       dev_info(i915->drm.dev, "GuC submission %s\n",
> +       dev_info(i915->drm.dev, "%s firmware %s version %u.%u %s:%s\n",

I would have put a comma between the version and the tag:state.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* ✗ Fi.CI.BAT: failure for Use -EIO code for GuC initialization failures (rev2)
  2019-08-11 19:51 [PATCH 0/4] Use -EIO code for GuC initialization failures Michal Wajdeczko
                   ` (4 preceding siblings ...)
  2019-08-11 20:33 ` ✗ Fi.CI.BAT: failure for " Patchwork
@ 2019-08-12  8:40 ` Patchwork
  2019-08-12  8:45   ` Chris Wilson
  2019-08-12  8:46   ` Michal Wajdeczko
  5 siblings, 2 replies; 15+ messages in thread
From: Patchwork @ 2019-08-12  8:40 UTC (permalink / raw)
  To: Michal Wajdeczko; +Cc: intel-gfx

== Series Details ==

Series: Use -EIO code for GuC initialization failures (rev2)
URL   : https://patchwork.freedesktop.org/series/65060/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_6681 -> Patchwork_13979
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_13979 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_13979, 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_13979/

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_13979:

### IGT changes ###

#### Possible regressions ####

  * igt@i915_module_load@reload:
    - fi-kbl-7567u:       [PASS][1] -> [INCOMPLETE][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-kbl-7567u/igt@i915_module_load@reload.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-kbl-7567u/igt@i915_module_load@reload.html

  
Known issues
------------

  Here are the changes found in Patchwork_13979 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@i915_pm_rpm@module-reload:
    - fi-kbl-r:           [PASS][3] -> [INCOMPLETE][4] ([fdo#107807])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-kbl-r/igt@i915_pm_rpm@module-reload.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-kbl-r/igt@i915_pm_rpm@module-reload.html

  * igt@i915_selftest@live_execlists:
    - fi-skl-gvtdvm:      [PASS][5] -> [DMESG-FAIL][6] ([fdo#111108])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-skl-gvtdvm/igt@i915_selftest@live_execlists.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-skl-gvtdvm/igt@i915_selftest@live_execlists.html

  * igt@i915_selftest@live_reset:
    - fi-icl-u3:          [PASS][7] -> [INCOMPLETE][8] ([fdo#107713])
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-icl-u3/igt@i915_selftest@live_reset.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-icl-u3/igt@i915_selftest@live_reset.html

  * igt@kms_busy@basic-flip-a:
    - fi-kbl-7567u:       [PASS][9] -> [SKIP][10] ([fdo#109271] / [fdo#109278]) +2 similar issues
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-kbl-7567u/igt@kms_busy@basic-flip-a.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-kbl-7567u/igt@kms_busy@basic-flip-a.html

  * igt@kms_busy@basic-flip-c:
    - fi-skl-6770hq:      [PASS][11] -> [SKIP][12] ([fdo#109271] / [fdo#109278]) +2 similar issues
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-skl-6770hq/igt@kms_busy@basic-flip-c.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-skl-6770hq/igt@kms_busy@basic-flip-c.html

  * igt@kms_chamelium@hdmi-edid-read:
    - fi-icl-u2:          [PASS][13] -> [FAIL][14] ([fdo#109483])
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-icl-u2/igt@kms_chamelium@hdmi-edid-read.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-icl-u2/igt@kms_chamelium@hdmi-edid-read.html

  * igt@kms_flip@basic-flip-vs-dpms:
    - fi-skl-6770hq:      [PASS][15] -> [SKIP][16] ([fdo#109271]) +23 similar issues
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-skl-6770hq/igt@kms_flip@basic-flip-vs-dpms.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-skl-6770hq/igt@kms_flip@basic-flip-vs-dpms.html

  * igt@vgem_basic@setversion:
    - fi-icl-u3:          [PASS][17] -> [DMESG-WARN][18] ([fdo#107724])
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-icl-u3/igt@vgem_basic@setversion.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-icl-u3/igt@vgem_basic@setversion.html

  
#### Possible fixes ####

  * {igt@gem_ctx_switch@legacy-render}:
    - {fi-icl-guc}:       [INCOMPLETE][19] ([fdo#107713]) -> [PASS][20]
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-icl-guc/igt@gem_ctx_switch@legacy-render.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-icl-guc/igt@gem_ctx_switch@legacy-render.html

  * igt@gem_exec_suspend@basic-s4-devices:
    - fi-blb-e6850:       [INCOMPLETE][21] ([fdo#107718]) -> [PASS][22]
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-blb-e6850/igt@gem_exec_suspend@basic-s4-devices.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-blb-e6850/igt@gem_exec_suspend@basic-s4-devices.html

  * igt@i915_pm_rps@basic-api:
    - {fi-icl-u4}:        [DMESG-WARN][23] ([fdo#105602]) -> [PASS][24] +1 similar issue
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-icl-u4/igt@i915_pm_rps@basic-api.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-icl-u4/igt@i915_pm_rps@basic-api.html

  * igt@i915_selftest@live_reset:
    - {fi-icl-dsi}:       [INCOMPLETE][25] ([fdo#107713]) -> [PASS][26]
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-icl-dsi/igt@i915_selftest@live_reset.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-icl-dsi/igt@i915_selftest@live_reset.html

  * igt@kms_chamelium@hdmi-edid-read:
    - {fi-icl-u4}:        [DMESG-FAIL][27] ([fdo#105602] / [fdo#111045]) -> [PASS][28]
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-icl-u4/igt@kms_chamelium@hdmi-edid-read.html
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-icl-u4/igt@kms_chamelium@hdmi-edid-read.html

  * igt@kms_chamelium@hdmi-hpd-fast:
    - fi-kbl-7500u:       [FAIL][29] ([fdo#109485]) -> [PASS][30]
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
    - {fi-icl-u4}:        [DMESG-FAIL][31] ([fdo#105602]) -> [PASS][32]
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-icl-u4/igt@kms_chamelium@hdmi-hpd-fast.html
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-icl-u4/igt@kms_chamelium@hdmi-hpd-fast.html

  * igt@kms_frontbuffer_tracking@basic:
    - fi-hsw-peppy:       [DMESG-WARN][33] ([fdo#102614]) -> [PASS][34]
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-hsw-peppy/igt@kms_frontbuffer_tracking@basic.html
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-hsw-peppy/igt@kms_frontbuffer_tracking@basic.html

  * igt@vgem_basic@debugfs:
    - fi-icl-u3:          [DMESG-WARN][35] ([fdo#107724]) -> [PASS][36] +1 similar issue
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-icl-u3/igt@vgem_basic@debugfs.html
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-icl-u3/igt@vgem_basic@debugfs.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
  [fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
  [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
  [fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
  [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
  [fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807
  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
  [fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
  [fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
  [fdo#109485]: https://bugs.freedesktop.org/show_bug.cgi?id=109485
  [fdo#109635 ]: https://bugs.freedesktop.org/show_bug.cgi?id=109635 
  [fdo#110387]: https://bugs.freedesktop.org/show_bug.cgi?id=110387
  [fdo#110718]: https://bugs.freedesktop.org/show_bug.cgi?id=110718
  [fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
  [fdo#111046 ]: https://bugs.freedesktop.org/show_bug.cgi?id=111046 
  [fdo#111093]: https://bugs.freedesktop.org/show_bug.cgi?id=111093
  [fdo#111108]: https://bugs.freedesktop.org/show_bug.cgi?id=111108


Participating hosts (53 -> 47)
------------------------------

  Additional (2): fi-whl-u fi-ivb-3770 
  Missing    (8): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus 


Build changes
-------------

  * CI: CI-20190529 -> None
  * Linux: CI_DRM_6681 -> Patchwork_13979

  CI-20190529: 20190529
  CI_DRM_6681: 1a9d9eba28276a29833c89097de11e559f1aacf7 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_5127: f43f5fa12ac1b93febfe3eeb9e9985f5f3e2eff0 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_13979: 731affa498552eea2c5b3b5d558520d5f53838c2 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

731affa49855 drm/i915/uc: Use -EIO code for GuC initialization failures
da7428bd9402 drm/i915/uc: Update messages from fw upload step
2a7280100a29 drm/i915/uc: Include HuC firmware version in summary
27921d11262f drm/i915/uc: Fail early if there is no GuC fw available

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: ✗ Fi.CI.BAT: failure for Use -EIO code for GuC initialization failures (rev2)
  2019-08-12  8:40 ` ✗ Fi.CI.BAT: failure for Use -EIO code for GuC initialization failures (rev2) Patchwork
@ 2019-08-12  8:45   ` Chris Wilson
  2019-08-12  8:46   ` Michal Wajdeczko
  1 sibling, 0 replies; 15+ messages in thread
From: Chris Wilson @ 2019-08-12  8:45 UTC (permalink / raw)
  To: Michal Wajdeczko, Patchwork; +Cc: intel-gfx

Quoting Patchwork (2019-08-12 09:40:19)
> == Series Details ==
> 
> Series: Use -EIO code for GuC initialization failures (rev2)
> URL   : https://patchwork.freedesktop.org/series/65060/
> State : failure
> 
> == Summary ==
> 
> CI Bug Log - changes from CI_DRM_6681 -> Patchwork_13979
> ====================================================
> 
> Summary
> -------
> 
>   **FAILURE**
> 
>   Serious unknown changes coming with Patchwork_13979 absolutely need to be
>   verified manually.
>   
>   If you think the reported changes have nothing to do with the changes
>   introduced in Patchwork_13979, 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_13979/
> 
> Possible new issues
> -------------------
> 
>   Here are the unknown changes that may have been introduced in Patchwork_13979:
> 
> ### IGT changes ###
> 
> #### Possible regressions ####
> 
>   * igt@i915_module_load@reload:
>     - fi-kbl-7567u:       [PASS][1] -> [INCOMPLETE][2]
>    [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-kbl-7567u/igt@i915_module_load@reload.html
>    [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-kbl-7567u/igt@i915_module_load@reload.html

Unrelated, so applying since this is just tweaking init paths that we
have sufficient coverage for from BAT.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: ✗ Fi.CI.BAT: failure for Use -EIO code for GuC initialization failures (rev2)
  2019-08-12  8:40 ` ✗ Fi.CI.BAT: failure for Use -EIO code for GuC initialization failures (rev2) Patchwork
  2019-08-12  8:45   ` Chris Wilson
@ 2019-08-12  8:46   ` Michal Wajdeczko
  1 sibling, 0 replies; 15+ messages in thread
From: Michal Wajdeczko @ 2019-08-12  8:46 UTC (permalink / raw)
  To: Patchwork, intel-gfx

On Mon, 12 Aug 2019 10:40:19 +0200, Patchwork  
<patchwork@emeril.freedesktop.org> wrote:

> == Series Details ==
>
> Series: Use -EIO code for GuC initialization failures (rev2)
> URL   : https://patchwork.freedesktop.org/series/65060/
> State : failure
>
> == Summary ==
>
> CI Bug Log - changes from CI_DRM_6681 -> Patchwork_13979
> ====================================================
>
> Summary
> -------
>
>   **FAILURE**
>
>   Serious unknown changes coming with Patchwork_13979 absolutely need to  
> be
>   verified manually.
>  If you think the reported changes have nothing to do with the changes
>   introduced in Patchwork_13979, 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_13979/
>
> Possible new issues
> -------------------
>
>   Here are the unknown changes that may have been introduced in  
> Patchwork_13979:
>
> ### IGT changes ###
>
> #### Possible regressions ####
>
>   * igt@i915_module_load@reload:
>     - fi-kbl-7567u:       [PASS][1] -> [INCOMPLETE][2]
>    [1]:  
> https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6681/fi-kbl-7567u/igt@i915_module_load@reload.html
>    [2]:  
> https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13979/fi-kbl-7567u/igt@i915_module_load@reload.html
>

This run is without GuC:

<7>[    3.598778] i915 0000:00:02.0: [drm:intel_uc_init_early [i915]]  
enable_guc=0 (guc:no submission:no huc:no)

and crash is unrelated:

<1> [223.461459] BUG: kernel NULL pointer dereference, address:  
0000000000000629
<1> [223.461471] #PF: supervisor read access in kernel mode
<1> [223.461478] #PF: error_code(0x0000) - not-present page
<6> [223.461485] PGD 0 P4D 0
<4> [223.461492] Oops: 0000 [#1] PREEMPT SMP PTI
<4> [223.461501] CPU: 3 PID: 519 Comm: kworker/3:3 Tainted: G      
U            5.3.0-rc4-CI-Patchwork_13979+ #1
<4> [223.461513] Hardware name:  /NUC7i7BNB, BIOS  
BNKBL357.86A.0054.2017.1025.1822 10/25/2017
<4> [223.461528] Workqueue: events snd_hdac_bus_process_unsol_events  
[snd_hda_core]
<4> [223.461540] RIP: 0010:hdmi_unsol_event+0x7/0x120 [snd_hda_codec_hdmi]
<4> [223.461550] Code: 0f b7 d6 48 c7 c6 a0 70 1d a0 5d 41 5c 41 5d e9 d1  
58 4b e1 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 8b 87 48 06 00 00  
<80> b8 29 06 00 00 00 74 02 f3 c3 41 54 41 89 f4 55 53 41 c1 ec 1a
<4> [223.461572] RSP: 0018:ffffc9000067fe50 EFLAGS: 00010286
<4> [223.461580] RAX: 0000000000000000 RBX: ffff88826f546ae0 RCX:  
0000000000000034
<4> [223.461589] RDX: ffffffffa02a6050 RSI: 00000000ffffffff RDI:  
ffff88825a95e7e8
<4> [223.461599] RBP: ffffc9000067fec8 R08: 0000000000000000 R09:  
0000000000000001
<4> [223.461608] R10: 000000009c3d0ecf R11: 000000001b84cafe R12:  
ffff888276bb9900
<4> [223.461618] R13: ffff888276bbdc00 R14: 0000000000000000 R15:  
0000000000000000
<4> [223.461627] FS:  0000000000000000(0000) GS:ffff888276b80000(0000)  
knlGS:0000000000000000
<4> [223.461639] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [223.461647] CR2: 0000000000000629 CR3: 000000026b59a005 CR4:  
00000000003606e0
<4> [223.461657] Call Trace:
<4> [223.461666]  snd_hdac_bus_process_unsol_events+0x5a/0x70  
[snd_hda_core]
<4> [223.461678]  process_one_work+0x245/0x610
<4> [223.461689]  worker_thread+0x37/0x380
<4> [223.461697]  ? process_one_work+0x610/0x610
<4> [223.461705]  kthread+0x119/0x130
<4> [223.461712]  ? kthread_park+0xa0/0xa0
<4> [223.461721]  ret_from_fork+0x3a/0x50
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2019-08-12  8:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-11 19:51 [PATCH 0/4] Use -EIO code for GuC initialization failures Michal Wajdeczko
2019-08-11 19:51 ` [PATCH 1/4] drm/i915/uc: Fail early if there is no GuC fw available Michal Wajdeczko
2019-08-11 20:22   ` Chris Wilson
2019-08-11 19:51 ` [PATCH 2/4] drm/i915/uc: Include HuC firmware version in summary Michal Wajdeczko
2019-08-11 20:24   ` Chris Wilson
2019-08-12  7:39   ` [PATCH v2 " Michal Wajdeczko
2019-08-12  7:55     ` Chris Wilson
2019-08-11 19:51 ` [PATCH 3/4] drm/i915/uc: Update messages from fw upload step Michal Wajdeczko
2019-08-11 20:25   ` Chris Wilson
2019-08-11 19:51 ` [PATCH 4/4] drm/i915/uc: Use -EIO code for GuC initialization failures Michal Wajdeczko
2019-08-11 20:26   ` Chris Wilson
2019-08-11 20:33 ` ✗ Fi.CI.BAT: failure for " Patchwork
2019-08-12  8:40 ` ✗ Fi.CI.BAT: failure for Use -EIO code for GuC initialization failures (rev2) Patchwork
2019-08-12  8:45   ` Chris Wilson
2019-08-12  8:46   ` Michal Wajdeczko

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.