1. 07 Jan, 2020 1 commit
  2. 25 Nov, 2019 1 commit
  3. 11 Nov, 2019 1 commit
    • Christoph Hellwig's avatar
      dma-direct: provide mmap and get_sgtable method overrides · 34dc0ea6
      Christoph Hellwig authored
      For dma-direct we know that the DMA address is an encoding of the
      physical address that we can trivially decode.  Use that fact to
      provide implementations that do not need the arch_dma_coherent_to_pfn
      architecture hook.  Note that we still can only support mmap of
      non-coherent memory only if the architecture provides a way to set an
      uncached bit in the page tables.  This must be true for architectures
      that use the generic remap helpers, but other architectures can also
      manually select it.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Reviewed-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
  4. 04 Nov, 2019 1 commit
  5. 31 Oct, 2019 1 commit
  6. 24 Sep, 2019 1 commit
  7. 10 Sep, 2019 1 commit
  8. 09 Sep, 2019 1 commit
  9. 29 Aug, 2019 1 commit
    • Christoph Hellwig's avatar
      dma-mapping: remove arch_dma_mmap_pgprot · 419e2f18
      Christoph Hellwig authored
      arch_dma_mmap_pgprot is used for two things:
       1) to override the "normal" uncached page attributes for mapping
          memory coherent to devices that can't snoop the CPU caches
       2) to provide the special DMA_ATTR_WRITE_COMBINE semantics on older
          arm systems and some mips platforms
      Replace one with the pgprot_dmacoherent macro that is already provided
      by arm and much simpler to use, and lift the DMA_ATTR_WRITE_COMBINE
      handling to common code with an explicit arch opt-in.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>	# m68k
      Acked-by: Paul Burton <paul.burton@mips.com>		# mips
  10. 23 Aug, 2019 1 commit
  11. 20 Aug, 2019 1 commit
  12. 15 Aug, 2019 1 commit
  13. 14 Aug, 2019 3 commits
  14. 07 Aug, 2019 1 commit
  15. 15 Jul, 2019 3 commits
  16. 12 Jul, 2019 2 commits
  17. 03 Jul, 2019 1 commit
  18. 23 Jun, 2019 2 commits
  19. 21 Jun, 2019 1 commit
  20. 20 Jun, 2019 1 commit
  21. 14 Jun, 2019 1 commit
    • Mauro Carvalho Chehab's avatar
      docs: kdump: convert docs to ReST and rename to *.rst · d67297ad
      Mauro Carvalho Chehab authored
      Convert kdump documentation to ReST and add it to the
      user faced manual, as the documents are mainly focused on
      sysadmins that would be enabling kdump.
      Note: the vmcoreinfo.rst has one very long title on one of its
      I opted to break this one, into two entries with the same content,
      in order to make it easier to display after being parsed in html and PDF.
      The conversion is actually:
        - add blank lines and identation in order to identify paragraphs;
        - fix tables markups;
        - add some lists markups;
        - mark literal blocks;
        - adjust title markups.
      At its new index.rst, let's add a :orphan: while this is not linked to
      the main index.rst file, in order to avoid build warnings.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
  22. 11 Jun, 2019 1 commit
  23. 08 Jun, 2019 1 commit
  24. 22 May, 2019 1 commit
  25. 14 May, 2019 2 commits
  26. 09 May, 2019 1 commit
    • Russell King's avatar
      ARM: riscpc: replace gettimeoffset() with clocksource · a44c1d70
      Russell King authored
      Replace the old gettimeoffset() interface (which became buggy in
      several ways) with a clocksource that atomically reads the count
      and status from the timer, and corrects the count as appropriate
      ensuring proper resolution of time without time warping backwards.
      We keep the original periodic timer non-clock event implementation
      to provide the kernel with a regular source of interrupts, which
      are required to keep the clocksource properly updated.
      Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
  27. 23 Apr, 2019 3 commits
  28. 19 Apr, 2019 2 commits
    • Linus Walleij's avatar
      ARM: ixp4xx: Convert to SPARSE_IRQ · dc8ef8cd
      Linus Walleij authored
      This localizes the <mach/irqs.h> header to the mach-ixp4xx
      directory, removes NR_IRQS and switches IXP4xx over to using
      This is a prerequisite for DT support.
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    • Linus Walleij's avatar
      ARM: ixp4xx: Convert to MULTI_IRQ_HANDLER · 98ac0cc2
      Linus Walleij authored
      This rewrites the IXP4xx to use MULTI_IRQ_HANDLER and
      create an irqdomain for the irqchip in the platform. We
      convert the timer to request the interrupt like any other
      driver in the process.
      We bump all IRQs to 16+offset to avoid using IRQ 0 and
      set NR_IRQS to 512 (the default for most systems).
      This conveniently fits with the first 16 IRQs being
      pre-allocated when using SPARSE_IRQ.
      This is a prerequisite for SPARSE_IRQ and DT boot.
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
  29. 17 Apr, 2019 1 commit
  30. 03 Apr, 2019 1 commit
    • Waiman Long's avatar
      locking/rwsem: Remove rwsem-spinlock.c & use rwsem-xadd.c for all archs · 390a0c62
      Waiman Long authored
      Currently, we have two different implementation of rwsem:
       1) CONFIG_RWSEM_GENERIC_SPINLOCK (rwsem-spinlock.c)
       2) CONFIG_RWSEM_XCHGADD_ALGORITHM (rwsem-xadd.c)
      As we are going to use a single generic implementation for rwsem-xadd.c
      and no architecture-specific code will be needed, there is no point
      in keeping two different implementations of rwsem. In most cases, the
      performance of rwsem-spinlock.c will be worse. It also doesn't get all
      the performance tuning and optimizations that had been implemented in
      rwsem-xadd.c over the years.
      For simplication, we are going to remove rwsem-spinlock.c and make all
      architectures use a single implementation of rwsem - rwsem-xadd.c.
      in the code are removed.
      Suggested-by: default avatarPeter Zijlstra <peterz@infradead.org>
      Signed-off-by: default avatarWaiman Long <longman@redhat.com>
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Davidlohr Bueso <dave@stgolabs.net>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Tim Chen <tim.c.chen@linux.intel.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-c6x-dev@linux-c6x.org
      Cc: linux-m68k@lists.linux-m68k.org
      Cc: linux-riscv@lists.infradead.org
      Cc: linux-um@lists.infradead.org
      Cc: linux-xtensa@linux-xtensa.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: nios2-dev@lists.rocketboards.org
      Cc: openrisc@lists.librecores.org
      Cc: uclinux-h8-devel@lists.sourceforge.jp
      Link: https://lkml.kernel.org/r/20190322143008.21313-3-longman@redhat.com
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>