[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180119105527.GB29725@amd>
Date: Fri, 19 Jan 2018 11:55:28 +0100
From: Pavel Machek <pavel@....cz>
To: Joerg Roedel <joro@...tes.org>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>,
"H . Peter Anvin" <hpa@...or.com>, x86@...nel.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andy Lutomirski <luto@...nel.org>,
Dave Hansen <dave.hansen@...el.com>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Juergen Gross <jgross@...e.com>,
Peter Zijlstra <peterz@...radead.org>,
Borislav Petkov <bp@...en8.de>, Jiri Kosina <jkosina@...e.cz>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Brian Gerst <brgerst@...il.com>,
David Laight <David.Laight@...lab.com>,
Denys Vlasenko <dvlasenk@...hat.com>,
Eduardo Valentin <eduval@...zon.com>,
Greg KH <gregkh@...uxfoundation.org>,
Will Deacon <will.deacon@....com>, aliguori@...zon.com,
daniel.gruss@...k.tugraz.at, hughd@...gle.com, keescook@...gle.com,
Andrea Arcangeli <aarcange@...hat.com>,
Waiman Long <llong@...hat.com>, jroedel@...e.de
Subject: Re: [RFC PATCH 00/16] PTI support for x86-32
Hi!
> From: Joerg Roedel <jroedel@...e.de>
>
> Hi,
>
> here is my current WIP code to enable PTI on x86-32. It is
> still in a pretty early state, but it successfully boots my
> KVM guest with PAE and with legacy paging. The existing PTI
> code for x86-64 already prepares a lot of the stuff needed
> for 32 bit too, thanks for that to all the people involved
> in its development :)
Thanks for doing the work.
I tried applying it on top of -next, and that did not succeed. Let me
try Linus tree...
> The code has not run on bare-metal yet, I'll test that in
> the next days once I setup a 32 bit box again. I also havn't
> tested Wine and DosEMU yet, so this might also be broken.
Um. Ok, testing is something I can do. At least I have excuse to power
on T40p.
Ok... Testing is something I can do... If I can get it to compile.
CC arch/x86/mm/dump_pagetables.o
arch/x86/mm/dump_pagetables.c: In function
‘ptdump_walk_user_pgd_level_checkwx’:
arch/x86/mm/dump_pagetables.c:546:26: error: ‘init_top_pgt’
undeclared (first use in this function)
pgd_t *pgd = (pgd_t *) &init_top_pgt;
^
arch/x86/mm/dump_pagetables.c:546:26:
note: each undeclared identifier is reported only once for each
function it appears in
scripts/Makefile.build:316: recipe for target
'arch/x86/mm/dump_pagetables.o' failed
make[2]: *** [arch/x86/mm/dump_pagetables.o] Error 1
scripts/Makefile.build:575: recipe for target 'arch/x86/mm' failed
make[1]: *** [arch/x86/mm] Error 2
make[1]: *** Waiting for unfinished jobs....
CC arch/x86/platform/intel/iosf_mbi.o
Ok, I guess I can disable some config option...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists