linux-stable/drivers
Harini Katakam 196491f360 net: macb: Limit maximum GEM TX length in TSO
[ Upstream commit f822e9c4ff ]

GEM_MAX_TX_LEN currently resolves to 0x3FF8 for any IP version supporting
TSO with full 14bits of length field in payload descriptor. But an IP
errata causes false amba_error (bit 6 of ISR) when length in payload
descriptors is specified above 16387. The error occurs because the DMA
falsely concludes that there is not enough space in SRAM for incoming
payload. These errors were observed continuously under stress of large
packets using iperf on a version where SRAM was 16K for each queue. This
errata will be documented shortly and affects all versions since TSO
functionality was added. Hence limit the max length to 0x3FC0 (rounded).

Signed-off-by: Harini Katakam <harini.katakam@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-14 16:32:18 -05:00
..
accessibility
acpi ACPI: video: Do not export a non working backlight interface on MSI MS-7721 boards 2020-02-14 16:32:09 -05:00
amba
android binder: Handle start==NULL in binder_update_page_range() 2019-12-17 20:38:57 +01:00
ata ahci: Do not export local variable ahci_em_messages 2020-01-27 14:46:44 +01:00
atm atm: eni: fix uninitialized variable warning 2020-02-05 14:18:08 +00:00
auxdisplay
base PM: core: Fix handling of devices deleted during system-wide resume 2020-02-14 16:32:13 -05:00
bcma bcma: fix incorrect update of BCMA_CORE_PCI_MDIO_DATA 2020-01-27 14:46:45 +01:00
block signal: Allow cifs and drbd to receive their terminating signals 2020-01-27 14:46:43 +01:00
bluetooth Bluetooth: btusb: fix PM leak in error case of setup 2020-01-09 10:17:57 +01:00
bus
cdrom cdrom: respect device capabilities during opening action 2020-01-04 13:59:52 +01:00
char ttyprintk: fix a potential deadlock in interrupt context issue 2020-02-05 14:18:15 +00:00
clk clk: tegra: Mark fuse clock as critical 2020-02-14 16:32:16 -05:00
clocksource clocksource/drivers/exynos_mct: Fix error path in timer resources initialization 2020-01-27 14:46:21 +01:00
connector
cpufreq cpufreq: brcmstb-avs-cpufreq: Fix types for voltage/frequency 2020-01-27 14:46:37 +01:00
cpuidle cpuidle: Do not unset the driver if it is there already 2019-12-17 20:39:33 +01:00
crypto crypto: picoxcell - adjust the position of tasklet_init and fix missed tasklet_kill 2020-02-14 16:32:14 -05:00
dax
dca
devfreq PM / devfreq: Add new name attribute for sysfs 2020-02-05 14:18:12 +00:00
dio
dma dmaengine: ti: edma: fix missed failure handling 2020-01-27 14:46:52 +01:00
dma-buf dma-buf: Fix memory leak in sync_file_merge() 2019-12-21 10:47:50 +01:00
edac EDAC/mc: Fix edac_mc_find() in case no device is found 2020-01-27 14:46:34 +01:00
eisa
extcon extcon: sm5502: Reset registers during initialization 2019-12-31 12:37:06 +01:00
firewire net: add annotations on hh->hh_len lockless accesses 2020-01-09 10:17:59 +01:00
firmware efi/gop: Fix memory leak in __gop_query32/64() 2020-01-12 12:11:51 +01:00
fmc
fpga
fsi fsi: core: Fix small accesses and unaligned offsets via sysfs 2019-12-31 12:37:35 +01:00
gpio gpio: max77620: Add missing dependency on GPIOLIB_IRQCHIP 2020-02-05 14:18:07 +00:00
gpu drm/radeon: fix bad DMA from INTERRUPT_CNTL2 2020-01-27 14:46:53 +01:00
hid HID: ite: Add USB id match for Acer SW5-012 keyboard dock 2020-02-05 14:18:05 +00:00
hsi
hv hv_balloon: Balloon up according to request page number 2020-02-14 16:32:12 -05:00
hwmon hwmon: (nct7802) Fix voltage limits to wrong registers 2020-01-29 15:02:38 +01:00
hwspinlock
hwtracing coresight: tmc-etf: Do not call smp_processor_id from preemptible 2020-01-29 15:02:39 +01:00
i2c i2c: imx: don't print error message on probe defer 2019-12-17 20:38:15 +01:00
ide
idle
iio iio: dac: ad5380: fix incorrect assignment to val 2020-01-27 14:46:45 +01:00
infiniband IB/core: Fix ODP get user pages flow 2020-02-14 16:32:17 -05:00
input Input: sun4i-ts - add a check for devm_thermal_zone_of_sensor_register 2020-01-29 15:02:38 +01:00
iommu iommu/amd: Wait for completion of IOTLB flush in attach_device 2020-01-27 14:46:47 +01:00
ipack
irqchip irqchip: ingenic: Error out if IRQ domain creation failed 2020-01-04 13:59:42 +01:00
isdn staging: gigaset: add endpoint-type sanity check 2019-12-17 20:39:06 +01:00
leds
lightnvm lightnvm: pblk: fix lock order in pblk_rb_tear_down_check 2020-01-27 14:46:32 +01:00
macintosh macintosh/windfarm_smu_sat: Fix debug output 2019-12-01 09:13:39 +01:00
mailbox mailbox: mailbox-test: fix null pointer if no mmio 2019-12-05 15:38:31 +01:00
mcb
md dm crypt: fix benbi IV constructor crash if used in authenticated mode 2020-02-14 16:32:13 -05:00
media media/v4l2-core: set pages dirty upon releasing DMA buffers 2020-02-14 16:32:08 -05:00
memory
memstick
message scsi: mptfusion: Fix double fetch bug in ioctl 2020-01-23 08:20:31 +01:00
mfd mfd: rn5t618: Mark ADC control register volatile 2020-02-14 16:32:18 -05:00
misc mic: avoid statically declaring a 'struct device'. 2020-01-27 14:46:40 +01:00
mmc mmc: sdhci-of-at91: fix memleak on clk_get failure 2020-02-14 16:32:11 -05:00
mtd ubi: Fix an error pointer dereference in error handling code 2020-02-14 16:32:18 -05:00
mux
net net: macb: Limit maximum GEM TX length in TSO 2020-02-14 16:32:18 -05:00
nfc NFC: pn544: Adjust indentation in pn544_hci_check_presence 2020-02-14 16:32:17 -05:00
ntb NTB: ntb_hw_idt: replace IS_ERR_OR_NULL with regular NULL checks 2020-01-27 14:46:05 +01:00
nubus
nvdimm libnvdimm/btt: fix variable 'rc' set but not used 2020-01-04 13:59:46 +01:00
nvme nvme: retain split access workaround for capability reads 2020-01-27 14:46:48 +01:00
nvmem nvmem: imx-ocotp: Ensure WAIT bits are preserved when setting timing 2020-01-27 14:46:39 +01:00
of of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc 2020-02-14 16:32:13 -05:00
oprofile
parisc
parport parport: load lowlevel driver if ports not found 2019-12-31 12:37:39 +01:00
pci PCI: keystone: Fix link training retries initiation 2020-02-14 16:32:11 -05:00
pcmcia
perf
phy phy: qualcomm: Adjust indentation in read_poll_timeout 2020-02-14 16:32:17 -05:00
pinctrl pinctrl: iproc-gpio: Fix incorrect pinconf configurations 2020-01-27 14:46:47 +01:00
platform platform/x86: intel_scu_ipc: Fix interrupt support 2020-02-14 16:32:08 -05:00
pnp
power power: supply: ltc2941-battery-gauge: fix use-after-free 2020-02-14 16:32:12 -05:00
powercap
pps
ps3
ptp ptp: free ptp device pin descriptors properly 2020-01-23 08:20:35 +01:00
pwm pwm: meson: Don't disable PWM when setting duty repeatedly 2020-01-27 14:46:34 +01:00
rapidio drivers/rapidio/rio_cm.c: fix potential oops in riocm_ch_listen() 2020-01-27 14:46:25 +01:00
ras
regulator regulator: tps65086: Fix tps65086_ldoa1_ranges for selector 0xB 2020-01-27 14:46:26 +01:00
remoteproc
reset reset: Fix memory leak in reset_control_array_put() 2019-12-05 15:36:49 +01:00
rpmsg rpmsg: glink: Free pending deferred work on remove 2019-12-21 10:47:47 +01:00
rtc rtc: pcf2127: bugfix: read rtc disables watchdog 2020-01-27 14:46:44 +01:00
s390 s390/dasd: fix memleak in path handling error case 2020-01-12 12:12:00 +01:00
sbus
scsi scsi: ufs: Recheck bkops level if bkops is disabled 2020-02-14 16:32:16 -05:00
sfi
sh
sn
soc soc: ti: wkup_m3_ipc: Fix race condition with rproc_boot 2020-02-05 14:18:18 +00:00
spi spi: spi-dw: Add lock protect dw_spi rx/tx to prevent concurrent calls 2020-02-05 14:18:06 +00:00
spmi
ssb
staging staging: vt6656: Fix false Tx excessive retries reporting. 2020-02-05 14:18:02 +00:00
target scsi: RDMA/isert: Fix a recently introduced regression related to logout 2020-01-29 15:02:38 +01:00
tc
tee tee: optee: Fix compilation issue with nommu 2020-02-05 14:18:24 +00:00
thermal thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power 2020-01-27 14:46:34 +01:00
thunderbolt
tty serial: 8250_bcm2835aux: Fix line mismatch on driver unbind 2020-02-05 14:18:03 +00:00
uio driver: uio: fix possible use-after-free in __uio_register_device 2020-01-27 14:46:15 +01:00
usb usb: gadget: f_ecm: Use atomic_t to track in-flight request 2020-02-14 16:32:08 -05:00
uwb
vfio vfio/mdev: Fix aborting mdev child device removal if one fails 2020-01-27 14:46:33 +01:00
vhost vhost/vsock: accept only packets with the right dst_cid 2020-01-04 14:00:14 +01:00
video backlight: lm3630a: Return 0 on success in update_status functions 2020-01-27 14:46:34 +01:00
virt
virtio virtio-balloon: fix managed page counts when migrating pages between zones 2019-12-17 20:39:14 +01:00
vlynq
vme
w1 w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size). 2019-12-01 09:13:24 +01:00
watchdog watchdog: rn5t618_wdt: fix module aliases 2020-02-05 14:18:06 +00:00
xen xen/balloon: Support xend-based toolstack take two 2020-02-14 16:32:15 -05:00
zorro
Kconfig
Makefile