freebsd-dev/sys/powerpc
Piotr Kubaj e552cac3d7 powerpc64*: port mlx5, OFED, KTLS and krping
Summary:
This review ports mlx5 driver, kernel's OFED stack (userland is already enabled), KTLS and krping to powerpc64 and powerpc64le.

krping requires a small change since it uses assembly for amd64 / i386.

NOTE: On powerpc64le RDMA works fine in the userspace with libmlx5, but on powerpc64 it does not. The problem is that contrib/ofed/libmlx5/doorbell.h checks for SIZEOF_LONG but this macro exists on neither powerpc64* nor amd64. Thus, the file silently goes to the fallback function written for 32-bit architectures. It works fine on little-endian architectures, but causes a hard fail on big-endian. It's possible it may also cause some runtime issues on little-endian.
Thus, on powerpc64 I verified that RDMA works with krping.

Reviewers: #powerpc, hselasky

Subscribers: bdrewery, imp, emaste, jhibbits

Differential Revision: https://reviews.freebsd.org/D38786
2023-02-26 23:38:33 +01:00
..
aim powerpc: fix warning: a function declaration without a prototype is deprecated in all versions of C 2023-02-26 01:00:19 +01:00
amigaone powerpc amigaone: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-10 10:21:38 -07:00
booke pmap_unmapdev/bios: Accept a pointer instead of a vm_offset_t. 2022-09-22 15:08:52 -07:00
conf powerpc64*: port mlx5, OFED, KTLS and krping 2023-02-26 23:38:33 +01:00
cpufreq cpufreq: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:29 -07:00
fpu Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
include powerpc: Drop old workaround for old gcc 2023-02-14 09:47:08 -07:00
mambo powerpc mambo: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-10 10:21:38 -07:00
mikrotik rbled: Remove unused devclass argument to DRIVER_MODULE. 2022-05-10 10:21:38 -07:00
mpc85xx powerpc/mpc85xx: Add compat strings for P5040 PCIe 2022-11-30 19:45:10 -05:00
ofw powerpc: fix warning: a function declaration without a prototype is deprecated in all versions of C 2023-02-26 01:00:19 +01:00
powermac pmap_unmapdev/bios: Accept a pointer instead of a vm_offset_t. 2022-09-22 15:08:52 -07:00
powernv powerpc powernv: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-10 10:21:38 -07:00
powerpc powerpc: fix warning: a function declaration without a prototype is deprecated in all versions of C 2023-02-26 01:00:19 +01:00
ps3 powerpc: fix warning: a function declaration without a prototype is deprecated in all versions of C 2023-02-26 01:00:19 +01:00
pseries powerpc: fix warning: a function declaration without a prototype is deprecated in all versions of C 2023-02-26 01:00:19 +01:00
psim pmap_unmapdev/bios: Accept a pointer instead of a vm_offset_t. 2022-09-22 15:08:52 -07:00