openwrt-owl/target/linux/lantiq/patches-4.4
Eddi De Pieri 07bc0d6089 lantiq: fix pci issue if mem kernel parameter is used
As specified by e0229a16b0 if the VR9
based router provides FXS ports and they should enabled then the
following must added to the kernel command line:

  mem=[TOTALMEMSIZE-2M] vpe1_load_addr=ADDRESS vpe1_mem=2M

By adding mem= parameter a pci device stop working correctly. The
pci-lantiq.c module use get_num_physpages() to compute dynamically the
memory amount of the board.

The mem= make the module to compute in the wrong way the BAR11MASK, so
in this situation the mask is misaligned with the dma area that the
hardware expects.

This patch is a port of what legacy ifxmips_pci.c does.

Signed-off-by: Eddi De Pieri <eddi@depieri.net>
2016-11-12 21:04:15 +01:00
..
0001-MIPS-lantiq-add-pcie-driver.patch kernel: update kernel 4.4 to version 4.4.8 2016-04-24 11:32:17 +02:00
0004-MIPS-lantiq-add-atm-hack.patch kernel: remove full cache flush in fuse_copy_do() for MIPS 2016-06-26 18:22:23 +02:00
0007-MIPS-lantiq-add-basic-tffs-driver.patch
0008-MIPS-lantiq-backport-old-timer-code.patch
0012-pinctrl-lantiq-fix-up-pinmux.patch
0013-MTD-lantiq-xway-fix-invalid-operator.patch
0014-MTD-lantiq-xway-the-latched-command-should-be-persis.patch
0015-MTD-lantiq-xway-remove-endless-loop.patch
0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch
0017-MTD-xway-fix-nand-locking.patch
0018-MTD-nand-lots-of-xrx200-fixes.patch lantiq: fix wrong parameter order in xway_nand driver 2016-02-08 08:25:15 +00:00
0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch
0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch kernel: update kernel 4.4 to version 4.4.9 2016-05-10 10:43:17 +02:00
0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch lantiq: disable phy led complex (test) functions by default 2016-05-23 11:03:23 +02:00
0024-NET-lantiq-adds-PHY11G-firmware-blobs.patch
0025-NET-MIPS-lantiq-adds-xrx200-net.patch lantiq/xrx200-net: Add support for eth0 as WAN interface 2016-08-15 21:52:04 +02:00
0026-NET-multi-phy-support.patch kernel: update to v4.4.23 2016-09-30 20:08:21 +02:00
0028-NET-lantiq-various-etop-fixes.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
0030-GPIO-add-named-gpio-exports.patch lantiq: refresh patches 2016-06-15 14:36:47 +02:00
0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch ntiq: make i2c-lantiqi driver compile again 2016-10-03 00:13:11 +02:00
0032-USB-fix-roothub-for-IFXHCD.patch kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch lantiq: drop ralink eeprom handling function 2016-11-09 20:02:18 +01:00
0040-USB-DWC2-enable-usb-power-gpio.patch
0041-USB-DWC2-add-ltq-params.patch
0042-arch-mips-increase-io_space_limit.patch lantiq: refresh patches 2016-06-15 14:36:47 +02:00
0044-pinctrl-lantiq-introduce-new-dedicated-devicetree-bi.patch kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
0045-pinctrl-lantiq-Fix-GPIO-Setup-of-GPIO-Port3.patch
0046-pinctrl-lantiq-2-pins-have-the-wrong-mux-list.patch
0047-irq-fixes.patch lantiq: refresh patches 2016-06-15 14:36:47 +02:00
0047-poweroff.patch lantiq: remove dummy ltq_machine_power_off to fix gpio-poweroff drivers 2016-06-11 09:49:13 +02:00
0100-spi-add-support-for-Lantiq-SPI-controller.patch Revert "kernel: remove long obsolete gpio spi controller driver patch" 2016-08-04 23:10:15 +02:00
0101-find_active_root.patch lantiq: handle the dual-firmware layout of brnboot 2016-05-10 10:43:12 +02:00
0120-MIPS-lantiq-add-support-for-device-tree-file-from-bo.patch lantiq: use upstream mechanism to append device tree file 2016-03-20 14:41:54 +00:00
0121-MIPS-lantiq-make-it-possible-to-build-in-no-device-t.patch lantiq: use upstream mechanism to append device tree file 2016-03-20 14:41:54 +00:00
122-MIPS-store-the-appended-dtb-address-in-a-variable.patch kernel: update kernel 4.4 to version 4.4.30 2016-11-02 10:25:44 +01:00
0151-lantiq-ifxmips_pcie-use-of.patch
0152-lantiq-VPE.patch lantiq: added support for VPE1 2016-10-31 16:51:33 +01:00
0153-lantiq-VPE-softdog.patch kernel: update kernel 4.4 to version 4.4.30 2016-11-02 10:25:44 +01:00
0154-lantiq-pci-bar11mask-fix.patch lantiq: fix pci issue if mem kernel parameter is used 2016-11-12 21:04:15 +01:00
0160-owrt-lantiq-multiple-flash.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch
0301-xrx200-add-gphy-clk-src-device-tree-binding.patch lantiq: add device tree binding for the phy clock source 2016-05-10 10:43:12 +02:00
0302-xrx200-add-sensors-driver.patch lantiq: fix thermal sensors driver 2016-10-19 19:55:06 +02:00