1. 25 6月, 2021 1 次提交
  2. 07 4月, 2021 2 次提交
  3. 18 3月, 2021 1 次提交
  4. 23 11月, 2020 3 次提交
  5. 10 11月, 2020 1 次提交
  6. 29 9月, 2020 1 次提交
  7. 18 9月, 2020 1 次提交
  8. 29 7月, 2020 2 次提交
  9. 19 7月, 2020 1 次提交
  10. 10 7月, 2020 2 次提交
  11. 30 6月, 2020 1 次提交
  12. 23 6月, 2020 1 次提交
  13. 14 6月, 2020 1 次提交
    • M
      treewide: replace '---help---' in Kconfig files with 'help' · a7f7f624
      Masahiro Yamada 提交于
      Since commit 84af7a61 ("checkpatch: kconfig: prefer 'help' over
      '---help---'"), the number of '---help---' has been gradually
      decreasing, but there are still more than 2400 instances.
      
      This commit finishes the conversion. While I touched the lines,
      I also fixed the indentation.
      
      There are a variety of indentation styles found.
      
        a) 4 spaces + '---help---'
        b) 7 spaces + '---help---'
        c) 8 spaces + '---help---'
        d) 1 space + 1 tab + '---help---'
        e) 1 tab + '---help---'    (correct indentation)
        f) 1 tab + 1 space + '---help---'
        g) 1 tab + 2 spaces + '---help---'
      
      In order to convert all of them to 1 tab + 'help', I ran the
      following commend:
      
        $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      a7f7f624
  14. 14 5月, 2020 1 次提交
  15. 29 4月, 2020 2 次提交
    • K
      iommu: spapr_tce: Disable compile testing to fix build on book3s_32 config · 9dd124b6
      Krzysztof Kozlowski 提交于
      Although SPAPR_TCE_IOMMU itself can be compile tested on certain PowerPC
      configurations, its presence makes arch/powerpc/kvm/Makefile to select
      modules which do not build in such configuration.
      
      The arch/powerpc/kvm/ modules use kvm_arch.spapr_tce_tables which exists
      only with CONFIG_PPC_BOOK3S_64.  However these modules are selected when
      COMPILE_TEST and SPAPR_TCE_IOMMU are chosen leading to build failures:
      
          In file included from arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0,
                           from arch/powerpc/kvm/book3s_64_vio_hv.c:22:
          arch/powerpc/include/asm/book3s/64/pgtable.h:17:0: error: "_PAGE_EXEC" redefined [-Werror]
           #define _PAGE_EXEC  0x00001 /* execute permission */
      
          In file included from arch/powerpc/include/asm/book3s/32/pgtable.h:8:0,
                           from arch/powerpc/include/asm/book3s/pgtable.h:8,
                           from arch/powerpc/include/asm/pgtable.h:18,
                           from include/linux/mm.h:95,
                           from arch/powerpc/include/asm/io.h:29,
                           from include/linux/io.h:13,
                           from include/linux/irq.h:20,
                           from arch/powerpc/include/asm/hardirq.h:6,
                           from include/linux/hardirq.h:9,
                           from include/linux/kvm_host.h:7,
                           from arch/powerpc/kvm/book3s_64_vio_hv.c:12:
          arch/powerpc/include/asm/book3s/32/hash.h:29:0: note: this is the location of the previous definition
           #define _PAGE_EXEC 0x200 /* software: exec allowed */
      
      Fixes: e93a1695 ("iommu: Enable compile testing for some of drivers")
      Reported-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org>
      Link: https://lore.kernel.org/r/20200414142630.21153-1-krzk@kernel.orgSigned-off-by: NJoerg Roedel <jroedel@suse.de>
      9dd124b6
    • G
      iommu/mediatek: Fix MTK_IOMMU dependencies · d1dcb725
      Geert Uytterhoeven 提交于
      If NO_DMA=y (e.g. Sun-3 all{mod,yes}-config):
      
          drivers/iommu/dma-iommu.o: In function `iommu_dma_mmap':
          dma-iommu.c:(.text+0x836): undefined reference to `dma_pgprot'
      
      IOMMU_DMA must not be selected, unless HAS_DMA=y.
      
      Hence fix this by making MTK_IOMMU depend on HAS_DMA.
      While at it, remove the dependency on ARM || ARM64, as that is already
      implied by the dependency on ARCH_MEDIATEK.
      
      Fixes: e93a1695 ("iommu: Enable compile testing for some of drivers")
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Link: https://lore.kernel.org/r/20200410143047.19691-1-geert@linux-m68k.orgSigned-off-by: NJoerg Roedel <jroedel@suse.de>
      d1dcb725
  16. 27 3月, 2020 1 次提交
  17. 04 3月, 2020 1 次提交
  18. 28 2月, 2020 1 次提交
  19. 07 1月, 2020 2 次提交
  20. 23 12月, 2019 3 次提交
  21. 22 11月, 2019 1 次提交
  22. 16 10月, 2019 1 次提交
  23. 15 10月, 2019 2 次提交
  24. 11 9月, 2019 1 次提交
  25. 17 8月, 2019 1 次提交
  26. 07 6月, 2019 1 次提交
  27. 27 5月, 2019 2 次提交
  28. 21 5月, 2019 1 次提交
  29. 03 5月, 2019 1 次提交
    • J
      iommu/dma-iommu: Split iommu_dma_map_msi_msg() in two parts · ece6e6f0
      Julien Grall 提交于
      On RT, iommu_dma_map_msi_msg() may be called from non-preemptible
      context. This will lead to a splat with CONFIG_DEBUG_ATOMIC_SLEEP as
      the function is using spin_lock (they can sleep on RT).
      
      iommu_dma_map_msi_msg() is used to map the MSI page in the IOMMU PT
      and update the MSI message with the IOVA.
      
      Only the part to lookup for the MSI page requires to be called in
      preemptible context. As the MSI page cannot change over the lifecycle
      of the MSI interrupt, the lookup can be cached and re-used later on.
      
      iomma_dma_map_msi_msg() is now split in two functions:
          - iommu_dma_prepare_msi(): This function will prepare the mapping
          in the IOMMU and store the cookie in the structure msi_desc. This
          function should be called in preemptible context.
          - iommu_dma_compose_msi_msg(): This function will update the MSI
          message with the IOVA when the device is behind an IOMMU.
      Signed-off-by: NJulien Grall <julien.grall@arm.com>
      Reviewed-by: NRobin Murphy <robin.murphy@arm.com>
      Reviewed-by: NEric Auger <eric.auger@redhat.com>
      Acked-by: NJoerg Roedel <jroedel@suse.de>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      ece6e6f0