1. 19 Sep, 2014 3 commits
    • Federico Vaga's avatar
      kernel: do not cleanup what should be already cleaned up · a754f416
      Federico Vaga authored
      On spec driver remove, do not clean-up VIC stuff. The VIC should be cleaned
      by the mezzanine driver when it release all its handlers (see patch a628fa3).
      Just leave a reminder for driver developer when something goes wrong.
      
      Moreove, we do not need to user sver_irq_exit() any more. If the mezzanine
      driver is properly written it will clear all its interrupts, and thanks to
      patch a628fa3 we can safely assume that everything was cleared.
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      a754f416
    • Federico Vaga's avatar
      kernel: bugfix IRQ release · 2b9ee79d
      Federico Vaga authored
      Interrupt resources are not properly released. Mainly two problems:
      
        1. on IRQ free the driver was using the IRQ number instead of the the
           component base address. So, the component IRQ handlers were never
           released
      
        2. on IRQ free, supposing that the first problem was not there, when
           all component's IRQ handlers were released the PCI IRQ handler (VIC
           dispatcher) should have released, but it was not. In consequence of this
           even if the driver was removed an interrupt can be handled by a
           ghost handler.
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      2b9ee79d
    • Federico Vaga's avatar
      3cfe8864
  2. 14 Jul, 2014 1 commit
  3. 07 Jul, 2014 4 commits
  4. 01 Jul, 2014 2 commits
    • Tomasz Wlostowski's avatar
      kernel: set/clear HAS_GOLDEN/HAS_CUSTOM flags when changing gateware · 1521ff29
      Tomasz Wlostowski authored
      The driver was not setting HAS_GOLDEN/HAS_CUSTOM flags when changing gatewares. This made
      EEPROM reprogramming impossible as the svec_[read|write]_ee functions thought that golden bitstream
      is never loaded.
      1521ff29
    • Tomasz Wlostowski's avatar
      kernel: userspace gateware loading via sysfs · 335e1019
      Tomasz Wlostowski authored
      This patch allows to load an userspace-provided bitstream to a SVEC card through sysfs attributes.
      It does not rely on kernel firmware loader mechanism (so the gateware files are not restricted
      to /lib/firmware directory). Userspace communication is ensured through firmware_blob and firmware_cmd
      sysfs entries. The former inputs the bitstream in PAGESIZEd chunks, the latter receives gateware update start/finish commands.
      335e1019
  5. 12 Jun, 2014 1 commit
  6. 11 Jun, 2014 1 commit
  7. 12 May, 2014 1 commit
  8. 11 May, 2014 1 commit
  9. 09 May, 2014 1 commit
  10. 02 Apr, 2014 5 commits
  11. 01 Apr, 2014 1 commit
  12. 26 Mar, 2014 1 commit
  13. 25 Mar, 2014 1 commit
  14. 06 Mar, 2014 6 commits
  15. 17 Jan, 2014 1 commit
    • Juan David González Cobas's avatar
      bugfix: bad vme_addr validation · bec5f8e4
      Juan David González Cobas authored
      The new vme_addr sysfs attribute had incorrect validation:
      it was the old value stored in the card structure who was
      validated by mistake. Moreover, the vme_addr is an offset,
      so it has to be compared with the configured size, not
      the end of the (absolute) vme address range of the board.
      bec5f8e4
  16. 10 Dec, 2013 2 commits
  17. 08 Dec, 2013 3 commits
  18. 22 Nov, 2013 3 commits
  19. 18 Nov, 2013 1 commit
  20. 24 Oct, 2013 1 commit