virtio-gpu without ARCH_HAS_SG_CHAIN

David Abdurachmanov david.abdurachmanov at
Wed Oct 31 01:48:38 PDT 2018

On Tue, Oct 30, 2018 at 6:25 PM Michael Forney <mforney at> wrote:
> On 2018-10-29, David Abdurachmanov <david.abdurachmanov at> wrote:
> > On Mon, Oct 29, 2018 at 8:47 PM Michael Forney <mforney at> wrote:
> >>
> >> - Should riscv support ARCH_HAS_SG_CHAIN?
> >
> > Non-expert here, but it looks like ARCH_HAS_SG_CHAIN
> > support is generic, and a number of well known architectures
> > support it.
> >
> > So it's basically two line patch someone needs to send and
> > at least make a test by building the kernel. I can do that if you want.
> If that's all there is to it, then yeah, that would be appreciated. Thanks!
> Though, I assume there's *some* architecture-specific consideration
> that needs to be done, since it has to be selected on each
> architecture that supports it.

Done it yesterday morning. Compile-tested and I am running
the kernel w/o any issues.

Btw, if you get virtio-gpu support in TinyEMU it would be interesting
to see how that works with Fedora. I have some instructions about
that here:


More information about the linux-riscv mailing list