Skip to content

Commit

Permalink
Automatic merge of 'master' into merge (2024-09-20 19:06)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpe committed Sep 20, 2024
2 parents f2e1230 + 2004cef commit 8446b16
Show file tree
Hide file tree
Showing 1,799 changed files with 55,395 additions and 27,444 deletions.
4 changes: 4 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,10 @@ Shuah Khan <[email protected]> <[email protected]>
Sibi Sankar <[email protected]> <[email protected]>
Sid Manning <[email protected]> <[email protected]>
Simon Arlott <[email protected]> <[email protected]>
Simona Vetter <[email protected]> <[email protected]>
Simona Vetter <[email protected]> <[email protected]>
Simona Vetter <[email protected]> <[email protected]>
Simona Vetter <[email protected]> <[email protected]>
Simon Horman <[email protected]> <[email protected]>
Simon Horman <[email protected]> <[email protected]>
Simon Kelley <[email protected]>
Expand Down
8 changes: 8 additions & 0 deletions Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,11 @@ Description: RO. Energy input of device or gt in microjoules.
for the gt.

Only supported for particular Intel i915 graphics platforms.

What: /sys/bus/pci/drivers/i915/.../hwmon/hwmon<i>/fan1_input
Date: November 2024
KernelVersion: 6.12
Contact: [email protected]
Description: RO. Fan speed of device in RPM.

Only supported for particular Intel i915 graphics platforms.
27 changes: 27 additions & 0 deletions Documentation/ABI/testing/sysfs-driver-ufs
Original file line number Diff line number Diff line change
Expand Up @@ -1532,3 +1532,30 @@ Contact: Bean Huo <[email protected]>
Description:
rtc_update_ms indicates how often the host should synchronize or update the
UFS RTC. If set to 0, this will disable UFS RTC periodic update.

What: /sys/devices/platform/.../ufshci_capabilities/version
Date: August 2024
Contact: Avri Altman <[email protected]>
Description:
Host Capabilities register group: UFS version register.
Symbol - VER. This file shows the UFSHCD version.
Example: Version 3.12 would be represented as 0000_0312h.
The file is read only.

What: /sys/devices/platform/.../ufshci_capabilities/product_id
Date: August 2024
Contact: Avri Altman <[email protected]>
Description:
Host Capabilities register group: product ID register.
Symbol - HCPID. This file shows the UFSHCD product id.
The content of this register is vendor specific.
The file is read only.

What: /sys/devices/platform/.../ufshci_capabilities/man_id
Date: August 2024
Contact: Avri Altman <[email protected]>
Description:
Host Capabilities register group: manufacturer ID register.
Symbol - HCMID. This file shows the UFSHCD manufacturer id.
The Manufacturer ID is defined by JEDEC in JEDEC-JEP106.
The file is read only.
6 changes: 0 additions & 6 deletions Documentation/accel/qaic/qaic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,6 @@ DRM_IOCTL_QAIC_PERF_STATS_BO
recent execution of a BO. This allows userspace to construct an end to end
timeline of the BO processing for a performance analysis.

DRM_IOCTL_QAIC_PART_DEV
This IOCTL allows userspace to request a duplicate "shadow device". This extra
accelN device is associated with a specific partition of resources on the
AIC100 device and can be used for limiting a process to some subset of
resources.

DRM_IOCTL_QAIC_DETACH_SLICE_BO
This IOCTL allows userspace to remove the slicing information from a BO that
was originally provided by a call to DRM_IOCTL_QAIC_ATTACH_SLICE_BO. This
Expand Down
59 changes: 59 additions & 0 deletions Documentation/admin-guide/pm/intel_uncore_frequency_scaling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,62 @@ to apply at each uncore* level.

Support for "current_freq_khz" is available only at each fabric cluster
level (i.e., in uncore* directory).

Efficiency vs. Latency Tradeoff
-------------------------------

The Efficiency Latency Control (ELC) feature improves performance
per watt. With this feature hardware power management algorithms
optimize trade-off between latency and power consumption. For some
latency sensitive workloads further tuning can be done by SW to
get desired performance.

The hardware monitors the average CPU utilization across all cores
in a power domain at regular intervals and decides an uncore frequency.
While this may result in the best performance per watt, workload may be
expecting higher performance at the expense of power. Consider an
application that intermittently wakes up to perform memory reads on an
otherwise idle system. In such cases, if hardware lowers uncore
frequency, then there may be delay in ramp up of frequency to meet
target performance.

The ELC control defines some parameters which can be changed from SW.
If the average CPU utilization is below a user-defined threshold
(elc_low_threshold_percent attribute below), the user-defined uncore
floor frequency will be used (elc_floor_freq_khz attribute below)
instead of hardware calculated minimum.

Similarly in high load scenario where the CPU utilization goes above
the high threshold value (elc_high_threshold_percent attribute below)
instead of jumping to maximum uncore frequency, frequency is increased
in 100MHz steps. This avoids consuming unnecessarily high power
immediately with CPU utilization spikes.

Attributes for efficiency latency control:

``elc_floor_freq_khz``
This attribute is used to get/set the efficiency latency floor frequency.
If this variable is lower than the 'min_freq_khz', it is ignored by
the firmware.

``elc_low_threshold_percent``
This attribute is used to get/set the efficiency latency control low
threshold. This attribute is in percentages of CPU utilization.

``elc_high_threshold_percent``
This attribute is used to get/set the efficiency latency control high
threshold. This attribute is in percentages of CPU utilization.

``elc_high_threshold_enable``
This attribute is used to enable/disable the efficiency latency control
high threshold. Write '1' to enable, '0' to disable.

Example system configuration below, which does following:
* when CPU utilization is less than 10%: sets uncore frequency to 800MHz
* when CPU utilization is higher than 95%: increases uncore frequency in
100MHz steps, until power limit is reached

elc_floor_freq_khz:800000
elc_high_threshold_percent:95
elc_high_threshold_enable:1
elc_low_threshold_percent:10
17 changes: 0 additions & 17 deletions Documentation/devicetree/bindings/arc/archs-pct.txt

This file was deleted.

33 changes: 33 additions & 0 deletions Documentation/devicetree/bindings/arc/snps,archs-pct.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/arc/snps,archs-pct.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ARC HS Performance Counters

maintainers:
- Aryabhatta Dey <[email protected]>

description:
The ARC HS can be configured with a pipeline performance monitor for counting
CPU and cache events like cache misses and hits. Like conventional PCT there
are 100+ hardware conditions dynamically mapped to up to 32 counters.
It also supports overflow interrupts.

properties:
compatible:
const: snps,archs-pct

reg:
maxItems: 1

clocks:
maxItems: 1

required:
- compatible
- reg
- clocks

additionalProperties: false
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ description: |
The Coresight dummy source component is for the specific coresight source
devices kernel don't have permission to access or configure. For some SOCs,
there would be Coresight source trace components on sub-processor which
are conneted to AP processor via debug bus. For these devices, a dummy driver
are connected to AP processor via debug bus. For these devices, a dummy driver
is needed to register them as Coresight source devices, so that paths can be
created in the driver. It provides Coresight API for operations on dummy
source devices, such as enabling and disabling them. It also provides the
Expand Down
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/arm/arm,corstone1000.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: ARM Corstone1000

maintainers:
- Vishnu Banavath <vishnu.banavath@arm.com>
- Rui Miguel Silva <[email protected]>
- Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
- Hugues Kamba Mpiana <[email protected]>

description: |+
ARM's Corstone1000 includes pre-verified Corstone SSE-710 subsystem that
Expand Down
33 changes: 31 additions & 2 deletions Documentation/devicetree/bindings/ata/ahci-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ select:
- marvell,armada-3700-ahci
- marvell,armada-8k-ahci
- marvell,berlin2q-ahci
- qcom,apq8064-ahci
- qcom,ipq806x-ahci
- socionext,uniphier-pro4-ahci
- socionext,uniphier-pxs2-ahci
- socionext,uniphier-pxs3-ahci
Expand All @@ -45,6 +47,8 @@ properties:
- marvell,armada-8k-ahci
- marvell,berlin2-ahci
- marvell,berlin2q-ahci
- qcom,apq8064-ahci
- qcom,ipq806x-ahci
- socionext,uniphier-pro4-ahci
- socionext,uniphier-pxs2-ahci
- socionext,uniphier-pxs3-ahci
Expand All @@ -64,11 +68,11 @@ properties:

clocks:
minItems: 1
maxItems: 3
maxItems: 5

clock-names:
minItems: 1
maxItems: 3
maxItems: 5

interrupts:
maxItems: 1
Expand Down Expand Up @@ -97,6 +101,31 @@ required:

allOf:
- $ref: ahci-common.yaml#

- if:
properties:
compatible:
contains:
enum:
- qcom,apq8064-ahci
- qcom,ipq806x-ahci
then:
properties:
clocks:
minItems: 5
clock-names:
items:
- const: slave_iface
- const: iface
- const: core
- const: rxoob
- const: pmalive
required:
- phys
- phy-names
- clocks
- clock-names

- if:
properties:
compatible:
Expand Down
47 changes: 47 additions & 0 deletions Documentation/devicetree/bindings/ata/imx-sata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ properties:
- fsl,imx53-ahci
- fsl,imx6q-ahci
- fsl,imx6qp-ahci
- fsl,imx8qm-ahci

reg:
maxItems: 1
Expand All @@ -27,12 +28,14 @@ properties:
maxItems: 1

clocks:
minItems: 2
items:
- description: sata clock
- description: sata reference clock
- description: ahb clock

clock-names:
minItems: 2
items:
- const: sata
- const: sata_ref
Expand All @@ -58,13 +61,57 @@ properties:
$ref: /schemas/types.yaml#/definitions/flag
description: if present, disable spread-spectrum clocking on the SATA link.

phys:
items:
- description: phandle to SATA PHY.
Since "REXT" pin is only present for first lane of i.MX8QM PHY, it's
calibration result will be stored, passed through second lane, and
shared with all three lanes PHY. The first two lanes PHY are used as
calibration PHYs, although only the third lane PHY is used by SATA.
- description: phandle to the first lane PHY of i.MX8QM.
- description: phandle to the second lane PHY of i.MX8QM.

phy-names:
items:
- const: sata-phy
- const: cali-phy0
- const: cali-phy1

power-domains:
maxItems: 1

required:
- compatible
- reg
- interrupts
- clocks
- clock-names

allOf:
- if:
properties:
compatible:
contains:
enum:
- fsl,imx53-ahci
- fsl,imx6q-ahci
- fsl,imx6qp-ahci
then:
properties:
clock-names:
minItems: 3

- if:
properties:
compatible:
contains:
enum:
- fsl,imx8qm-ahci
then:
properties:
clock-names:
minItems: 2

additionalProperties: false

examples:
Expand Down
48 changes: 0 additions & 48 deletions Documentation/devicetree/bindings/ata/qcom-sata.txt

This file was deleted.

Loading

0 comments on commit 8446b16

Please sign in to comment.