Re: Small Ivy features: FSGSBASE and SMEP.

2012-11-02 Thread Konstantin Belousov
On Fri, Nov 02, 2012 at 09:21:56AM +0100, Michael Fuckner wrote: > > > is at http://people.freebsd.org/~kib/misc/smep.3.patch . > > > > Please test. > > looks good (after changing the location of specialreg.h (on STABLE) > > do you need any output or something like that? No, thank you, I do not

Re: Small Ivy features: FSGSBASE and SMEP.

2012-11-02 Thread Michael Fuckner
is at http://people.freebsd.org/~kib/misc/smep.3.patch . Please test. looks good (after changing the location of specialreg.h (on STABLE) do you need any output or something like that? Regards, Michael! ___ freebsd-current@freebsd.org mailing lis

RE: Small Ivy features: FSGSBASE and SMEP.

2012-11-02 Thread Kristofer Persson
: Small Ivy features: FSGSBASE and SMEP. On Sun, Sep 09, 2012 at 11:29:05PM +0300, Konstantin Belousov wrote: > On Sun, Sep 09, 2012 at 02:02:55PM +0300, Konstantin Belousov wrote: > > On Sun, Sep 09, 2012 at 08:42:37AM +0200, Michael Fuckner wrote: > > > Hi all, > > > > >

Re: Small Ivy features: FSGSBASE and SMEP.

2012-10-30 Thread Konstantin Belousov
On Sun, Sep 09, 2012 at 11:29:05PM +0300, Konstantin Belousov wrote: > On Sun, Sep 09, 2012 at 02:02:55PM +0300, Konstantin Belousov wrote: > > On Sun, Sep 09, 2012 at 08:42:37AM +0200, Michael Fuckner wrote: > > > Hi all, > > > > > > I changed your patch slightly to apply to specialreh.h on STABL

Re: Small Ivy features: FSGSBASE and SMEP.

2012-09-09 Thread Konstantin Belousov
On Sun, Sep 09, 2012 at 02:02:55PM +0300, Konstantin Belousov wrote: > On Sun, Sep 09, 2012 at 08:42:37AM +0200, Michael Fuckner wrote: > > Hi all, > > > > I changed your patch slightly to apply to specialreh.h on STABLE > > > > root@c64:/root # diff smep.1.patch.bak smep.1.patch > > 80c80 > > <

Re: Small Ivy features: FSGSBASE and SMEP.

2012-09-09 Thread Michael Fuckner
Hi all, I changed your patch slightly to apply to specialreh.h on STABLE root@c64:/root # diff smep.1.patch.bak smep.1.patch 80c80 < diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h --- > diff --git a/sys/amd64/include/specialreg.h b/sys/amd64/include/specialreg.h 82,83

Re: Small Ivy features: FSGSBASE and SMEP.

2012-09-09 Thread Konstantin Belousov
On Sun, Sep 09, 2012 at 08:42:37AM +0200, Michael Fuckner wrote: > Hi all, > > I changed your patch slightly to apply to specialreh.h on STABLE > > root@c64:/root # diff smep.1.patch.bak smep.1.patch > 80c80 > < diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h > --- > > di

Small Ivy features: FSGSBASE and SMEP.

2012-09-08 Thread Konstantin Belousov
Please find at http://people.freebsd.org/~kib/misc/smep.1.patch the patch which should enable the FSGSBASE and SMEP features supposedly present in the IvyBridge CPUs. FSGSBASE are four new instructions available in the 64bit mode only. They allow to access bases for %fs and %gs without touching MS