Home
last modified time | relevance | path

Searched full:spe (Results 1 – 25 of 237) sorted by relevance

12345678910

/kernel/linux/linux-5.10/tools/perf/util/
Darm-spe.c3 * Arm Statistical Profiling Extensions (SPE) support
32 #include "arm-spe.h"
33 #include "arm-spe-decoder/arm-spe-decoder.h"
34 #include "arm-spe-decoder/arm-spe-pkt-decoder.h"
73 struct arm_spe *spe; member
89 static void arm_spe_dump(struct arm_spe *spe __maybe_unused, in arm_spe_dump()
99 ". ... ARM SPE data: size %zu bytes\n", in arm_spe_dump()
128 static void arm_spe_dump_event(struct arm_spe *spe, unsigned char *buf, in arm_spe_dump_event() argument
132 arm_spe_dump(spe, buf, len); in arm_spe_dump_event()
142 queue = &speq->spe->queues.queue_array[speq->queue_nr]; in arm_spe_get_trace()
[all …]
/kernel/linux/linux-6.6/tools/perf/util/
Darm-spe.c3 * Arm Statistical Profiling Extensions (SPE) support
33 #include "arm-spe.h"
34 #include "arm-spe-decoder/arm-spe-decoder.h"
35 #include "arm-spe-decoder/arm-spe-pkt-decoder.h"
86 struct arm_spe *spe; member
103 static void arm_spe_dump(struct arm_spe *spe __maybe_unused, in arm_spe_dump()
113 ". ... ARM SPE data: size %#zx bytes\n", in arm_spe_dump()
142 static void arm_spe_dump_event(struct arm_spe *spe, unsigned char *buf, in arm_spe_dump_event() argument
146 arm_spe_dump(spe, buf, len); in arm_spe_dump_event()
156 queue = &speq->spe->queues.queue_array[speq->queue_nr]; in arm_spe_get_trace()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/crypto/
DMakefile8 obj-$(CONFIG_CRYPTO_AES_PPC_SPE) += aes-ppc-spe.o
11 obj-$(CONFIG_CRYPTO_SHA1_PPC_SPE) += sha1-ppc-spe.o
12 obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o
17 aes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o aes-tab-4k.o aes-spe-modes.o aes-spe-glue.o
20 sha1-ppc-spe-y := sha1-spe-asm.o sha1-spe-glue.o
21 sha256-ppc-spe-y := sha256-spe-asm.o sha256-spe-glue.o
Dsha256-spe-glue.c3 * Glue code for SHA-256 implementation for SPE instructions (PPC)
6 * about the SPE registers so it can run from interrupt context.
37 /* We just start SPE operations and will save SPE registers later. */ in spe_begin()
226 .cra_driver_name= "sha256-ppc-spe",
242 .cra_driver_name= "sha224-ppc-spe",
263 MODULE_DESCRIPTION("SHA-224 and SHA-256 Secure Hash Algorithm, SPE optimized");
266 MODULE_ALIAS_CRYPTO("sha224-ppc-spe");
268 MODULE_ALIAS_CRYPTO("sha256-ppc-spe");
Dsha1-spe-glue.c3 * Glue code for SHA-1 implementation for SPE instructions (PPC)
36 /* We just start SPE operations and will save SPE registers later. */ in spe_begin()
180 .cra_driver_name= "sha1-ppc-spe",
201 MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm, SPE optimized");
204 MODULE_ALIAS_CRYPTO("sha1-ppc-spe");
/kernel/linux/linux-6.6/arch/powerpc/crypto/
DMakefile8 obj-$(CONFIG_CRYPTO_AES_PPC_SPE) += aes-ppc-spe.o
11 obj-$(CONFIG_CRYPTO_SHA1_PPC_SPE) += sha1-ppc-spe.o
12 obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o
20 aes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o aes-tab-4k.o aes-spe-modes.o aes-spe-glue.o
23 sha1-ppc-spe-y := sha1-spe-asm.o sha1-spe-glue.o
24 sha256-ppc-spe-y := sha256-spe-asm.o sha256-spe-glue.o
DKconfig56 tristate "Hash functions: SHA-1 (SPE)"
57 depends on PPC && SPE
62 - SPE (Signal Processing Engine) extensions
65 tristate "Hash functions: SHA-224 and SHA-256 (SPE)"
66 depends on PPC && SPE
73 - SPE (Signal Processing Engine) extensions
76 tristate "Ciphers: AES, modes: ECB/CBC/CTR/XTS (SPE)"
77 depends on PPC && SPE
84 - SPE (Signal Processing Engine) extensions
86 SPE is available for:
Dsha256-spe-glue.c3 * Glue code for SHA-256 implementation for SPE instructions (PPC)
6 * about the SPE registers so it can run from interrupt context.
38 /* We just start SPE operations and will save SPE registers later. */ in spe_begin()
193 .cra_driver_name= "sha256-ppc-spe",
209 .cra_driver_name= "sha224-ppc-spe",
230 MODULE_DESCRIPTION("SHA-224 and SHA-256 Secure Hash Algorithm, SPE optimized");
233 MODULE_ALIAS_CRYPTO("sha224-ppc-spe");
235 MODULE_ALIAS_CRYPTO("sha256-ppc-spe");
Dsha1-spe-glue.c3 * Glue code for SHA-1 implementation for SPE instructions (PPC)
37 /* We just start SPE operations and will save SPE registers later. */ in spe_begin()
167 .cra_driver_name= "sha1-ppc-spe",
188 MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm, SPE optimized");
191 MODULE_ALIAS_CRYPTO("sha1-ppc-spe");
/kernel/linux/linux-6.6/arch/powerpc/boot/dts/
Dicon.dts33 model = "PowerPC,440SPe";
53 compatible = "ibm,uic-440spe","ibm,uic";
63 compatible = "ibm,uic-440spe","ibm,uic";
75 compatible = "ibm,uic-440spe","ibm,uic";
87 compatible = "ibm,uic-440spe","ibm,uic";
99 compatible = "ibm,sdr-440spe";
104 compatible = "ibm,cpr-440spe";
109 compatible = "ibm,mq-440spe";
114 compatible = "ibm,plb-440spe", "ibm,plb-440gp", "ibm,plb4";
131 compatible = "ibm,sdram-440spe", "ibm,sdram-405gp";
[all …]
Dkatmai.dts37 model = "PowerPC,440SPe";
57 compatible = "ibm,uic-440spe","ibm,uic";
67 compatible = "ibm,uic-440spe","ibm,uic";
79 compatible = "ibm,uic-440spe","ibm,uic";
91 compatible = "ibm,uic-440spe","ibm,uic";
103 compatible = "ibm,sdr-440spe";
108 compatible = "ibm,cpr-440spe";
113 compatible = "ibm,mq-440spe";
118 compatible = "ibm,plb-440spe", "ibm,plb-440gp", "ibm,plb4";
135 compatible = "ibm,sdram-440spe", "ibm,sdram-405gp";
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/
Dicon.dts33 model = "PowerPC,440SPe";
53 compatible = "ibm,uic-440spe","ibm,uic";
63 compatible = "ibm,uic-440spe","ibm,uic";
75 compatible = "ibm,uic-440spe","ibm,uic";
87 compatible = "ibm,uic-440spe","ibm,uic";
99 compatible = "ibm,sdr-440spe";
104 compatible = "ibm,cpr-440spe";
109 compatible = "ibm,mq-440spe";
114 compatible = "ibm,plb-440spe", "ibm,plb-440gp", "ibm,plb4";
131 compatible = "ibm,sdram-440spe", "ibm,sdram-405gp";
[all …]
Dkatmai.dts37 model = "PowerPC,440SPe";
57 compatible = "ibm,uic-440spe","ibm,uic";
67 compatible = "ibm,uic-440spe","ibm,uic";
79 compatible = "ibm,uic-440spe","ibm,uic";
91 compatible = "ibm,uic-440spe","ibm,uic";
103 compatible = "ibm,sdr-440spe";
108 compatible = "ibm,cpr-440spe";
113 compatible = "ibm,mq-440spe";
118 compatible = "ibm,plb-440spe", "ibm,plb-440gp", "ibm,plb4";
135 compatible = "ibm,sdram-440spe", "ibm,sdram-405gp";
[all …]
/kernel/linux/linux-6.6/tools/perf/Documentation/
Dperf-arm-spe.txt1 perf-arm-spe(1)
6 perf-arm-spe - Support for Arm Statistical Profiling Extension within Perf tools
16 The SPE (Statistical Profiling Extension) feature provides accurate attribution of latencies and
32 This is chosen from a sample population, for SPE this is an IMPLEMENTATION DEFINED choice of all
34 architecture provides a mechanism for the SPE driver to infer the minimum interval at which it shou…
64 Up until this point no decoding of the SPE data was done by either the kernel or Perf. Only when the
67 recording. These samples are the same as if normal sampling was done by Perf without using SPE,
69 just the instruction pointer, but an SPE sample can have data addresses and latency attributes.
84 However, SPE does not provide any call-graph information, and relies on statistical methods.
119 Capturing SPE with perf command-line tools
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dspu_manage.c35 static u64 __init find_spu_unit_number(struct device_node *spe) in find_spu_unit_number() argument
41 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number()
46 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number()
51 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number()
259 pr_debug("failed to map spe %s: %d\n", spu->name, ret); in spu_map_device()
270 for_each_node_by_type(node, "spe") { in of_enumerate_spus()
286 struct device_node *spe = (struct device_node *)data; in of_create_spu() local
289 spu->devnode = of_node_get(spe); in of_create_spu()
290 spu->spe_id = find_spu_unit_number(spe); in of_create_spu()
292 spu->node = of_node_to_nid(spe); in of_create_spu()
[all …]
/kernel/linux/linux-6.6/tools/perf/tests/shell/
Dtest_arm_spe.sh2 # Check Arm SPE trace data recording and synthesized samples
4 # Uses the 'perf record' to record trace data of Arm SPE events;
5 # then verify if any SPE event samples are generated by SPE with
46 # from arm-spe.c/arm_spe_synth_events()
88 arm_spe_report "SPE snapshot testing" $err
96 arm_spe_report "SPE system-wide testing" 2
107 arm_spe_report "SPE system-wide testing" $err
Dtest_arm_spe_fork.sh2 # Check Arm SPE doesn't hang when there are forks
44 echo "SPE hang test: FAIL"
47 echo "SPE hang test: PASS"
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/
Dspu_manage.c37 static u64 __init find_spu_unit_number(struct device_node *spe) in find_spu_unit_number() argument
43 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number()
48 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number()
53 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number()
261 pr_debug("failed to map spe %s: %d\n", spu->name, ret); in spu_map_device()
272 for_each_node_by_type(node, "spe") { in of_enumerate_spus()
288 struct device_node *spe = (struct device_node *)data; in of_create_spu() local
291 spu->devnode = of_node_get(spe); in of_create_spu()
292 spu->spe_id = find_spu_unit_number(spe); in of_create_spu()
294 spu->node = of_node_to_nid(spe); in of_create_spu()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/perf/
Dspe-pmu.yaml4 $id: http://devicetree.org/schemas/perf/spe-pmu.yaml#
7 title: ARMv8.2 Statistical Profiling Extension (SPE) Performance Monitor Units (PMU)
23 The PPI to signal SPE events. For heterogeneous systems where SPE is only
37 spe-pmu {
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/powerpc/4xx/
Dppc440spe-adma.txt15 - compatible : "ibm,i2o-440spe";
22 compatible = "ibm,i2o-440spe";
32 - compatible : "ibm,dma-440spe";
45 compatible = "ibm,dma-440spe";
82 - compatible : "ibm,mq-440spe";
88 compatible = "ibm,mq-440spe";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/4xx/
Dppc440spe-adma.txt15 - compatible : "ibm,i2o-440spe";
22 compatible = "ibm,i2o-440spe";
32 - compatible : "ibm,dma-440spe";
45 compatible = "ibm,dma-440spe";
82 - compatible : "ibm,mq-440spe";
88 compatible = "ibm,mq-440spe";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/
Dspe-pmu.txt1 * ARMv8.2 Statistical Profiling Extension (SPE) Performance Monitor Units (PMU)
6 ** SPE Required properties:
12 SPE is only supported on a subset of the CPUs, please consult
17 spe-pmu {
/kernel/linux/linux-6.6/arch/powerpc/platforms/ps3/
Dspu.c28 * enum spe_type - Type of spe to create.
29 * @spe_type_logical: Standard logical spe.
40 * struct spe_shadow - logical spe shadow register area.
42 * Read-only shadow of spe registers.
66 * enum spe_ex_state - Logical spe execution state.
71 * The execution state (status) of the logical spe as reported in
83 * @masks[]: Array of cached spe interrupt masks, indexed by class.
96 * @spe_id: HV spe id returned by lv1_construct_logical_spe().
97 * @resource_id: HV spe resource id returned by
99 * @priv2_addr: lpar address of spe priv2 area returned by
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
Dspu.c28 * enum spe_type - Type of spe to create.
29 * @spe_type_logical: Standard logical spe.
40 * struct spe_shadow - logical spe shadow register area.
42 * Read-only shadow of spe registers.
66 * enum spe_ex_state - Logical spe execution state.
71 * The execution state (status) of the logical spe as reported in
83 * @masks[]: Array of cached spe interrupt masks, indexed by class.
96 * @spe_id: HV spe id returned by lv1_construct_logical_spe().
97 * @resource_id: HV spe resource id returned by
99 * @priv2_addr: lpar address of spe priv2 area returned by
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/
DKconfig.cputype337 config SPE config
338 bool "SPE Support"
343 Extensions (SPE) to the PowerPC processor. The kernel currently
344 supports saving and restoring SPE registers, and turning on the
345 'spe enable' bit so user processes can execute SPE instructions.
348 SPE (e500, otherwise known as 85xx series), but does not have any
349 effect on a non-spe cpu (it does, however add code to the kernel).

12345678910