Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1009435lqo; Sat, 11 May 2024 03:50:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVd5q4Q19qBlknDg+DJ/q5rjKqG1kmBFmB4duhmWOf5nNTKTVYzH0A/97cPQAp9lCIl53n+mxp01nLJPm0/WYAZOlycK4P35tMuX5lK6g== X-Google-Smtp-Source: AGHT+IG8OLFHNFPI1BMCQDh3uHyZStI3IwhfCNtpRmK1I1JacagRlPedxUljKS45524aReArnkvW X-Received: by 2002:a17:906:c7c2:b0:a59:c62c:212d with SMTP id a640c23a62f3a-a5a2d53ad61mr281235466b.14.1715424611994; Sat, 11 May 2024 03:50:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715424611; cv=pass; d=google.com; s=arc-20160816; b=XhXLw+PMnO9VI04QdxZvw17wcg8jIkq/b6z1T/ymrxkc/13VntGQ4xBWKrGzw+wLSB 2Iv4jGX1KuNrQ5bcw+Rks1O33FWpnfmfbGpxou3U9m1VDnQDrDW+7JctKT9UP9EVIp8Z 9mQk7dW3j4+ey3OYcnRIOwh/Ga6AesOy+KUpBD/VwY7kea8YQWYWDbs2tEe+29sLSvtw fxx2/5Oxc3k0ghcuPxzRxufs4U/35WJ8aE5HA/QPurxGD/2JcQv9H9nJL/XGz1zZXJJ5 10IzHKEi+E84GMrLIMlRFQ5YizGCn1ui8NVXQblHUHFfVejYxz2HkwNDNA/2UGcJ0esW zTyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=x9tzUVfN0KhpYmc4a0OVLANN4g1WHLu0Epz797hO85s=; fh=GGsXGfwwsBFDNp/jAj105xCkbnZyw08RK51aYNY+8lA=; b=KpaN4DoOQt+nBpRHcfk5vyeLFlUPGkUPNhnLQuxc4NSqicFbF0lOARY38BzcojYQS9 PoJbewAJFaMPx3JfDxVyNbuhknmWfRtWOWjA+UN9nrGXF2Ynp4/diYtjzK+vjhjMfg0Q I5FtdWSzfmD6a2WrY/p3CKZJ8BRewU3qhTY6zmxFGtkN/iQkirHoMY8Y4L6FW3quTZN7 5Kdf9NTzBidv1F2FdpOPsEUVEf3khMxvq1bfUEYr7LrpixINYPJS4uEcx04IvibkXDlF lokZwpS0WV094wFAMrVkXY2X89HDLT3arYIlfY1Mo3ENDRC7NgH3D6AU7Ulasvj06Wfz bUhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Og4bmphZ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-176493-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a1794674esi290899466b.98.2024.05.11.03.50.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 03:50:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176493-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Og4bmphZ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-176493-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8C2C51F234D6 for ; Sat, 11 May 2024 10:50:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE26E54BF6; Sat, 11 May 2024 10:50:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Og4bmphZ" Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 529DB41C60 for ; Sat, 11 May 2024 10:50:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715424604; cv=none; b=Ga/n+mgtcxiGQEksWsp1XkC4vJjuhuT0OdZwlxuJ4mfDFQCMlBZH4MN9iItTEUFxDohlTdIVR9rSluMIM8bjRPwwEwrUGTMgSEtyvR5Jg/jL/uD8vrBhW0wMwjWdMvfv64/Fuo+EUmhe4m1+Y81Zl1SRdX8RS6ytHL+MI2coWt4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715424604; c=relaxed/simple; bh=4y7Qf+jN6LlUE0OdF/F/rEDDNHszeU8elr9PJ2tH+iE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=KeGJC0r1zZCMIypy8DoCiV1fPmEmLg6Qbwlq6L77TtsAx2pWpn3xFplOWMaqQY/ppKuJbMYGp6Lw7effbnXDyfPPgKCr2FS16FsFlkVXdllWtz2yB7biZVxV5fcwiptudqunVCJPQmcQR1fpDlZh4mgHpLl/SUR62cOiXOZYqqk= 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=Og4bmphZ; arc=none smtp.client-ip=209.85.167.52 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 Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-51f3a49ff7dso3653237e87.2 for ; Sat, 11 May 2024 03:50:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715424600; x=1716029400; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=x9tzUVfN0KhpYmc4a0OVLANN4g1WHLu0Epz797hO85s=; b=Og4bmphZI9rr20GWN+Xl33+7kr0bo1eHMhH8/WMLCX1m7yfQFoMvmrdVErqxZc6739 k+c0rxYPTlo3mhs7dDcZM0bzrIrTY4PZvu1hmowPEV9JrWQvaUrFuOspqJVF8JqPoncu 6u+3baLS5w/uaoFVWRThu0NuqREOkB36aCr8CrEDmom49J4fgzE5VJ4ztsCX1OMjBMf0 Mo0UODSVunHYlhbFKxf3n7HjcmBTxT65+Vp4tJXxeXgq9g9cxXosMHUV7a2jeueEnJPh P/k3Ogn4fttby8MYzl8ymVbbXDlgz3PG+Shj3sucMiwfs0WS/JtZDXj0ejJTZ41DTOdi dW2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715424600; x=1716029400; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=x9tzUVfN0KhpYmc4a0OVLANN4g1WHLu0Epz797hO85s=; b=pAcVGM637siQtnfOL9ceNL+KuLHySiDFkT1KRpc8GskekLSso02stQK4ZFCplK91Ri lExrJJLiFenvsARNF+bVlXd6LFRodfdV22L1mMg1eslYmaAtZyC+6oOU5ccT1ro/TZhO TmNDYMJ+PKu6Ry43R6yC7/pOoW4ZH/hh5ncrc41wiVDuMlQR7tAHUBSzic7FL9pGu/Hi 3Ciqr4enkEX+jDXsaPbRAIc7+yqICrp3jLzLNdqpPkeJhtsKr+AMvjBAhLsaLknzu4dL e5fR0BRoj54aaeUYCAaUlro9N/zxPfyHA53c7Oo81zwBFJSDW0VzmKIog1QTSceiB8P7 3kww== X-Forwarded-Encrypted: i=1; AJvYcCW6GKJpNU2p2drkdj+Gm9Uvl4u7n6rXd5d/AINfV9qvLIl9ZVTd2xM8xTb9iAQHRNf9AkcRZxHPuPXyhzuapNCDIcDbN1rBVIikwCSW X-Gm-Message-State: AOJu0YymNFpUmFTxGyA2UZ2qxfN6r4gVErwpK7tMgua9ACvxI3rlVzl3 9OEVHZfwEu3nGsyyxLL3lOlNEwmzjY0yQibE383VRWAf//gLrDVUGusXcatu1t25uAOwmZ3fLzr M X-Received: by 2002:ac2:4d84:0:b0:517:87ba:aff3 with SMTP id 2adb3069b0e04-5221016e7f3mr3060938e87.43.1715424600467; Sat, 11 May 2024 03:50:00 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-521f35ad59asm996021e87.45.2024.05.11.03.49.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 03:49:59 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 11 May 2024 13:49:59 +0300 Subject: [PATCH] wifi: ath10k: fix QCOM_RPROC_COMMON dependency Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240511-ath10k-snoc-dep-v1-1-9666e3af5c27@linaro.org> X-B4-Tracking: v=1; b=H4sIAFZNP2YC/x3MTQqAIBBA4avErBtQqaiuEi38mXIINDQiCO+et PwW772QKTFlmJsXEt2cOYYK2TZgvQ47IbtqUEJ1opcS9eWlODCHaNHRieOg9OS0osEYqNWZaOP nPy5rKR8f52+UYQAAAA== To: Kalle Valo , Jeff Johnson , Stephen Boyd , Rakesh Pillai Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1558; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=4y7Qf+jN6LlUE0OdF/F/rEDDNHszeU8elr9PJ2tH+iE=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmP01XglM6PDpJ5FKRfpGy+Q6xENazUhdYgRoDQ //KWcLhheaJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZj9NVwAKCRCLPIo+Aiko 1UIQB/49CRde93czh84lwUe7x1+pSFX90yrLwvtSOJXkI28HtFMfoiuu1exAppUo1eypZPewm0V MbiceretlnNrsNuh2ac19xj2SWWJjhxLwGVsUzP7BPuqk+u1o5Dg9nTGIBD9gMqt8VrYJodpFBf 3TjBdR/HjcZRPAXteOsDXzLNU3DWZC3w3blS3jlXOIJ9tihUQq29OHqIDlrTYhkx6DE04Jaavm2 bOLwrClPDvn3VTK/Yh7DZnQBFRtnNQQ8F/czV+oTxF8EO03m1/QgJSOjRTBP8XJtNmSurL4SlcF LHCnykEkypVGalLOetMDKiKiQNom/6J2fWakD55YJc86mMAO X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A If ath10k_snoc is built-in, while Qualcomm remoteprocs are built as modules, compilation fails with: /usr/bin/aarch64-linux-gnu-ld: drivers/net/wireless/ath/ath10k/snoc.o: in function `ath10k_modem_init': drivers/net/wireless/ath/ath10k/snoc.c:1534: undefined reference to `qcom_register_ssr_notifier' /usr/bin/aarch64-linux-gnu-ld: drivers/net/wireless/ath/ath10k/snoc.o: in function `ath10k_modem_deinit': drivers/net/wireless/ath/ath10k/snoc.c:1551: undefined reference to `qcom_unregister_ssr_notifier' Add corresponding dependency to ATH10K_SNOC Kconfig entry so that it's built as module if QCOM_RPROC_COMMON is built as module too. Fixes: 747ff7d3d742 ("ath10k: Don't always treat modem stop events as crashes") Cc: stable@vger.kernel.org Signed-off-by: Dmitry Baryshkov --- drivers/net/wireless/ath/ath10k/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/Kconfig b/drivers/net/wireless/ath/ath10k/Kconfig index e6ea884cafc1..4f385f4a8cef 100644 --- a/drivers/net/wireless/ath/ath10k/Kconfig +++ b/drivers/net/wireless/ath/ath10k/Kconfig @@ -45,6 +45,7 @@ config ATH10K_SNOC depends on ATH10K depends on ARCH_QCOM || COMPILE_TEST depends on QCOM_SMEM + depends on QCOM_RPROC_COMMON || QCOM_RPROC_COMMON=n select QCOM_SCM select QCOM_QMI_HELPERS help --- base-commit: 75fa778d74b786a1608d55d655d42b480a6fa8bd change-id: 20240511-ath10k-snoc-dep-862a9da2e6bb Best regards, -- Dmitry Baryshkov