forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/arm64/linux Pull arm64 updates from Catalin Marinas: - Pseudo NMI support for arm64 using GICv3 interrupt priorities - uaccess macros clean-up (unsafe user accessors also merged but reverted, waiting for objtool support on arm64) - ptrace regsets for Pointer Authentication (ARMv8.3) key management - inX() ordering w.r.t. delay() on arm64 and riscv (acks in place by the riscv maintainers) - arm64/perf updates: PMU bindings converted to json-schema, unused variable and misleading comment removed - arm64/debug fixes to ensure checking of the triggering exception level and to avoid the propagation of the UNKNOWN FAR value into the si_code for debug signals - Workaround for Fujitsu A64FX erratum 010001 - lib/raid6 ARM NEON optimisations - NR_CPUS now defaults to 256 on arm64 - Minor clean-ups (documentation/comments, Kconfig warning, unused asm-offsets, clang warnings) - MAINTAINERS update for list information to the ARM64 ACPI entry * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (54 commits) arm64: mmu: drop paging_init comments arm64: debug: Ensure debug handlers check triggering exception level arm64: debug: Don't propagate UNKNOWN FAR into si_code for debug signals Revert "arm64: uaccess: Implement unsafe accessors" arm64: avoid clang warning about self-assignment arm64: Kconfig.platforms: fix warning unmet direct dependencies lib/raid6: arm: optimize away a mask operation in NEON recovery routine lib/raid6: use vdupq_n_u8 to avoid endianness warnings arm64: io: Hook up __io_par() for inX() ordering riscv: io: Update __io_[p]ar() macros to take an argument asm-generic/io: Pass result of I/O accessor to __io_[p]ar() arm64: Add workaround for Fujitsu A64FX erratum 010001 arm64: Rename get_thread_info() arm64: Remove documentation about TIF_USEDFPU arm64: irqflags: Fix clang build warnings arm64: Enable the support of pseudo-NMIs arm64: Skip irqflags tracing for NMI in IRQs disabled context arm64: Skip preemption when exiting an NMI arm64: Handle serror in NMI context irqchip/gic-v3: Allow interrupts to be set as pseudo-NMI ...
- Loading branch information
Showing
64 changed files
with
1,214 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/arm/pmu.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: ARM Performance Monitor Units | ||
|
||
maintainers: | ||
- Mark Rutland <[email protected]> | ||
- Will Deacon <[email protected]> | ||
|
||
description: |+ | ||
ARM cores often have a PMU for counting cpu and cache events like cache misses | ||
and hits. The interface to the PMU is part of the ARM ARM. The ARM PMU | ||
representation in the device tree should be done as under:- | ||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- apm,potenza-pmu | ||
- arm,armv8-pmuv3 | ||
- arm,cortex-a73-pmu | ||
- arm,cortex-a72-pmu | ||
- arm,cortex-a57-pmu | ||
- arm,cortex-a53-pmu | ||
- arm,cortex-a35-pmu | ||
- arm,cortex-a17-pmu | ||
- arm,cortex-a15-pmu | ||
- arm,cortex-a12-pmu | ||
- arm,cortex-a9-pmu | ||
- arm,cortex-a8-pmu | ||
- arm,cortex-a7-pmu | ||
- arm,cortex-a5-pmu | ||
- arm,arm11mpcore-pmu | ||
- arm,arm1176-pmu | ||
- arm,arm1136-pmu | ||
- brcm,vulcan-pmu | ||
- cavium,thunder-pmu | ||
- qcom,scorpion-pmu | ||
- qcom,scorpion-mp-pmu | ||
- qcom,krait-pmu | ||
|
||
interrupts: | ||
# Don't know how many CPUs, so no constraints to specify | ||
description: 1 per-cpu interrupt (PPI) or 1 interrupt per core. | ||
|
||
interrupt-affinity: | ||
$ref: /schemas/types.yaml#/definitions/phandle-array | ||
description: | ||
When using SPIs, specifies a list of phandles to CPU | ||
nodes corresponding directly to the affinity of | ||
the SPIs listed in the interrupts property. | ||
|
||
When using a PPI, specifies a list of phandles to CPU | ||
nodes corresponding to the set of CPUs which have | ||
a PMU of this type signalling the PPI listed in the | ||
interrupts property, unless this is already specified | ||
by the PPI interrupt specifier itself (in which case | ||
the interrupt-affinity property shouldn't be present). | ||
|
||
This property should be present when there is more than | ||
a single SPI. | ||
|
||
qcom,no-pc-write: | ||
type: boolean | ||
description: | ||
Indicates that this PMU doesn't support the 0xc and 0xd events. | ||
|
||
secure-reg-access: | ||
type: boolean | ||
description: | ||
Indicates that the ARMv7 Secure Debug Enable Register | ||
(SDER) is accessible. This will cause the driver to do | ||
any setup required that is only possible in ARMv7 secure | ||
state. If not present the ARMv7 SDER will not be touched, | ||
which means the PMU may fail to operate unless external | ||
code (bootloader or security monitor) has performed the | ||
appropriate initialisation. Note that this property is | ||
not valid for non-ARMv7 CPUs or ARMv7 CPUs booting Linux | ||
in Non-secure state. | ||
|
||
required: | ||
- compatible | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -366,6 +366,7 @@ M: Lorenzo Pieralisi <[email protected]> | |
M: Hanjun Guo <[email protected]> | ||
M: Sudeep Holla <[email protected]> | ||
L: [email protected] | ||
L: [email protected] (moderated for non-subscribers) | ||
S: Maintained | ||
F: drivers/acpi/arm64 | ||
|
||
|
@@ -1195,7 +1196,7 @@ F: arch/arm*/include/asm/hw_breakpoint.h | |
F: arch/arm*/include/asm/perf_event.h | ||
F: drivers/perf/* | ||
F: include/linux/perf/arm_pmu.h | ||
F: Documentation/devicetree/bindings/arm/pmu.txt | ||
F: Documentation/devicetree/bindings/arm/pmu.yaml | ||
F: Documentation/devicetree/bindings/perf/ | ||
|
||
ARM PORT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.