1. 11 Jun, 2020 1 commit
  2. 10 Jun, 2020 2 commits
  3. 08 Jun, 2020 2 commits
  4. 04 Jun, 2020 2 commits
  5. 28 May, 2020 6 commits
    • Will Deacon's avatar
      Merge branch 'for-next/scs' into for-next/core · 082af5ec
      Will Deacon authored
      Support for Clang's Shadow Call Stack in the kernel
      (Sami Tolvanen and Will Deacon)
      * for-next/scs:
        arm64: entry-ftrace.S: Update comment to indicate that x18 is live
        scs: Move DEFINE_SCS macro into core code
        scs: Remove references to asm/scs.h from core code
        scs: Move scs_overflow_check() out of architecture code
        arm64: scs: Use 'scs_sp' register alias for x18
        scs: Move accounting into alloc/free functions
        arm64: scs: Store absolute SCS stack pointer value in thread_info
        efi/libstub: Disable Shadow Call Stack
        arm64: scs: Add shadow stacks for SDEI
        arm64: Implement Shadow Call Stack
        arm64: Disable SCS for hypervisor code
        arm64: vdso: Disable Shadow Call Stack
        arm64: efi: Restore register x18 if it was corrupted
        arm64: Preserve register x18 when CPU is suspended
        arm64: Reserve register x18 from general allocation with SCS
        scs: Disable when function graph tracing is enabled
        scs: Add support for stack usage debugging
        scs: Add page accounting for shadow call stack allocations
        scs: Add support for Clang's Shadow Call Stack (SCS)
      082af5ec
    • Will Deacon's avatar
      Merge branch 'for-next/kvm/errata' into for-next/core · c350717e
      Will Deacon authored
      KVM CPU errata rework
      (Andrew Scull and Marc Zyngier)
      * for-next/kvm/errata:
        KVM: arm64: Move __load_guest_stage2 to kvm_mmu.h
        arm64: Unify WORKAROUND_SPECULATIVE_AT_{NVHE,VHE}
      c350717e
    • Will Deacon's avatar
      Merge branch 'for-next/bti' into for-next/core · d2786527
      Will Deacon authored
      Support for Branch Target Identification (BTI) in user and kernel
      (Mark Brown and others)
      * for-next/bti: (39 commits)
        arm64: vdso: Fix CFI directives in sigreturn trampoline
        arm64: vdso: Don't prefix sigreturn trampoline with a BTI C instruction
        arm64: bti: Fix support for userspace only BTI
        arm64: kconfig: Update and comment GCC version check for kernel BTI
        arm64: vdso: Map the vDSO text with guarded pages when built for BTI
        arm64: vdso: Force the vDSO to be linked as BTI when built for BTI
        arm64: vdso: Annotate for BTI
        arm64: asm: Provide a mechanism for generating ELF note for BTI
        arm64: bti: Provide Kconfig for kernel mode BTI
        arm64: mm: Mark executable text as guarded pages
        arm64: bpf: Annotate JITed code for BTI
        arm64: Set GP bit in kernel page tables to enable BTI for the kernel
        arm64: asm: Override SYM_FUNC_START when building the kernel with BTI
        arm64: bti: Support building kernel C code using BTI
        arm64: Document why we enable PAC support for leaf functions
        arm64: insn: Report PAC and BTI instructions as skippable
        arm64: insn: Don't assume unrecognized HINTs are skippable
        arm64: insn: Provide a better name for aarch64_insn_is_nop()
        arm64: insn: Add constants for new HINT instruction decode
        arm64: Disable old style assembly annotations
        ...
      d2786527
    • Will Deacon's avatar
      Merge branches 'for-next/acpi', 'for-next/bpf', 'for-next/cpufeature',... · 342403bc
      Will Deacon authored
      Merge branches 'for-next/acpi', 'for-next/bpf', 'for-next/cpufeature', 'for-next/docs', 'for-next/kconfig', 'for-next/misc', 'for-next/perf', 'for-next/ptr-auth', 'for-next/sdei', 'for-next/smccc' and 'for-next/vdso' into for-next/core
      
      ACPI and IORT updates
      (Lorenzo Pieralisi)
      * for-next/acpi:
        ACPI/IORT: Remove the unused __get_pci_rid()
        ACPI/IORT: Fix PMCG node single ID mapping handling
        ACPI: IORT: Add comments for not calling acpi_put_table()
        ACPI: GTDT: Put GTDT table after parsing
        ACPI: IORT: Add extra message "applying workaround" for off-by-1 issue
        ACPI/IORT: work around num_ids ambiguity
        Revert "ACPI/IORT: Fix 'Number of IDs' handling in iort_id_map()"
        ACPI/IORT: take _DMA methods into account for named components
      
      BPF JIT optimisations for immediate value generation
      (Luke Nelson)
      * for-next/bpf:
        bpf, arm64: Optimize ADD,SUB,JMP BPF_K using arm64 add/sub immediates
        bpf, arm64: Optimize AND,OR,XOR,JSET BPF_K using arm64 logical immediates
        arm64: insn: Fix two bugs in encoding 32-bit logical immediates
      
      Addition of new CPU ID register fields and removal of some benign sanity checks
      (Anshuman Khandual and others)
      * for-next/cpufeature: (27 commits)
        KVM: arm64: Check advertised Stage-2 page size capability
        arm64/cpufeature: Add get_arm64_ftr_reg_nowarn()
        arm64/cpuinfo: Add ID_MMFR4_EL1 into the cpuinfo_arm64 context
        arm64/cpufeature: Add remaining feature bits in ID_AA64PFR1 register
        arm64/cpufeature: Add remaining feature bits in ID_AA64PFR0 register
        arm64/cpufeature: Add remaining feature bits in ID_AA64ISAR0 register
        arm64/cpufeature: Add remaining feature bits in ID_MMFR4 register
        arm64/cpufeature: Add remaining feature bits in ID_PFR0 register
        arm64/cpufeature: Introduce ID_MMFR5 CPU register
        arm64/cpufeature: Introduce ID_DFR1 CPU register
        arm64/cpufeature: Introduce ID_PFR2 CPU register
        arm64/cpufeature: Make doublelock a signed feature in ID_AA64DFR0
        arm64/cpufeature: Drop TraceFilt feature exposure from ID_DFR0 register
        arm64/cpufeature: Add explicit ftr_id_isar0[] for ID_ISAR0 register
        arm64/cpufeature: Drop open encodings while extracting parange
        arm64/cpufeature: Validate hypervisor capabilities during CPU hotplug
        arm64: cpufeature: Group indexed system register definitions by name
        arm64: cpufeature: Extend comment to describe absence of field info
        arm64: drop duplicate definitions of ID_AA64MMFR0_TGRAN constants
        arm64: cpufeature: Add an overview comment for the cpufeature framework
        ...
      
      Minor documentation tweaks for silicon errata and booting requirements
      (Rob Herring and Will Deacon)
      * for-next/docs:
        arm64: silicon-errata.rst: Sort the Cortex-A55 entries
        arm64: docs: Mandate that the I-cache doesn't hold stale kernel text
      
      Minor Kconfig cleanups
      (Geert Uytterhoeven)
      * for-next/kconfig:
        arm64: cpufeature: Add "or" to mitigations for multiple errata
        arm64: Sort vendor-specific errata
      
      Miscellaneous updates
      (Ard Biesheuvel and others)
      * for-next/misc:
        arm64: mm: Add asid_gen_match() helper
        arm64: stacktrace: Factor out some common code into on_stack()
        arm64: Call debug_traps_init() from trap_init() to help early kgdb
        arm64: cacheflush: Fix KGDB trap detection
        arm64/cpuinfo: Move device_initcall() near cpuinfo_regs_init()
        arm64: kexec_file: print appropriate variable
        arm: mm: use __pfn_to_section() to get mem_section
        arm64: Reorder the macro arguments in the copy routines
        efi/libstub/arm64: align PE/COFF sections to segment alignment
        KVM: arm64: Drop PTE_S2_MEMATTR_MASK
        arm64/kernel: Fix range on invalidating dcache for boot page tables
        arm64: set TEXT_OFFSET to 0x0 in preparation for removing it entirely
        arm64: lib: Consistently enable crc32 extension
        arm64/mm: Use phys_to_page() to access pgtable memory
        arm64: smp: Make cpus_stuck_in_kernel static
        arm64: entry: remove unneeded semicolon in el1_sync_handler()
        arm64/kernel: vmlinux.lds: drop redundant discard/keep macros
        arm64: drop GZFLAGS definition and export
        arm64: kexec_file: Avoid temp buffer for RNG seed
        arm64: rename stext to primary_entry
      
      Perf PMU driver updates
      (Tang Bin and others)
      * for-next/perf:
        pmu/smmuv3: Clear IRQ affinity hint on device removal
        drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers
        drivers/perf: hisi: Fix typo in events attribute array
        drivers/perf: arm_spe_pmu: Avoid duplicate printouts
        drivers/perf: arm_dsu_pmu: Avoid duplicate printouts
      
      Pointer authentication updates and support for vmcoreinfo
      (Amit Daniel Kachhap and Mark Rutland)
      * for-next/ptr-auth:
        Documentation/vmcoreinfo: Add documentation for 'KERNELPACMASK'
        arm64/crash_core: Export KERNELPACMASK in vmcoreinfo
        arm64: simplify ptrauth initialization
        arm64: remove ptrauth_keys_install_kernel sync arg
      
      SDEI cleanup and non-critical fixes
      (James Morse and others)
      * for-next/sdei:
        firmware: arm_sdei: Document the motivation behind these set_fs() calls
        firmware: arm_sdei: remove unused interfaces
        firmware: arm_sdei: Put the SDEI table after using it
        firmware: arm_sdei: Drop check for /firmware/ node and always register driver
      
      SMCCC updates and refactoring
      (Sudeep Holla)
      * for-next/smccc:
        firmware: smccc: Fix missing prototype warning for arm_smccc_version_init
        firmware: smccc: Add function to fetch SMCCC version
        firmware: smccc: Refactor SMCCC specific bits into separate file
        firmware: smccc: Drop smccc_version enum and use ARM_SMCCC_VERSION_1_x instead
        firmware: smccc: Add the definition for SMCCCv1.2 version/error codes
        firmware: smccc: Update link to latest SMCCC specification
        firmware: smccc: Add HAVE_ARM_SMCCC_DISCOVERY to identify SMCCC v1.1 and above
      
      vDSO cleanup and non-critical fixes
      (Mark Rutland and Vincenzo Frascino)
      * for-next/vdso:
        arm64: vdso: Add --eh-frame-hdr to ldflags
        arm64: vdso: use consistent 'map' nomenclature
        arm64: vdso: use consistent 'abi' nomenclature
        arm64: vdso: simplify arch_vdso_type ifdeffery
        arm64: vdso: remove aarch32_vdso_pages[]
        arm64: vdso: Add '-Bsymbolic' to ldflags
      342403bc
    • Marc Zyngier's avatar
      KVM: arm64: Move __load_guest_stage2 to kvm_mmu.h · fe677be9
      Marc Zyngier authored
      Having __load_guest_stage2 in kvm_hyp.h is quickly going to trigger
      a circular include problem. In order to avoid this, let's move
      it to kvm_mmu.h, where it will be a better fit anyway.
      
      In the process, drop the __hyp_text annotation, which doesn't help
      as the function is marked as __always_inline.
      Reviewed-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
      Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
      Signed-off-by: default avatarWill Deacon <will@kernel.org>
      fe677be9
    • Marc Zyngier's avatar
      KVM: arm64: Check advertised Stage-2 page size capability · b130a8f7
      Marc Zyngier authored
      With ARMv8.5-GTG, the hardware (or more likely a hypervisor) can
      advertise the supported Stage-2 page sizes.
      
      Let's check this at boot time.
      Reviewed-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
      Reviewed-by: default avatarAlexandru Elisei <alexandru.elisei@arm.com>
      Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
      Signed-off-by: default avatarWill Deacon <will@kernel.org>
      b130a8f7
  6. 27 May, 2020 1 commit
  7. 26 May, 2020 1 commit
  8. 21 May, 2020 16 commits
  9. 20 May, 2020 9 commits