Skip to contentSkip to conversation

igt@tools_test@tools_test - Unclaimed read from register 0x[4c]400c

Bug 102543 [email protected] 1 participant 8 messages Sep 5, 2017 – Sep 8, 2017 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102543

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|DRM/Intel                   |IGT
           Assignee|[email protected] |[email protected]
                   |sktop.org                   |.org
         QA Contact|[email protected] |
                   |sktop.org                   |

--- Comment #1 from Chris Wilson <[email protected]> --- That looks entirely to be a test bug, intel_reg_read reading unknown registers which is then caught by the kernel on its next mmio. Since the kernel is not aware of a third party messing around with registers, it takes the blame upon itself.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102543

--- Comment #2 from Martin Peres <[email protected]> --- The test has been passing recently. Has anything changed?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102543

--- Comment #3 from Chris Wilson <[email protected]> ---

Quoted 1 line

From our pov, no. The highlighted commit was just the merge to 4.13. But the

failure does depend upon i915 doing something during the test, but the test itself bypasses i915 for direct hw access.

What we could do is to disable automatic mmio checking if user forcewake is taken. Then clear any errors upon release.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102543

--- Comment #5 from Chris Wilson <[email protected]> --- commit d7a133d886b45651e36e7065998b1413d379ac1f

Author: Chris Wilson <[email protected]>
Date:   Thu Sep 7 14:44:41 2017 +0100

drm/i915: Disable mmio debugging during user access

If the user bypasses i915 and accesses mmio directly, that easily confuses our automatic mmio debugging (any error we then detect is likely to be as a result of the user). Since we expect userspace to open debugfs/i915_forcewake_user if i915.ko is loaded and they want mmio access, that makes the opportune time to disable our debugging for duration of the bypass.

v2: Move the fiddling of uncore internals to uncore.c

The issue in intel_reg_dump is still there, just not triggering a kernel warning.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102543

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Martin Peres <[email protected]> --- Thanks Chris! I will close this bug.

What about https://bugs.freedesktop.org/show_bug.cgi?id=102249 though? Could the patch you sent fix this too?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102543

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102543

--- Comment #7 from Chris Wilson <[email protected]> --- (In reply to Martin Peres from comment #6)

Quoted 4 lines

Thanks Chris! I will close this bug.

What about https://bugs.freedesktop.org/show_bug.cgi?id=102249 though? Could the patch you sent fix this too?

It's not intended to have any effect for any test except for tools_test; but drv_suspend/forcewake, pm_rpm/debugfs-forcewake-user, gem_exec_latency, gem_exec_parse, gem_workarounds and pm_lsps also poke around with registers under forcewake - any may end up polluting the mmio debugger. #102249 looks clear of outside influence.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel