mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
powerpc: Dynamically calculate the dabrx based on kernel/user/hypervisor
Currently we mark the DABRX to interrupt on all matches (hypervisor/kernel/user and then filter in software. We can be a lot smarter now that we can set the DABRX dynamically. This sets the DABRX based on the flags passed by the user. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
4474ef055c
commit
cd14457304
3 changed files with 13 additions and 5 deletions
|
@ -28,6 +28,7 @@
|
|||
|
||||
struct arch_hw_breakpoint {
|
||||
unsigned long address;
|
||||
unsigned long dabrx;
|
||||
int type;
|
||||
u8 len; /* length of the target data symbol */
|
||||
bool extraneous_interrupt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue