From patchwork Wed Jun 26 19:12:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13713294 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 3E4D318FDB6 for ; Wed, 26 Jun 2024 19:12:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719429163; cv=none; b=MWIhJEfmeHPjHIYWTuSlgslV7UJ8QdT+XHeMaMKBne4mZB8HgRM68iARxfdDeZU/ERPBfV1Q2NLEYUtbUbBkM/hBp0b9iJZSZyl5hzdjezS5vH3LsIcwWNpDEAlfFsDygXVNCG/cecLZ+H4tc4D83CEhZVwFrJCxfkoKFBVo+qQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719429163; c=relaxed/simple; bh=Pw+sCEAT+Z9dh5Utx8BERFX6HY3A5yb57Mqv5aaYusc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AF8xeGkgyFGgggEjgD3Ez4edSeqa5J9WHF8HVVEtongUA50C94x0TT/MbG9olZPBg+NYJX3ByUDV4+QsQFMopNd1LSMP2r05Q1EAb6GzOOeLHW/C99Dea+FiWCrHlN0XBh4Udq4w1PupCi2tCgNza/t/blvmK+flz06rPNME8so= 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=Oi2auZZ6; arc=none smtp.client-ip=209.85.208.173 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="Oi2auZZ6" Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2ec002caeb3so90686911fa.2 for ; Wed, 26 Jun 2024 12:12:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719429160; x=1720033960; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=+UvH5HZmvKGGIuAO5J+pPITUJE8M1Ym9UtSDnHdpoGY=; b=Oi2auZZ6jHqg/RhF8Kb7AtwK3BAseDRruwduTKp1R9CK2qzBkz9xykt3XdzqYFGQGX EvDsA7HDQeGal7sypaE1rK4oL62nBjsKHmvHJKZCkFQNUFCswEZujFuPhyuO8MMT0i3F gbx2Wa4F2WzIiiJd/3SV8ecGp0QQ0/KMLZ8DDYdg8ExSav2F9+ZcxW9HJwuYKXXnexd+ i0yuuY6TMZRoC91fnhgZUc/emYKDSyGb7SJ1O1EydKk1GloHrVLjEEHx25V2P3ZkQs1f CD0v6LTbQLx9jeul2lSOaI1q61TaDv7NGfn24Jx01IF6HWm14AkQEKwGfS60ffKmVkwD vilg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719429160; x=1720033960; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+UvH5HZmvKGGIuAO5J+pPITUJE8M1Ym9UtSDnHdpoGY=; b=Q4um3zrKJizyVb6HOYUkhccWbEr1Rg1akFegGFSdJlLmCgEmDQwUzsafDKfSdqBxS0 HSAGvPSrxcGTX4wKeH4RkFN/OoGE/N4cLq3/pLTG/2GwOJf1DknseYYodJ9y4oRrtgeZ 6YtYphOCYi6qVqvbBEmS3HHYfdIAUJrzkxd1T7AWiRPEFd0cQytNs9T1EbnGMrQv19GF E7JvOanLTlB3PcuJvmgTNy07gneIMzYvCv/4UVY6k2VvXB2G2PX2H3t5TRdUgOtdz73D QJwDz1k5BpBqFsDwhLeq+KzvR9QzOKM6D7kzvBs510/R/qAcYRi4yj76Bgjew01RbKnb fFXA== X-Forwarded-Encrypted: i=1; AJvYcCUbfDiL9lyPhkyd4f4QrUYhhxA2ruAzkC3zm65lRFzkg1XaTtOwuPqit0+MxbhOTG41rGbo7KlqSDJhghErzBG+dt3+yXTwpUIhFJGbYA== X-Gm-Message-State: AOJu0Ywymrr4vZF+LDExOCDHUhoeLeaWNJgt4fSPLHChzJrA3p06tMsM 7yiPhzDZ8zBPlX27Ises9pJKU3RswX1by7QAZtHh71+icDvdXc6IB8G8iyTqAfI= X-Google-Smtp-Source: AGHT+IE54fLp4b5+PVB5ocCcYlWG8uo+/TidBzye5/q8GSTFRfbD3g+eiLD1LMP5cqwSaxhlhkqxIQ== X-Received: by 2002:a2e:874f:0:b0:2ec:55fd:f118 with SMTP id 38308e7fff4ca-2ec57967b67mr72555061fa.1.1719429160614; Wed, 26 Jun 2024 12:12:40 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ec5ef9d5fbsm9737091fa.136.2024.06.26.12.12.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 12:12:39 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 26 Jun 2024 22:12:37 +0300 Subject: [PATCH 1/2] soc: qcom: add missing pd-mapper dependencies Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240626-qcom-pd-mapper-fix-deps-v1-1-644678dc4663@linaro.org> References: <20240626-qcom-pd-mapper-fix-deps-v1-0-644678dc4663@linaro.org> In-Reply-To: <20240626-qcom-pd-mapper-fix-deps-v1-0-644678dc4663@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Chris Lew , Mathieu Poirier Cc: Mark Brown , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=819; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Pw+sCEAT+Z9dh5Utx8BERFX6HY3A5yb57Mqv5aaYusc=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmfGgm/BawO8IjUtIybCyJJSV9VTppnF4TaehK3 qGpXPVFJMyJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZnxoJgAKCRCLPIo+Aiko 1WbCB/9FQanfrmeJbxWFS3YeYkPem+T6g+tE7ERKrpGg7GNFI5dIT5rL1iBU6J5jRSrdiIFv/oo Hc08fGnOwoz8zmg5RddsxTmbFaH9EfxQoWkE9JEqg0JuLmWqO3EM3YusYCAsAAI90CeC1RybfnB GFRVvx2ODPrdXAtwx17XgXw96KbohZhuyNSK2E/pRstByXcayRtKO5BvCRRNhqWzIA2aKzzFoNJ SykgrbHXtn9iIiAAV7v5ME/c5TCrWgS5mZ2h+LYiuckWDhcKll8xqWveJEyjL50WdzRHhr0eWBO 78usybF2bxIQrBMS/L3A/2uk36VZfSbOZnYTRMvQQ7ArM4bx X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The pd-mapper driver uses auxiliary bus and Qualcomm PDR message format data. Add missing dependencies to the driver's Kconfig entry. Reported-by: Mark Brown Fixes: 1ebcde047c54 ("soc: qcom: add pd-mapper implementation") Signed-off-by: Dmitry Baryshkov Reviewed-by: Chris Lew --- drivers/soc/qcom/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 0a2f2bfd7863..432c85bd8ad4 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -75,6 +75,8 @@ config QCOM_OCMEM config QCOM_PD_MAPPER tristate "Qualcomm Protection Domain Mapper" select QCOM_QMI_HELPERS + select QCOM_PDR_MSG + select AUXILIARY_BUS depends on NET && QRTR default QCOM_RPROC_COMMON help From patchwork Wed Jun 26 19:12:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13713296 Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (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 4BEE31922C6 for ; Wed, 26 Jun 2024 19:12:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719429165; cv=none; b=K3eHAevbIFApOnGG3J6y7xaikREuNw8nF71A5NuYUpIDL9AM3OTG1xXiswhuRT3Gq+3FjlhZLQftMeNwvq/hqTMGL156R54Hd/GaQ5csXfajU3xDTQsuKOWzegnaxc4205DFE3mOhkWaEY7A1CA76maGT4dWT09TTrdWVXbBtoU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719429165; c=relaxed/simple; bh=Kv1JvM7JT7Hol03PSWbQh3LWWe1hKk6NQDRwutU9nWk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Y1d92H7RdLejQFnp5YuJ/Q01NDNuy1Oa9JAsCX+kR0rti+TeZx7DXmV3eF4d7ZOaMw53zImVF4i71N//KICK/SANahcP3JMsS2xYV6UZ/5aRlogvxprIOTd0igXpQbcaXmGDs2jPlQLwXmkN0P0LdQ56PqRM9wv9ZEmEZpWHZNs= 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=WB7LTYKo; arc=none smtp.client-ip=209.85.208.171 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="WB7LTYKo" Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2ec5fad1984so55354751fa.0 for ; Wed, 26 Jun 2024 12:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719429161; x=1720033961; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=wSKJuXKBkAopBTS+seqTadFlRj007hCjgH7LHZLlyLw=; b=WB7LTYKoqfKHeapzK/5YJcQ43rD70xs7esoHC2PDzYIOW6iMSZ1bFVm6ma76qy4Mfw HBBzhtcAN7cqXK771qlrUjZyhjhQuOHRG5mmoghJr/ie7X+iW8HDF+rp57IfDb4anY7k 7DVbmMX6KODR6k9Gr0h3SOopN8wWICYsib3E1JaO7bF7iV+X7pMfIxggIZJkbX3z1UD7 U7c6ZpRIxWJ3CS2aUSIPQZD58xewEo5p0CO2eDj/cbxCLPr0HuKv6IVw+ETrOyWdC0en YMwMMezzzLlmop9dAcmtV65U1NxVLpvJjrWE4jEj6sUslZO/FsiYI398F0QCzXhJ31y7 FWOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719429161; x=1720033961; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wSKJuXKBkAopBTS+seqTadFlRj007hCjgH7LHZLlyLw=; b=gx9jJ02uclRpo9nAswbAex7r85/hXshrHVzT0IQhwJ8K3/N2j+o9u6hhJ3J7KyqX2D TAq+/3/cEvH/KjlQ/ne1q7zsJBNrjjMKT4BQe46xTTzXIGu5ixo/9S0qTLRlv2FztfRe 35pqUlBrTTsVD6/2RrVQ8EV8sK1ZLqGBbLvFaCW1Mfb6yGGUbHJllz4K5UaLeyTlRURS CIJoHIrUxY5JB2kiM/WZZ4Xiay1pfCZkE8a5aWW87s4oDzZCmtjbYbslw9CLaqkCLz38 5IGZNm9un1cAvYxDV5EKKGxbVX09U6XqcKE4KgGHggDYxtAYsHh3yJp2lKq3mOJaOndL GZsQ== X-Forwarded-Encrypted: i=1; AJvYcCV2LwwT0HAWDu9uu7YFPJbuVOnyV41F2+OV01+qiJa/hSXoeY2iw9X3UzeCyHNhOBLNSqLZ5KFuaGoOYXF4uUw5/cJ2gZk12+AXM04nAA== X-Gm-Message-State: AOJu0YzKvJyDz2JDdYD6GQthqrEGciIhGgsH1+iHXKmyi9ImE+qnYf+H UMJacFkKP/EMff/EsgLvs0FHeYODvf7wd12yu2BS3tedwWKeCuEZWKD7g0WFUvM= X-Google-Smtp-Source: AGHT+IGFG4sxNqU7DY1MmWTg4jbFwY2LfYMUdwA2VHmpO432N2DCmhqCwOasTEphCyS8gOdCVbOBMA== X-Received: by 2002:a2e:b058:0:b0:2ec:56b9:2593 with SMTP id 38308e7fff4ca-2ee46479140mr12523021fa.37.1719429161495; Wed, 26 Jun 2024 12:12:41 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ec5ef9d5fbsm9737091fa.136.2024.06.26.12.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 12:12:40 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 26 Jun 2024 22:12:38 +0300 Subject: [PATCH 2/2] remoteproc: qcom: select AUXILIARY_BUS Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240626-qcom-pd-mapper-fix-deps-v1-2-644678dc4663@linaro.org> References: <20240626-qcom-pd-mapper-fix-deps-v1-0-644678dc4663@linaro.org> In-Reply-To: <20240626-qcom-pd-mapper-fix-deps-v1-0-644678dc4663@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Chris Lew , Mathieu Poirier Cc: Mark Brown , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=741; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Kv1JvM7JT7Hol03PSWbQh3LWWe1hKk6NQDRwutU9nWk=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ1pNhpr+FN7P7wKdBD/U6U+TF9W/LjnHWPy3iEGlfunfe v5DfZKdjMYsDIxcDLJiiiw+BS1TYzYlh33YMbUeZhArE8gUBi5OAZjIy1Ps/wz6dj85+m/KjTWy Toz9mczBHtnN6S/lzUpuLuz6lF+0rvVoy/Fie13uW5f05ST2BmRbb1iq9jridFSna8zFlsW8bJ+ sfn7Znrf8e33NfPf8yHlN9rweZ7vSoo293PMcBTvkEn+c+lYpVmn+XHpxoPPOv1/FZr593Tjjje 8PlxVW7zkDegp4TgkcNDPSeXJKh+9UzvX8sAzLgsf/Za4/zY7U6037Uca5t/q0qEFFsUH/eq4g/ yqnFru4uriKMzXCBvUlyg+s/zO2f5JlidsdIKArJdJ4/EGBaxlv7Klrq/MP2HVWtvqzPp27SYP5 g+nV5ze+Hg4xcvx4lqm1Xpi3YI2R7h/FWxI9r69MPAQA X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The QCOM_PD_MAPPER implementation made Qualcomm remoteproc drivers use auxiliary bus for the pd-mapper subdevice. Add necessary dependency. Reported-by: Mark Brown Fixes: 5b9f51b200dc ("remoteproc: qcom: enable in-kernel PD mapper") Signed-off-by: Dmitry Baryshkov Reviewed-by: Chris Lew --- drivers/remoteproc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index 48845dc8fa85..dda2ada215b7 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -166,6 +166,7 @@ config QCOM_PIL_INFO config QCOM_RPROC_COMMON tristate + select AUXILIARY_BUS config QCOM_Q6V5_COMMON tristate