All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Drung <benjamin.drung@profitbricks.com>
To: "Manuel A. Fernandez Montecelo" <mafm@debian.org>,
	894995@bugs.debian.org,
	List Linux RDMA Mailing <linux-rdma@vger.kernel.org>
Subject: Bug#894995: rdma-core: Please add support for new architecture "riscv64" (RISC-V 64 bits little-endian)
Date: Thu, 19 Apr 2018 14:00:18 +0200	[thread overview]
Message-ID: <1524139218.4781.9.camel@profitbricks.com> (raw)
In-Reply-To: <152297424964.29286.16311629290309565149.reportbug@reva.itsari.org>

Hi,

Thanks for reporting this bug.

Am Freitag, den 06.04.2018, 02:24 +0200 schrieb Manuel A. Fernandez
Montecelo:
> Source: rdma-core
> Version: 17.1-1
> Severity: normal
> Tags: patch
> User: debian-riscv@lists.debian.org
> Usertags: riscv64
> 
> Hello,
> 
> The current version of this package doesn't build for the riscv64
> port.
> 
> First it fails to be considered to build (due to missing valgrind)
> and, when
> fixing that problem, FBTFS, because of missing files (see at bottom).

I'll apply that part of the patch.

> I applied the same fix as for many other arches, which is to add the
> arch to the
> list of NO_COHERENT_DMA_ARCHS in debian/rules.
> 
> I am not sure if support could be added at a later date, but for the
> time being,
> seems to be the best way to get it working -- I don't know enough
> details of the
> architecture or the assembly language to get the necessary
> incantations in
> place.

RISC-V has a FENCE instruction and the A extension (which is part of
the G instruction set) provides atomic memory operations. So the
architecture should provide coherent DMA support. To enable support,
util/udma_barrier.h needs to be adjusted. I am including
linux-rdma@vger.kernel.org in the loop for help.

       reply	other threads:[~2018-04-19 12:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <152297424964.29286.16311629290309565149.reportbug@reva.itsari.org>
2018-04-19 12:00 ` Benjamin Drung [this message]
2018-04-20 15:31   ` Bug#894995: rdma-core: Please add support for new architecture "riscv64" (RISC-V 64 bits little-endian) Jason Gunthorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1524139218.4781.9.camel@profitbricks.com \
    --to=benjamin.drung@profitbricks.com \
    --cc=894995@bugs.debian.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=mafm@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.