| Summary: | [CI] igt@perf@oa-formats - dmesg-warn - BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1342 | ||
|---|---|---|---|
| Product: | DRI | Reporter: | Martin Peres <martin.peres> |
| Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
| Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
| Severity: | normal | ||
| Priority: | medium | CC: | intel-gfx-bugs |
| Version: | XOrg git | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | ReadyForDev | ||
| i915 platform: | HSW | i915 features: | Perf/OA |
|
Description
Martin Peres
2018-05-03 13:51:29 UTC
I get the horrible feeling we may have clobbered memory... An old page now contains a freelist pointer of RBX: 000000000005099d which I suspect is a report-id. A kasan run has a good trace to indicate this is caused by the GPU, https://intel-gfx-ci.01.org/tree/drm-tip/kasan_34/fi-hsw-4770/dmesg11.log commit e896d29a548d04371ce746f7d02a8488ff93d812 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri May 11 14:52:07 2018 +0100 drm/i915/oa: Check that OA is disabled before unpinning Before we unpin the buffer used for OA reports and return it to the system, we need to be sure that the HW has finished writing into it. For lack of a better idea, poll OACONTROL to check it is switched off. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106379 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Tested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180511135207.12880-1-chris@chris-wilson.co.uk (In reply to Chris Wilson from comment #3) > commit e896d29a548d04371ce746f7d02a8488ff93d812 > Author: Chris Wilson <chris@chris-wilson.co.uk> > Date: Fri May 11 14:52:07 2018 +0100 > > drm/i915/oa: Check that OA is disabled before unpinning > > Before we unpin the buffer used for OA reports and return it to the > system, we need to be sure that the HW has finished writing into it. > For lack of a better idea, poll OACONTROL to check it is switched off. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106379 > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> > Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> > Cc: Matthew Auld <matthew.auld@intel.com> > Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> > Tested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> > Link: > https://patchwork.freedesktop.org/patch/msgid/20180511135207.12880-1- > chris@chris-wilson.co.uk Seems like it did the trick as it has not been seen in quite some time. Closing then. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.