From patchwork Mon Jul 29 11:04:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13744712 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F33FC145339 for ; Mon, 29 Jul 2024 11:04:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722251095; cv=none; b=Mv96UCbmRlGgNaKxG4btc6jY2U+fhzAuIq9CZZmSdqtmeWex64ByUrGJx3R0puKMPWpJLgCyv99I3jKLLWMm3iPSfefuCeXupMrZPSwRB6f26FVdjtp7z38xnJXbAOazI2ISWIBHHXQydaZpvjlucg94fttDV0UekhlaDLwftEA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722251095; c=relaxed/simple; bh=H2Muob7dk11oRV21anlzfmTL75LiqgcTURYex0h8N/I=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=ByQvNpkBE79T/I8dIIHAMlBrkSTGk2Jtc8wRroVEGX0ymG3lAIE+pNc0O5uneAbluDZ4aHlMa0bzWhrDUtFDKevuL4zKSgbcmEi3On6KhEk4L5U1YzaSFM03x3sIL6kGtGukc199xkK9hlRjk50srSdmt/I8pPfY0cwq1Vwangw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=iJCh7IZc; arc=none smtp.client-ip=209.85.167.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="iJCh7IZc" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-52efdf02d13so5116428e87.2 for ; Mon, 29 Jul 2024 04:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722251092; x=1722855892; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=fAn4RVxTnpgnao4vM7hy07ohwvLBby85rLUIHJlEjok=; b=iJCh7IZcR5ZMSi+224/bVFlCl32FWvRUj/71f9GktXpCJEnigwklbDXv8XEujwt7Cj wprB08Iu1gYCRaKawwCDPMPNlcoV2+JHcQ2B8IR7k2cjyQE5N7NKLAfXLP+NzQUOyyvB KBADTqllRDFO3YJzXJbQAMxFu0ohVKzt+Ncf6+aRmoRQdTuOsCBO3W9sbCBZNh9AEx8Q lGPLA1QXnaw9eVVzrT5ECp4TQIoqRukujRnKdqULq2mjY7cY5LG/pvhmTz+EXJadZuTm jOvWUT2v91QqPGo30il+9QXI/bfIa+/w5TsOd5Z1y/VwyhQVUxX7AhwDqPIC9o++IIFj O+yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722251092; x=1722855892; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fAn4RVxTnpgnao4vM7hy07ohwvLBby85rLUIHJlEjok=; b=nXzUJTnRx02qSONZGlzZt1Q7zy8KqpvaekByNYzguz3014E9osyJnewlR9bNXXKs3I 52ZotPgHtfDJJUfw7HZyy57ONKEkOGV9w+00MVc0U69aJEQqQMw38+Z0yRwp5CudcWw/ 5Zg+9l1ihN9sPhW+cf9Gs0CDJ/d0471m120uj+WUN/67P5GM2zX0CHHn4JyUzo1Sn7Q6 OmsrtSrZ2HLwHSAw3XQ2ZU1bI9xrzBqUfNlCb2F+9VcTQv2GL7G5cliFTKUtPDDKvdzg IbRdQaL4MQY28K/b1RpLuXU2yXQWDD/2VDmDvK/xHTUOBazvwkHZiGOfK5Lmw5ckTJF8 Ku4w== X-Gm-Message-State: AOJu0Yz10bopSRyy+jlMcOyzFqihW/N3E58WM6OTD6mz7SN/SIx9hHgA lmDSdJ+xrfh7r8ouucGbyiurDkro5NKOAKbvdtilSXRhew8OJ0ecwUak/gAxf6o= X-Google-Smtp-Source: AGHT+IH/kP7pAMTn1q68QbNIDyPd3UjktcOBDnVWdWcd34XE8UaGSIaKLrcRBYDZIHIXLFiIqe9VkA== X-Received: by 2002:a05:6512:606:b0:52c:83c7:936a with SMTP id 2adb3069b0e04-5309b2cac07mr5526622e87.42.1722251091848; Mon, 29 Jul 2024 04:04:51 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52fd5c09093sm1457806e87.172.2024.07.29.04.04.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 04:04:51 -0700 (PDT) From: Dmitry Baryshkov Subject: [PATCH 0/4] soc: qcom: fix rpm_requests module probing Date: Mon, 29 Jul 2024 14:04:44 +0300 Message-Id: <20240729-fix-smd-rpm-v1-0-99a96133cc65@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAEx3p2YC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDcyNL3bTMCt3i3BTdooJcXUszU8NUC/NEy6QkAyWgjoKiVKA02LTo2Np aAPqVPI9dAAAA To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Stephan Gerhold Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2167; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=H2Muob7dk11oRV21anlzfmTL75LiqgcTURYex0h8N/I=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmp3dSjeXGRToe4IvLPl+bO4gAoxQn90haPCAmq RTxCRFEqF2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZqd3UgAKCRCLPIo+Aiko 1cEaB/4tIGYqvwox3T1je/qKjFL1+J0nnPzxWZIcvUz2qVDvRG7x05O/mZmmi/aNsGzoNKavvTk y/UicNfKlq2NaEK375rVKdkRnQQ8OYPeg+g/VkesprzK3siBK9e1aNtVJOLIAVSU1agfHH/NGif dx63r6Xi0IR5fzZPCYRmNHtLMNL+UUCYPsEx86d7ddZHpqOgqDxd35ql1v9haCdy0LW3EL+RN9M eB+UEa/a6IuVOxjGATfJknL49vNxOQ5BVD4Or4KIZ7Pp2bqp2lB4T+CzEv3Hi+LLFgVNvlCkmJm Xi/GMEfpeq2F9u3PAJVi28Jo3ZTK0uYa2tt0mYaG3O4nB7NY X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The GLINK RPMSG channels get modalias based on the compatible string rather than the channel type, however the smd-rpm module uses rpmsg ID instead. Thus if the smd-rpm is built as a module, it doesn't get automatically loaded. Add generic compatible to such devices and fix module's ID table. Module loading worked before the commit bcabe1e09135 ("soc: qcom: smd-rpm: Match rpmsg channel instead of compatible"), because the driver listed all compatible strings, but the mentioned commit changed ID table. All patches in this series list this commit in the Fixes tags. Signed-off-by: Dmitry Baryshkov --- Dmitry Baryshkov (4): dt-bindings: soc: qcom: smd-rpm: add generic compatible soc: qcom: smd-rpm: add qcom,smd-rpm compatible ARM: dts: qcom: add generic compat string to RPM glink channels arm64: dts: qcom: add generic compat string to RPM glink channels .../devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml | 52 +++++++++++----------- arch/arm/boot/dts/qcom/qcom-apq8084.dtsi | 2 +- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 2 +- arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8939.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8976.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8994.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm6125.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm6375.dtsi | 2 +- drivers/soc/qcom/smd-rpm.c | 11 ++++- 16 files changed, 51 insertions(+), 40 deletions(-) --- base-commit: 668d33c9ff922c4590c58754ab064aaf53c387dd change-id: 20240729-fix-smd-rpm-9651e87a9bb0 Best regards,