add more probe failures
Subsystems (3)
v7 cover add more probe failures
v3: fix Gen9 issue discovered by the v2
v4: rebased
v5: more injected errors and more fixes
v7: hot fixes moved to separate patches
Michal Wajdeczko (6):
drm/i915: Add i915 to i915_inject_probe_failure drm/i915/uc: Do full sanitize instead of pure reset drm/i915/uc: Reorder firmware status codes drm/i915/uc: Move GuC error log to uc and release it on fini drm/i915/uc: Inject probe errors into intel_uc_init_hw drm/i915/wopcm: Don't fail on WOPCM partitioning failure
.../gpu/drm/i915/display/intel_connector.c | 2 +- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc.h | 3 -- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 4 ++ drivers/gpu/drm/i915/gt/uc/intel_huc.c | 8 +-- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 51 ++++++++++++------- drivers/gpu/drm/i915/gt/uc/intel_uc.h | 3 ++ drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 18 ++++--- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h | 14 ++--- drivers/gpu/drm/i915/i915_debugfs.c | 2 +- drivers/gpu/drm/i915/i915_drv.c | 27 +++++----- drivers/gpu/drm/i915/i915_drv.h | 12 +++-- drivers/gpu/drm/i915/i915_gem.c | 18 +++---- drivers/gpu/drm/i915/i915_pci.c | 2 +- drivers/gpu/drm/i915/intel_gvt.c | 2 +- drivers/gpu/drm/i915/intel_uncore.c | 2 +- drivers/gpu/drm/i915/intel_wopcm.c | 30 +++++------ drivers/gpu/drm/i915/intel_wopcm.h | 2 +- 18 files changed, 113 insertions(+), 89 deletions(-)
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 1/6 drm/i915: Add i915 to i915_inject_probe_failure
With i915 added to i915_inject_probe_failure we can use dedicated printk when injecting artificial load failure.
Also make this function look like other i915 functions that return error code and make it more flexible to return any provided error code instead of previously assumed -ENODEV.
--- .../gpu/drm/i915/display/intel_connector.c | 2 +- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/i915_drv.c | 27 ++++++++++--------- drivers/gpu/drm/i915/i915_drv.h | 12 +++++---- drivers/gpu/drm/i915/i915_gem.c | 10 +++---- drivers/gpu/drm/i915/i915_pci.c | 2 +- drivers/gpu/drm/i915/intel_gvt.c | 2 +- drivers/gpu/drm/i915/intel_uncore.c | 2 +- drivers/gpu/drm/i915/intel_wopcm.c | 2 +- 9 files changed, 31 insertions(+), 30 deletions(-)
drivers/gpu/drm/i915/display/intel_connector.c +1 -1
@@ -118,7 +118,7 @@ int intel_connector_register(struct drm_connector *connector)if (ret) goto err; -if (i915_inject_probe_failure ()) { +if (i915_inject_probe_failure (to_i915 (connector->dev))) { ret = -EFAULT ; goto err_backlight; }
drivers/gpu/drm/i915/gt/intel_engine_cs.c +1 -1
@@ -426,7 +426,7 @@ int intel_engines_init_mmio(struct drm_i915_private *i915)WARN_ON (engine_mask &GENMASK (BITS_PER_TYPE (mask) -1 ,I915_NUM_ENGINES )); -if (i915_inject_probe_failure ()) +if (i915_inject_probe_failure (i915))return -ENODEV ;for (i =0 ; i <ARRAY_SIZE (intel_engines); i++) {
drivers/gpu/drm/i915/i915_drv.c +14 -13
@@ -83,19 +83,20 @@ static struct drm_driver driver;#if IS_ENABLED (CONFIG_DRM_I915_DEBUG )static unsigned int i915_probe_fail_count; -bool __i915_inject_probe_failure (const char *func,int line) +int __i915_inject_load_error (struct drm_i915_private *i915,int err, +const char *func,int line) {if (i915_probe_fail_count >= i915_modparams.inject_load_failure) -return false; +return 0 ; -if (++i915_probe_fail_count == i915_modparams.inject_load_failure) { -DRM_INFO ("Injecting failure at checkpoint %u [%s:%d]\n" , - i915_modparams.inject_load_failure, func, line); - i915_modparams.inject_load_failure =0 ; -return true; - } +if (++i915_probe_fail_count < i915_modparams.inject_load_failure) +return 0 ; -return false; +__i915_printk (i915,KERN_INFO , +"Injecting failure %d at checkpoint %u [%s:%d]\n" , + err, i915_modparams.inject_load_failure, func, line); + i915_modparams.inject_load_failure =0 ; +return err; }bool i915_error_injected (void )
@@ -687,7 +688,7 @@ static int i915_driver_modeset_probe(struct drm_device *dev)struct pci_dev *pdev = dev_priv->drm.pdev;int ret; -if (i915_inject_probe_failure ()) +if (i915_inject_probe_failure (dev_priv))return -ENODEV ;if (HAS_DISPLAY (dev_priv)) {
@@ -894,7 +895,7 @@ static int i915_driver_early_probe(struct drm_i915_private *dev_priv) {int ret =0 ; -if (i915_inject_probe_failure ()) +if (i915_inject_probe_failure (dev_priv))return -ENODEV ;intel_device_info_subplatform_init (dev_priv);
@@ -985,7 +986,7 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv) {int ret; -if (i915_inject_probe_failure ()) +if (i915_inject_probe_failure (dev_priv))return -ENODEV ;if (i915_get_bridge_dev (dev_priv))
@@ -1530,7 +1531,7 @@ static int i915_driver_hw_probe(struct drm_i915_private *dev_priv)struct pci_dev *pdev = dev_priv->drm.pdev;int ret; -if (i915_inject_probe_failure ()) +if (i915_inject_probe_failure (dev_priv))return -ENODEV ;intel_device_info_runtime_init (dev_priv);
drivers/gpu/drm/i915/i915_drv.h +7 -5
@@ -122,19 +122,21 @@#if IS_ENABLED (CONFIG_DRM_I915_DEBUG ) -bool __i915_inject_probe_failure (const char *func,int line); -#define i915_inject_probe_failure () \ - __i915_inject_probe_failure(__func__, __LINE__) - +int __i915_inject_load_error (struct drm_i915_private *i915,int err, +const char *func,int line); +#define i915_inject_load_error (_i915, _err) \ + __i915_inject_load_error((_i915), (_err), __func__, __LINE__)bool i915_error_injected (void );#else -#define i915_inject_probe_failure () false +#define i915_inject_load_error (_err) 0#define i915_error_injected () false#endif +#define i915_inject_probe_failure (i915) i915_inject_load_error((i915), -ENODEV) +#define i915_probe_error (i915, fmt, ...) \ __i915_printk(i915, i915_error_injected() ? KERN_DEBUG : KERN_ERR, \ fmt, ##__VA_ARGS__)
drivers/gpu/drm/i915/i915_gem.c +4 -6
@@ -1520,15 +1520,13 @@ int i915_gem_init(struct drm_i915_private *dev_priv)if (ret) goto err_gt; -if (i915_inject_probe_failure ()) { - ret = -ENODEV ; + ret =i915_inject_load_error (dev_priv, -ENODEV ); +if (ret) goto err_gt; - } -if (i915_inject_probe_failure ()) { - ret = -EIO ; + ret =i915_inject_load_error (dev_priv, -EIO ); +if (ret) goto err_gt; - }intel_uncore_forcewake_put (&dev_priv->uncore,FORCEWAKE_ALL );mutex_unlock (&dev_priv->drm.struct_mutex);
drivers/gpu/drm/i915/i915_pci.c +1 -1
@@ -959,7 +959,7 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (err)return err; -if (i915_inject_probe_failure ()) { +if (i915_inject_probe_failure (to_i915 (pci_get_drvdata (pdev)))) {i915_pci_remove (pdev);return -ENODEV ; }
drivers/gpu/drm/i915/intel_gvt.c +1 -1
@@ -95,7 +95,7 @@ int intel_gvt_init(struct drm_i915_private *dev_priv) {int ret; -if (i915_inject_probe_failure ()) +if (i915_inject_probe_failure (dev_priv))return -ENODEV ;if (!i915_modparams.enable_gvt) {
drivers/gpu/drm/i915/intel_uncore.c +1 -1
@@ -1331,7 +1331,7 @@ static int __fw_domain_init(struct intel_uncore *uncore,GEM_BUG_ON (domain_id >=FW_DOMAIN_ID_COUNT );GEM_BUG_ON (uncore->fw_domain[domain_id]); -if (i915_inject_probe_failure ()) +if (i915_inject_probe_failure (uncore->i915))return -ENOMEM ; d =kzalloc (sizeof (*d),GFP_KERNEL );
drivers/gpu/drm/i915/intel_wopcm.c +1 -1
@@ -177,7 +177,7 @@ int intel_wopcm_init(struct intel_wopcm *wopcm)GEM_BUG_ON (!wopcm->size); -if (i915_inject_probe_failure ()) +if (i915_inject_probe_failure (i915))return -E2BIG ;if (guc_fw_size >= wopcm->size) {
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 2/6 drm/i915/uc: Do full sanitize instead of pure reset
In reply to Michal WajdeczkoOn Gen9 when we try to reload HuC due to GuC upload error, we hit:
<7> [229.656688] [drm:intel_uc_init_hw [i915]] GuC fw load failed: -8; will reset and retry 2 more time(s) <7> [229.656739] [drm:intel_uc_fw_upload [i915]] HuC fw load i915/kbl_huc_ver02_00_1810.bin <3> [229.656740] intel_uc_fw_upload:425 GEM_BUG_ON(intel_uc_fw_is_loaded(uc_fw))
as we performed only pure reset and didn't sanitized HuC fw status.
--- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_uc.c +3 -3
@@ -340,7 +340,7 @@ void intel_uc_fini(struct intel_uc *uc)intel_guc_fini (guc); } -static void __uc_sanitize (struct intel_uc *uc) +static int __uc_sanitize (struct intel_uc *uc) {struct intel_guc *guc = &uc->guc;struct intel_huc *huc = &uc->huc;
@@ -350,7 +350,7 @@ static void __uc_sanitize(struct intel_uc *uc)intel_huc_sanitize (huc);intel_guc_sanitize (guc); -__intel_uc_reset_hw (uc); +return __intel_uc_reset_hw (uc); }void intel_uc_sanitize (struct intel_uc *uc)
@@ -434,7 +434,7 @@ int intel_uc_init_hw(struct intel_uc *uc)* Always reset the GuC just before (re)loading, so * that the state and timing are fairly predictable */ - ret =__intel_uc_reset_hw (uc); + ret =__uc_sanitize (uc);if (ret) goto err_out;
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v7 2/6] drm/i915/uc: Do full sanitize instead of pure reset
Quoting Michal Wajdeczko (2019-08-02 19:40:51)
Quoted 11 lines
On Gen9 when we try to reload HuC due to GuC upload error, we hit:
<7> [229.656688] [drm:intel_uc_init_hw [i915]] GuC fw load failed: -8; will reset and retry 2 more time(s) <7> [229.656739] [drm:intel_uc_fw_upload [i915]] HuC fw load i915/kbl_huc_ver02_00_1810.bin <3> [229.656740] intel_uc_fw_upload:425 GEM_BUG_ON(intel_uc_fw_is_loaded(uc_fw))
as we performed only pure reset and didn't sanitized HuC fw status.
Signed-off-by Michal Wajdeczko <[email protected]>Cc Daniele Ceraolo Spurio <[email protected]>Cc Chris Wilson <[email protected]>
Looks reasonable,
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 3/6 drm/i915/uc: Reorder firmware status codes
In reply to Michal WajdeczkoOn Gen9 when we try to reload HuC due to GuC upload error, we hit:
<7> [232.025927] [drm:intel_uc_init_hw [i915]] GuC fw load failed: -8; will reset and retry 2 more time(s) <7> [232.026004] [drm:intel_uc_fw_upload [i915]] HuC fw load i915/kbl_huc_ver02_00_1810.bin <7> [232.026686] [drm:intel_uc_fw_upload [i915]] HuC fw xfer completed
<6> [232.026688] [drm] HuC: Loaded firmware i915/kbl_huc_ver02_00_1810.bin (version 2.0) <3> [232.026703] intel_uc_fw_copy_rsa:541 GEM_BUG_ON(!intel_uc_fw_is_available(uc_fw))
as firmware that previously failed to load was wrongly treated as unavailable since its status code was not matching status check logic.
--- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h +7 -7
@@ -37,12 +37,12 @@ struct intel_gt;#define INTEL_UC_FIRMWARE_URL "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915"enum intel_uc_fw_status { -INTEL_UC_FIRMWARE_FAIL =-3 ,/* failed to xfer or init/auth the fw */ -INTEL_UC_FIRMWARE_MISSING =-2 ,/* blob not found on the system */ -INTEL_UC_FIRMWARE_NOT_SUPPORTED =-1 ,/* no uc HW */ +INTEL_UC_FIRMWARE_NOT_SUPPORTED =-1 ,/* no uc HW or disabled */ INTEL_UC_FIRMWARE_UNINITIALIZED =0 ,/* used to catch checks done too early */ INTEL_UC_FIRMWARE_SELECTED ,/* selected the blob we want to load */ +INTEL_UC_FIRMWARE_MISSING ,/* blob not found on the system */ INTEL_UC_FIRMWARE_AVAILABLE ,/* blob found and copied in mem */ +INTEL_UC_FIRMWARE_FAIL ,/* failed to xfer or init/auth the fw */ INTEL_UC_FIRMWARE_TRANSFERRED ,/* dma xfer done */ INTEL_UC_FIRMWARE_RUNNING /* init/auth done */ };
@@ -83,18 +83,18 @@ static inlineconst char *intel_uc_fw_status_repr (enum intel_uc_fw_status status) {switch (status) { -case INTEL_UC_FIRMWARE_FAIL : -return "FAIL" ; -case INTEL_UC_FIRMWARE_MISSING : -return "MISSING" ;case INTEL_UC_FIRMWARE_NOT_SUPPORTED :return "N/A" ;case INTEL_UC_FIRMWARE_UNINITIALIZED :return "UNINITIALIZED" ;case INTEL_UC_FIRMWARE_SELECTED :return "SELECTED" ; +case INTEL_UC_FIRMWARE_MISSING : +return "MISSING" ;case INTEL_UC_FIRMWARE_AVAILABLE :return "AVAILABLE" ; +case INTEL_UC_FIRMWARE_FAIL : +return "FAIL" ;case INTEL_UC_FIRMWARE_TRANSFERRED :return "TRANSFERRED" ;case INTEL_UC_FIRMWARE_RUNNING :
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v7 3/6] drm/i915/uc: Reorder firmware status codes
Quoting Michal Wajdeczko (2019-08-02 19:40:52)
Quoted 23 lines
On Gen9 when we try to reload HuC due to GuC upload error, we hit:
<7> [232.025927] [drm:intel_uc_init_hw [i915]] GuC fw load failed: -8; will reset and retry 2 more time(s) <7> [232.026004] [drm:intel_uc_fw_upload [i915]] HuC fw load i915/kbl_huc_ver02_00_1810.bin <7> [232.026686] [drm:intel_uc_fw_upload [i915]] HuC fw xfer completed
<6> [232.026688] [drm] HuC: Loaded firmware i915/kbl_huc_ver02_00_1810.bin (version 2.0) <3> [232.026703] intel_uc_fw_copy_rsa:541 GEM_BUG_ON(!intel_uc_fw_is_available(uc_fw))as firmware that previously failed to load was wrongly treated as unavailable since its status code was not matching status check logic.
Signed-off-by Michal Wajdeczko <[email protected]>Cc Daniele Ceraolo Spurio <[email protected]>Cc Chris Wilson <[email protected]>--- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h +0
-0
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h struct intel_gt; · line 37
Quoted 1 line
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h +0
-0@@ -37,12 +37,12 @@ struct intel_gt;#define INTEL_UC_FIRMWARE_URL "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915"
Do you have to have some comments here on the ordering rule?
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h struct intel_gt; · line 43
Quoted 8 lines
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h +2
-3enum intel_uc_fw_status { -INTEL_UC_FIRMWARE_FAIL =-3 ,/* failed to xfer or init/auth the fw */ -INTEL_UC_FIRMWARE_MISSING =-2 ,/* blob not found on the system */ -INTEL_UC_FIRMWARE_NOT_SUPPORTED =-1 ,/* no uc HW */ +INTEL_UC_FIRMWARE_NOT_SUPPORTED =-1 ,/* no uc HW or disabled */ INTEL_UC_FIRMWARE_UNINITIALIZED =0 ,/* used to catch checks done too early */ INTEL_UC_FIRMWARE_SELECTED ,/* selected the blob we want to load */ +INTEL_UC_FIRMWARE_MISSING ,/* blob not found on the system */
/* All onwards are intel_uc_fw_is_available() */
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h struct intel_gt; · line 45
Quoted 2 lines
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h +1
-0INTEL_UC_FIRMWARE_AVAILABLE ,/* blob found and copied in mem */ + INTEL_UC_FIRMWARE_FAIL, /* failed to xfer or init/auth the fw */
/* All onwards are intel_uc_fw_is_loaded() */
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h struct intel_gt; · line 47
Quoted 2 lines
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h +0
-0INTEL_UC_FIRMWARE_TRANSFERRED ,/* dma xfer done */ INTEL_UC_FIRMWARE_RUNNING /* init/auth done */
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 4/6 drm/i915/uc: Move GuC error log to uc and release it on fini
In reply to Michal WajdeczkoWhen we fail to load GuC and want to abort probe, we hit:
<7> [229.915779] i915 0000:00:02.0: [drm:intel_uc_init_hw [i915]] GuC initialization failed -6
<7> [229.915813] i915 0000:00:02.0: [drm:i915_gem_init_hw [i915]] Enabling uc failed (-6)
<4> [229.953354] ------------[ cut here ]------------
<4> [229.953355] WARN_ON(dev_priv->mm.shrink_count)
<4> [229.953406] WARNING: CPU: 9 PID: 3287 at drivers/gpu/drm/i915/i915_gem.c:1684 i915_gem_cleanup_early+0xfc/0x110 [i915] <4> [229.953464] Call Trace:
<4> [229.953489] i915_driver_late_release+0x19/0x60 [i915] <4> [229.953514] i915_driver_probe+0xb82/0x18a0 [i915] <4> [229.953519] ? __pm_runtime_resume+0x4f/0x80 <4> [229.953545] i915_pci_probe+0x43/0x1b0 [i915]
...
<4> [229.962951] ------------[ cut here ]------------
<4> [229.962956] DEBUG_LOCKS_WARN_ON(lock->magic != lock)
<4> [229.962959] WARNING: CPU: 8 PID: 2395 at kernel/locking/mutex.c:912 __mutex_lock+0x750/0x9b0 <4> [229.963091] Call Trace:
<4> [229.963129] ? i915_vma_destroy+0x86/0x350 [i915] <4> [229.963166] ? i915_vma_destroy+0x86/0x350 [i915] <4> [229.963201] i915_vma_destroy+0x86/0x350 [i915] <4> [229.963236] __i915_gem_free_objects+0xb8/0x510 [i915] <4> [229.963270] __i915_gem_free_work+0x5a/0x90 [i915] <4> [229.963275] process_one_work+0x245/0x610
as since commit 6f76098fe0f3 ("drm/i915/uc: Move uC early functions inside the GT ones") we cleanup uc after gem.
Move captured GuC load error log to uc struct and release it in intel_uc_fini() instead of intel_uc_driver_late_release()
Note that intel_uc_driver_late_release() is now empty, but we can leave it as a placeholder for future code.
--- drivers/gpu/drm/i915/gt/uc/intel_guc.h | 3 --- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 26 ++++++++++++-------------- drivers/gpu/drm/i915/gt/uc/intel_uc.h | 3 +++ drivers/gpu/drm/i915/i915_debugfs.c | 2 +- 4 files changed, 16 insertions(+), 18 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc.h +0 -3
@@ -47,9 +47,6 @@ struct intel_guc {struct intel_guc_log log;struct intel_guc_ct ct; -/* Log snapshot if GuC errors during load */ -struct drm_i915_gem_object *load_err_log; -/* intel_guc_recv interrupt related state */ spinlock_t irq_lock;unsigned int msg_enabled_mask;
drivers/gpu/drm/i915/gt/uc/intel_uc.c +12 -14
@@ -31,8 +31,6 @@#include "i915_drv.h" -static void guc_free_load_err_log (struct intel_guc *guc); -/* Reset GuC providing us with fresh state for both GuC and HuC. */ static int __intel_uc_reset_hw (struct intel_uc *uc)
@@ -103,7 +101,6 @@ void intel_uc_init_early(struct intel_uc *uc)void intel_uc_driver_late_release (struct intel_uc *uc) { -guc_free_load_err_log (&uc->guc); }/**
@@ -118,21 +115,20 @@ void intel_uc_init_mmio(struct intel_uc *uc)intel_guc_init_send_regs (&uc->guc); } -static void guc_capture_load_err_log (struct intel_guc *guc) +static void __uc_capture_load_err_log (struct intel_uc *uc) { -if (!guc->log.vma || !intel_guc_log_get_level (&guc->log)) -return ; - -if (!guc->load_err_log) - guc->load_err_log =i915_gem_object_get (guc->log.vma->obj); +struct intel_guc *guc = &uc->guc; -return ; +if (guc->log.vma && !uc->load_err_log) + uc->load_err_log =i915_gem_object_get (guc->log.vma->obj); } -static void guc_free_load_err_log (struct intel_guc *guc) +static void __uc_free_load_err_log (struct intel_uc *uc) { -if (guc->load_err_log) -i915_gem_object_put (guc->load_err_log); +struct drm_i915_gem_object *log =fetch_and_zero (&uc->load_err_log); + +if (log) +i915_gem_object_put (log); }/*
@@ -338,6 +334,8 @@ void intel_uc_fini(struct intel_uc *uc)intel_huc_fini (&uc->huc);intel_guc_fini (guc); + +__uc_free_load_err_log (uc); }static int __uc_sanitize (struct intel_uc *uc)
@@ -493,7 +491,7 @@ int intel_uc_init_hw(struct intel_uc *uc) err_communication:guc_disable_communication (guc); err_log_capture: -guc_capture_load_err_log (guc); +__uc_capture_load_err_log (uc); err_out:__uc_sanitize (uc);
drivers/gpu/drm/i915/gt/uc/intel_uc.h +3 -0
@@ -31,6 +31,9 @@struct intel_uc {struct intel_guc guc;struct intel_huc huc; + +/* Snapshot of GuC log from last failed load */ +struct drm_i915_gem_object *load_err_log; };void intel_uc_init_early (struct intel_uc *uc);
drivers/gpu/drm/i915/i915_debugfs.c +1 -1
@@ -2066,7 +2066,7 @@ static int i915_guc_log_dump(struct seq_file *m, void *data)return -ENODEV ;if (dump_load_err) - obj = dev_priv->gt.uc.guc.load_err_log; + obj = dev_priv->gt.uc.load_err_log;else if (dev_priv->gt.uc.guc.log.vma) obj = dev_priv->gt.uc.guc.log.vma->obj;
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v7 4/6] drm/i915/uc: Move GuC error log to uc and release it on fini
Quoting Michal Wajdeczko (2019-08-02 19:40:53)
Quoted 30 lines
When we fail to load GuC and want to abort probe, we hit:
<7> [229.915779] i915 0000:00:02.0: [drm:intel_uc_init_hw [i915]] GuC initialization failed -6
<7> [229.915813] i915 0000:00:02.0: [drm:i915_gem_init_hw [i915]] Enabling uc failed (-6)
<4> [229.953354] ------------[ cut here ]------------
<4> [229.953355]WARN_ON(dev_priv->mm.shrink_count)
<4> [229.953406] WARNING: CPU: 9 PID: 3287 atdrivers/gpu/drm/i915/i915_gem.c:1684i915_gem_cleanup_early+0xfc/0x110[i915] <4> [229.953464] Call Trace:<4> [229.953489] i915_driver_late_release+0x19/0x60 [i915] <4> [229.953514] i915_driver_probe+0xb82/0x18a0 [i915] <4> [229.953519] ? __pm_runtime_resume+0x4f/0x80 <4> [229.953545] i915_pci_probe+0x43/0x1b0 [i915]...
<4> [229.962951] ------------[ cut here ]------------
<4> [229.962956]DEBUG_LOCKS_WARN_ON(lock->magic != lock)
<4> [229.962959] WARNING: CPU: 8 PID: 2395 atkernel/locking/mutex.c:912__mutex_lock+0x750/0x9b0<4> [229.963091] Call Trace:<4> [229.963129] ? i915_vma_destroy+0x86/0x350 [i915] <4> [229.963166] ? i915_vma_destroy+0x86/0x350 [i915] <4> [229.963201] i915_vma_destroy+0x86/0x350 [i915] <4> [229.963236] __i915_gem_free_objects+0xb8/0x510 [i915] <4> [229.963270] __i915_gem_free_work+0x5a/0x90 [i915] <4> [229.963275] process_one_work+0x245/0x610as since commit
6f76098fe0f3("drm/i915/uc: Move uC early functions inside the GT ones") we cleanup uc after gem.Move captured GuC load error log to uc struct and release it in
intel_uc_fini()instead ofintel_uc_driver_late_release()
Quoted 6 lines
Note that
intel_uc_driver_late_release()is now empty, but we can leave it as a placeholder for future code.Signed-off-by Michal Wajdeczko <[email protected]>Cc Daniele Ceraolo Spurio <[email protected]>Cc Chris Wilson <[email protected]>
Well done, I was looking for an incorrect onion and didn't spot it, so thought it was just the deferred free.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 5/6 drm/i915/uc: Inject probe errors into intel_uc_init_hw
In reply to Michal WajdeczkoInject probe errors into intel_uc_init_hw to make sure we correctly handle any uC initialization failure.
To avoid complains from CI about injected errors use i915_probe_error to lower message level.
v4: rebased after moving hot fixes moved to separate patches
--- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 4 ++++ drivers/gpu/drm/i915/gt/uc/intel_huc.c | 8 +++++--- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 14 +++++++++++++- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 18 ++++++++++++------ drivers/gpu/drm/i915/i915_gem.c | 2 +- 5 files changed, 35 insertions(+), 11 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +4 -0
@@ -1123,6 +1123,10 @@ int intel_guc_submission_enable(struct intel_guc *guc)enum intel_engine_id id;int err; + err =i915_inject_load_error (gt->i915, -ENXIO ); +if (err) +return err; +/* * We're using GuC work items for submitting work through GuC. Since * we're coalescing multiple requests from a single context into a
drivers/gpu/drm/i915/gt/uc/intel_huc.c +5 -3
@@ -139,6 +139,10 @@ int intel_huc_auth(struct intel_huc *huc)GEM_BUG_ON (!intel_uc_fw_is_loaded (&huc->fw));GEM_BUG_ON (intel_huc_is_authenticated (huc)); + ret =i915_inject_load_error (gt->i915, -ENXIO ); +if (ret) + goto fail; + ret =intel_guc_auth_huc (guc,intel_guc_ggtt_offset (guc, huc->rsa_data));if (ret) {
@@ -158,13 +162,11 @@ int intel_huc_auth(struct intel_huc *huc) } huc->fw.status =INTEL_UC_FIRMWARE_RUNNING ; -return 0 ; fail: +i915_probe_error (gt->i915,"HuC: Authentication failed %d\n" , ret); huc->fw.status =INTEL_UC_FIRMWARE_FAIL ; - -DRM_ERROR ("HuC: Authentication failed %d\n" , ret);return ret; }
drivers/gpu/drm/i915/gt/uc/intel_uc.c +13 -1
@@ -39,6 +39,10 @@ static int __intel_uc_reset_hw(struct intel_uc *uc)int ret;u32 guc_status; + ret =i915_inject_load_error (gt->i915, -ENXIO ); +if (ret) +return ret; + ret =intel_reset_guc (gt);if (ret) {DRM_ERROR ("Failed to reset GuC, ret = %d\n" , ret);
@@ -205,6 +209,10 @@ static int guc_enable_communication(struct intel_guc *guc)GEM_BUG_ON (guc_communication_enabled (guc)); + ret =i915_inject_load_error (i915, -ENXIO ); +if (ret) +return ret; + ret =intel_guc_ct_enable (&guc->ct);if (ret)return ret;
@@ -376,6 +384,10 @@ static int uc_init_wopcm(struct intel_uc *uc)GEM_BUG_ON (!(size &GUC_WOPCM_SIZE_MASK ));GEM_BUG_ON (size & ~GUC_WOPCM_SIZE_MASK ); + err =i915_inject_load_error (gt->i915, -ENXIO ); +if (err) +return err; + mask =GUC_WOPCM_SIZE_MASK |GUC_WOPCM_SIZE_LOCKED ; err =intel_uncore_write_and_verify (uncore,GUC_WOPCM_SIZE , size, mask, size |GUC_WOPCM_SIZE_LOCKED );
@@ -502,7 +514,7 @@ int intel_uc_init_hw(struct intel_uc *uc)if (GEM_WARN_ON (ret == -EIO )) ret = -EINVAL ; -dev_err (i915->drm.dev,"GuC initialization failed %d\n" , ret); +i915_probe_error (i915,"GuC initialization failed %d\n" , ret);return ret; }
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c +12 -6
@@ -383,6 +383,10 @@ static int uc_fw_xfer(struct intel_uc_fw *uc_fw, struct intel_gt *gt,u64 offset;int ret; + ret =i915_inject_load_error (gt->i915, -ETIMEDOUT ); +if (ret) +return ret; +intel_uncore_forcewake_get (uncore,FORCEWAKE_ALL );/* Set the source address for the uCode */
@@ -443,8 +447,13 @@ int intel_uc_fw_upload(struct intel_uc_fw *uc_fw, struct intel_gt *gt,/* make sure the status was cleared the last time we reset the uc */ GEM_BUG_ON (intel_uc_fw_is_loaded (uc_fw)); + err =i915_inject_load_error (gt->i915, -ENOEXEC ); +if (err) +return err; +if (!intel_uc_fw_is_available (uc_fw))return -ENOEXEC ; +/* Call custom loader */ intel_uc_fw_ggtt_bind (uc_fw, gt); err =uc_fw_xfer (uc_fw, gt, wopcm_offset, dma_flags);
@@ -464,13 +473,10 @@ int intel_uc_fw_upload(struct intel_uc_fw *uc_fw, struct intel_gt *gt,return 0 ; fail: +i915_probe_error (gt->i915,"Failed to load %s firmware %s (%d)\n" , +intel_uc_fw_type_repr (uc_fw->type), uc_fw->path, + err); uc_fw->status =INTEL_UC_FIRMWARE_FAIL ; -DRM_DEBUG_DRIVER ("%s fw load failed\n" , -intel_uc_fw_type_repr (uc_fw->type)); - -DRM_WARN ("%s: Failed to load firmware %s (error %d)\n" , -intel_uc_fw_type_repr (uc_fw->type), uc_fw->path, err); -return err; }
drivers/gpu/drm/i915/i915_gem.c +1 -1
@@ -1243,7 +1243,7 @@ int i915_gem_init_hw(struct drm_i915_private *i915)/* We can't enable contexts until all firmware is loaded */ ret =intel_uc_init_hw (>->uc);if (ret) { -DRM_ERROR ("Enabling uc failed (%d)\n" , ret); +i915_probe_error (i915,"Enabling uc failed (%d)\n" , ret); goto out; }
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 6/6 drm/i915/wopcm: Don't fail on WOPCM partitioning failure
In reply to Michal WajdeczkoWe don't have to immediately fail on WOPCM partitioning, we can wait until we will start programming WOPCM registers. This should give us more options if we decide to restore fallback in case of GuC failures.
v3: rebased
--- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 5 +++++ drivers/gpu/drm/i915/i915_gem.c | 6 +----- drivers/gpu/drm/i915/intel_wopcm.c | 28 +++++++++++++-------------- drivers/gpu/drm/i915/intel_wopcm.h | 2 +- 4 files changed, 21 insertions(+), 20 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_uc.c +5 -0
@@ -378,6 +378,11 @@ static int uc_init_wopcm(struct intel_uc *uc)u32 mask;int err; +if (unlikely (!base || !size)) { +i915_probe_error (gt->i915,"Unsuccessful WOPCM partitioning\n" ); +return -E2BIG ; + } +GEM_BUG_ON (!intel_uc_supports_guc (uc));GEM_BUG_ON (!(base &GUC_WOPCM_OFFSET_MASK ));GEM_BUG_ON (base & ~GUC_WOPCM_OFFSET_MASK );
drivers/gpu/drm/i915/i915_gem.c +1 -5
@@ -1441,10 +1441,7 @@ int i915_gem_init(struct drm_i915_private *dev_priv)return ret;intel_uc_fetch_firmwares (&dev_priv->gt.uc); - - ret =intel_wopcm_init (&dev_priv->wopcm); -if (ret) - goto err_uc_fw; +intel_wopcm_init (&dev_priv->wopcm);/* This is just a security blanket to placate dragons. * On some systems, we very sporadically observe that the first TLBs
@@ -1568,7 +1565,6 @@ 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); -err_uc_fw:intel_uc_cleanup_firmwares (&dev_priv->gt.uc);if (ret != -EIO ) {
drivers/gpu/drm/i915/intel_wopcm.c +14 -14
@@ -156,12 +156,10 @@ static inline int check_hw_restriction(struct drm_i915_private *i915,* This function will partition WOPCM space based on GuC and HuC firmware sizes * and will allocate max remaining for use by GuC. This function will also * enforce platform dependent hardware restrictions on GuC WOPCM offset and -* size. It will fail the WOPCM init if any of these checks were failed, so that -* the following GuC firmware uploading would be aborted. -* -* Return: 0 on success, non-zero error code on failure. +* size. It will fail the WOPCM init if any of these checks fail, so that the +* following WOPCM registers setup and GuC firmware uploading would be aborted. */ -int intel_wopcm_init (struct intel_wopcm *wopcm) +void intel_wopcm_init (struct intel_wopcm *wopcm) {struct drm_i915_private *i915 =wopcm_to_i915 (wopcm);u32 guc_fw_size =intel_uc_fw_get_upload_size (&i915->gt.uc.guc.fw);
@@ -173,23 +171,25 @@ int intel_wopcm_init(struct intel_wopcm *wopcm)int err;if (!USES_GUC (i915)) -return 0 ; +return ;GEM_BUG_ON (!wopcm->size); +GEM_BUG_ON (wopcm->guc.base); +GEM_BUG_ON (wopcm->guc.size);if (i915_inject_probe_failure (i915)) -return -E2BIG ; +return ;if (guc_fw_size >= wopcm->size) {DRM_ERROR ("GuC FW (%uKiB) is too big to fit in WOPCM." , guc_fw_size /1024 ); -return -E2BIG ; +return ; }if (huc_fw_size >= wopcm->size) {DRM_ERROR ("HuC FW (%uKiB) is too big to fit in WOPCM." , huc_fw_size /1024 ); -return -E2BIG ; +return ; } guc_wopcm_base = ALIGN(huc_fw_size + WOPCM_RESERVED_SIZE,
@@ -197,7 +197,7 @@ int intel_wopcm_init(struct intel_wopcm *wopcm)if ((guc_wopcm_base + ctx_rsvd) >= wopcm->size) {DRM_ERROR ("GuC WOPCM base (%uKiB) is too big.\n" , guc_wopcm_base /1024 ); -return -E2BIG ; +return ; } guc_wopcm_size = wopcm->size - guc_wopcm_base - ctx_rsvd;
@@ -211,16 +211,16 @@ int intel_wopcm_init(struct intel_wopcm *wopcm)DRM_ERROR ("Need %uKiB WOPCM for GuC, %uKiB available.\n" , (guc_fw_size + guc_wopcm_rsvd) /1024 , guc_wopcm_size /1024 ); -return -E2BIG ; +return ; } err =check_hw_restriction (i915, guc_wopcm_base, guc_wopcm_size, huc_fw_size);if (err) -return err; +return ; wopcm->guc.base = guc_wopcm_base; wopcm->guc.size = guc_wopcm_size; - -return 0 ; +GEM_BUG_ON (!wopcm->guc.base); +GEM_BUG_ON (!wopcm->guc.size); }
drivers/gpu/drm/i915/intel_wopcm.h +1 -1
@@ -55,6 +55,6 @@ static inline u32 intel_wopcm_guc_size(struct intel_wopcm *wopcm) }void intel_wopcm_init_early (struct intel_wopcm *wopcm); -int intel_wopcm_init (struct intel_wopcm *wopcm); +void intel_wopcm_init (struct intel_wopcm *wopcm);#endif
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for add more probe failures
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: add more probe failures
URL : https://patchwork.freedesktop.org/series/64629/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 75b2500aa733 drm/i915: Add i915 to i915_inject_probe_failure 8314c03ba836 drm/i915/uc: Do full sanitize instead of pure reset -:8: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #8: <7> [229.656688] [drm:intel_uc_init_hw [i915]] GuC fw load failed: -8; will reset and retry 2 more time(s)
total: 0 errors, 1 warnings, 0 checks, 24 lines checkedeced4fc072c5 drm/i915/uc: Reorder firmware status codes
-:8: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #8:
<7> [232.025927] [drm:intel_uc_init_hw [i915]] GuC fw load failed: -8; will reset and retry 2 more time(s)
total: 0 errors, 1 warnings, 0 checks, 37 lines checkedc9556ced9c91 drm/i915/uc: Move GuC error log to uc and release it on fini
-:8: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #8:
<7> [229.915779] i915 0000:00:02.0: [drm:intel_uc_init_hw [i915]] GuC initialization failed -6
total: 0 errors, 1 warnings, 0 checks, 87 lines checked 956842dcef82 drm/i915/uc: Inject probe errors into intel_uc_init_hw e4f812d7862c drm/i915/wopcm: Don't fail on WOPCM partitioning failure
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for add more probe failures
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: add more probe failures
URL : https://patchwork.freedesktop.org/series/64629/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6618 -> Patchwork_13856
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/
Known issues
------------
Here are the changes found in Patchwork_13856 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-kbl-7567u: [PASS][1] -> [WARN][2] ([fdo#109380])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/fi-kbl-7567u/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/fi-kbl-7567u/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-cml-u2: [PASS][3] -> [FAIL][4] ([fdo#110627])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/fi-cml-u2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/fi-cml-u2/igt@[email protected]
* igt@kms_pipe_crc_basic@read-crc-pipe-c:
- fi-kbl-7567u: [PASS][5] -> [SKIP][6] ([fdo#109271]) +23 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/fi-kbl-7567u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/fi-kbl-7567u/igt@[email protected]
* igt@vgem_basic@dmabuf-mmap:
- fi-icl-u3: [PASS][7] -> [DMESG-WARN][8] ([fdo#107724])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/fi-icl-u3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/fi-icl-u3/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_create@basic-files:
- {fi-icl-guc}: [INCOMPLETE][9] ([fdo#107713] / [fdo#109100]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/fi-icl-guc/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/fi-icl-guc/igt@[email protected]
* igt@i915_getparams_basic@basic-subslice-total:
- fi-icl-dsi: [INCOMPLETE][11] ([fdo#107713]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/fi-icl-dsi/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/fi-icl-dsi/igt@[email protected]
* igt@kms_busy@basic-flip-a:
- fi-kbl-7567u: [SKIP][13] ([fdo#109271] / [fdo#109278]) -> [PASS][14] +2 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/fi-kbl-7567u/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/fi-kbl-7567u/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][15] ([fdo#109485]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/fi-kbl-7500u/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/fi-kbl-7500u/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-blb-e6850: [INCOMPLETE][17] ([fdo#107718]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/fi-blb-e6850/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/fi-blb-e6850/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[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#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[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
[fdo#110627]: https://bugs.freedesktop.org/show_bug.cgi?id=110627
Participating hosts (55 -> 47)
------------------------------
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_6618 -> Patchwork_13856
CI-20190529: 20190529
CI_DRM_6618: 7bef836acab541f26d5806697c13181df22f71a1 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5120: b3138fbea79d5d7935e53530b90efe3e816236f4 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13856: e4f812d7862c9151babdcd2e28fdec9a2eba80ca @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
e4f812d7862c drm/i915/wopcm: Don't fail on WOPCM partitioning failure 956842dcef82 drm/i915/uc: Inject probe errors into intel_uc_init_hw c9556ced9c91 drm/i915/uc: Move GuC error log to uc and release it on fini eced4fc072c5 drm/i915/uc: Reorder firmware status codes 8314c03ba836 drm/i915/uc: Do full sanitize instead of pure reset 75b2500aa733 drm/i915: Add i915 to i915_inject_probe_failure
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✓ Fi.CI.BAT: success for add more probe failures
Quoting Patchwork (2019-08-02 20:37:52)
Quoted 11 lines
== Series Details ==
Series: add more probe failures
URL : https://patchwork.freedesktop.org/series/64629/
State : success== Summary ==
CI Bug Log - changes from
CI_DRM_6618->Patchwork_13856
====================================================
Quoted 6 lines
Summary
-------**SUCCESS**
No regressions found.
And pushed before CI changes it mind!
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for add more probe failures
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: add more probe failures
URL : https://patchwork.freedesktop.org/series/64629/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6618_full -> Patchwork_13856_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_13856_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_suspend@debugfs-reader:
- shard-apl: [PASS][1] -> [DMESG-WARN][2] ([fdo#108566])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-apl2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-apl6/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-256x256-random:
- shard-hsw: [PASS][3] -> [INCOMPLETE][4] ([fdo#103540])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-hsw5/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-hsw2/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-skl: [PASS][5] -> [FAIL][6] ([fdo#102670])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-skl6/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-skl2/igt@[email protected]
* igt@kms_flip@dpms-vs-vblank-race:
- shard-glk: [PASS][7] -> [FAIL][8] ([fdo#103060])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-glk2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-glk7/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank:
- shard-skl: [PASS][9] -> [FAIL][10] ([fdo#105363])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-skl7/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-skl8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite:
- shard-iclb: [PASS][11] -> [FAIL][12] ([fdo#103167]) +2 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-iclb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-iclb: [PASS][13] -> [FAIL][14] ([fdo#103166])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-iclb2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-iclb4/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][15] -> [SKIP][16] ([fdo#109441]) +2 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-iclb4/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_vblank@pipe-b-ts-continuation-suspend:
- shard-skl: [PASS][17] -> [INCOMPLETE][18] ([fdo#104108])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-skl1/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-skl10/igt@[email protected]
* igt@perf@blocking:
- shard-skl: [PASS][19] -> [FAIL][20] ([fdo#110728])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-skl3/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-skl3/igt@[email protected]
#### Possible fixes ####
* igt@gem_eio@reset-stress:
- shard-skl: [FAIL][21] ([fdo#109661]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-skl9/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-skl6/igt@[email protected]
* igt@gem_tiled_swapping@non-threaded:
- shard-apl: [DMESG-WARN][23] ([fdo#108686]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-apl2/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-apl6/igt@[email protected]
* igt@i915_pm_rpm@i2c:
- shard-hsw: [FAIL][25] ([fdo#104097]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-hsw5/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-hsw6/igt@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [DMESG-WARN][27] ([fdo#108566]) -> [PASS][28] +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-apl7/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-apl2/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-256x256-sliding:
- shard-skl: [FAIL][29] ([fdo#103232]) -> [PASS][30] +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-skl3/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-skl3/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-b-64x64-top-edge:
- shard-iclb: [INCOMPLETE][31] ([fdo#107713]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-iclb4/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-iclb1/igt@[email protected]
* igt@kms_flip@plain-flip-fb-recreate:
- shard-skl: [FAIL][33] ([fdo#100368]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-skl7/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-skl7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-pwrite:
- shard-iclb: [FAIL][35] ([fdo#103167]) -> [PASS][36] +2 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-pwrite.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-iclb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-pwrite.html
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [FAIL][37] ([fdo#108145] / [fdo#110403]) -> [PASS][38] +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-skl7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-skl8/igt@[email protected]
* igt@kms_psr@no_drrs:
- shard-iclb: [FAIL][39] ([fdo#108341]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-iclb1/igt@kms_psr@no_drrs.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-iclb3/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_basic:
- shard-iclb: [SKIP][41] ([fdo#109441]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-iclb6/igt@kms_psr@psr2_basic.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-iclb2/igt@kms_psr@psr2_basic.html
#### Warnings ####
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-mmap-gtt:
- shard-skl: [FAIL][43] ([fdo#103167]) -> [FAIL][44] ([fdo#108040])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6618/shard-skl8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-mmap-gtt.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13856/shard-skl4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-mmap-gtt.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#100368]: https://bugs.freedesktop.org/show_bug.cgi?id=100368
[fdo#102670]: https://bugs.freedesktop.org/show_bug.cgi?id=102670
[fdo#103060]: https://bugs.freedesktop.org/show_bug.cgi?id=103060
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#104097]: https://bugs.freedesktop.org/show_bug.cgi?id=104097
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108040]: https://bugs.freedesktop.org/show_bug.cgi?id=108040
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108341]: https://bugs.freedesktop.org/show_bug.cgi?id=108341
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
[fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
[fdo#110728]: https://bugs.freedesktop.org/show_bug.cgi?id=110728
Participating hosts (9 -> 9)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_6618 -> Patchwork_13856
CI-20190529: 20190529
CI_DRM_6618: 7bef836acab541f26d5806697c13181df22f71a1 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5120: b3138fbea79d5d7935e53530b90efe3e816236f4 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13856: e4f812d7862c9151babdcd2e28fdec9a2eba80ca @ 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_13856/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx