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
F102435429: D29602.id.diff
Tue, Nov 12, 5:56 AM
F102430671: D29602.id86893.diff
Tue, Nov 12, 4:23 AM
F102430352: D29602.id102440.diff
Tue, Nov 12, 4:17 AM
Unknown Object (File)
Fri, Nov 8, 8:14 AM
Unknown Object (File)
Tue, Oct 22, 6:58 PM
Unknown Object (File)
Wed, Oct 16, 6:41 PM
Unknown Object (File)
Tue, Oct 15, 12:11 AM
Unknown Object (File)
Mon, Oct 14, 4:18 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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