1. 26 11月, 2020 1 次提交
  2. 25 11月, 2020 1 次提交
  3. 24 11月, 2020 6 次提交
  4. 21 11月, 2020 6 次提交
  5. 20 11月, 2020 11 次提交
  6. 19 11月, 2020 2 次提交
    • S
      atm: nicstar: Replace in_interrupt() usage · f2bcc2fa
      Sebastian Andrzej Siewior 提交于
      push_scqe() uses in_interrupt() to figure out if it is allowed to sleep.
      
      The usage of in_interrupt() in drivers is phased out and Linus clearly
      requested that code which changes behaviour depending on context should
      either be separated or the context be conveyed in an argument passed by the
      caller, which usually knows the context.
      
      Aside of that in_interrupt() is not correct as it does not catch preempt
      disabled regions which neither can sleep.
      
      ns_send() (the only caller of push_scqe()) has the following callers:
      
      - vcc_sendmsg() used as proto_ops::sendmsg is expected to be invoked in
        preemtible context.
        -> vcc->dev->ops->send() (ns_send())
      
      - atm_vcc::send via atmdev_ops::send either directly (pointer copied by
        atm_init_aal34() or atm_init_aal5()) or via atm_send_aal0().
        This is invoked by drivers (like br2684, clip, pppoatm, ...) which are
        called from net_device_ops::ndo_start_xmit with BH disabled.
      
      Add atmdev_ops::send_bh which is used by callers from BH context
      (atm_send_aal*()) and if this callback missing then ::send is used
      instead.
      Implement this callback in nicstar and use it to replace in_interrupt().
      
      Cc: Chas Williams <3chas3@gmail.com>
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NJakub Kicinski <kuba@kernel.org>
      f2bcc2fa
    • A
      ptp: document struct ptp_clock_request members · d04a53b1
      Ahmad Fatoum 提交于
      It's arguable most people interested in configuring a PPS signal
      want it as external output, not as kernel input. PTP_CLK_REQ_PPS
      is for input though. Add documentation to nudge readers into
      the correct direction.
      Signed-off-by: NAhmad Fatoum <a.fatoum@pengutronix.de>
      Acked-by: NRichard Cochran <richardcochran@gmail.com>
      Link: https://lore.kernel.org/r/20201117213826.18235-1-a.fatoum@pengutronix.deSigned-off-by: NJakub Kicinski <kuba@kernel.org>
      d04a53b1
  7. 18 11月, 2020 4 次提交
  8. 17 11月, 2020 6 次提交
  9. 15 11月, 2020 3 次提交