Hi! > From: Joerg Roedel <jroedel@xxxxxxx> > > 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
Attachment:
signature.asc
Description: Digital signature