Virtio: Add CONFIG_VIRTIO_MMIO_POLL_RESET
Add CONFIG_VIRTIO_MMIO_POLL_RESET to as an option to enable synchronous reset for the MMIO based transport for virtio. Change-Id: Ide5f69aa083bee2189f4d417d95f2c8fdf61bcdb Signed-off-by: Jianguo Sun <quic_jianguos@quicinc.com>
This commit is contained in:
parent
a33e7a7ec9
commit
f8d51a3599
1 changed files with 9 additions and 0 deletions
|
|
@ -194,4 +194,13 @@ config VIRTIO_DMA_SHARED_BUFFER
|
|||
This option adds a flavor of dma buffers that are backed by
|
||||
virtio resources.
|
||||
|
||||
config VIRTIO_MMIO_POLL_RESET
|
||||
bool "Virti-mmio device synchronous reset support"
|
||||
depends on VIRTIO_MMIO
|
||||
help
|
||||
Say y here to enable synchronous reset for the MMIO transport based
|
||||
virtio device. After writing 0 to device_status, the driver must
|
||||
wait for a read of device_status to return 0 before reinitializing
|
||||
the device.
|
||||
|
||||
endif # VIRTIO_MENU
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue