commit | d390e6de89d30402bd06056c40cea72328aec9b1 | [log] [tgz] |
---|---|---|
author | Lai Jiangshan <laijs@linux.alibaba.com> | Fri May 29 23:27:29 2020 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Thu Jun 11 15:15:20 2020 +0200 |
tree | 1d0fa0ab07ae9095223732d9b4ac7698336f7d5e | |
parent | 998c2034c6a36bd48284e8c8f945a6c6ffc0e3f0 [diff] |
x86/hw_breakpoint: Add within_area() to check data breakpoints Add a within_area() helper to checking whether the data breakpoints overlap with cpu_entry_area. It will be used to completely prevent data breakpoints on GDT, IDT, or TSS. Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20200526014221.2119-2-laijs@linux.alibaba.com Link: https://lkml.kernel.org/r/20200529213320.784524504@infradead.org