Searched hist:b5add544d677d36386c3559cf5db1485b59c4d7d (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/vfio/platform/ |
H A D | vfio_platform_private.h | diff b5add544d677d36386c3559cf5db1485b59c4d7d Tue Jul 19 15:01:47 CEST 2016 Sinan Kaya <okaya@codeaurora.org> vfio, platform: make reset driver a requirement by default
The code was allowing platform devices to be used without a supporting VFIO reset driver. The hardware can be left in some inconsistent state after a guest machine abort.
The reset driver will put the hardware back to safe state and disable interrupts before returning the control back to the host machine.
Adding a new reset_required kernel module option to platform VFIO drivers. The default value is true for the DT and ACPI based drivers. The reset requirement value for AMBA drivers is set to false and is unchangeable to maintain the existing functionality.
New requirements are: 1. A reset function needs to be implemented by the corresponding driver via DT/ACPI. 2. The reset function needs to be discovered via DT/ACPI.
The probe of the driver will fail if any of the above conditions are not satisfied.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
|
H A D | vfio_platform.c | diff b5add544d677d36386c3559cf5db1485b59c4d7d Tue Jul 19 15:01:47 CEST 2016 Sinan Kaya <okaya@codeaurora.org> vfio, platform: make reset driver a requirement by default
The code was allowing platform devices to be used without a supporting VFIO reset driver. The hardware can be left in some inconsistent state after a guest machine abort.
The reset driver will put the hardware back to safe state and disable interrupts before returning the control back to the host machine.
Adding a new reset_required kernel module option to platform VFIO drivers. The default value is true for the DT and ACPI based drivers. The reset requirement value for AMBA drivers is set to false and is unchangeable to maintain the existing functionality.
New requirements are: 1. A reset function needs to be implemented by the corresponding driver via DT/ACPI. 2. The reset function needs to be discovered via DT/ACPI.
The probe of the driver will fail if any of the above conditions are not satisfied.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
|
H A D | vfio_amba.c | diff b5add544d677d36386c3559cf5db1485b59c4d7d Tue Jul 19 15:01:47 CEST 2016 Sinan Kaya <okaya@codeaurora.org> vfio, platform: make reset driver a requirement by default
The code was allowing platform devices to be used without a supporting VFIO reset driver. The hardware can be left in some inconsistent state after a guest machine abort.
The reset driver will put the hardware back to safe state and disable interrupts before returning the control back to the host machine.
Adding a new reset_required kernel module option to platform VFIO drivers. The default value is true for the DT and ACPI based drivers. The reset requirement value for AMBA drivers is set to false and is unchangeable to maintain the existing functionality.
New requirements are: 1. A reset function needs to be implemented by the corresponding driver via DT/ACPI. 2. The reset function needs to be discovered via DT/ACPI.
The probe of the driver will fail if any of the above conditions are not satisfied.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
|
H A D | vfio_platform_common.c | diff b5add544d677d36386c3559cf5db1485b59c4d7d Tue Jul 19 15:01:47 CEST 2016 Sinan Kaya <okaya@codeaurora.org> vfio, platform: make reset driver a requirement by default
The code was allowing platform devices to be used without a supporting VFIO reset driver. The hardware can be left in some inconsistent state after a guest machine abort.
The reset driver will put the hardware back to safe state and disable interrupts before returning the control back to the host machine.
Adding a new reset_required kernel module option to platform VFIO drivers. The default value is true for the DT and ACPI based drivers. The reset requirement value for AMBA drivers is set to false and is unchangeable to maintain the existing functionality.
New requirements are: 1. A reset function needs to be implemented by the corresponding driver via DT/ACPI. 2. The reset function needs to be discovered via DT/ACPI.
The probe of the driver will fail if any of the above conditions are not satisfied.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
|