1. 26 5月, 2020 2 次提交
  2. 19 5月, 2020 1 次提交
  3. 16 5月, 2020 1 次提交
  4. 15 5月, 2020 1 次提交
  5. 06 5月, 2020 2 次提交
    • S
      clk: Allow the common clk framework to be selectable · bbd7ffdb
      Stephen Boyd 提交于
      Enable build testing and configuration control of the common clk
      framework so that more code coverage and testing can be done on the
      common clk framework across various architectures. This also nicely
      removes the requirement that architectures must select the framework
      when they don't use it in architecture code.
      
      There's one snag with doing this, and that's making sure that randconfig
      builds don't select this option when some architecture or platform
      implements 'struct clk' outside of the common clk framework. Introduce a
      new config option 'HAVE_LEGACY_CLK' to indicate those platforms that
      haven't migrated to the common clk framework and therefore shouldn't be
      allowed to select this new config option. Also add a note that we hope
      one day to remove this config entirely.
      
      Based on a patch by Mark Brown <broonie@kernel.org>.
      
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
      Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
      Cc: Guan Xuetao <gxt@pku.edu.cn>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Rich Felker <dalias@libc.org>
      Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Cc: <linux-mips@vger.kernel.org>
      Cc: <linux-c6x-dev@linux-c6x.org>
      Cc: <linux-m68k@lists.linux-m68k.org>
      Cc: <linux-arm-kernel@lists.infradead.org>
      Cc: <linux-sh@vger.kernel.org>
      Link: https://lore.kernel.org/r/1470915049-15249-1-git-send-email-broonie@kernel.orgSigned-off-by: NStephen Boyd <sboyd@kernel.org>
      Link: https://lkml.kernel.org/r/20200409064416.83340-8-sboyd@kernel.orgReviewed-by: NMark Brown <broonie@kernel.org>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      bbd7ffdb
    • S
      ARM: Remove redundant CLKDEV_LOOKUP selects · e8bd633b
      Stephen Boyd 提交于
      These platforms select COMMON_CLK indirectly through use of the
      ARCH_MULTIPLATFORM config option that they depend on implicitly via some
      V7/V6/V5 multi platform config option. The COMMON_CLK config option
      already selects CLKDEV_LOOKUP so it's redundant to have this selected
      again.
      
      Cc: Tony Prisk <linux@prisktech.co.nz>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: <linux-arm-kernel@lists.infradead.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      Link: https://lkml.kernel.org/r/20200409064416.83340-3-sboyd@kernel.org
      e8bd633b
  6. 23 4月, 2020 1 次提交
  7. 16 4月, 2020 1 次提交
  8. 13 4月, 2020 1 次提交
    • A
      ARM: Prepare Realtek RTD1195 · 86aeee4d
      Andreas Färber 提交于
      Introduce ARCH_REALTEK Kconfig option also for 32-bit Arm.
      
      Override the text offset to cope with boot ROM occupying first 0xa800
      bytes and further reservations up to 0xf4000 (compare Device Tree).
      
      Add a custom machine_desc to enforce memory carveout for I/O registers.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      86aeee4d
  9. 24 3月, 2020 1 次提交
  10. 18 2月, 2020 1 次提交
  11. 14 2月, 2020 2 次提交
    • F
      arm: Remove TIF_NOHZ · 1acb2249
      Frederic Weisbecker 提交于
      Arm entry code calls context tracking from fast path. TIF_NOHZ is unused
      and can be safely removed.
      Signed-off-by: NFrederic Weisbecker <frederic@kernel.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Russell King <linux@armlinux.org.uk>
      1acb2249
    • F
      context-tracking: Introduce CONFIG_HAVE_TIF_NOHZ · 490f561b
      Frederic Weisbecker 提交于
      A few archs (x86, arm, arm64) don't rely anymore on TIF_NOHZ to call
      into context tracking on user entry/exit but instead use static keys
      (or not) to optimize those calls. Ideally every arch should migrate to
      that behaviour in the long run.
      
      Settle a config option to let those archs remove their TIF_NOHZ
      definitions.
      Signed-off-by: NFrederic Weisbecker <frederic@kernel.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Andy Lutomirski <luto@kernel.org>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Burton <paulburton@kernel.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: David S. Miller <davem@davemloft.net>
      490f561b
  12. 04 2月, 2020 1 次提交
  13. 26 1月, 2020 2 次提交
    • V
      ARM: 8952/1: Disable kmemleak on XIP kernels · bc420c6c
      Vincenzo Frascino 提交于
      Kmemleak relies on specific symbols to register the read only data
      during init (e.g. __start_ro_after_init).
      Trying to build an XIP kernel on arm results in the linking error
      reported below because when this option is selected read only data
      after init are not allowed since .data is read only (.rodata).
      
        arm-linux-gnueabihf-ld: mm/kmemleak.o: in function `kmemleak_init':
        kmemleak.c:(.init.text+0x148): undefined reference to `__end_ro_after_init'
        arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x14c):
           undefined reference to `__end_ro_after_init'
        arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x150):
           undefined reference to `__start_ro_after_init'
        arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x156):
           undefined reference to `__start_ro_after_init'
        arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x162):
           undefined reference to `__start_ro_after_init'
        arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x16a):
           undefined reference to `__start_ro_after_init'
        linux/Makefile:1078: recipe for target 'vmlinux' failed
      
      Fix the issue enabling kmemleak only on non XIP kernels.
      Signed-off-by: NVincenzo Frascino <vincenzo.frascino@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
      bc420c6c
    • V
      ARM: 8951/1: Fix Kexec compilation issue. · 76950f71
      Vincenzo Frascino 提交于
      To perform the reserve_crashkernel() operation kexec uses SECTION_SIZE to
      find a memblock in a range.
      SECTION_SIZE is not defined for nommu systems. Trying to compile kexec in
      these conditions results in a build error:
      
        linux/arch/arm/kernel/setup.c: In function ‘reserve_crashkernel’:
        linux/arch/arm/kernel/setup.c:1016:25: error: ‘SECTION_SIZE’ undeclared
           (first use in this function); did you mean ‘SECTIONS_WIDTH’?
                   crash_size, SECTION_SIZE);
                               ^~~~~~~~~~~~
                               SECTIONS_WIDTH
        linux/arch/arm/kernel/setup.c:1016:25: note: each undeclared identifier
           is reported only once for each function it appears in
        linux/scripts/Makefile.build:265: recipe for target 'arch/arm/kernel/setup.o'
           failed
      
      Make KEXEC depend on MMU to fix the compilation issue.
      Signed-off-by: NVincenzo Frascino <vincenzo.frascino@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
      76950f71
  14. 07 1月, 2020 1 次提交
  15. 13 12月, 2019 1 次提交
  16. 25 11月, 2019 1 次提交
  17. 11 11月, 2019 1 次提交
    • C
      dma-direct: provide mmap and get_sgtable method overrides · 34dc0ea6
      Christoph Hellwig 提交于
      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: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NMax Filippov <jcmvbkbc@gmail.com>
      34dc0ea6
  18. 04 11月, 2019 1 次提交
  19. 01 11月, 2019 1 次提交
  20. 25 9月, 2019 1 次提交
  21. 10 9月, 2019 2 次提交
  22. 29 8月, 2019 1 次提交
    • C
      dma-mapping: remove arch_dma_mmap_pgprot · 419e2f18
      Christoph Hellwig 提交于
      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: NChristoph Hellwig <hch@lst.de>
      Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>	# m68k
      Acked-by: Paul Burton <paul.burton@mips.com>		# mips
      419e2f18
  23. 23 8月, 2019 1 次提交
  24. 20 8月, 2019 1 次提交
  25. 16 8月, 2019 1 次提交
  26. 14 8月, 2019 3 次提交
  27. 08 8月, 2019 1 次提交
  28. 15 7月, 2019 3 次提交
  29. 13 7月, 2019 2 次提交
  30. 03 7月, 2019 1 次提交