1. 15 Jun, 2022 4 commits
  2. 06 Apr, 2022 1 commit
  3. 24 Feb, 2022 1 commit
  4. 23 Feb, 2022 8 commits
  5. 22 Feb, 2022 3 commits
  6. 29 Jul, 2021 6 commits
    • Federico Vaga's avatar
      Merge tag 'v2.1.6' into develop · e81ddf1f
      Federico Vaga authored
      2.1.6 - 2021-07-29
      ==================
      Fixed
      -----
      - sw: improve compatibilty with newer (greater than 3.10) Linux kernel version
      e81ddf1f
    • Federico Vaga's avatar
      Merge branch 'hotfix/v2.1.6' · 483c3fc7
      Federico Vaga authored
      483c3fc7
    • Federico Vaga's avatar
      update changelog · 54504913
      Federico Vaga authored
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      54504913
    • Mathis MARION's avatar
      Kernel 4.4: use fwnode for irq domain · 60937f2f
      Mathis MARION authored
      This patch follows a change to how IRQ are handled by HTVIC.
      Here is a copy of the commit message for the corresponding HTVIC patch:
      
      When creating an IRQ domain, the code used to store a device struct
      pointer in the `of_node` field of the irq_domain struct returned by
      `irq_domain_add_linear`. This was done by casting to a void pointer and
      passing as the first argument of the function.
      
      In the SPEC repository (and supposedly other depending repositories),
      we would then get back the irq_domain struct by calling `irq_find_host`
      with again a device struct pointer casted to a void pointer as the
      argument. The function would compare the addresses of the 2 device
      structs and return the right irq_domain.
      
      This trick was most likely due to the fact that the IRQ domain API was
      conceived around OpenFirmware before version 4.4, and that the project
      should work for ACPI.
      A workaround for kernel 4.7 was written, which involved using a `select`
      function, and passing the address of the device struct as a parameter.
      It was particularly ugly as it would require getting around the
      `irq_find_host` to call immediately `irq_find_matching_fwspec` and pass
      in the address of the wanted device struct as a parameter in a hacky way
      to fit it inside two 32 bit integers.
      
      Kernel version 4.4 introduced fwnodes, which would make easier working
      with ACPI. Instead of repeating the hacky workaround (which would result
      in a kernel error on later kernels when calling irq_domain_add_linear),
      I allocated a fwnode_handle struct before creating a new IRQ domain.
      Then I used the new irq_domain_create_* API to get an irq_domain using
      this fwnode. I also took care of disallocating the fwnode_handle.
      
      On the other end, we can just call `irq_find_matching_fwnode` and pass
      dev.fwnode as a parameter.
      Signed-off-by: 's avatarGwenhael GOAVEC <gwenhael.goavec@femto-st.fr>
      Signed-off-by: 's avatarMathis MARION <mathis.marion@grenoble-inp.org>
      60937f2f
    • Mathis MARION's avatar
      Kernel 5.7 compatibility for kallsyms_lookup_name · 0f6e6a0e
      Mathis MARION authored
      `kallsyms_lookup_name` is no longer available from
      headers since kernel 5.7.
      This compatibility fix is described here:
      https://github.com/xcellerator/linux_kernel_hacking/issues/3Signed-off-by: 's avatarGwenhael GOAVEC <gwenhael.goavec@femto-st.fr>
      Signed-off-by: 's avatarMathis MARION <mathis.marion@grenoble-inp.org>
      0f6e6a0e
    • Mathis MARION's avatar
      Kernel 5.6 compatibility for debugfs_create_regset · fb536cf8
      Mathis MARION authored
      The signature for `debugfs_create_regset32` changed from
      returning a `struct dentry *` to `void`.
      Error checking is no longer possible.
      Signed-off-by: 's avatarGwenhael GOAVEC <gwenhael.goavec@femto-st.fr>
      Signed-off-by: 's avatarMathis MARION <mathis.marion@grenoble-inp.org>
      fb536cf8
  7. 01 Jul, 2021 6 commits
  8. 30 Jun, 2021 3 commits
  9. 01 Jun, 2021 2 commits
  10. 18 May, 2021 6 commits