Re: [GIT pull] x86/pti for 5.4-rc1

2019-09-24 Thread Ingo Molnar
* Song Liu wrote: > > > > On Sep 17, 2019, at 4:35 PM, Linus Torvalds > > wrote: > > > > On Tue, Sep 17, 2019 at 4:29 PM Song Liu wrote: > >> > >> How about we just do: > >> > >> diff --git i/arch/x86/mm/pti.c w/arch/x86/mm/pti.c > >> index b196524759ec..0437f65250db 100644 > >> --- i/a

Re: [GIT pull] x86/pti for 5.4-rc1

2019-09-18 Thread Song Liu
> On Sep 17, 2019, at 4:35 PM, Linus Torvalds > wrote: > > On Tue, Sep 17, 2019 at 4:29 PM Song Liu wrote: >> >> How about we just do: >> >> diff --git i/arch/x86/mm/pti.c w/arch/x86/mm/pti.c >> index b196524759ec..0437f65250db 100644 >> --- i/arch/x86/mm/pti.c >> +++ w/arch/x86/mm/pti.c >

Re: [GIT pull] x86/pti for 5.4-rc1

2019-09-17 Thread Linus Torvalds
On Tue, Sep 17, 2019 at 4:29 PM Song Liu wrote: > > How about we just do: > > diff --git i/arch/x86/mm/pti.c w/arch/x86/mm/pti.c > index b196524759ec..0437f65250db 100644 > --- i/arch/x86/mm/pti.c > +++ w/arch/x86/mm/pti.c > @@ -341,6 +341,7 @@ pti_clone_pgtable(unsigned long start, unsigned long

Re: [GIT pull] x86/pti for 5.4-rc1

2019-09-17 Thread Song Liu
> On Sep 17, 2019, at 12:01 PM, Linus Torvalds > wrote: > > On Tue, Sep 17, 2019 at 11:49 AM Song Liu wrote: >> >> I guess we need something like the following? >> >> diff --git i/arch/x86/mm/pti.c w/arch/x86/mm/pti.c >> index b196524759ec..7846916c3bcd 100644 >> --- i/arch/x86/mm/pti.c >>

Re: [GIT pull] x86/pti for 5.4-rc1

2019-09-17 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 13:30:20 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3fb7f3a6ed8666f45ff45124988173758cc7b011 Thank you! -- Deet-doot-dot, I am a bo

Re: [GIT pull] x86/pti for 5.4-rc1

2019-09-17 Thread Linus Torvalds
On Tue, Sep 17, 2019 at 11:49 AM Song Liu wrote: > > I guess we need something like the following? > > diff --git i/arch/x86/mm/pti.c w/arch/x86/mm/pti.c > index b196524759ec..7846916c3bcd 100644 > --- i/arch/x86/mm/pti.c > +++ w/arch/x86/mm/pti.c > @@ -306,6 +306,8 @@ pti_clone_pgtable(unsigned l

Re: [GIT pull] x86/pti for 5.4-rc1

2019-09-17 Thread Song Liu
> On Sep 17, 2019, at 11:13 AM, Linus Torvalds > wrote: > > On Mon, Sep 16, 2019 at 6:38 AM Thomas Gleixner wrote: >> >> - Handle unaligned addresses gracefully in pti_clone_pagetable(). Not an >>issue with current callers, but a correctness problem. Adds a warning >>so any caller

Re: [GIT pull] x86/pti for 5.4-rc1

2019-09-17 Thread Linus Torvalds
On Mon, Sep 16, 2019 at 6:38 AM Thomas Gleixner wrote: > > - Handle unaligned addresses gracefully in pti_clone_pagetable(). Not an > issue with current callers, but a correctness problem. Adds a warning > so any caller which hands in an unaligned address gets pointed out > clearly.

[GIT pull] x86/pti for 5.4-rc1

2019-09-16 Thread Thomas Gleixner
Linus, please pull the latest x86-pti-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus up to: 990784b57731: x86/mm/pti: Do not invoke PTI functions when PTI is disabled Two small PTI updates: - Handle unaligned addresses gracefully in