[PATCH v4 2/6] dt-bindings: soc: qcom: add qcom,qcs615-imem compatible

2025-05-25 Thread Lijuan Gao
Document qcom,qcs615-imem compatible. It has a child node for debugging purposes. Acked-by: Krzysztof Kozlowski Signed-off-by: Lijuan Gao --- Documentation/devicetree/bindings/sram/qcom,imem.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sram/qcom,ime

[PATCH v4 1/6] dt-bindings: remoteproc: qcom,sm8150-pas: Document QCS615 remoteproc

2025-05-25 Thread Lijuan Gao
Document the components used to boot the ADSP and CDSP on the Qualcomm QCS615 SoC. Use fallback to indicate the compatibility of the remoteproc on the QCS615 with that on the SM8150. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Lijuan Gao --- .../bindings/remoteproc/qcom,sm8150-pas.yaml

[PATCH v4 6/6] arm64: dts: qcom: qcs615-ride: enable remoteprocs

2025-05-25 Thread Lijuan Gao
Enable all remoteproc nodes on the qcs615-ride board and point to the appropriate firmware files to allow proper functioning of the remote processors. Reviewed-by: Konrad Dybcio Signed-off-by: Lijuan Gao --- arch/arm64/boot/dts/qcom/qcs615-ride.dts | 12 1 file changed, 12 insertio

[PATCH v4 5/6] arm64: dts: qcom: qcs615: add ADSP and CDSP nodes

2025-05-25 Thread Lijuan Gao
Add nodes for remoteprocs: ADSP and CDSP for QCS615 SoC to enable proper remoteproc functionality. Reviewed-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov Signed-off-by: Lijuan Gao --- arch/arm64/boot/dts/qcom/qcs615.dtsi | 86 1 file changed, 86 insertion

[PATCH v4 4/6] arm64: dts: qcom: qcs615: Add IMEM and PIL info region

2025-05-25 Thread Lijuan Gao
Add a simple-mfd representing IMEM on QCS615 and define the PIL relocation info region as its child. The PIL region in IMEM is used to communicate load addresses of remoteproc to post mortem debug tools, so that these tools can collect ramdumps. Reviewed-by: Konrad Dybcio Signed-off-by: Lijuan Ga

[PATCH v4 3/6] arm64: dts: qcom: qcs615: Add mproc node for SEMP2P

2025-05-25 Thread Lijuan Gao
From: Kyle Deng The Shared Memory Point to Point (SMP2P) protocol facilitates communication of a single 32-bit value between two processors. Add these two nodes for remoteproc enablement on QCS615 SoC. Signed-off-by: Kyle Deng Reviewed-by: Konrad Dybcio Signed-off-by: Lijuan Gao --- arch/arm

[PATCH net] vsock/test: Fix occasional failure in SOCK_STREAM SHUT_RD test

2025-05-25 Thread Konstantin Shkolnyy
The test outputs: "SOCK_STREAM SHUT_RD...expected send(2) failure, got 1". It tests that shutdown(fd, SHUT_RD) on one side causes send() to fail on the other side. However, sometimes there is a delay in delivery of the SHUT_RD command, send() succeeds and the test fails, even though the command is

Re: [PATCH v2] selftests: Improve test output grammar, code style

2025-05-25 Thread Bagas Sanjaya
On Sun, May 25, 2025 at 09:27:31PM +0300, Hanne-Lotta Mäenpää wrote: > Hello, > > On 5/23/25 01:14, Shuah Khan wrote: > > On 5/16/25 02:42, Hanne-Lotta Mäenpää wrote: > > > Add small grammar fixes in perf events and Real Time Clock tests' > > > output messages. > > > > > > Include braces around a

[PATCH v3] selftests: filesystems: Add functional test for the abort file in fusectl

2025-05-25 Thread Chen Linxuan
This patch add a simple functional test for the "abort" file in fusectlfs (/sys/fs/fuse/connections/ID/about). A simple fuse daemon is added for testing. Related discussion can be found in the link below. Link: https://lore.kernel.org/all/CAOQ4uxjKFXOKQxPpxtS6G_nR0tpw95w0GiO68UcWg_OBhmSY=q...@m

Re: [PATCH v2] selftests: Add functional test for the abort file in fusectl

2025-05-25 Thread Chen Linxuan
On Fri, May 23, 2025 at 6:50 AM Shuah Khan wrote: > Also if this test requires root previlege, add check for it. Currently, this test does not require root privileges. Thanks, Chen Linxuan

Re: [PATCH v3 4/6] arm64: dts: qcom: qcs615: Add IMEM and PIL info region

2025-05-25 Thread Lijuan Gao
在 5/16/2025 5:45 PM, Konrad Dybcio 写道: On 5/16/25 5:27 AM, Lijuan Gao wrote: Add a simple-mfd representing IMEM on QCS615 and define the PIL relocation info region as its child. The PIL region in IMEM is used to communicate load addresses of remoteproc to post mortem debug tools, so that thes

[PATCH v2 4/4] arm64: dts: qcom: msm8939: Add camss and cci

2025-05-25 Thread Vincent Knecht via B4 Relay
From: Vincent Knecht Add the camera subsystem and CCI used to interface with cameras on the Snapdragon 615. Signed-off-by: Vincent Knecht --- arch/arm64/boot/dts/qcom/msm8939-pm8916.dtsi | 4 + arch/arm64/boot/dts/qcom/msm8939.dtsi| 146 +++ 2 files changed, 1

[PATCH v2 3/4] media: dt-bindings: Add qcom,msm8939-camss

2025-05-25 Thread Vincent Knecht via B4 Relay
From: Vincent Knecht Add bindings for qcom,msm8939-camss in order to support the camera subsystem for MSM8939. Signed-off-by: Vincent Knecht --- .../bindings/media/qcom,msm8939-camss.yaml | 253 + 1 file changed, 253 insertions(+) diff --git a/Documentation/devicet

[PATCH v2 2/4] media: qcom: camss: Add support for MSM8939

2025-05-25 Thread Vincent Knecht via B4 Relay
From: Vincent Knecht The camera subsystem for the MSM8939 is the same as MSM8916 except with 3 CSID instead of 2, and some higher clock rates. As a quirk, this SoC needs writing values to 2 VFE VBIF registers (see downstream msm8939-camera.dtsi vbif-{regs,settings} properties). This fixes black

[PATCH v2 0/4] CAMSS support for MSM8939

2025-05-25 Thread Vincent Knecht via B4 Relay
This series adds CAMSS support for MSM8939. It's mostly identical to MSM8916, except for some clocks and an additional CSI. To fix black stripes across sensor output, and garbage in CSID TPG output, 2 VFE VBIF register settings are needed. So the 1st patch adds helper functions to do just that. P

[PATCH v2 1/4] media: qcom: camss: vfe: Add VBIF setting support

2025-05-25 Thread Vincent Knecht via B4 Relay
From: Vincent Knecht Some devices need writing values to VFE VBIF registers. Add helper functions to do this. Signed-off-by: Vincent Knecht --- drivers/media/platform/qcom/camss/Makefile | 1 + drivers/media/platform/qcom/camss/camss-vfe-4-1.c | 11 drivers/media/platform/qc

Re: [PATCH v3 1/1] selftests/mm/uffd: Refactor non-composite global vars into struct

2025-05-25 Thread Ujwal Kundur
> Sounds like that's your issue - for the kernel, tab is supposed to be > as wide as 8 spaces, not 4. That fixed it, thanks! I've gone through the diff and made sure there are no longer any inconsistent indents. > I'm afraid I'm too ignorant of this code to be able to suggest something > good her

Re: [PATCH v2] selftests: Improve test output grammar, code style

2025-05-25 Thread Hanne-Lotta Mäenpää
Hello, On 5/23/25 01:14, Shuah Khan wrote: On 5/16/25 02:42, Hanne-Lotta Mäenpää wrote: Add small grammar fixes in perf events and Real Time Clock tests' output messages. Include braces around a single if statement, when there are multiple statements in the else branch, to align with the kerne

Re: [PATCH] selftests: firmware: Add details in error logging

2025-05-25 Thread Harshal Wadhwa
On Fri, 23 May 2025 at 03:49, Shuah Khan wrote: > > On 5/16/25 09:39, Harshal wrote: > > Specify details in logs of failed cases > > > > Use die() instead of exit() when write to > > sys_path fails > > Please explain why this change is needed? > > > > > Signed-off-by: Harshal > > --- > > tools/