Re: Bug#894995: rdma-core: Please add support for new architecture "riscv64" (RISC-V 64 bits little-endian)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxx in the loop for help.

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
10405 Berlin

Email: benjamin.drung@xxxxxxxxxxxxxxxx
URL: https://www.profitbricks.de

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Achim Weiss, Matthias Steinberg, Christoph Steffens
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux