Skip to content
Snippets Groups Projects
  1. Aug 13, 2014
  2. 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
  3. Aug 01, 2014
  4. Jul 25, 2014
    • Federico Vaga's avatar
      tools: include specific Makefile · 728fa03a
      Federico Vaga authored
      
      Sometimes (expecially in cross-compilation context) t is necessary to use
      different environments. Instead of complicate this makefile, include
      an external one with user code.
      
      Create a local file named Makefile.specific, and write here your code.
      Bear in mind that Makefile.specific will run before the Makefile.
      
      Signed-off-by: default avatarFederico Vaga <federico.vaga@cern.ch>
      728fa03a
  5. Jul 23, 2014
  6. Jul 22, 2014
  7. Jul 14, 2014
  8. Jul 08, 2014
  9. Jul 02, 2014
  10. Jun 12, 2014
  11. Jun 11, 2014
  12. Feb 28, 2014
  13. Feb 14, 2014
  14. Feb 12, 2014