aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel: add missing config optionsHauke Mehrtens2017-05-272-0/+5
| | | | | | | This broke the build for the x86 generic target. This was found by the build bot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: update kernel 4.9 to 4.9.30Hauke Mehrtens2017-05-273-3/+3
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: update kernel 4.9 to 4.9.29Koen Vandeputte2017-05-2117-477/+31
| | | | | | | | | | | | | - Refresh all patches - Removed upstreamed - Adapted 1 Compile tested on: bcm53xx, cns3xxx, imx6, lantiq Run tested on: cns3xxx & imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> [update from 4.9.28 to 4.9.29] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: update kernel 4.4 to version 4.4.69Kevin Darbyshire-Bryant2017-05-2111-398/+26
| | | | | | | | | | | | | | | | | | | Refresh patches. A number of patches have landed upstream & hence are no longer required locally: 062-[1-6]-MIPS-* series 042-0004-mtd-bcm47xxpart-fix-parsing-first-block Reintroduced lantiq/patches-4.4/0050-MIPS-Lantiq-Fix-cascaded-IRQ-setup as it was incorrectly included upstream thus dropped from LEDE. As it has now been reverted upstream it needs to be included again for LEDE. Run tested ar71xx Archer C7 v2 and lantiq. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> [update from 4.4.68 to 4.4.69] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: refresh patchesLuka Perkov2017-05-141-6/+1
| | | | Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
* linux-4.9: Fix building of DWC3 moduleAlexey Brodkin2017-05-021-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DWC3 driver uses of_usb_get_phy_mode() which is implemented in drivers/usb/phy/of.c and in bare minimal configuration it might not be pulled in kernel binary. In case of ARC or ARM this could be easily reproduced with "allnodefconfig" +CONFIG_USB=m +CONFIG_USB_DWC3=m. On building all ends-up with: ---------------------->8------------------ Kernel: arch/arm/boot/Image is ready Kernel: arch/arm/boot/zImage is ready Building modules, stage 2. MODPOST 5 modules ERROR: "of_usb_get_phy_mode" [drivers/usb/dwc3/dwc3.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 ---------------------->8------------------ This was affecting Lede in case of CONFIG_ALL_KMODS=y. The patch is already scheduled for v4.12 and once it is backported to 4.9.y it must be removed from here. Note this patch makes sense not only for ARC instead it fixes a generic issue which may affect more arches and platforms thus putting it in "generic/" folder. Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [patch rename]
* kernel: remove out of tree direct-io disable hackFelix Fietkau2017-04-266-248/+0
| | | | | | | Direct-IO support has to be enabled for the release build anyway, so this hack is not worth keeping Signed-off-by: Felix Fietkau <nbd@nbd.name>
* generic: rtl8366rb: add support for initvals from DTSKevin Darbyshire-Bryant2017-04-251-0/+25
| | | | | | | | | Allow per-device initvals in the DTS file for rlt8366rb switches. Shamelessly copies 30494598f891fc4436a49eca55fc31d03c087841 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* kernel: use skb_cow_head() to deal with cloned skbsÁlvaro Fernández Rojas2017-04-2314-0/+534
| | | | | | | | | | | We need to ensure there is enough headroom to push extra header, but we also need to check if we are allowed to change headers. skb_cow_head() is the proper helper to deal with this. Fixes Ethernet<->WiFi bridge for Raspberry Pi and probably other devices. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: mtd: backport mx25u25635f stateless 4b supportMathias Kresin2017-04-191-0/+29
| | | | | | | | | Use the stateless 4-byte op codes for this flash chip to fix reboot hangs on SoCs expecting the flash chip in 3-byte mode. Fixes: FS#179 Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: backport Broadcom thermal driversRafał Miłecki2017-04-147-0/+1339
| | | | | | This includes driver for Northstar and for Raspberry Pi. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: Add various arm64-related symbolsFlorian Fainelli2017-04-111-0/+6
| | | | | | | In preparation for bumping arm64 to 4.9, add a bunch of configuration symbols that are available under arm64. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* ath9k: drop obsolete patchMathias Kresin2017-04-081-1/+0
| | | | | | | Now that the wireless LEDs are added via platform leds this patch isn't required any longer. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: update MIPS pci fix to the accepted versionMathias Kresin2017-04-082-31/+31
| | | | | | | Fix the list order instead of adjusting the controller scan order. Revert the former required changes to the lantiq PCIe driver. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: move initramfs's init script out of base-filesRafał Miłecki2017-04-041-0/+0
| | | | | | | | Keeping it in base-files was resulting in adding it to the base-files package. This file is meant to be included manually for initramfs images only. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update kernel 4.4 to 4.4.59Hauke Mehrtens2017-04-024-4/+4
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: update kernel 4.9 to 4.9.20Hauke Mehrtens2017-04-023-6/+4
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix ubi auto attach loggingJohn Crispin2017-04-021-3/+5
| | | | | | The patch is missing a trailing new line Signed-off-by: John Crispin <john@phrozen.org>
* ar8327: Add workarounds for AR8337 switch.Vittorio Gambaletta2017-03-302-1/+62
| | | | | | | | | | | | | | | | RGMII RX delay setting needs to be always specified for AR8337 to avoid port 5 RX hang on high traffic / flood conditions. Also, the HOL registers that set per-port and per-packet-priority buffer sizes are updated with the reduced values suggested by the QCA switch team. Finally, AR8327 reserved register fixups are disabled for the AR8337. This patch is adapted from the Code Aurora QSDK, but with magic values mapped to proper defines. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
* kernel: add arm64 erratums into configHauke Mehrtens2017-03-262-0/+25
| | | | | | | | Deactivate all the ARM64 erratums by default. The target code should activate them if needed. This fixes a problem with a new erratum added in kernel 4.9.17 breaking brcm2708. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: update kernel 4.9 to 4.9.17Hauke Mehrtens2017-03-268-16/+16
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: update kernel 4.4 to 4.4.56Hauke Mehrtens2017-03-269-19/+16
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add MIPS pci fix send upstreamMathias Kresin2017-03-241-0/+31
| | | | | | | | | | | | | | | Upstream commit 23dac14d058f ("MIPS: PCI: Use struct list_head lists") changed the controller list from reverse to straight order without taking care of the changed order for the scan of the recorded PCI controllers. Traverse the list in reverse order to restore the former behaviour. This patches fixes the following PCI error on lantiq: pci 0000:01:00.0: BAR 0: error updating (0x1c000004 != 0x000000) Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: disable DRM_HISI_KIRIN and USB_DWC3_OF_SIMPLERafał Miłecki2017-03-221-0/+2
| | | | | | They were triggering config prompts on brcm2710. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: fix builds with kmod-drm-vc4 and CONFIG_SPI enabledRafał Miłecki2017-03-221-0/+2
| | | | | | | This fixes: Samsung LD9040 RGB/SPI panel (DRM_PANEL_SAMSUNG_LD9040) [N/m] (NEW) aborted! Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: fix builds with kmod-drm-vc4 and kmod-backlight enabledRafał Miłecki2017-03-221-0/+4
| | | | | | | This fixes: JDI LT070ME05000 WUXGA DSI panel (DRM_PANEL_JDI_LT070ME05000) [N/m/?] (NEW) aborted! Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm2708: add kmod-drm-vc4 packageRafał Miłecki2017-03-211-0/+2
| | | | | | It includes vc4 driver for Broadcom VideoCore IV GPU. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update bcma including recent changes for 4.12Rafał Miłecki2017-03-212-0/+70
| | | | | | | This adds support for describing GPIO chips placed on PCIe cards. Thanks to this we get working 2.4 GHz LED on Tenda AC9. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: move disabling DRM symbols to the config fileRafał Miłecki2017-03-211-0/+23
| | | | | | | This is the standard way we handle this. Please note (it seems) I could drop few symbols as they are hidden under (disabled) DRM_LEGACY now. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: disable CONFIG_BCM_IPROC_ADC by defaultRafał Miłecki2017-03-211-0/+1
| | | | | | | This fixes compiling issue on bcm53xx target with kmod-iio-core: Broadcom IPROC ADC driver (BCM_IPROC_ADC) [N/m/?] (NEW) Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: do not build modules.orderFelix Fietkau2017-03-162-0/+68
| | | | | | | It is not needed for anything on the system and skipping this saves some build time, especially in cases where there is nothing to do. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing config symbols for 4.9Felix Fietkau2017-03-161-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: Fix the incorrect i_nlink count after jffs2's RENAME_EXCHANGE ↵Jing Qiu2017-03-162-10/+49
| | | | | | | | | | | | | | | | | | | | | operations. The problem is caused by the incorrect handling of the parent inode's i_nlink count for the dentry to be RENAME_EXCHANGED. There are 3 cases to consider. Assume we want to RENAME_EXCHANGE struct dentry *a and struct dentry *b, and inode_a is pointed to by dentry_a, inode_b is pointed to by dentry_b: 1. If inode_a is a directory, but inode_b isn't, then we must decrease the i_nlink count of old_dir_i, and increase the i_nlink of new_dir_i. 2. If inode_a isn't a directory, but inode_b is a directory, then we must increase the i_nlink of old_dir_i, and decrease the i_nlink count of new_dir_i. 3. If the types of inode_a and inode_b are the same, we don't change the i_nlink for either old_dir_i or new_dir_i. Signed-off-by: Jing Qiu <aqiu0720@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing config symbols for 4.9Felix Fietkau2017-03-141-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to 4.4.53Hauke Mehrtens2017-03-123-23/+3
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: update kernel 4.9 to 4.9.14Hauke Mehrtens2017-03-122-21/+1
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix phy aneg crashTim Harvey2017-03-123-3/+3
| | | | | | | Fix a kernel crash caused when CONFIG_FIXED_PHY used for fixed phy drivers in phy-add-aneg-done-function patch. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: add another missing TPM symbolJohn Crispin2017-03-113-0/+3
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: backport first bcma 4.12 patch for GPIO and of_nodeRafał Miłecki2017-03-082-0/+24
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: fix of_node handling in LEDs core codeRafał Miłecki2017-03-086-0/+496
| | | | | | | | | This backports fixes for setting of_node and making it possible to read extra info from DT. This was partially fixed by: [PATCH] leds: leds-gpio: Set of_node for created LED devices but it didn't work during initialization. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: disable deprecated CONFIG_USB_EHCI_ATH79 symbolFelix Fietkau2017-03-072-0/+2
| | | | | | USB_EHCI_HCD_PLATFORM is used instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix whiteout rename on ubifs (FS#579)Felix Fietkau2017-03-061-0/+25
| | | | | | This was apparently caused by some linux upstream merge damage Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: more tpm related symbolsJohn Crispin2017-03-063-0/+5
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: update kernel 4.4 to 4.4.52Kevin Darbyshire-Bryant2017-03-031-8/+8
| | | | | | | | | | | | Bump kernel from 4.4.50 to 4.4.52 Refresh patches Compile tested all 4.4. targets Run tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* kernel: fix earlycon by keeping __earlycon_tableRafał Miłecki2017-03-012-1/+10
| | | | | | | | Somewhere between 4.4 and 4.9 there was a change that made OF_EARLYCON_DECLARE adding entries to the __earlycon_table instead of __earlycon_of_table. We need to keep this table as well. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: fix MIPS memory function optimization build error in decompressorFelix Fietkau2017-02-281-10/+20
| | | | | | | | | | | | | | | | | | Fixes the following build error: CC arch/mips/boot/compressed/decompress.o OBJCOPY arch/mips/boot/compressed/vmlinux.bin XZKERN arch/mips/boot/compressed/vmlinux.bin.z OBJCOPY arch/mips/boot/compressed/piggy.o LD vmlinuz arch/mips/boot/compressed/decompress.o: In function `lzma2_lzma': /tmp2/mehrtens/linux/arch/mips/boot/compressed/../../../../lib/xz/xz_dec_lzma2.c:884: undefined reference to `memmove' make[1]: *** [vmlinuz] Error 1 make: *** [vmlinuz] Error 2 lib/decompress_unxz.c only defines its own memmove function if there is no macro with the same name. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: sort generic configsJonas Gorski2017-02-283-62/+60
| | | | | | | Use kconfig.pl to sort the generic configs and get rid of duplicate entries. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: add another missing TPM symbolJohn Crispin2017-02-273-0/+3
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: add missing TPM related config symbol for 3.18Felix Fietkau2017-02-271-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix TPM related config symbols for 4.9Felix Fietkau2017-02-271-1/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>