1. 15 Nov, 2019 3 commits
  2. 08 Apr, 2019 1 commit
    • Will Deacon's avatar
      drivers: Remove explicit invocations of mmiowb() · fb24ea52
      Will Deacon authored
      
      
      mmiowb() is now implied by spin_unlock() on architectures that require
      it, so there is no reason to call it from driver code. This patch was
      generated using coccinelle:
      
      	@mmiowb@
      	@@
      	- mmiowb();
      
      and invoked as:
      
      $ for d in drivers include/linux/qed sound; do \
      spatch --include-headers --sp-file mmiowb.cocci --dir $d --in-place; done
      
      NOTE: mmiowb() has only ever guaranteed ordering in conjunction with
      spin_unlock(). However, pairing each mmiowb() removal in this patch with
      the corresponding call to spin_unlock() is not at all trivial, so there
      is a small chance that this change may regress any drivers incorrectly
      relying on mmiowb() to order MMIO writes between CPUs using lock-free
      synchronisation. If you've ended up bisecting to this commit, you can
      reintroduce the mmiowb() calls using wmb() instead, which should restore
      the old behaviour on all architectures other than some esoteric ia64
      systems.
      Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      fb24ea52
  3. 19 Sep, 2018 1 commit
  4. 10 Sep, 2018 1 commit
  5. 14 Apr, 2016 1 commit
  6. 04 Apr, 2016 1 commit
    • Kazuya Mizuguchi's avatar
      ravb: Add dma queue interrupt support · f51bdc23
      Kazuya Mizuguchi authored
      
      
      This patch supports the following interrupts.
      
      - One interrupt for multiple (timestamp, error, gPTP)
      - One interrupt for emac
      - Four interrupts for dma queue (best effort rx/tx, network control rx/tx)
      
      This patch improve efficiency of the interrupt handler by adding the
      interrupt handler corresponding to each interrupt source described
      above. Additionally, it reduces the number of times of the access to
      EthernetAVB IF.
      Also this patch prevent this driver depends on the whim of a boot loader.
      
      [ykaneko0929@gmail.com: define bit names of registers]
      [ykaneko0929@gmail.com: add comment for gen3 only registers]
      [ykaneko0929@gmail.com: fix coding style]
      [ykaneko0929@gmail.com: update changelog]
      [ykaneko0929@gmail.com: gen3: fix initialization of interrupts]
      [ykaneko0929@gmail.com: gen3: fix clearing interrupts]
      [ykaneko0929@gmail.com: gen3: add helper function for request_irq()]
      [ykaneko0929@gmail.com: gen3: remove IRQF_SHARED flag for request_irq()]
      [ykaneko0929@gmail.com: revert ravb_close() and ravb_ptp_stop()]
      [ykaneko0929@gmail.com: avoid calling free_irq() to non-hooked interrupts]
      [ykaneko0929@gmail.com: make NC/BE interrupt handler a function]
      [ykaneko0929@gmail.com: make timestamp interrupt handler a function]
      [ykaneko0929@gmail.com: timestamp interrupt is handled in multiple
       interrupt handler instead of dma queue interrupt handler]
      Signed-off-by: default avatarKazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
      Signed-off-by: default avatarYoshihiro Kaneko <ykaneko0929@gmail.com>
      Acked-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f51bdc23
  7. 10 Feb, 2016 1 commit
  8. 25 Jun, 2015 1 commit
  9. 11 Jun, 2015 1 commit