Page MenuHomeFreeBSD

xen/grant-table: remove explicit linear mapping additions
ClosedPublic

Authored by royger on Apr 6 2021, 11:20 AM.
Tags
None
Referenced Files
F139015971: D29602.diff
Sat, Dec 6, 1:40 PM
Unknown Object (File)
Wed, Nov 26, 1:32 AM
Unknown Object (File)
Nov 4 2025, 11:10 PM
Unknown Object (File)
Nov 2 2025, 10:25 AM
Unknown Object (File)
Nov 2 2025, 6:44 AM
Unknown Object (File)
Oct 29 2025, 10:45 PM
Unknown Object (File)
Oct 24 2025, 6:58 PM
Unknown Object (File)
Oct 24 2025, 12:55 AM
Subscribers

Details

Summary

There's no need to explicitly add linear mappings for the grant table
area, as the memory is allocated using xenmem_alloc and it should
already have a linear mapping that can be obtained using
rman_get_virtual.

While there also remove the return value of gnttab_map, since there's
no return value anymore.

Sponsored by: Citrix Systems R&D

Test Plan

Should be considered as a replacement for D29305

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38356
Build 35245: arc lint + arc unit

Event Timeline

I'm unaware of any problems with this. Further changes elsewhere are required to make this function with my aarch64 tree, but that is a separate commit and this appears fine to me.

This revision is now accepted and ready to land.Apr 17 2021, 7:55 PM