CHROMIUM: arch/x86: Prevent buffer flushing for trusted tasks

Core-scheduling allows us to know if tasks are trusted or not. Untrusted tasks
are tagged with ->core_cookie set. Leverage this to prevent unwanted flushing.

BUG=b:152605392
TEST=boot
Signed-off-by: Joel Fernandes <joelaf@google.com>
Change-Id: If3309edd42ed01c3cefcf5f23bdcce0ac44a3688
4 files changed