aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/util/tg2.c
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2023-05-22 18:52:54 +0000
committerAndrew Turner <andrew@FreeBSD.org>2023-06-06 09:50:59 +0000
commit62f9bcf2b4271d58ccf0bd8a81c540bb99a53ef7 (patch)
treefc53424d1465690534b9c32fae2e271dc42632e5 /contrib/ntp/util/tg2.c
parent657aec455f7cd960c8fa79a089f88f450c568d2d (diff)
downloadsrc-62f9bcf2b4271d58ccf0bd8a81c540bb99a53ef7.tar.gz
src-62f9bcf2b4271d58ccf0bd8a81c540bb99a53ef7.zip
Switch to contigmalloc in the Hyper-V code
In the Hyper-V drivers we need to allocate buffers shared between the host and guest. This memory has been allocated with bus_dma, however it doesn't use this correctly, e.g. it is missing calls to bus_dmamap_sync. Along with this on arm64 we need this memory to be mapped with the correct memory type that bus_dma may not use. Switch to contigmalloc to allocate this memory as this will correctly allocate cacheable memory. Reviewed by: Souradeep Chakrabarti <schakrabarti@microsoft.com> Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D40227
Diffstat (limited to 'contrib/ntp/util/tg2.c')
0 files changed, 0 insertions, 0 deletions