Re: [RFC PATCH 0/5] x86/hw_breakpoint: protects more cpu entry data

2020-05-25 Thread Lai Jiangshan
On Mon, May 25, 2020 at 11:27 PM Peter Zijlstra wrote: > > On Mon, May 25, 2020 at 02:50:57PM +, Lai Jiangshan wrote: > > Hello > > > > The patchset is based on (tag: entry-v9-the-rest, tglx-devel/x86/entry). > > And it is complement of 3ea11ac991d > > ("x86/hw_breakpoint: Prevent data breakpo

Re: [RFC PATCH 0/5] x86/hw_breakpoint: protects more cpu entry data

2020-05-25 Thread Peter Zijlstra
On Mon, May 25, 2020 at 02:50:57PM +, Lai Jiangshan wrote: > Hello > > The patchset is based on (tag: entry-v9-the-rest, tglx-devel/x86/entry). > And it is complement of 3ea11ac991d > ("x86/hw_breakpoint: Prevent data breakpoints on cpu_entry_area"). > > After reading the code, we can see tha

[RFC PATCH 0/5] x86/hw_breakpoint: protects more cpu entry data

2020-05-25 Thread Lai Jiangshan
Hello The patchset is based on (tag: entry-v9-the-rest, tglx-devel/x86/entry). And it is complement of 3ea11ac991d ("x86/hw_breakpoint: Prevent data breakpoints on cpu_entry_area"). After reading the code, we can see that more data needs to be protected against hw_breakpoint, otherwise it may cau