Re: [PATCH] intel_txt: add s3 userspace memory integrity verification

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Friday, December 4, 2009 - 1:31 pm

> > Of course you would need to have a timeout before reset, and at this point the

That was actually wrong, since you're coming back from S3
udelay should work. nm.


At least classical vga/serial early_printk should be safe, I'm not sure
about the early USB code recently added though, some auditing on that
first would be good.

early_printk defaults to VGA text output, so if you do a reset you would
need a delay first, otherwise noone can see it ever. But one could be
done with udelay()

It'll be also invisible with frame buffer active, which is the common
case for distributions.  So basically in most cases the message would be
invisible.

(not that panic is much better by default in this regard though,
at least not without Jesse's recent frame buffer work ...)

-Andi


-- 
ak@linux.intel.com -- Speaking for myself only.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] intel_txt: add s3 userspace memory integrity v ..., Andi Kleen, (Fri Dec 4, 1:31 pm)
Re: [PATCH v3] intel_txt: add support for S3 memory integr ..., Rafael J. Wysocki, (Wed Mar 10, 1:31 pm)
[tip:x86/txt] x86, tboot: Add support for S3 memory integr ..., tip-bot for Shane Wang, (Fri Mar 19, 2:18 pm)