openwrt/target/linux/ramips/patches-4.14
Chuanhong Guo 6d91ddf517 ramips: mt7621: add support for memory detection
mt7621 has the following memory map:
0x0-0x1c000000: lower 448m memory
0x1c000000-0x2000000: peripheral registers
0x20000000-0x2400000: higher 64m memory

detect_memory_region in arch/mips/kernel/setup.c only add the first
memory region and isn't suitable for 512m memory detection because
it may accidentally read the memory area for peripheral registers.

This commit adds memory detection capability for mt7621:
1. add the highmem area when 512m is detected.
2. guard memcmp from accessing peripheral registers:
     This only happens when some weird user decided to change
     kernel load address to 256m or higher address. Since this
     is a quite unusual case, we just skip 512m testing and return
     256m as memory size.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2019-07-11 22:11:21 +08:00
..
100-mt7621-core-detect-hack.patch
101-mt7621-timer.patch kernel: bump 4.14 to 4.14.99 2019-02-14 16:45:01 +01:00
102-mt7621-fix-cpu-clk-add-clkdev.patch kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
105-mt7621-memory-detect.patch ramips: mt7621: add support for memory detection 2019-07-11 22:11:21 +08:00
110-mt7621-perfctr-fix.patch ramips: fix spurious IRQ7 events when using perf on 4.14 2018-02-27 17:30:33 +01:00
300-mt7620-export-chip-version-and-pkg.patch ramips: mt7620: export chip version and pkg 2019-03-06 01:11:54 +01:00
302-spi-nor-add-gd25q512.patch kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
303-spi-nor-enable-4B-opcodes-for-mx66l51235l.patch kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
304-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch ramips: fix support for MX25L25635F flash 2019-01-26 17:10:19 +01:00
999-fix-pci-init-mt7620.patch
0001-MIPS-ralink-Add-rt3352-SPI_CS1-pinmux.patch ramips: add rt3352 SPI_CS1 pinmux 2018-09-06 21:35:53 +02:00
0002-MIPS-pci-rt2880-set-pci-controller-of_node.patch ramips: set rt2880 pci controller of_node 2018-10-07 11:34:18 +02:00
0003-MIPS-Fix-memory-reservation-in-bootmem_init-for-cert.patch kernel: bump 4.14 to 4.14.70 2018-09-17 15:47:44 +02:00
0004-MIPS-ralink-add-MT7621-pcie-driver.patch Revert "ramips: Move PCI driver to files directory" 2018-06-01 11:42:20 +02:00
0005-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
0006-MIPS-ralink-add-cpu-frequency-scaling.patch
0007-MIPS-ralink-copy-the-commandline-from-the-devicetree.patch
0009-PCI-MIPS-enable-PCIe-on-MT7688.patch
0013-owrt-hack-fix-mt7688-cache-issue.patch kernel: bump 4.14 to 4.14.23 2018-03-02 21:33:08 +01:00
0015-arch-mips-do-not-select-illegal-access-driver-by-def.patch
0024-GPIO-add-named-gpio-exports.patch kernel: bump 4.14 to 4.14.118 2019-05-13 19:17:41 +02:00
0025-pinctrl-ralink-add-pinctrl-driver.patch kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
0026-DT-Add-documentation-for-gpio-ralink.patch ramips: use ralink,nr-gpio instead of ralink,num-gpios 2018-08-04 08:39:35 +02:00
0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch ramips: use ralink,nr-gpio instead of ralink,num-gpios 2018-08-04 08:39:35 +02:00
0028-GPIO-ralink-add-mt7621-gpio-controller.patch kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
0029-gpio-ralink-Add-support-for-GPIO-as-interrupt-contro.patch kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
0031-uvc-add-iPassion-iP2970-support.patch kernel: bump 4.14 to 4.14.108 2019-03-27 10:48:59 +01:00
0032-USB-dwc2-add-device_reset.patch kernel: bump 4.14 to 4.14.128 2019-06-20 15:48:48 +02:00
0034-NET-multi-phy-support.patch kernel: bump 4.14 to 4.14.125 (FS#2305 FS#2297) 2019-06-12 15:04:09 +02:00
0037-mtd-cfi-cmdset-0002-force-word-write.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
0038-Revert-mtd-nand-Remove-unused-chip-write_page-hook.patch ramips: use separated mtd patch reverting write_page() removal 2018-11-09 13:31:47 +01:00
0039-mtd-add-mt7621-nand-support.patch ramips: clean up and fix MT7621 NAND driver issues 2018-07-11 20:59:44 +02:00
0040-nand-hack.patch ramips: use separated mtd patch reverting write_page() removal 2018-11-09 13:31:47 +01:00
0041-DT-Add-documentation-for-spi-rt2880.patch
0042-SPI-ralink-add-Ralink-SoC-spi-driver.patch
0043-spi-add-mt7621-support.patch ramips: backport mt7621-spi from linux-next-20190329 2019-04-06 19:14:06 +02:00
0044-i2c-MIPS-adds-ralink-I2C-driver.patch
0045-i2c-add-mt7621-driver.patch
0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch kernel: bump 4.14 to 4.14.97 2019-02-01 11:41:00 +01:00
0047-DMA-ralink-add-rt2880-dma-engine.patch
0048-asoc-add-mt7620-support.patch ramips: fix wrong i2s clock unit from kHz to MHz 2019-03-24 01:44:24 +01:00
0051-serial-add-ugly-custom-baud-rate-hack.patch kernel: bump 4.14 to 4.14.125 (FS#2305 FS#2297) 2019-06-12 15:04:09 +02:00
0052-pwm-add-mediatek-support.patch
0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
0054-mtd-spi-nor-w25q256-respect-default-mode.patch kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
0069-awake-rt305x-dwc2-controller.patch
0070-weak_reordering.patch kernel: bump 4.14 to 4.14.99 2019-02-14 16:45:01 +01:00
0098-disable_cm.patch
0099-pci-mt7620.patch
0200-linkit_bootstrap.patch