Skip to content
Snippets Groups Projects
  1. Dec 09, 2021
  2. Nov 11, 2021
  3. Oct 02, 2021
  4. Sep 27, 2021
  5. Sep 24, 2021
    • Thomas Gleixner's avatar
      net: iosm: Use hrtimer_forward_now() · e93c1e03
      Thomas Gleixner authored
      
      hrtimer_forward_now() is providing the same functionality. Preparation for
      making hrtimer_forward() timer core code only.
      
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Loic Poulain <loic.poulain@linaro.org>
      Cc: netdev@vger.kernel.org
      Cc: Sergey Ryazanov <ryazanov.s.a@gmail.com>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: M Chetan Kumar <m.chetan.kumar@intel.com>
      Cc: Johannes Berg <johannes@sipsolutions.net>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Intel Corporation <linuxwwan@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e93c1e03
  6. Sep 22, 2021
  7. Sep 20, 2021
  8. Sep 16, 2021
  9. Sep 14, 2021
  10. Sep 13, 2021
    • M Chetan Kumar's avatar
      net: wwan: iosm: firmware flashing and coredump collection · 13bb8429
      M Chetan Kumar authored
      
      This patch brings-in support for M.2 7560 Device firmware flashing &
      coredump collection using devlink.
      - Driver Registers with Devlink framework.
      - Register devlink params callback for configuring device params
        required in flashing or coredump flow.
      - Implements devlink ops flash_update callback that programs modem
        firmware.
      - Creates region & snapshot required for device coredump log collection.
      
      On early detection of device in boot rom stage. Driver registers with
      Devlink framework and establish transport channel for PSI (Primary Signed
      Image) injection. Once PSI is injected to device, the device execution
      stage details are read to determine whether device is in flash or
      exception mode. The collected information is reported to devlink user
      space application & based on this informationi, application proceeds with
      either modem firmware flashing or coredump collection.
      
      Signed-off-by: default avatarM Chetan Kumar <m.chetan.kumar@linux.intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      13bb8429
  11. Sep 06, 2021
  12. Aug 27, 2021
  13. Aug 26, 2021
  14. Aug 23, 2021
    • Christophe JAILLET's avatar
      net: wwan: iosm: switch from 'pci_' to 'dma_' API · 44ee7658
      Christophe JAILLET authored
      
      The wrappers in include/linux/pci-dma-compat.h should go away.
      
      The patch has been generated with the coccinelle script below and has been
      hand modified to replace GFP_ with a correct flag.
      It has been compile tested.
      
      'ipc_protocol_init()' can use GFP_KERNEL, because this flag is already used
      by a 'kzalloc()' call a few lines above.
      
      'ipc_protocol_msg_prepipe_open()' must use GFP_ATOMIC, because this flag is
      already used by a 'kcalloc()' call a few lines above.
      
      @@ @@
      -    PCI_DMA_BIDIRECTIONAL
      +    DMA_BIDIRECTIONAL
      
      @@ @@
      -    PCI_DMA_TODEVICE
      +    DMA_TO_DEVICE
      
      @@ @@
      -    PCI_DMA_FROMDEVICE
      +    DMA_FROM_DEVICE
      
      @@ @@
      -    PCI_DMA_NONE
      +    DMA_NONE
      
      @@
      expression e1, e2, e3;
      @@
      -    pci_alloc_consistent(e1, e2, e3)
      +    dma_alloc_coherent(&e1->dev, e2, e3, GFP_)
      
      @@
      expression e1, e2, e3;
      @@
      -    pci_zalloc_consistent(e1, e2, e3)
      +    dma_alloc_coherent(&e1->dev, e2, e3, GFP_)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_free_consistent(e1, e2, e3, e4)
      +    dma_free_coherent(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_map_single(e1, e2, e3, e4)
      +    dma_map_single(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_unmap_single(e1, e2, e3, e4)
      +    dma_unmap_single(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4, e5;
      @@
      -    pci_map_page(e1, e2, e3, e4, e5)
      +    dma_map_page(&e1->dev, e2, e3, e4, e5)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_unmap_page(e1, e2, e3, e4)
      +    dma_unmap_page(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_map_sg(e1, e2, e3, e4)
      +    dma_map_sg(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_unmap_sg(e1, e2, e3, e4)
      +    dma_unmap_sg(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_dma_sync_single_for_cpu(e1, e2, e3, e4)
      +    dma_sync_single_for_cpu(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_dma_sync_single_for_device(e1, e2, e3, e4)
      +    dma_sync_single_for_device(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_dma_sync_sg_for_cpu(e1, e2, e3, e4)
      +    dma_sync_sg_for_cpu(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_dma_sync_sg_for_device(e1, e2, e3, e4)
      +    dma_sync_sg_for_device(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2;
      @@
      -    pci_dma_mapping_error(e1, e2)
      +    dma_mapping_error(&e1->dev, e2)
      
      @@
      expression e1, e2;
      @@
      -    pci_set_dma_mask(e1, e2)
      +    dma_set_mask(&e1->dev, e2)
      
      @@
      expression e1, e2;
      @@
      -    pci_set_consistent_dma_mask(e1, e2)
      +    dma_set_coherent_mask(&e1->dev, e2)
      
      Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      44ee7658
  15. Aug 19, 2021
  16. Aug 16, 2021
  17. Aug 12, 2021
  18. Aug 09, 2021
  19. Aug 07, 2021
  20. Aug 05, 2021
  21. Aug 04, 2021
  22. Aug 03, 2021
  23. Jul 23, 2021
  24. Jul 21, 2021
Loading