Skip to content
Snippets Groups Projects
  1. May 13, 2017
  2. May 02, 2017
    • Alexey Brodkin's avatar
      linux-4.9: Fix building of DWC3 module · 2b27e62e
      Alexey Brodkin authored
      
      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: default avatarAlexey Brodkin <Alexey.Brodkin@synopsys.com>
      Signed-off-by: Felix Fietkau <nbd@nbd.name> [patch rename]
      2b27e62e
  3. Apr 26, 2017
  4. Apr 23, 2017
  5. Apr 19, 2017
  6. Apr 14, 2017
  7. Apr 08, 2017
  8. Apr 02, 2017
  9. Mar 26, 2017
  10. Mar 24, 2017
    • Mathias Kresin's avatar
      kernel: add MIPS pci fix send upstream · 2f8d086b
      Mathias Kresin authored
      
      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: default avatarMathias Kresin <dev@kresin.me>
      2f8d086b
  11. Mar 21, 2017
  12. Mar 16, 2017
    • Felix Fietkau's avatar
      kernel: do not build modules.order · afc16758
      Felix Fietkau authored
      
      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: default avatarFelix Fietkau <nbd@nbd.name>
      afc16758
    • Jing Qiu's avatar
      kernel: Fix the incorrect i_nlink count after jffs2's RENAME_EXCHANGE operations. · 4475da96
      Jing Qiu authored
      
      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: default avatarJing Qiu <aqiu0720@gmail.com>
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      4475da96
  13. Mar 12, 2017
  14. Mar 08, 2017
  15. Mar 06, 2017
  16. Mar 01, 2017
  17. Feb 28, 2017
    • Felix Fietkau's avatar
      kernel: fix MIPS memory function optimization build error in decompressor · f9da6238
      Felix Fietkau authored
      
      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: default avatarFelix Fietkau <nbd@nbd.name>
      f9da6238
  18. Feb 27, 2017
  19. Feb 26, 2017
  20. Feb 15, 2017
  21. Feb 12, 2017
  22. Feb 11, 2017
  23. Feb 10, 2017
  24. Feb 09, 2017
  25. Feb 07, 2017
  26. Feb 06, 2017
  27. Feb 04, 2017
Loading