]> Git Repo - linux.git/commitdiff
Merge tag 'arc-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
authorLinus Torvalds <[email protected]>
Thu, 5 Dec 2019 03:06:18 +0000 (19:06 -0800)
committerLinus Torvalds <[email protected]>
Thu, 5 Dec 2019 03:06:18 +0000 (19:06 -0800)
Pull ARC updates from Vineet Gupta

 - Jump Label support for ARC

 - kmemleak enabled

 - arc mm backend TLB Miss / flush optimizations

 - nSIM platform switching to dwuart (vs. arcuart) and ensuing defconfig
   updates and cleanups

 - axs platform pll / video-mode updates

* tag 'arc-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
  ARC: add kmemleak support
  ARC: [plat-axs10x]: remove hardcoded video mode from bootargs
  ARC: [plat-axs10x]: use pgu pll instead of fixed clock
  ARC: ARCv2: jump label: implement jump label patching
  ARC: mm: tlb flush optim: elide redundant uTLB invalidates for MMUv3
  ARC: mm: tlb flush optim: elide repeated uTLB invalidate in loop
  ARC: mm: tlb flush optim: Make TLBWriteNI fallback to TLBWrite if not available
  ARC: mm: TLB Miss optim: avoid re-reading ECR
  ARCv2: mm: TLB Miss optim: Use double world load/stores LDD/STD
  ARCv2: mm: TLB Miss optim: SMP builds can cache pgd pointer in mmu scratch reg
  ARC: nSIM_700: remove unused network options
  ARC: nSIM_700: switch to DW UART usage
  ARC: merge HAPS-HS with nSIM-HS configs
  ARC: HAPS: cleanup defconfigs from unused ETH drivers
  ARC: HAPS: add HIGHMEM memory zone to DTS
  ARC: HAPS: use same UART configuration everywhere
  ARC: HAPS: cleanup defconfigs from unused IO-related options
  ARC: regenerate nSIM and HAPS defconfigs

1  2 
arch/arc/Kconfig
arch/arc/include/asm/pgtable.h

diff --combined arch/arc/Kconfig
index 4d7b671c8ff4aca60392c8913e9f882a4a4ded86,a00a1d46cf01a939b286dbeac5c82f79a44aa531..26108ea785c2644d653c6f3e2228521b3f0d0f82
@@@ -6,6 -6,7 +6,6 @@@
  config ARC
        def_bool y
        select ARC_TIMERS
 -      select ARCH_HAS_DMA_COHERENT_TO_PFN
        select ARCH_HAS_DMA_PREP_COHERENT
        select ARCH_HAS_PTE_SPECIAL
        select ARCH_HAS_SETUP_DMA_OPS
@@@ -29,6 -30,7 +29,7 @@@
        select HAVE_ARCH_KGDB
        select HAVE_ARCH_TRACEHOOK
        select HAVE_DEBUG_STACKOVERFLOW
+       select HAVE_DEBUG_KMEMLEAK
        select HAVE_FUTEX_CMPXCHG if FUTEX
        select HAVE_IOREMAP_PROT
        select HAVE_KERNEL_GZIP
@@@ -45,6 -47,7 +46,7 @@@
        select OF_EARLY_FLATTREE
        select PCI_SYSCALL if PCI
        select PERF_USE_VMALLOC if ARC_CACHE_VIPT_ALIASING
+       select HAVE_ARCH_JUMP_LABEL if ISA_ARCV2 && !CPU_ENDIAN_BE32
  
  config ARCH_HAS_CACHE_LINE_SIZE
        def_bool y
@@@ -524,6 -527,13 +526,13 @@@ config ARC_DW2_UNWIN
  config ARC_DBG_TLB_PARANOIA
        bool "Paranoia Checks in Low Level TLB Handlers"
  
+ config ARC_DBG_JUMP_LABEL
+       bool "Paranoid checks in Static Keys (jump labels) code"
+       depends on JUMP_LABEL
+       default y if STATIC_KEYS_SELFTEST
+       help
+         Enable paranoid checks and self-test of both ARC-specific and generic
+         part of static keys (jump labels) related code.
  endif
  
  config ARC_BUILTIN_DTB_NAME
index b917b596f7fbef12d178555863ab0e0fbba39a56,ea14a8bfc6910ad3cf61eaf301ff9050a1aea6a3..9019ed9f9c9420f44b086a46330748f8dcaac3f8
@@@ -33,6 -33,7 +33,6 @@@
  #define _ASM_ARC_PGTABLE_H
  
  #include <linux/bits.h>
 -#define __ARCH_USE_5LEVEL_HACK
  #include <asm-generic/pgtable-nopmd.h>
  #include <asm/page.h>
  #include <asm/mmu.h>  /* to propagate CONFIG_ARC_MMU_VER <n> */
@@@ -350,7 -351,7 +350,7 @@@ static inline void set_pte_at(struct mm
   * Thus use this macro only when you are certain that "current" is current
   * e.g. when dealing with signal frame setup code etc
   */
- #ifndef CONFIG_SMP
+ #ifdef ARC_USE_SCRATCH_REG
  #define pgd_offset_fast(mm, addr)     \
  ({                                    \
        pgd_t *pgd_base = (pgd_t *) read_aux_reg(ARC_REG_SCRATCH_DATA0);  \
This page took 0.063904 seconds and 4 git commands to generate.