openwrt/target/linux/generic
Koen Vandeputte 037800270b cns3xxx: use actual size reads for PCIe (4.19)
upstream commit 802b7c06adc7 ("ARM: cns3xxx: Convert PCI to use generic config accessors")
reimplemented cns3xxx_pci_read_config() using pci_generic_config_read32(),
which preserved the property of only doing 32-bit reads.

It also replaced cns3xxx_pci_write_config() with pci_generic_config_write(),
so it changed writes from always being 32 bits to being the actual size,
which works just fine.

Due to:
- The documentation does not mention that only 32 bit access is allowed.
- Writes are already executed using the actual size
- Extensive testing shows that 8b, 16b and 32b reads work as intended

It makes perfectly sense to also swap 32 bit reading in favor of actual size.

also backport this patch to kernel 4.19

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2019-01-28 18:17:32 +01:00
..
backport-4.9 kernel: bump 4.9 to 4.9.153 2019-01-28 18:17:32 +01:00
backport-4.14 kernel: bump 4.14 to 4.14.96 2019-01-28 18:17:32 +01:00
backport-4.19 cns3xxx: use actual size reads for PCIe (4.19) 2019-01-28 18:17:32 +01:00
files kernel: add DT binding support to the Edimax uImage parser 2019-01-19 12:51:04 +01:00
hack-4.9 kernel: bump 4.9 to 4.9.153 2019-01-28 18:17:32 +01:00
hack-4.14 kernel: bump 4.14 to 4.14.96 2019-01-28 18:17:32 +01:00
hack-4.19 kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-3.18 kernel: bump 3.18 to 3.18.133 2019-01-28 18:17:32 +01:00
pending-4.9 kernel: bump 4.9 to 4.9.153 2019-01-28 18:17:32 +01:00
pending-4.14 kernel: bump 4.14 to 4.14.96 2019-01-28 18:17:32 +01:00
pending-4.19 kernel: bump 4.19 to 4.19.16 2019-01-17 03:04:13 +02:00
config-3.18 kernel/modules: add kmod-pmbus-zl6100 module 2019-01-13 11:07:37 +01:00
config-4.9 kernel/modules: Fix build of kmod-pmbus 2019-01-13 13:16:02 +01:00
config-4.14 kernel/modules: add kmod-pmbus-zl6100 module 2019-01-13 11:07:37 +01:00
config-4.19 kernel: drop old symbol from 4.19 2019-01-17 03:09:47 +02:00
PATCHES