Skip to content

Commit feac9ec

Browse files
authored
Merge pull request #5735 from bardliao/merge/sound-upstream-20260415
Merge/sound upstream 20260415
2 parents 7ec8ed3 + 6fe0275 commit feac9ec

726 files changed

Lines changed: 10499 additions & 4049 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.get_maintainer.ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Alan Cox <alan@lxorguk.ukuu.org.uk>
22
Alan Cox <root@hraefn.swansea.linux.org.uk>
33
Alyssa Rosenzweig <alyssa@rosenzweig.io>
4+
Askar Safin <safinaskar@gmail.com>
45
Christoph Hellwig <hch@lst.de>
56
Jeff Kirsher <jeffrey.t.kirsher@intel.com>
67
Marc Gonzalez <marc.w.gonzalez@free.fr>

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,8 @@ Tvrtko Ursulin <tursulin@ursulin.net> <tvrtko.ursulin@onelan.co.uk>
849849
Tvrtko Ursulin <tursulin@ursulin.net> <tvrtko@ursulin.net>
850850
Tycho Andersen <tycho@tycho.pizza> <tycho@tycho.ws>
851851
Tzung-Bi Shih <tzungbi@kernel.org> <tzungbi@google.com>
852+
Ulf Hansson <ulfh@kernel.org> <ulf.hansson@linaro.org>
853+
Ulf Hansson <ulfh@kernel.org> <ulf.hansson@stericsson.com>
852854
Umang Jain <uajain@igalia.com> <umang.jain@ideasonboard.com>
853855
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
854856
Uwe Kleine-König <u.kleine-koenig@baylibre.com> <ukleinek@baylibre.com>

Documentation/arch/riscv/zicfilp.rst

Lines changed: 39 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -76,34 +76,49 @@ the program.
7676
4. prctl() enabling
7777
--------------------
7878

79-
:c:macro:`PR_SET_INDIR_BR_LP_STATUS` / :c:macro:`PR_GET_INDIR_BR_LP_STATUS` /
80-
:c:macro:`PR_LOCK_INDIR_BR_LP_STATUS` are three prctls added to manage indirect
81-
branch tracking. These prctls are architecture-agnostic and return -EINVAL if
82-
the underlying functionality is not supported.
79+
Per-task indirect branch tracking state can be monitored and
80+
controlled via the :c:macro:`PR_GET_CFI` and :c:macro:`PR_SET_CFI`
81+
``prctl()` arguments (respectively), by supplying
82+
:c:macro:`PR_CFI_BRANCH_LANDING_PADS` as the second argument. These
83+
are architecture-agnostic, and will return -EINVAL if the underlying
84+
functionality is not supported.
8385
84-
* prctl(PR_SET_INDIR_BR_LP_STATUS, unsigned long arg)
86+
* prctl(:c:macro:`PR_SET_CFI`, :c:macro:`PR_CFI_BRANCH_LANDING_PADS`, unsigned long arg)
8587
86-
If arg1 is :c:macro:`PR_INDIR_BR_LP_ENABLE` and if CPU supports
87-
``zicfilp`` then the kernel will enable indirect branch tracking for the
88-
task. The dynamic loader can issue this :c:macro:`prctl` once it has
89-
determined that all the objects loaded in the address space support
90-
indirect branch tracking. Additionally, if there is a `dlopen` to an
91-
object which wasn't compiled with ``zicfilp``, the dynamic loader can
92-
issue this prctl with arg1 set to 0 (i.e. :c:macro:`PR_INDIR_BR_LP_ENABLE`
93-
cleared).
94-
95-
* prctl(PR_GET_INDIR_BR_LP_STATUS, unsigned long * arg)
88+
arg is a bitmask.
9689
97-
Returns the current status of indirect branch tracking. If enabled
98-
it'll return :c:macro:`PR_INDIR_BR_LP_ENABLE`
99-
100-
* prctl(PR_LOCK_INDIR_BR_LP_STATUS, unsigned long arg)
90+
If :c:macro:`PR_CFI_ENABLE` is set in arg, and the CPU supports
91+
``zicfilp``, then the kernel will enable indirect branch tracking for
92+
the task. The dynamic loader can issue this ``prctl()`` once it has
93+
determined that all the objects loaded in the address space support
94+
indirect branch tracking.
95+
96+
Indirect branch tracking state can also be locked once enabled. This
97+
prevents the task from subsequently disabling it. This is done by
98+
setting the bit :c:macro:`PR_CFI_LOCK` in arg. Either indirect branch
99+
tracking must already be enabled for the task, or the bit
100+
:c:macro:`PR_CFI_ENABLE` must also be set in arg. This is intended
101+
for environments that wish to run with a strict security posture that
102+
do not wish to load objects without ``zicfilp`` support.
103+
104+
Indirect branch tracking can also be disabled for the task, assuming
105+
that it has not previously been enabled and locked. If there is a
106+
``dlopen()`` to an object which wasn't compiled with ``zicfilp``, the
107+
dynamic loader can issue this ``prctl()`` with arg set to
108+
:c:macro:`PR_CFI_DISABLE`. Disabling indirect branch tracking for the
109+
task is not possible if it has previously been enabled and locked.
110+
111+
112+
* prctl(:c:macro:`PR_GET_CFI`, :c:macro:`PR_CFI_BRANCH_LANDING_PADS`, unsigned long * arg)
113+
114+
Returns the current status of indirect branch tracking into a bitmask
115+
stored into the memory location pointed to by arg. The bitmask will
116+
have the :c:macro:`PR_CFI_ENABLE` bit set if indirect branch tracking
117+
is currently enabled for the task, and if it is locked, will
118+
additionally have the :c:macro:`PR_CFI_LOCK` bit set. If indirect
119+
branch tracking is currently disabled for the task, the
120+
:c:macro:`PR_CFI_DISABLE` bit will be set.
101121

102-
Locks the current status of indirect branch tracking on the task. User
103-
space may want to run with a strict security posture and wouldn't want
104-
loading of objects without ``zicfilp`` support in them, to disallow
105-
disabling of indirect branch tracking. In this case, user space can
106-
use this prctl to lock the current settings.
107122

108123
5. violations related to indirect branch tracking
109124
--------------------------------------------------

Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ then:
6666
required:
6767
- refresh-rate-hz
6868

69-
additionalProperties: false
69+
unevaluatedProperties: false
7070

7171
examples:
7272
- |

Documentation/devicetree/bindings/connector/usb-connector.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ properties:
301301
maxItems: 4
302302

303303
dependencies:
304+
pd-disable: [typec-power-opmode]
304305
sink-vdos-v1: [ sink-vdos ]
305306
sink-vdos: [ sink-vdos-v1 ]
306307

Documentation/devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ properties:
3333
- const: core
3434

3535
iommus:
36-
maxItems: 2
36+
maxItems: 1
3737

3838
interconnects:
3939
items:
@@ -107,8 +107,7 @@ examples:
107107
interconnect-names = "mdp0-mem",
108108
"cpu-cfg";
109109
110-
iommus = <&apps_smmu 0x420 0x2>,
111-
<&apps_smmu 0x421 0x0>;
110+
iommus = <&apps_smmu 0x420 0x2>;
112111
ranges;
113112
114113
display-controller@5e01000 {

Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ properties:
3737
const: 2
3838

3939
"#interrupt-cells":
40-
const: 1
40+
const: 2
4141

4242
ngpios:
4343
description:
@@ -86,7 +86,7 @@ examples:
8686
gpio-controller;
8787
#gpio-cells = <2>;
8888
interrupt-controller;
89-
#interrupt-cells = <1>;
89+
#interrupt-cells = <2>;
9090
interrupts = <53>, <53>, <53>, <53>,
9191
<53>, <53>, <53>, <53>,
9292
<53>, <53>, <53>, <53>,

Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ properties:
4242
- const: vcodec0_bus
4343

4444
iommus:
45-
maxItems: 5
45+
maxItems: 2
4646

4747
interconnects:
4848
maxItems: 2
@@ -102,10 +102,7 @@ examples:
102102
memory-region = <&pil_video_mem>;
103103
104104
iommus = <&apps_smmu 0x860 0x0>,
105-
<&apps_smmu 0x880 0x0>,
106-
<&apps_smmu 0x861 0x04>,
107-
<&apps_smmu 0x863 0x0>,
108-
<&apps_smmu 0x804 0xe0>;
105+
<&apps_smmu 0x880 0x0>;
109106
110107
interconnects = <&mmnrt_virt MASTER_VIDEO_P0 RPM_ALWAYS_TAG
111108
&bimc SLAVE_EBI1 RPM_ALWAYS_TAG>,

Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ properties:
4242
- const: mgbe
4343
- const: mac
4444
- const: mac-divider
45-
- const: ptp-ref
45+
- const: ptp_ref
4646
- const: rx-input-m
4747
- const: rx-input
4848
- const: tx
@@ -133,7 +133,7 @@ examples:
133133
<&bpmp TEGRA234_CLK_MGBE0_RX_PCS_M>,
134134
<&bpmp TEGRA234_CLK_MGBE0_RX_PCS>,
135135
<&bpmp TEGRA234_CLK_MGBE0_TX_PCS>;
136-
clock-names = "mgbe", "mac", "mac-divider", "ptp-ref", "rx-input-m",
136+
clock-names = "mgbe", "mac", "mac-divider", "ptp_ref", "rx-input-m",
137137
"rx-input", "tx", "eee-pcs", "rx-pcs-input", "rx-pcs-m",
138138
"rx-pcs", "tx-pcs";
139139
resets = <&bpmp TEGRA234_RESET_MGBE0_MAC>,

Documentation/devicetree/bindings/sound/hisilicon,hi6210-i2s.txt

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)