Re: [PATCH 1/1] Fix int1 recursion when no perf_bp_event is registered

2015-12-10 Thread Borislav Petkov
On Thu, Dec 10, 2015 at 08:20:24PM +0100, Jiri Olsa wrote: > seems like the issue we hit some time ago: > http://marc.info/?l=linux-kernel=143976421117070=2 Time to ping people again. Looks like the previous thread stalled... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when

Re: [PATCH 1/1] Fix int1 recursion when no perf_bp_event is registered

2015-12-10 Thread Jiri Olsa
On Thu, Dec 10, 2015 at 11:09:21AM -0800, Andy Lutomirski wrote: > On Thu, Dec 10, 2015 at 10:55 AM, Thomas Gleixner wrote: > > Jeff, > > > > On Thu, 10 Dec 2015, Jeff Merkey wrote: > > > >> If an int1 hardware breakpoint exception is triggered, but no perf bp > >> pevent block was registered

Re: [PATCH 1/1] Fix int1 recursion when no perf_bp_event is registered

2015-12-10 Thread Andy Lutomirski
On Thu, Dec 10, 2015 at 10:55 AM, Thomas Gleixner wrote: > Jeff, > > On Thu, 10 Dec 2015, Jeff Merkey wrote: > >> If an int1 hardware breakpoint exception is triggered, but no perf bp >> pevent block was registered from arch_install_hw_breakpoint, the >> system will hard hang with the CPU stuck

Re: [PATCH 1/1] Fix int1 recursion when no perf_bp_event is registered

2015-12-10 Thread Thomas Gleixner
Jeff, On Thu, 10 Dec 2015, Jeff Merkey wrote: > If an int1 hardware breakpoint exception is triggered, but no perf bp > pevent block was registered from arch_install_hw_breakpoint, the > system will hard hang with the CPU stuck constantly re-interrupting at > the same execution address because

Re: [PATCH 1/1] Fix int1 recursion when no perf_bp_event is registered

2015-12-10 Thread Andy Lutomirski
On Thu, Dec 10, 2015 at 10:55 AM, Thomas Gleixner wrote: > Jeff, > > On Thu, 10 Dec 2015, Jeff Merkey wrote: > >> If an int1 hardware breakpoint exception is triggered, but no perf bp >> pevent block was registered from arch_install_hw_breakpoint, the >> system will hard hang

Re: [PATCH 1/1] Fix int1 recursion when no perf_bp_event is registered

2015-12-10 Thread Borislav Petkov
On Thu, Dec 10, 2015 at 08:20:24PM +0100, Jiri Olsa wrote: > seems like the issue we hit some time ago: > http://marc.info/?l=linux-kernel=143976421117070=2 Time to ping people again. Looks like the previous thread stalled... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when

Re: [PATCH 1/1] Fix int1 recursion when no perf_bp_event is registered

2015-12-10 Thread Thomas Gleixner
Jeff, On Thu, 10 Dec 2015, Jeff Merkey wrote: > If an int1 hardware breakpoint exception is triggered, but no perf bp > pevent block was registered from arch_install_hw_breakpoint, the > system will hard hang with the CPU stuck constantly re-interrupting at > the same execution address because

Re: [PATCH 1/1] Fix int1 recursion when no perf_bp_event is registered

2015-12-10 Thread Jiri Olsa
On Thu, Dec 10, 2015 at 11:09:21AM -0800, Andy Lutomirski wrote: > On Thu, Dec 10, 2015 at 10:55 AM, Thomas Gleixner wrote: > > Jeff, > > > > On Thu, 10 Dec 2015, Jeff Merkey wrote: > > > >> If an int1 hardware breakpoint exception is triggered, but no perf bp > >> pevent

[PATCH 1/1] Fix int1 recursion when no perf_bp_event is registered

2015-12-09 Thread Jeff Merkey
If an int1 hardware breakpoint exception is triggered, but no perf bp pevent block was registered from arch_install_hw_breakpoint, the system will hard hang with the CPU stuck constantly re-interrupting at the same execution address because the resume flag never gets set, and the NOTIFY_DONE state

[PATCH 1/1] Fix int1 recursion when no perf_bp_event is registered

2015-12-09 Thread Jeff Merkey
If an int1 hardware breakpoint exception is triggered, but no perf bp pevent block was registered from arch_install_hw_breakpoint, the system will hard hang with the CPU stuck constantly re-interrupting at the same execution address because the resume flag never gets set, and the NOTIFY_DONE state