aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorJon Bloomfield <[email protected]>2018-08-01 09:33:59 -0700
committerJon Bloomfield <[email protected]>2019-11-05 11:37:54 -0800
commit311a50e76a33d1e029563c24b2ff6db0c02b5afe (patch)
tree869f555ab69ae02132c888f03826dc4cc824d46b /scripts/bpf_helpers_doc.py
parent66d8aba1cd6db34af10de465c0d52af679288cb6 (diff)
drm/i915: Add support for mandatory cmdparsing
The existing cmdparser for gen7 can be bypassed by specifying batch_len=0 in the execbuf call. This is safe because bypassing simply reduces the cmd-set available. In a later patch we will introduce cmdparsing for gen9, as a security measure, which must be strictly enforced since without it we are vulnerable to DoS attacks. Introduce the concept of 'required' cmd parsing that cannot be bypassed by submitting zero-length bb's. v2: rebase (Mika) v2: rebase (Mika) v3: fix conflict on engine flags (Mika) Signed-off-by: Jon Bloomfield <[email protected]> Cc: Tony Luck <[email protected]> Cc: Dave Airlie <[email protected]> Cc: Takashi Iwai <[email protected]> Cc: Tyler Hicks <[email protected]> Signed-off-by: Mika Kuoppala <[email protected]> Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions