mem: Add invalid context id check on LLSC checks

If the request's address is in the LLSC list, its context Id was being
fetched unconditionally, which could cause the assert at
Request::contextId() to fail.

Change-Id: Iae9791f81c8fe9a7fcd842cd8ab7db18f34f2808
Signed-off-by: Tiago Muck <>
Reviewed-by: Nikos Nikoleris <>
Maintainer: Nikos Nikoleris <>
Tested-by: kokoro <>
2 files changed