Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109573766
D46815.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
563 B
Referenced Files
None
Subscribers
None
D46815.diff
View Options
diff --git a/sys/arm64/arm64/trap.c b/sys/arm64/arm64/trap.c
--- a/sys/arm64/arm64/trap.c
+++ b/sys/arm64/arm64/trap.c
@@ -338,8 +338,9 @@
td->td_md.md_spinlock_count);
}
#endif
- if (td->td_critnest != 0 || WITNESS_CHECK(WARN_SLEEPOK |
- WARN_GIANTOK, NULL, "Kernel page fault") != 0) {
+ if ((td->td_pflags & TDP_NOFAULTING) == 0 &&
+ (td->td_critnest != 0 || WITNESS_CHECK(WARN_SLEEPOK |
+ WARN_GIANTOK, NULL, "Kernel page fault") != 0)) {
print_registers(frame);
print_gp_register("far", far);
printf(" esr: 0x%.16lx\n", esr);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 7, 9:55 PM (20 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16517157
Default Alt Text
D46815.diff (563 B)
Attached To
Mode
D46815: arm64: Check TDP_NOFAULTING in a data abort
Attached
Detach File
Event Timeline
Log In to Comment