On Sun, 28 Feb 2021 20:08:36 +0100
Ahmad Fatoum <[email protected]> wrote:

Hi!

> MMU-less MIPS doesn't play along nicely with VIRTIO_PCI.
> e.g. Reading from a virtio-rng, will return clearly bogus data.
> Document this in the Kconfig, so no one else trips over this.
> 
> Eventually, this should be fixed..


Please describe, how can I reproduce the problem.


> 
> Signed-off-by: Ahmad Fatoum <[email protected]>
> ---
>  drivers/virtio/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
> index ecf66987b3ed..91a89d3e1b89 100644
> --- a/drivers/virtio/Kconfig
> +++ b/drivers/virtio/Kconfig
> @@ -28,6 +28,7 @@ config VIRTIO_MMIO
>  config VIRTIO_PCI
>       tristate "PCI driver for virtio devices"
>       depends on PCI && HAS_DMA
> +     depends on MMU && MIPS || !MIPS
>       select VIRTIO
>       help
>         This driver provides support for virtio based paravirtual device
> -- 
> 2.30.0
> 
> 
> _______________________________________________
> barebox mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/barebox


-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to