Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153316453
D27528.id80492.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
671 B
Referenced Files
None
Subscribers
None
D27528.id80492.diff
View Options
Index: sys/arm64/arm64/pmap.c
===================================================================
--- sys/arm64/arm64/pmap.c
+++ sys/arm64/arm64/pmap.c
@@ -6832,8 +6832,12 @@
* The translation fault may have occurred within a
* critical section. Therefore, we must check the
* address without acquiring the kernel pmap's lock.
+ *
+ * If the address is in DMAP and fault occured, it
+ * means it's not part of a valid region and therefore
+ * there is no valid translation to phys address.
*/
- if (pmap_kextract(far) != 0)
+ if (!VIRT_IN_DMAP(far) && pmap_kextract(far) != 0)
rv = KERN_SUCCESS;
} else {
PMAP_LOCK(pmap);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 10:48 AM (15 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31786274
Default Alt Text
D27528.id80492.diff (671 B)
Attached To
Mode
D27528: Fix /dev/mem access lock up
Attached
Detach File
Event Timeline
Log In to Comment