1. 25 Apr, 2019 3 commits
  2. 24 Apr, 2019 1 commit
  3. 02 Apr, 2019 4 commits
  4. 04 Mar, 2019 1 commit
  5. 13 Feb, 2019 1 commit
  6. 18 Jan, 2019 1 commit
  7. 15 Nov, 2018 4 commits
    • Juan David González Cobas's avatar
      Merge branch 'updates-4.15' · a5cbe2b0
      Juan David González Cobas authored
      a5cbe2b0
    • Gwenhael Goavec-Merou's avatar
      spec-sw: kernel: spec-pci: use pci_alloc_irq_vectors with kernel > 4.11 · ed527040
      Gwenhael Goavec-Merou authored
      since 4.11 pci_enable_msi_exact is no more available and fail with :
      
      spec-sw/kernel/spec-pci.c: In function 'spec_probe':
      spec-sw/kernel/spec-pci.c:225:9: error: implicit declaration of function 'pci_enable_msi_exact'; did you mean 'pci_enable_msix_exact'? [-Werror=implicit-function-declaration]
         ret = pci_enable_msi_exact(pdev, 1);
               ^~~~~~~~~~~~~~~~~~~~
               pci_enable_msix_exact
      cc1: some warnings being treated as errors
      make[5]: *** [/usr/src/linux-headers-4.18.0-2-common/scripts/Makefile.build:323: spec-sw/kernel/spec-pci.o] Error 1
      make[4]: *** [/usr/src/linux-headers-4.18.0-2-common/Makefile:1531: _module_spec-sw/kernel] Error 2
      make[3]: *** [Makefile:146: sub-make] Error 2
      make[2]: *** [Makefile:8: all] Error 2
      make[2]: Leaving directory '/usr/src/linux-headers-4.18.0-2-amd64'
      make[1]: *** [Makefile:20: all] Error 2
      make[1]: Leaving directory 'spec-sw/kernel'
      make: *** [Makefile:28: kernel] Error 2
      
      This patch add preprocessor case to detect kernel version.
      For kernel > 4.11 pci_alloc_irq_vectors is use instead of pci_enable_msi_exact
      and pci_free_irq_vectors instead of pci_disable_msi.
      Signed-off-by: 's avatarGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
      ed527040
    • Gwenhael Goavec-Merou's avatar
      spec-sw: kernel: nic-core: last_rx is no more available since kernel > 4.11 · b45d71b7
      Gwenhael Goavec-Merou authored
      struct net_device has no more last_rx. According to [1] this line must be
      simply supressed for kernel > 4.11 to avoid build failure like :
      
      spec-sw/kernel/wr_nic/nic-core.c: In function '__wrn_rx_descriptor':
      spec-sw/kernel/wr_nic/nic-core.c:428:5: error: 'struct net_device' has no member named 'last_rx'
        dev->last_rx = jiffies;
           ^~
      make[5]: *** [/usr/src/linux-headers-4.18.0-2-common/scripts/Makefile.build:323: spec-sw/kernel/wr_nic/nic-core.o] Error 1
      make[4]: *** [/usr/src/linux-headers-4.18.0-2-common/Makefile:1531: _module_spec-sw/kernel] Error 2
      make[3]: *** [Makefile:146: sub-make] Error 2
      make[2]: *** [Makefile:8: all] Error 2
      make[2]: Leaving directory '/usr/src/linux-headers-4.18.0-2-amd64'
      make[1]: *** [Makefile:20: all] Error 2
      make[1]: Leaving directory 'spec-sw/kernel'
      make: *** [Makefile:28: kernel] Error 2
      
      [1] https://patchwork.ozlabs.org/patch/716831/Signed-off-by: 's avatarGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
      b45d71b7
    • Gwenhael Goavec-Merou's avatar
      spec-sw: kernel: wr-nic-dio: signal_pending is define in linux/sched/signal.h with kernel > 4.11 · a0b90f50
      Gwenhael Goavec-Merou authored
      Since 4.11 signal_pending is declared in linux/sched/signal.h. Using
      linux/sched.h result in a build failure :
      
      spec-sw/kernel/wr-nic-dio.c: In function 'wrn_dio_cmd_stamp':
      spec-sw/kernel/wr-nic-dio.c:267:7: error: implicit declaration of function 'signal_pending'; did you mean 'timer_pending'? [-Werror=implicit-function-declaration]
         if (signal_pending(current))
             ^~~~~~~~~~~~~~
             timer_pending
      cc1: some warnings being treated as errors
      make[5]: *** [/usr/src/linux-headers-4.18.0-2-common/scripts/Makefile.build:323: spec-sw/kernel/wr-nic-dio.o] Error 1
      make[4]: *** [/usr/src/linux-headers-4.18.0-2-common/Makefile:1531: _module_spec-sw/kernel] Error 2
      make[3]: *** [Makefile:146: sub-make] Error 2
      make[2]: *** [Makefile:8: all] Error 2
      make[2]: Leaving directory '/usr/src/linux-headers-4.18.0-2-amd64'
      make[1]: *** [Makefile:20: all] Error 2
      make[1]: Leaving directory 'spec-sw/kernel'
      make: *** [Makefile:28: kernel] Error 2
      
      This patch adds preprocessor to include correct head according to the kernel version.
      Signed-off-by: 's avatarGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
      a0b90f50
  8. 11 Oct, 2018 1 commit
    • Gwenhael Goavec-Merou's avatar
      kernel: wr_nic: endpoint: use timer_setup instead of setup_timer with kernel > 4.15 · aa8d5d99
      Gwenhael Goavec-Merou authored
      Since kernel 4.15, setup_timer is no more available and compilation fails with :
      make -C kernel
      make[1]: Entering directory '/.../wr-starting-kit/spec-sw/kernel'
      make -C /lib/modules/4.18.0-1-amd64/build M=/.../wr-starting-kit/spec-sw/kernel FMC_BUS_ABS=/.../wr-starting-kit/spec-sw/fmc-bus modules
      make[2]: Entering directory '/usr/src/linux-headers-4.18.0-1-amd64'
        CC [M]  /.../wr-starting-kit/spec-sw/kernel/wr_nic/endpoint.o
      /.../wr-starting-kit/spec-sw/kernel/wr_nic/endpoint.c: In function 'wrn_ep_open':
      /.../wr-starting-kit/spec-sw/kernel/wr_nic/endpoint.c:193:2: error: implicit declaration of function 'setup_timer'; did you mean 'del_timer'? [-Werror=implicit-function-declaration]
        setup_timer(&ep->ep_link_timer, wrn_ep_check_link, timerarg);
        ^~~~~~~~~~~
        del_timer
      cc1: some warnings being treated as errors
      make[5]: *** [/usr/src/linux-headers-4.18.0-1-common/scripts/Makefile.build:323: /.../wr-starting-kit/spec-sw/kernel/wr_nic/endpoint.o] Error 1
      make[4]: *** [/usr/src/linux-headers-4.18.0-1-common/Makefile:1518: _module_/.../wr-starting-kit/spec-sw/kernel] Error 2
      make[3]: *** [Makefile:146: sub-make] Error 2
      make[2]: *** [Makefile:8: all] Error 2
      make[2]: Leaving directory '/usr/src/linux-headers-4.18.0-1-amd64'
      make[1]: *** [Makefile:20: all] Error 2
      make[1]: Leaving directory '/.../wr-starting-kit/spec-sw/kernel'
      make: *** [Makefile:28: kernel] Error 2
      
      This patch add preprocessor case to detect kernel version.
      For kernel > 4.15 timer_setup is use instead of setup_timer and callback is
      adapted to the new need.
      Signed-off-by: 's avatarGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
      aa8d5d99
  9. 31 Jan, 2018 1 commit
  10. 10 Oct, 2017 1 commit
  11. 27 Jun, 2017 3 commits
  12. 28 Feb, 2017 5 commits
  13. 17 Jul, 2016 2 commits
  14. 03 Mar, 2016 2 commits
  15. 10 Feb, 2016 7 commits
  16. 01 Dec, 2015 1 commit
  17. 30 Nov, 2015 1 commit
  18. 20 Nov, 2015 1 commit