1. 12 Jun, 2023 3 commits
    • David S. Miller's avatar
      Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue · 72d77bad
      David S. Miller authored
      Tony Nguyen says:
      
      ====================
      ice: Improve miscellaneous interrupt code
      
      Jacob Keller says:
      
      This series improves the driver's use of the threaded IRQ and the
      communication between ice_misc_intr() and the ice_misc_intr_thread_fn()
      which was previously introduced by commit 1229b339 ("ice: Add low
      latency Tx timestamp read").
      
      First, a new custom enumerated return value is used instead of a boolean for
      ice_ptp_process_ts(). This significantly reduces the cognitive burden when
      reviewing the logic for this function, as the expected action is clear from
      the return value name.
      
      Second, the unconditional loop in ice_misc_intr_thread_fn() is removed,
      replacing it with a write to the Other Interrupt Cause register. This causes
      the MAC to trigger the Tx timestamp interrupt again. This makes it possible
      to safely use the ice_misc_intr_thread_fn() to handle other tasks beyond
      just the Tx timestamps. It is also easier to reason about since the thread
      function will exit cleanly if we do something like disable the interrupt and
      call synchronize_irq().
      
      Third, refactor the handling for external timestamp events to use the
      miscellaneous thread function. This resolves an issue with the external
      time stamps getting blocked while processing the periodic work function
      task.
      
      Fourth, a simplification of the ice_misc_intr() function to always return
      IRQ_WAKE_THREAD, and schedule the ice service task in the
      ice_misc_intr_thread_fn() instead.
      
      Finally, the Other Interrupt Cause is kept disabled over the thread function
      processing, rather than immediately re-enabled.
      
      Special thanks to Michal Schmidt for the careful review of the series and
      pointing out my misunderstandings of the kernel IRQ code. It has been
      determined that the race outlined as being fixed in previous series was
      actually introduced by this series itself, which I've since corrected.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      72d77bad
    • M Chetan Kumar's avatar
      net: wwan: iosm: enable runtime pm support for 7560 · e4f5073d
      M Chetan Kumar authored
      Adds runtime pm support for 7560.
      
      As part of probe procedure auto suspend is enabled and auto suspend
      delay is set to 5000 ms for runtime pm use. Later auto flag is set
      to power manage the device at run time.
      
      On successful communication establishment between host and device the
      device usage counter is dropped and request to put the device into
      sleep state (suspend).
      
      In TX path, the device usage counter is raised and device is moved out
      of sleep(resume) for data transmission. In RX path, if the device has
      some data to be sent it request host platform to change the power state
      by giving PCI PME message.
      Signed-off-by: default avatarM Chetan Kumar <m.chetan.kumar@linux.intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e4f5073d
    • Radhey Shyam Pandey's avatar
      dt-bindings: net: xlnx,axi-ethernet: convert bindings document to yaml · cbb1ca6d
      Radhey Shyam Pandey authored
      Convert the bindings document for Xilinx AXI Ethernet Subsystem
      from txt to yaml. No changes to existing binding description.
      Signed-off-by: default avatarRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
      Signed-off-by: default avatarSarath Babu Naidu Gaddam <sarath.babu.naidu.gaddam@amd.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cbb1ca6d
  2. 11 Jun, 2023 1 commit
  3. 10 Jun, 2023 17 commits
  4. 09 Jun, 2023 19 commits