Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
225eb9f
powerpc/rtas: Fall back to linear search on failed token->function lo…
nathanlynch Dec 12, 2023
ad6ef82
dt-bindings: panel-simple-dsi: move LG 5" HD TFT LCD panel into DSI yaml
okias Dec 12, 2023
3f990e2
media: dt-bindings: ov8856: decouple lanes and link frequency from dr…
krzk Dec 8, 2023
27ce22b
KVM: selftests: Fix dynamic generation of configuration names
bonzini Dec 13, 2023
275cdcf
backlight: hx8357: Convert to agnostic GPIO API
andy-shev Dec 7, 2023
13cc816
media: docs: uAPI: Fix documentation of 'which' field for routing ioctls
pinchartl Dec 13, 2023
19c2384
scsi: ufs: qcom: Export ufshcd_{enable/disable}_irq helpers and make …
Mani-Sadhasivam Dec 8, 2023
2ff6e69
drm/msm/dpu: rename dpu_encoder_phys_wb_setup_cdp to match its functi…
Dec 12, 2023
553b95e
dt-bindings: arm: stm32: don't mix SCMI and non-SCMI board compatibles
a3f Nov 22, 2023
3093ebe
mtd: rawnand: pl353: Fix kernel doc
miquelraynal Dec 11, 2023
470f2b1
mtd: rawnand: rockchip: Rename a structure
miquelraynal Dec 11, 2023
72ac548
mtd: rawnand: rockchip: Add missing title to a kernel doc comment
miquelraynal Dec 11, 2023
daed431
dt-bindings: PCI: qcom: Correct reset-names property
krzk Nov 11, 2023
754b832
arm64: dts: qcom: msm8939: Add clock-frequency for broadcast timer
stephan-gh Dec 4, 2023
23c71c1
dt-bindings: watchdog: qcom-wdt: Make the interrupt example edge trig…
dianders Nov 6, 2023
943f28e
ARM: dts: qcom: msm8974-klte: Remove unused property
minlexx Dec 17, 2023
2d97c7f
ARM: dts: qcom: msm8974: Remove bogus cd-gpio pinctrl
z3ntu Dec 17, 2023
a883894
ARM: dts: qcom: msm8974*: Re-enable remoteprocs on various boards
z3ntu Dec 17, 2023
59d07e5
arm64: dts: qcom: sc8180x: Add UFS GDSC
konradybcio Dec 14, 2023
d7ec342
arm64: dts: qcom: sc8180x: Add missing MDP clocks
konradybcio Dec 14, 2023
942bfb8
arm64: dts: qcom: sc8180x: Add interconnects to UFS
konradybcio Dec 14, 2023
b519bb7
arm64: dts: qcom: sc8180x: Describe the GIC redistributor
konradybcio Dec 14, 2023
d8366e0
arm64: dts: qcom: sc8180x-primus: Allow UFS regulators load/mode setting
konradybcio Dec 14, 2023
da4b5bd
gpio: xilinx: remove excess kernel doc
Dec 15, 2023
39c3ef5
KVM: arm64: Update and fix FGT register masks
Dec 14, 2023
56b8e4d
ASoC: amd: acp: Add missing MODULE_DESCRIPTION in mach-common
cristicc Dec 9, 2023
6dfe98a
ipmi: Use regspacings passed as a module parameter
EmilioPeJu Nov 22, 2023
101682a
virtio_blk: remove the broken zone revalidation support
Dec 17, 2023
798249f
tracing/synthetic: fix kernel-doc warnings
rddunlap Dec 20, 2023
b3d19f4
usr/Kconfig: fix typos of "its"
rddunlap Dec 10, 2023
c4c3b50
wifi: rtlwifi: rtl8723_common: using calculate_bit_shift()
Dec 19, 2023
d779197
dt-bindings: crypto: qcom-qce: constrain clocks for IPQ9574 QCE
krzk Dec 12, 2023
cf204ac
KVM: s390: vsie: Fix STFLE interpretive execution identification
Dec 19, 2023
7729f7c
ARM: dts: rockchip: Remove rockchip,default-sample-phase from rk3036.…
Dec 18, 2023
80283bf
dt-bindings: power: reset: qcom-pon: fix inconsistent example
jhovold Nov 30, 2023
986a68f
backlight: hx8357: Fix potential NULL pointer dereference
andy-shev Jan 14, 2024
29f8a65
scripts/kernel-doc: Fix the regex for matching -Werror flag
Yujie-Liu Oct 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions Documentation/devicetree/bindings/arm/stm32/stm32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,29 +82,19 @@ properties:
- shiratech,stm32mp157a-iot-box # IoT Box
- shiratech,stm32mp157a-stinger96 # Stinger96
- st,stm32mp157c-ed1
- st,stm32mp157c-ed1-scmi
- st,stm32mp157a-dk1
- st,stm32mp157a-dk1-scmi
- st,stm32mp157c-dk2
- st,stm32mp157c-dk2-scmi
- const: st,stm32mp157

- items:
- const: st,stm32mp157a-dk1-scmi
- const: st,stm32mp157a-dk1
- const: st,stm32mp157
- items:
- const: st,stm32mp157c-dk2-scmi
- const: st,stm32mp157c-dk2
- const: st,stm32mp157
- items:
- const: st,stm32mp157c-ed1-scmi
- const: st,stm32mp157c-ed1
- const: st,stm32mp157
- items:
- const: st,stm32mp157c-ev1
- const: st,stm32mp157c-ed1
- const: st,stm32mp157
- items:
- const: st,stm32mp157c-ev1-scmi
- const: st,stm32mp157c-ev1
- const: st,stm32mp157c-ed1
- const: st,stm32mp157

Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/crypto/qcom-qce.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ allOf:
- qcom,crypto-v5.4
- qcom,ipq6018-qce
- qcom,ipq8074-qce
- qcom,ipq9574-qce
- qcom,msm8996-qce
- qcom,sdm845-qce
then:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ properties:
- lg,acx467akm-7
# LG Corporation 7" WXGA TFT LCD panel
- lg,ld070wx3-sl01
# LG Corporation 5" HD TFT LCD panel
- lg,lh500wx1-sd03
# One Stop Displays OSD101T2587-53TS 10.1" 1920x1200 panel
- osddisplays,osd101t2587-53ts
# Panasonic 10" WUXGA TFT LCD panel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ properties:
- lemaker,bl035-rgb-002
# LG 7" (800x480 pixels) TFT LCD panel
- lg,lb070wv8
# LG Corporation 5" HD TFT LCD panel
- lg,lh500wx1-sd03
# LG LP079QX1-SP0V 7.9" (1536x2048 pixels) TFT LCD panel
- lg,lp079qx1-sp0v
# LG 9.7" (2048x1536 pixels) TFT LCD panel
Expand Down
24 changes: 11 additions & 13 deletions Documentation/devicetree/bindings/media/i2c/ov8856.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,17 @@ properties:

properties:
data-lanes:
description: |-
The driver only supports four-lane operation.
items:
- const: 1
- const: 2
- const: 3
- const: 4

link-frequencies:
description: Frequencies listed are driver, not h/w limitations.
maxItems: 2
items:
enum: [ 360000000, 180000000 ]
oneOf:
- items:
- const: 1
- items:
- const: 1
- const: 2
- items:
- const: 1
- const: 2
- const: 3
- const: 4

required:
- link-frequencies
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/pci/qcom,pcie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ properties:
minItems: 1
maxItems: 12

resets-names:
reset-names:
minItems: 1
maxItems: 12

Expand Down
13 changes: 8 additions & 5 deletions Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,21 +111,24 @@ examples:
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/spmi/spmi.h>
spmi_bus: spmi@c440000 {

spmi@c440000 {
reg = <0x0c440000 0x1100>;
#address-cells = <2>;
#size-cells = <0>;
pmk8350: pmic@0 {

pmic@0 {
reg = <0x0 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
pmk8350_pon: pon_hlos@1300 {
reg = <0x1300>;

pon@800 {
compatible = "qcom,pm8998-pon";
reg = <0x800>;

pwrkey {
compatible = "qcom,pm8941-pwrkey";
interrupts = < 0x0 0x8 0 IRQ_TYPE_EDGE_BOTH >;
interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
debounce = <15625>;
bias-pull-up;
linux,code = <KEY_POWER>;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ examples:
compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt";
reg = <0x17c10000 0x1000>;
clocks = <&sleep_clk>;
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
timeout-sec = <10>;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ On a successful ``VIDIOC_SUBDEV_G_ROUTING`` call the driver updates the

* - __u32
- ``which``
- Format to modified, from enum
- Routing table to be accessed, from enum
:ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
* - struct :c:type:`v4l2_subdev_route`
- ``routes[]``
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,15 @@

&remoteproc_adsp {
cx-supply = <&pm8841_s2>;
status = "okay";
};

&remoteproc_mss {
cx-supply = <&pm8841_s2>;
mss-supply = <&pm8841_s3>;
mx-supply = <&pm8841_s1>;
pll-supply = <&pm8941_l12>;
status = "okay";
};

&rpm_requests {
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,15 @@

&remoteproc_adsp {
cx-supply = <&pm8841_s2>;
status = "okay";
};

&remoteproc_mss {
cx-supply = <&pm8841_s2>;
mss-supply = <&pm8841_s3>;
mx-supply = <&pm8841_s1>;
pll-supply = <&pm8941_l12>;
status = "okay";
};

&rpm_requests {
Expand Down
7 changes: 0 additions & 7 deletions arch/arm/boot/dts/qcom/qcom-msm8974.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1601,13 +1601,6 @@
bias-pull-up;
drive-strength = <2>;
};

cd-pins {
pins = "gpio54";
function = "gpio";
bias-disable;
drive-strength = <2>;
};
};

blsp1_uart2_default: blsp1-uart2-default-state {
Expand Down
1 change: 0 additions & 1 deletion arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@
vddr-supply = <&vreg_panel>;

reset-gpios = <&pma8084_gpios 17 GPIO_ACTIVE_LOW>;
te-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;

port {
panel_in: endpoint {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,15 @@

&remoteproc_adsp {
cx-supply = <&pm8841_s2>;
status = "okay";
};

&remoteproc_mss {
cx-supply = <&pm8841_s2>;
mss-supply = <&pm8841_s3>;
mx-supply = <&pm8841_s1>;
pll-supply = <&pm8941_l12>;
status = "okay";
};

&rpm_requests {
Expand Down
1 change: 0 additions & 1 deletion arch/arm/boot/dts/rockchip/rk3036.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@
clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
<&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
rockchip,default-sample-phase = <158>;
disable-wp;
dmas = <&pdma 12>;
dma-names = "rx-tx";
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8939.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2098,6 +2098,8 @@
#address-cells = <1>;
#size-cells = <1>;
ranges;
/* Necessary because firmware does not configure this correctly */
clock-frequency = <19200000>;

frame@b121000 {
reg = <0x0b121000 0x1000>,
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/qcom/sc8180x-primus.dts
Original file line number Diff line number Diff line change
Expand Up @@ -385,12 +385,18 @@
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
RPMH_REGULATOR_MODE_HPM>;
regulator-allow-set-load;
};

vreg_l10e_2p9: ldo10 {
regulator-min-microvolt = <2904000>;
regulator-max-microvolt = <2904000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
RPMH_REGULATOR_MODE_HPM>;
regulator-allow-set-load;
};

vreg_l12e: ldo12 {
Expand Down
19 changes: 17 additions & 2 deletions arch/arm64/boot/dts/qcom/sc8180x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <dt-bindings/clock/qcom,gcc-sc8180x.h>
#include <dt-bindings/clock/qcom,gpucc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,osm-l3.h>
#include <dt-bindings/interconnect/qcom,sc8180x.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
Expand Down Expand Up @@ -2127,6 +2128,14 @@
<0 0>,
<0 0>;

power-domains = <&gcc UFS_PHY_GDSC>;

interconnects = <&aggre1_noc MASTER_UFS_MEM QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ALWAYS
&config_noc SLAVE_UFS_MEM_0_CFG QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "ufs-ddr", "cpu-ufs";

status = "disabled";
};

Expand Down Expand Up @@ -2722,11 +2731,15 @@
clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
<&gcc GCC_DISP_HF_AXI_CLK>,
<&dispcc DISP_CC_MDSS_MDP_CLK>,
<&dispcc DISP_CC_MDSS_VSYNC_CLK>;
<&dispcc DISP_CC_MDSS_VSYNC_CLK>,
<&dispcc DISP_CC_MDSS_ROT_CLK>,
<&dispcc DISP_CC_MDSS_MDP_LUT_CLK>;
clock-names = "iface",
"bus",
"core",
"vsync";
"vsync",
"rot",
"lut";

assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
assigned-clock-rates = <19200000>;
Expand Down Expand Up @@ -3436,6 +3449,8 @@
reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */
<0x0 0x17a60000 0x0 0x100000>; /* GICR * 8 */
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
#redistributor-regions = <1>;
redistributor-stride = <0 0x20000>;
};

apss_shared: mailbox@17c00000 {
Expand Down
39 changes: 24 additions & 15 deletions arch/arm64/include/asm/kvm_arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,36 +344,45 @@
* Once we get to a point where the two describe the same thing, we'll
* merge the definitions. One day.
*/
#define __HFGRTR_EL2_RES0 (GENMASK(63, 56) | GENMASK(53, 51))
#define __HFGRTR_EL2_RES0 BIT(51)
#define __HFGRTR_EL2_MASK GENMASK(49, 0)
#define __HFGRTR_EL2_nMASK (GENMASK(58, 57) | GENMASK(55, 54) | BIT(50))
#define __HFGRTR_EL2_nMASK (GENMASK(63, 52) | BIT(50))

#define __HFGWTR_EL2_RES0 (GENMASK(63, 56) | GENMASK(53, 51) | \
BIT(46) | BIT(42) | BIT(40) | BIT(28) | \
GENMASK(26, 25) | BIT(21) | BIT(18) | \
#define __HFGWTR_EL2_RES0 (BIT(51) | BIT(46) | BIT(42) | BIT(40) | \
BIT(28) | GENMASK(26, 25) | BIT(21) | BIT(18) | \
GENMASK(15, 14) | GENMASK(10, 9) | BIT(2))
#define __HFGWTR_EL2_MASK GENMASK(49, 0)
#define __HFGWTR_EL2_nMASK (GENMASK(58, 57) | GENMASK(55, 54) | BIT(50))
#define __HFGWTR_EL2_MASK (GENMASK(49, 47) | GENMASK(45, 43) | \
BIT(41) | GENMASK(39, 29) | BIT(27) | \
GENMASK(24, 22) | GENMASK(20, 19) | \
GENMASK(17, 16) | GENMASK(13, 11) | \
GENMASK(8, 3) | GENMASK(1, 0))
#define __HFGWTR_EL2_nMASK (GENMASK(63, 52) | BIT(50))

#define __HFGITR_EL2_RES0 GENMASK(63, 57)
#define __HFGITR_EL2_MASK GENMASK(54, 0)
#define __HFGITR_EL2_nMASK GENMASK(56, 55)
#define __HFGITR_EL2_RES0 (BIT(63) | BIT(61))
#define __HFGITR_EL2_MASK (BIT(62) | BIT(60) | GENMASK(54, 0))
#define __HFGITR_EL2_nMASK GENMASK(59, 55)

#define __HDFGRTR_EL2_RES0 (BIT(49) | BIT(42) | GENMASK(39, 38) | \
GENMASK(21, 20) | BIT(8))
#define __HDFGRTR_EL2_MASK ~__HDFGRTR_EL2_nMASK
#define __HDFGRTR_EL2_MASK (BIT(63) | GENMASK(58, 50) | GENMASK(48, 43) | \
GENMASK(41, 40) | GENMASK(37, 22) | \
GENMASK(19, 9) | GENMASK(7, 0))
#define __HDFGRTR_EL2_nMASK GENMASK(62, 59)

#define __HDFGWTR_EL2_RES0 (BIT(63) | GENMASK(59, 58) | BIT(51) | BIT(47) | \
BIT(43) | GENMASK(40, 38) | BIT(34) | BIT(30) | \
BIT(22) | BIT(9) | BIT(6))
#define __HDFGWTR_EL2_MASK ~__HDFGWTR_EL2_nMASK
#define __HDFGWTR_EL2_MASK (GENMASK(57, 52) | GENMASK(50, 48) | \
GENMASK(46, 44) | GENMASK(42, 41) | \
GENMASK(37, 35) | GENMASK(33, 31) | \
GENMASK(29, 23) | GENMASK(21, 10) | \
GENMASK(8, 7) | GENMASK(5, 0))
#define __HDFGWTR_EL2_nMASK GENMASK(62, 60)

/* Similar definitions for HCRX_EL2 */
#define __HCRX_EL2_RES0 (GENMASK(63, 16) | GENMASK(13, 12))
#define __HCRX_EL2_MASK (0)
#define __HCRX_EL2_nMASK (GENMASK(15, 14) | GENMASK(4, 0))
#define __HCRX_EL2_RES0 (GENMASK(63, 25) | GENMASK(13, 12))
#define __HCRX_EL2_MASK (BIT(6))
#define __HCRX_EL2_nMASK (GENMASK(24, 14) | GENMASK(11, 7) | GENMASK(5, 0))

/* Hyp Prefetch Fault Address Register (HPFAR/HDFAR) */
#define HPFAR_MASK (~UL(0xf))
Expand Down
18 changes: 14 additions & 4 deletions arch/powerpc/kernel/rtas.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,11 +573,21 @@ static const struct rtas_function *rtas_token_to_function(s32 token)
return NULL;

func = rtas_token_to_function_untrusted(token);
if (func)
return func;
/*
* Fall back to linear scan in case the reverse mapping hasn't
* been initialized yet.
*/
if (xa_empty(&rtas_token_to_function_xarray)) {
for_each_rtas_function(func) {
if (func->token == token)
return func;
}
}

if (WARN_ONCE(!func, "unexpected failed lookup for token %d", token))
return NULL;

return func;
WARN_ONCE(true, "unexpected failed lookup for token %d", token);
return NULL;
}

/* This is here deliberately so it's only used in this file */
Expand Down
Loading
Loading