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
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
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
303-spi-nor-enable-4B-opcodes-for-mx66l51235l.patch
304-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch
999-fix-pci-init-mt7620.patch
0001-MIPS-ralink-Add-rt3352-SPI_CS1-pinmux.patch
0002-MIPS-pci-rt2880-set-pci-controller-of_node.patch
0003-MIPS-Fix-memory-reservation-in-bootmem_init-for-cert.patch
0004-MIPS-ralink-add-MT7621-pcie-driver.patch
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
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
0026-DT-Add-documentation-for-gpio-ralink.patch
0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
0028-GPIO-ralink-add-mt7621-gpio-controller.patch
0029-gpio-ralink-Add-support-for-GPIO-as-interrupt-contro.patch
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
0038-Revert-mtd-nand-Remove-unused-chip-write_page-hook.patch
0039-mtd-add-mt7621-nand-support.patch
0040-nand-hack.patch
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
0054-mtd-spi-nor-w25q256-respect-default-mode.patch
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