Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149249795
D22055.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
450 B
Referenced Files
None
Subscribers
None
D22055.diff
View Options
Index: head/sys/arm64/arm64/pmap.c
===================================================================
--- head/sys/arm64/arm64/pmap.c
+++ head/sys/arm64/arm64/pmap.c
@@ -5291,7 +5291,8 @@
offset = va & PAGE_MASK;
size = round_page(offset + size);
- if (!VIRT_IN_DMAP(base))
+ if (!VIRT_IN_DMAP(base) &&
+ !(base >= VM_MIN_KERNEL_ADDRESS && base < VM_MAX_KERNEL_ADDRESS))
return (EINVAL);
for (tmpva = base; tmpva < base + size; ) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 24, 7:08 AM (1 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30207223
Default Alt Text
D22055.diff (450 B)
Attached To
Mode
D22055: Fix pmap_change_attr() on arm64 to allow KV addresses
Attached
Detach File
Event Timeline
Log In to Comment