On Thu, Feb 18, 2016 at 02:46:30PM +0300, Andrey Ryabinin wrote:
On 02/18/2016 02:15 PM, Mark Rutland wrote:
quoted
On Thu, Feb 18, 2016 at 11:22:24AM +0300, Andrey Ryabinin wrote:
quoted
I see two options here:
* completely disable instrumentation for drivers/firmware/psci.c
This is somewhat overkill, and we'd also have to disable instrumentation
for arch/arm64/kernel/psci.c (for psci_suspend_finisher).
I would like to have instrumentation for everything we can safely
instrument.
This is probably the least worst option, though.
quoted
* get back to assembly implementation
We'd also have to convert psci_suspend_finisher and psci_cpu_suspend,
the latter being generic code. That goes against the consolidation we
were aiming for.
Yup, I missed these two.
In that case the only way is to manually unpoison stack.
I'm prototyping this now.
Mark.