1. 19 11月, 2019 1 次提交
  2. 24 9月, 2019 1 次提交
  3. 23 9月, 2019 1 次提交
  4. 21 9月, 2019 1 次提交
  5. 09 9月, 2019 1 次提交
  6. 07 8月, 2019 2 次提交
  7. 28 7月, 2019 2 次提交
  8. 22 7月, 2019 4 次提交
  9. 29 6月, 2019 1 次提交
  10. 21 6月, 2019 2 次提交
  11. 20 6月, 2019 6 次提交
    • H
      perf: Fix build on aarch64 · 6028f00d
      Hauke Mehrtens 提交于
      Somehow perf depended on libunwind, and libunwind also builds on
      aarch64.
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      6028f00d
    • H
      kernel: Reorder kernel configuration · 7fbd3256
      Hauke Mehrtens 提交于
      The following command was run on the configuration:
      ./scripts/kconfig.pl target/linux/generic/config-4.4 > target/linux/generic/config-4.4-new
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      7fbd3256
    • H
      layerscape: Adapt patch to changes in upstream kernel · 103c42e2
      Hauke Mehrtens 提交于
      In kernel v4.4.179 the structure of the scripts/mod/file2alias.c file
      changed, this adapts the patch to the changes done in the stable
      kernel.
      
      This fixes the following compile problem:
        HOSTCC  scripts/mod/file2alias.o
      scripts/mod/file2alias.c:1199:17: error: expected declaration specifiers or '...' before string constant
       ADD_TO_DEVTABLE("fslmc", fsl_mc_device_id, do_fsl_mc_entry);
                       ^
      scripts/mod/file2alias.c:1199:26: error: unknown type name 'fsl_mc_device_id'
       ADD_TO_DEVTABLE("fslmc", fsl_mc_device_id, do_fsl_mc_entry);
                                ^
      scripts/mod/file2alias.c:1199:44: error: expected declaration specifiers or '...' before 'do_fsl_mc_entry'
       ADD_TO_DEVTABLE("fslmc", fsl_mc_device_id, do_fsl_mc_entry);
                                                  ^
      scripts/mod/file2alias.c:1190:12: warning: 'do_fsl_mc_entry' defined but not used [-Wunused-function]
       static int do_fsl_mc_entry(const char *filename, void *symval,
                  ^
        SHIPPED scripts/dtc/dtc-parser.tab.h
      
      Fixes: 6c5c3a2e ("kernel: Update to version 4.4.182")
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      103c42e2
    • H
      apm821xx: Revert upstream fix which breaks compile · fd4e8058
      Hauke Mehrtens 提交于
      This reverts a commit added in kernel v4.4.179 which breaks compilation
      on the apm821xx target.
      
      This fixes the following compile problem:
      drivers/crypto/amcc/crypto4xx_core.c: In function 'crypto4xx_ablkcipher_done':
      drivers/crypto/amcc/crypto4xx_core.c:650:21: warning: dereferencing 'void *' pointer
        if (pd_uinfo->sa_va->sa_command_0.bf.save_iv == SA_SAVE_IV) {
                           ^
      drivers/crypto/amcc/crypto4xx_core.c:650:21: error: request for member 'sa_command_0' in something not a structure or union
      drivers/crypto/amcc/crypto4xx_core.c:651:38: error: implicit declaration of function 'crypto_skcipher_reqtfm' [-Werror=implicit-function-declaration]
         struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req);
                                            ^
      drivers/crypto/amcc/crypto4xx_core.c:651:61: error: 'req' undeclared (first use in this function)
         struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req);
                                                                   ^
      drivers/crypto/amcc/crypto4xx_core.c:651:61: note: each undeclared identifier is reported only once for each function it appears in
      drivers/crypto/amcc/crypto4xx_core.c:653:3: error: implicit declaration of function 'crypto4xx_memcpy_from_le32' [-Werror=implicit-function-declaration]
         crypto4xx_memcpy_from_le32((u32 *)req->iv,
         ^
      drivers/crypto/amcc/crypto4xx_core.c:654:19: warning: dereferencing 'void *' pointer
          pd_uinfo->sr_va->save_iv,
                         ^
      drivers/crypto/amcc/crypto4xx_core.c:654:19: error: request for member 'save_iv' in something not a structure or union
      drivers/crypto/amcc/crypto4xx_core.c:655:4: error: implicit declaration of function 'crypto_skcipher_ivsize' [-Werror=implicit-function-declaration]
          crypto_skcipher_ivsize(skcipher));
          ^
      cc1: some warnings being treated as errors
      
      Fixes: 6c5c3a2e ("kernel: Update to version 4.4.182")
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      fd4e8058
    • H
      brcm2708: Adapt patches to kernel update · dc60dc13
      Hauke Mehrtens 提交于
      In kernel 4.4.182 get_user_pages() does not get the write and force
      parameter any more, but one flags parameter with WRITE and FORCE
      attributes. This adapts the patches to use the changed API and fixes
      the compile problems with the brcm2708 target.
      
      This fixes the following compile problem:
      drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c: In function 'dump_phys_mem':
      drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c:1501:3: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types]
         pages,                    /* pages (array of page pointers) */
         ^
      In file included from drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c:42:0:
      include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
       long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
            ^
      drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c:1495:7: error: too many arguments to function 'get_user_pages'
        rc = get_user_pages(current,      /* task */
             ^
      In file included from drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c:42:0:
      include/linux/mm.h:1200:6: note: declared here
       long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
            ^
      scripts/Makefile.build:277: recipe for target 'drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.o' failed
      
      Fixes: 6c5c3a2e ("kernel: Update to version 4.4.182")
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      dc60dc13
    • H
      kernel: Add CONFIG_RTC to generic config · fa1ee2bd
      Hauke Mehrtens 提交于
      RTC (the legacy driver) should not really be used, but seems to crop up
      after the kernel update. Fix this by disabling it in the generic config.
      
      Fixes the following build issue seen in arm64 or powerpc64:
      
      ARM JTAG DCC console (HVC_DCC) [N/y/?] n
      Virtio console (VIRTIO_CONSOLE) [N/m/y/?] n
      Enhanced Real Time Clock Support (legacy PC RTC driver) (RTC) [N/m/y/?] (NEW) aborted!
      
      Console input/output is redirected. Run 'make oldconfig' to update configuration.
      
      scripts/kconfig/Makefile:37: recipe for target 'silentoldconfig' failed
      
      This should fix the build on the arm64/generic and the layerscape/64b
      targets.
      
      Fixes: 6c5c3a2e ("kernel: Update to version 4.4.182")
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      fa1ee2bd
  12. 19 6月, 2019 2 次提交
  13. 17 6月, 2019 1 次提交
  14. 01 6月, 2019 1 次提交
  15. 20 4月, 2019 5 次提交
  16. 18 4月, 2019 2 次提交
  17. 06 3月, 2019 1 次提交
    • R
      kernel: fix refcnt leak in LED netdev trigger on interface rename · 981f5f7e
      Rafał Miłecki 提交于
      Renaming a netdev-trigger-tracked interface was resulting in an
      unbalanced dev_hold().
      
      Example:
      > iw phy phy0 interface add foo type __ap
      > echo netdev > trigger
      > echo foo > device_name
      > ip link set foo name bar
      > iw dev bar del
      [  237.355366] unregister_netdevice: waiting for bar to become free. Usage count = 1
      [  247.435362] unregister_netdevice: waiting for bar to become free. Usage count = 1
      [  257.545366] unregister_netdevice: waiting for bar to become free. Usage count = 1
      
      Above problem was caused by trigger checking a dev->name which obviously
      changes after renaming an interface. It meant missing all further events
      including the NETDEV_UNREGISTER which is required for calling dev_put().
      
      This change fixes that by:
      1) Comparing device struct *address* for notification-filtering purposes
      2) Dropping unneeded NETDEV_CHANGENAME code (no behavior change)
      Signed-off-by: NRafał Miłecki <rafal@milecki.pl>
      (cherry picked from commit eea53820)
      981f5f7e
  18. 26 2月, 2019 2 次提交
  19. 11 2月, 2019 1 次提交
    • R
      mac80211: brcmfmac: fix a possible NULL pointer dereference · f3f21b3d
      Rafał Miłecki 提交于
      This fixes a possible crash in the brcmf_fw_request_nvram_done():
      [   31.687293] Backtrace:
      [   31.689760] [<c004fb4c>] (__wake_up_common) from [<c004fc38>] (__wake_up_locked+0x1c/0x24)
      [   31.698043]  r10:c6794000 r9:00000009 r8:00000001 r7:bf54dda0 r6:a0000013 r5:c78e7d38
      [   31.705928]  r4:c78e7d3c r3:00000000
      [   31.709528] [<c004fc1c>] (__wake_up_locked) from [<c00502a8>] (complete+0x3c/0x4c)
      [   31.717148] [<c005026c>] (complete) from [<bf54590c>] (brcmf_fw_request_nvram_done+0x5c8/0x6a4 [brcmfmac])
      [   31.726818]  r7:bf54dda0 r6:c6794000 r5:00001990 r4:c6782380
      [   31.732544] [<bf545344>] (brcmf_fw_request_nvram_done [brcmfmac]) from [<c0204e40>] (request_firmware_work_func+0x38/0x60)
      [   31.743607]  r10:00000008 r9:c6bdd700 r8:00000000 r7:c72c3cd8 r6:c67f4300 r5:c6bda300
      [   31.751493]  r4:c67f4300
      [   31.754046] [<c0204e08>] (request_firmware_work_func) from [<c0034458>] (process_one_work+0x1e0/0x318)
      [   31.763365]  r4:c72c3cc0
      [   31.765913] [<c0034278>] (process_one_work) from [<c0035234>] (worker_thread+0x2f4/0x448)
      [   31.774107]  r10:00000008 r9:00000000 r8:c6bda314 r7:c72c3cd8 r6:c6bda300 r5:c6bda300
      [   31.781993]  r4:c72c3cc0
      [   31.784545] [<c0034f40>] (worker_thread) from [<c003984c>] (kthread+0x100/0x114)
      [   31.791949]  r10:00000000 r9:00000000 r8:00000000 r7:c0034f40 r6:c72c3cc0 r5:00000000
      [   31.799836]  r4:c735dc00 r3:c79ed540
      [   31.803438] [<c003974c>] (kthread) from [<c00097d0>] (ret_from_fork+0x14/0x24)
      [   31.810672]  r7:00000000 r6:00000000 r5:c003974c r4:c735dc00
      [   31.816378] Code: e5b53004 e1a07001 e1a06002 e243000c (e5934000)
      [   31.822487] ---[ end trace a0ffbb07a810d503 ]---
      Signed-off-by: NRafał Miłecki <rafal@milecki.pl>
      (cherry picked from commit 83bcacb5)
      f3f21b3d
  20. 30 1月, 2019 1 次提交
    • S
      openssl: bump to 1.0.2q · 6c14b29b
      Sven Roederer 提交于
      This fixes the following security problems:
       * CVE-2018-5407: Microarchitecture timing vulnerability in ECC scalar multiplication
       * CVE-2018-0734: Timing vulnerability in DSA signature generation
       * Resolve a compatibility issue in EC_GROUP handling with the FIPS Object Module
      Signed-off-by: NSven Roederer <freifunk@it-solutions.geroedel.de>
      (backport of commit 98906047)
      6c14b29b
  21. 22 1月, 2019 2 次提交
    • J
      opkg: update to latest Git head · 009ecf31
      Jo-Philipp Wich 提交于
      d217daf libopkg: fix replacelist parsing and writing
      9dd9a07 libopkg: fix segmentation fault when traversing conflicts
      34571ba libopkg: consider provided packages in pkg_vec_mark_if_matches()
      18740e6 opkg_download: print error when fork() fails
      e3d7330 libopkg: don't print unresolved dependencies twice
      3b417b9 opkg_download: decode file:/ URLs
      71c27cb file_util: implement urldecode_path()
      d1fe095 file_util: consolidate hex/unhex routines
      ebdfc12 add opkg option http_timeout
      9f003e3 opkg: encode archive filenames while constructing download URLs
      73e6c81 file_util: implement urlencode_path() helper
      468158f libopkg: fix SHA256 calculation for big endian system
      4bd8601 pkg_parse: fix segfault when parsing descriptions with leading newlines
      52fc006 pkg_alternatives: pass if the desired symlink already exists
      c668fce opkg: add --no-check-certificate argument
      04e279e pkg_alternatives: use ERROR level for symlink failure
      546bc72 pkg: alternatives support
      Signed-off-by: NJo-Philipp Wich <jo@mein.io>
      (backported from commit 1bd18f2b)
      009ecf31
    • J
      opkg: switch source url to git.openwrt.org · f0115b50
      Jo-Philipp Wich 提交于
      As LEDE is rebranding to OpenWrt now, adjust the Git source references
      accordingly.
      Signed-off-by: NJo-Philipp Wich <jo@mein.io>
      (backported from commit da95c9aa)
      f0115b50