linux/drivers
Fei Qin c6fbbf1eae nfp: remove padding in nfp_nfdk_tx_desc
NFDK firmware supports 48-bit dma addressing and
parses 16 high bits of dma addresses.

In nfp_nfdk_tx_desc, dma related structure and tso
related structure are union. When "mss" be filled
with nonzero value due to enable tso, the memory used
by "padding" may be also filled. Then, firmware may
parse wrong dma addresses which causes TX watchdog
timeout problem.

This patch removes padding and unifies the dma_addr_hi
bits with the one in firmware. nfp_nfdk_tx_desc_set_dma_addr
is also added to match this change.

Fixes: c10d12e3dc ("nfp: add support for NFDK data path")
Signed-off-by: Fei Qin <fei.qin@corigine.com>
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220601083449.50556-1-simon.horman@corigine.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-06-02 11:08:43 +02:00
..
accessibility
acpi Device properties framework updates for 5.19-rc1 2022-05-24 16:34:14 -07:00
amba ARM: 9192/1: amba: fix memory leak in amba_device_try_add() 2022-05-20 12:32:31 +01:00
android binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0 2022-04-22 17:22:51 +02:00
ata ata changes for 5.19-rc1 2022-05-23 14:14:50 -07:00
atm net: atm: remove support for ZeitNet ZN122x ATM devices 2022-04-27 12:22:56 +01:00
auxdisplay
base Device properties framework updates for 5.19-rc1 2022-05-24 16:34:14 -07:00
bcma bcma: gpio: Switch to use fwnode instead of of_node 2022-05-09 14:41:43 +03:00
block xen: branch for v5.19-rc1 2022-05-23 20:49:45 -07:00
bluetooth Bluetooth: btmtksdio: fix the reset takes too long 2022-05-13 13:19:01 +02:00
bus - Fix locking when accessing device MSI descriptors 2022-05-01 09:30:47 -07:00
cdrom cdrom: remove obsolete TODO list 2022-05-15 18:31:28 -06:00
char Fixes for IPMI 2022-05-24 14:50:54 -07:00
clk clk: at91: generated: consider range when calculating best rate 2022-05-17 12:41:07 -07:00
clocksource
comedi
connector
counter
cpufreq Merge branches 'pm-em' and 'pm-cpuidle' 2022-05-23 19:18:51 +02:00
cpuidle Merge branches 'pm-em' and 'pm-cpuidle' 2022-05-23 19:18:51 +02:00
crypto crypto: caam - add in-kernel interface for blob generator 2022-05-23 18:47:50 +03:00
cxl
dax
dca
devfreq PM / devfreq: passive: Return non-error when not-supported event is required 2022-05-19 19:32:19 +02:00
dio
dma dmaengine: idxd: skip clearing device context when device is read-only 2022-04-20 17:24:43 +05:30
dma-buf dma-buf: ensure unique directory name for dmabuf stats 2022-05-13 13:35:10 +02:00
edac - A gargen variety of fixes which don't fit any other tip bucket: 2022-05-23 19:32:59 -07:00
eisa
extcon
firewire firewire: core: extend card->lock in fw_core_handle_bus_reset 2022-04-25 08:01:09 +02:00
firmware Networking changes for 5.19. 2022-05-25 12:22:58 -07:00
fpga
fsi
gnss
gpio Updates for interrupt core and drivers: 2022-05-23 16:58:49 -07:00
gpu Page cache changes for 5.19 2022-05-24 19:55:07 -07:00
greybus
hid for-linus-2022052401 2022-05-24 15:21:15 -07:00
hsi
hv
hwmon hwmon: (aquacomputer_d5next) Fix an error handling path in aqc_probe() 2022-05-22 12:25:55 -07:00
hwspinlock
hwtracing
i2c drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers 2022-05-21 13:41:28 +02:00
i3c
idle intel_idle: Add AlderLake support 2022-04-28 14:50:09 +02:00
iio Thermal control updates for 5.19-rc1 2022-05-24 16:19:30 -07:00
infiniband Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-12 16:15:30 -07:00
input Input updates for v5.18-rc7 2022-05-21 13:58:43 -10:00
interconnect interconnect: Restore sync state by ignoring ipa-virt in provider count 2022-05-03 22:24:21 +03:00
iommu iommu: Make sysfs robust for non-API groups 2022-05-04 15:13:39 +02:00
ipack
irqchip irqchip updates for 5.19: 2022-05-20 18:48:54 +02:00
isdn
leds
macintosh
mailbox
mcb
md for-5.19/drivers-2022-05-22 2022-05-23 14:04:14 -07:00
media Networking changes for 5.19. 2022-05-25 12:22:58 -07:00
memory memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode 2022-04-21 17:00:24 +02:00
memstick
message
mfd
misc kernel-hardening updates for v5.19-rc1 2022-05-24 12:27:09 -07:00
mmc MMC core: 2022-05-24 14:56:38 -07:00
most
mtd spi: Updates for v5.19 2022-05-24 15:13:30 -07:00
mux
net nfp: remove padding in nfp_nfdk_tx_desc 2022-06-02 11:08:43 +02:00
nfc NFC: hci: fix sleep in atomic context bugs in nfc_hci_hcp_message_tx 2022-05-19 17:54:02 -07:00
ntb
nubus
nvdimm
nvme for-5.19/drivers-2022-05-22 2022-05-23 14:04:14 -07:00
nvmem
of Device properties framework updates for 5.19-rc1 2022-05-24 16:34:14 -07:00
opp PM: EM: Change the order of arguments in the .active_power() callback 2022-04-13 16:26:17 +02:00
parisc
parport
pci ACPI updates for 5.19-rc1 2022-05-24 15:46:55 -07:00
pcmcia
peci
perf arm64 updates for 5.19: 2022-05-23 21:06:11 -07:00
phy phy: amlogic: fix error path in phy_g12a_usb3_pcie_probe() 2022-04-20 14:42:44 +05:30
pinctrl Updates for interrupt core and drivers: 2022-05-23 16:58:49 -07:00
platform platform/x86/intel/ifs: Add CPU_SUP_INTEL dependency 2022-05-19 19:46:25 +02:00
pnp
power power: supply: Reset err after not finding static battery 2022-04-13 12:05:22 +02:00
powercap Merge branches 'pm-em' and 'pm-cpuidle' 2022-05-23 19:18:51 +02:00
pps
ps3
ptp ptp: ptp_clockmatrix: fix is_single_shot 2022-05-25 21:51:32 -07:00
pwm
rapidio
ras
regulator Merge remote-tracking branch 'regulator/for-5.19' into regulator-next 2022-05-17 16:59:05 +01:00
remoteproc
reset
rpmsg
rtc m68k updates for v5.19 2022-05-23 20:56:17 -07:00
s390 Networking changes for 5.19. 2022-05-25 12:22:58 -07:00
sbus
scsi Networking changes for 5.19. 2022-05-25 12:22:58 -07:00
sh
siox
slimbus slimbus: qcom: Fix IRQ check in qcom_slim_probe 2022-05-09 16:00:20 +02:00
soc Update devfreq next for v5.19 2022-05-18 20:55:34 +02:00
soundwire
spi spi: Updates for v5.19 2022-05-24 15:13:30 -07:00
spmi
ssb ssb: remove unreachable code 2022-05-11 08:29:11 +03:00
staging Networking changes for 5.19. 2022-05-25 12:22:58 -07:00
target for-5.19/block-2022-05-22 2022-05-23 13:56:39 -07:00
tc
tee
thermal Thermal control updates for 5.19-rc1 2022-05-24 16:19:30 -07:00
thunderbolt
tty printk changes for 5.19 2022-05-25 10:32:08 -07:00
uio
usb xen/usbfront: use xenbus_setup_ring() and xenbus_teardown_ring() 2022-05-19 14:22:05 +02:00
vdpa vdpa/mlx5: Use consistent RQT size 2022-05-18 12:31:31 -04:00
vfio vfio/pci: Fix vf_token mechanism when device-specific VF drivers are used 2022-04-13 11:37:44 -06:00
vhost Fix double fget() in vhost_net_set_backend() 2022-05-18 12:33:51 -04:00
video Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes 2022-05-11 20:22:22 +02:00
virt AMD SEV-SNP support 2022-05-23 17:38:01 -07:00
virtio
visorbus
vlynq
vme
w1
watchdog
xen xen: add support for initializing xenstore later as HVM domain 2022-05-19 14:44:08 +02:00
zorro
Kconfig
Makefile