summaryrefslogtreecommitdiff
path: root/include/uapi/drm/i915_drm.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2017-01-19 14:19:10 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2017-01-20 15:21:35 +1100
commit178f358208ceb8b38e5cff3f815e0db4a6a70a07 (patch)
tree87500f67fd6a68b6e43b3fc5513088c825804cf1 /include/uapi/drm/i915_drm.h
parentb34ca60148c53971d373643195cc5c4d5d20be78 (diff)
powerpc: Ignore reserved field in DCSR and PVR reads and writes
IBM bit 31 (for the rest of us - bit 0) is a reserved field in the instruction definition of mtspr and mfspr. Hardware is encouraged to (and does) ignore it. As a result, if userspace executes an mtspr DSCR with the reserved bit set, we get a DSCR facility unavailable exception. The kernel fails to match against the expected value/mask, and we silently return to userspace to try and re-execute the same mtspr DSCR instruction. We loop forever until the process is killed. We should do something here, and it seems mirroring what hardware does is the better option vs killing the process. While here, relax the matching of mfspr PVR too. Cc: stable@vger.kernel.org Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/uapi/drm/i915_drm.h')
0 files changed, 0 insertions, 0 deletions
m/i915 irc channels MAINTAINERS: add "C:" for URI for chat where developers hang out MAINTAINERS: add drm and drm/i915 bug filing info MAINTAINERS: add "B:" for URI where to file bugs get_maintainer: look for arbitrary letter prefixes in sections printk: add Kconfig option to set default console loglevel printk/sound: handle more message headers printk/btrfs: handle more message headers printk/kdb: handle more message headers ...
Diffstat (limited to 'drivers/usb/phy/phy-am335x.c')