| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Remove FreeBSD 11 and earlier support
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the last part for ARM64 Hyper-V enablement. This includes
commone files and make file changes to enable the ARM64 FreeBSD
guest on Hyper-V. With this patch, it should be able to build
the ARM64 image and install it on Hyper-V.
Reviewed by: emaste, andrew, whu
Tested by: Souradeep Chakrabarti <schakrabarti@microsoft.com>
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D36744
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8906
Notes:
svn path=/head/; revision=310651
|
|
|
|
|
|
|
|
|
|
| |
Properly working pause and friends are required.
MFC after: 3 days
Sponsored by: Microsoft
Notes:
svn path=/head/; revision=310348
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8635
Notes:
svn path=/head/; revision=309244
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8634
Notes:
svn path=/head/; revision=309242
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vmbus_pcib requires NEW_PCIB, but in case that's not defined, we at
least shouldn't break build.
Reviewed by: sephe
Approved by: sephe (mentor)
MFC after: 3 days
Sponsored by: Microsoft
Notes:
svn path=/head/; revision=309127
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new methods will be used by the coming pcib driver.
Reviewed by: sephe
Approved by: sephe (mentor)
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8409
Notes:
svn path=/head/; revision=308724
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8008
Notes:
svn path=/head/; revision=306360
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid code duplication.
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7458
Notes:
svn path=/head/; revision=303949
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7348
Notes:
svn path=/head/; revision=303473
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7344
Notes:
svn path=/head/; revision=303470
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7334
Notes:
svn path=/head/; revision=303422
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D7260
Notes:
svn path=/head/; revision=303131
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D7259
Notes:
svn path=/head/; revision=303129
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D7129
Notes:
svn path=/head/; revision=302868
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D7125
Notes:
svn path=/head/; revision=302823
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D7111
Notes:
svn path=/head/; revision=302817
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Device detach method may sleep.
While I'm here, rename the function, fix indentation and function
comment.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D7110
Notes:
svn path=/head/; revision=302816
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D7088
Notes:
svn path=/head/; revision=302731
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D7004
Notes:
svn path=/head/; revision=302692
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6982
Notes:
svn path=/head/; revision=302636
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6956
Notes:
svn path=/head/; revision=302631
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6954
Notes:
svn path=/head/; revision=302630
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of global variable, vmbus version is accessed through
a vmbus DEVMETHOD now.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6953
Notes:
svn path=/head/; revision=302629
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6916
Notes:
svn path=/head/; revision=302619
|
|
|
|
|
|
|
|
|
|
|
| |
This also fixes memory leakge if sub-connect messages are needed.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6878
Notes:
svn path=/head/; revision=302609
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6875
Notes:
svn path=/head/; revision=302606
|
|
|
|
|
|
|
|
|
|
|
|
| |
And use this new APIs for Initial Contact post message Hypercall.
More post message Hypercalls will be converted.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6830
Notes:
svn path=/head/; revision=302540
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6745
Notes:
svn path=/head/; revision=301588
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6744
Notes:
svn path=/head/; revision=301583
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6708
Notes:
svn path=/head/; revision=301488
|
|
|
|
|
|
|
|
|
|
|
| |
This paves the way for further cleanup.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6707
Notes:
svn path=/head/; revision=301487
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Nuke unnecessary union.
- Avoid convoluted macro indirection.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6671
Notes:
svn path=/head/; revision=301106
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6601
Notes:
svn path=/head/; revision=301015
|
|
|
|
|
|
|
|
|
|
|
| |
While I'm here remove the event timer's dependency on hv_vmbus_priv.h
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6574
Notes:
svn path=/head/; revision=300988
|
|
|
|
|
|
|
|
|
|
|
| |
And pack them into one flag field.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6522
Notes:
svn path=/head/; revision=300650
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6521
Notes:
svn path=/head/; revision=300647
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6520
Notes:
svn path=/head/; revision=300646
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6503
Notes:
svn path=/head/; revision=300573
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
And
- Move message and event flags to vmbus_softc per-cpu data.
- Get rid of hv_setup_arg, which serves no purpose now.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6502
Notes:
svn path=/head/; revision=300572
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6497
Notes:
svn path=/head/; revision=300565
|
|
|
|
|
|
|
|
|
|
|
| |
Prepare to get rid of the hv_setup_arg.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6449
Notes:
svn path=/head/; revision=300487
|
|
|
|
|
|
|
|
|
|
|
| |
While I'm here, nuke useless print in vmbus_attach().
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6447
Notes:
svn path=/head/; revision=300486
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6405
Notes:
svn path=/head/; revision=300107
|
|
Use vmbus softc to save vmbus per-cpu data. More stuffs will be moved
into vmbus softc.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6403
Notes:
svn path=/head/; revision=300102
|