Skip to content
Snippets Groups Projects
  1. Feb 10, 2016
  2. Dec 01, 2015
  3. Nov 30, 2015
  4. Nov 20, 2015
  5. Nov 13, 2015
  6. Aug 25, 2015
  7. May 07, 2015
  8. Apr 27, 2015
  9. Apr 20, 2015
  10. Feb 24, 2015
    • Federico Vaga's avatar
      wr-nic-gpio: do not check on gpiochip_remove · 2b85fda2
      Federico Vaga authored
      
      Since kernel 3.18 the gpiochip_remove function return void and not an
      error code as before. In case the gpiochip is removed while there is a
      requested gpio, the kernel will print an error message.
      
      By applying this patch without any control on the kernel version we are
      going to loose the error message in case of trouble with old kernels
      
      Signed-off-by: default avatarFederico Vaga <federico.vaga@cern.ch>
      2b85fda2
  11. Jan 20, 2015
  12. Sep 18, 2014
  13. Aug 13, 2014
  14. Aug 07, 2014
    • Federico Vaga's avatar
      kernel: fix deadlock on fmc->irq_request(), improve comments · 9ae2ee65
      Federico Vaga authored
      With some kernel configuration the previous locking policy can
      generate a deadlock on the spec->irq_lock spinlock.
      
      For example, this will happen sistematically if the option
      CONFIG_DEBUG_SHIRQ_FIXME is enabled. In this case, the handler
      is called immediatly an it is not a separeted thread.
      
      This patch move out from the locking section what doesn't need
      protection and is 'cause' of the deadlock.
      
      The deadlock was introduced with patch d4bbcc73 by using a large
      locking section. In realty the PCI request_irq is protected
      anyway thanks to the proctection of the variable 'first_time' and
      the 'spec_vic_irq_request' function.
      
      [more explaination about patch d4bbcc73
      
      ]
      The purpose of that patch was to protect the initialization of
      the first VIC handler and the release of the last one. It was
      happening that while we are releasing the last VIC handler,
      some one was registering a new one but the spec->vic is still there.
      The result was that sometimes the PCI handler was removed
      (last VIC handler) but not re-requested for the incoming request.
      
      Signen-off-by: default avatarFederico Vaga <federico.vaga@cern.ch>
      9ae2ee65
  15. Aug 01, 2014