[igt-dev] [PATCH i-g-t v4 1/1] gem_ctx_isolation.c - Gen11 enabling for context isolation test

Dale B Stimson dale.b.stimson at intel.com
Tue Mar 5 20:46:51 UTC 2019


CS_CHICKEN1 is not privileged anymore (as of Gen11), as evidenced
by its absence from the kernel whitelist for Gen11 combined with the
successful execution on ICL of the tests added by your recent patch
"i915/gem_ctx_isolation: Sanitycheck nonpriv access".

-Dale

On 2019-03-05 19:00:49, Chris Wilson wrote:
> Quoting Dale B Stimson (2019-03-05 01:03:08)
> > @@ -132,30 +136,49 @@ static const struct named_register {
> >         { "PERF_CNT_1", NOCTX, RCS0, 0x91b8, 2 },
> >         { "PERF_CNT_2", NOCTX, RCS0, 0x91c0, 2 },
> >  
> > +       { "CTX_PREEMPT", NOCTX /* GEN10 */, RCS0, 0x2248 },
> > +       { "CS_CHICKEN1", GEN11, RCS0, 0x2580, .masked = true },
> 
> CS_CHICKEN1 is still privileged? At least I'm push a patch to add it to
> the whitelist for gen11.
> -Chris


More information about the igt-dev mailing list