[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200324220559.GS2452@worktop.programming.kicks-ass.net>
Date: Tue, 24 Mar 2020 23:05:59 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: tglx@...utronix.de, linux-kernel@...r.kernel.org, x86@...nel.org,
mhiramat@...nel.org, mbenes@...e.cz, brgerst@...il.com
Subject: Re: [PATCH v3 23/26] kbuild/objtool: Add objtool-vmlinux.o pass
On Tue, Mar 24, 2020 at 05:03:21PM -0500, Josh Poimboeuf wrote:
> > +config VMLINUX_VALIDATION
> > + bool
> > + depends on STACK_VALIDATION && DEBUG_ENTRY && !PARAVIRT
> > + default y
> > +
>
> So I'm assuming this is incompatible with PARAVIRT because of all the
> indirect pvops calls?
Yep.
> I'm thinking it should be easy to detect those and whitelist them
> because they always have a pv_ops relocation associated with the call
> instruction.
I did consider that, but have been too lazy to actually make that work.
Also, the series is large enough as it is.. :-)
Powered by blists - more mailing lists