KASAN issues with idle / hotplug area
Mark Rutland
mark.rutland at arm.com
Thu Feb 18 04:08:05 PST 2016
On Thu, Feb 18, 2016 at 02:46:30PM +0300, Andrey Ryabinin wrote:
>
> On 02/18/2016 02:15 PM, Mark Rutland wrote:
> > On Thu, Feb 18, 2016 at 11:22:24AM +0300, Andrey Ryabinin wrote:
> >> 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.
> >
> >> * 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.
More information about the linux-arm-kernel
mailing list