1. 28 May, 2020 2 commits
    • 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: 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
  2. 27 May, 2020 1 commit
  3. 26 May, 2020 1 commit
  4. 21 May, 2020 14 commits
  5. 20 May, 2020 12 commits
  6. 18 May, 2020 6 commits
  7. 12 May, 2020 1 commit
  8. 11 May, 2020 3 commits