Revision tags: release/14.0.0 |
|
#
01d53c34 |
| 04-Oct-2023 |
Mark Johnston <markj@FreeBSD.org> |
bhyve: Improve pcifd function naming
read_config() and write_config() are externally visible, so give them more descriptive names. No functional change intended.
MFC after: 1 week Sponsored by: In
bhyve: Improve pcifd function naming
read_config() and write_config() are externally visible, so give them more descriptive names. No functional change intended.
MFC after: 1 week Sponsored by: Innovate UK
show more ...
|
#
90c3a1b6 |
| 10-May-2023 |
Corvin Köhne <corvink@FreeBSD.org> |
bhyve: add empty GVT-d emulation
Don't emulate anything yet. Just check if the user would like to pass an Intel GPU to the guest.
Reviewed by: jhb, markj MFC after: 1 week Sponsored by: Beckhoff
bhyve: add empty GVT-d emulation
Don't emulate anything yet. Just check if the user would like to pass an Intel GPU to the guest.
Reviewed by: jhb, markj MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D40038
show more ...
|
#
4d846d26 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
#
93cf9317 |
| 10-May-2023 |
Corvin Köhne <corvink@FreeBSD.org> |
bhyve: add helper for passthru specific mmio ranges
Intel GPUs have two special memory regions. They are called Graphics Stolen Memory and OpRegion. bhyve has to emulate both of them. In order to ke
bhyve: add helper for passthru specific mmio ranges
Intel GPUs have two special memory regions. They are called Graphics Stolen Memory and OpRegion. bhyve has to emulate both of them. In order to keep track of those special regions, add generic mmio ranges to the passthru emulation.
Reviewed by: markj MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D40036
show more ...
|
#
60793cee |
| 10-May-2023 |
Corvin Köhne <corvink@FreeBSD.org> |
bhyve: make passthru sel public available
The GVT-d emulation requires access to this selector to read from the device.
Reviewed by: markj MFC after: 1 week Sponsored by: Beckhoff Automation Gmb
bhyve: make passthru sel public available
The GVT-d emulation requires access to this selector to read from the device.
Reviewed by: markj MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D40035
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0 |
|
#
b6e67875 |
| 07-Sep-2021 |
Corvin Köhne <corvink@FreeBSD.org> |
bhyve: add hook for PCI header of passthru devices
Most register of the PCI header are either constant values or require emulation anyway. The command and status register are the only exception whic
bhyve: add hook for PCI header of passthru devices
Most register of the PCI header are either constant values or require emulation anyway. The command and status register are the only exception which require hardware access. So, we're adding an emulation handler for all other register.
As this emulation handler will be reused by some future features like GPU passthrough, we directly export it.
Reviewed by: markj MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33010
show more ...
|
Revision tags: release/13.0.0 |
|
#
931bb7bf |
| 19-Mar-2021 |
Corvin Köhne <corvink@FreeBSD.org> |
bhyve: define array to protect passthru regs
GPU passthrough requires a special handling of some PCI config register. Therefore, we need a flexible approach for implementing it. Adding an array of h
bhyve: define array to protect passthru regs
GPU passthrough requires a special handling of some PCI config register. Therefore, we need a flexible approach for implementing it. Adding an array of handler meets this condition.
Start by using the default handler for all accesses to the PCI config space. In upcoming commits, we can start to split the default handler into several handler for each register that requires emulation.
Reviewed by: markj MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D39291
show more ...
|
#
563fd224 |
| 10-Mar-2022 |
Corvin Köhne <CorvinK@beckhoff.com> |
bhyve: export funcs for read/write pci config
Export functions for reading and writing the pci config space from passthru device to be used by other devices. This is required for lpc devices to set
bhyve: export funcs for read/write pci config
Export functions for reading and writing the pci config space from passthru device to be used by other devices. This is required for lpc devices to set their vendor/device ids to their physical values. Otherwise, GPU passthrough for integrated Intel GPUs won't work properly.
Differential Revision: https://reviews.freebsd.org/D33769 Reviewed by: markj Sponsored by: Beckhoff Automation GmbH & Co. KG MFC after: 1 month
show more ...
|