From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3416143C46; Thu, 13 Jun 2024 12:09:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718280568; cv=none; b=W6Z8p+4CYuKRdBTLmXbcsKhkpV8/rae0XRuCaEo6zmZ+2OTbK0RMRbw67zaUN6SCCLxFiTDoBQGtcrxpNS/TilAw08d8h33gfH5uo0JmtHCE+k6mVUMWqm3b60ciALAVCobYBBvfFdZH9Z5jcONvdlEN1M2GYfiKfz1FqBglzbA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718280568; c=relaxed/simple; bh=6a0t3fJmj+bQCE7uinrbt1w+JcGrZ/hFibxaqOwbt8I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CCZOIf3BTAVmAKwFTcp9Ndl3kKZCNSy+zmmJme81zAFGmP0oV0PLKwTDCjWN8Im87Uqn+gImT56WFyeSmloz+KfcyoOLTOFLF+4ZCXAuJMHpBHaisSW15oDoVhLimpeavnRRpAxqeMRdJ+L0uYxQ5PPPHQOOFNtsCRpAx7XKfSM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gO6hFucW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="gO6hFucW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E380C32786; Thu, 13 Jun 2024 12:09:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718280567; bh=6a0t3fJmj+bQCE7uinrbt1w+JcGrZ/hFibxaqOwbt8I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gO6hFucWs29CFFIkdnw1jCqpgZeBaD4G4oflIo7L02qkGw3ulaJnTqhPFxkfmpoIN KupxWSRiSZldm2fMMrnH9qNCyr3coG25MglLroY5SgPI9eIkMXafq9xLr55CYeF6jk rgAYzWfyBJ8SjNjLNErxKEn3Fy8tmkBN0oGOslJg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Dmitry Baryshkov , Kalle Valo Subject: [PATCH 6.6 097/137] wifi: ath10k: fix QCOM_RPROC_COMMON dependency Date: Thu, 13 Jun 2024 13:34:37 +0200 Message-ID: <20240613113227.059682543@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240613113223.281378087@linuxfoundation.org> References: <20240613113223.281378087@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Dmitry Baryshkov commit 21ae74e1bf18331ae5e279bd96304b3630828009 upstream. 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 Signed-off-by: Kalle Valo Link: https://msgid.link/20240511-ath10k-snoc-dep-v1-1-9666e3af5c27@linaro.org Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/ath/ath10k/Kconfig | 1 + 1 file changed, 1 insertion(+) --- 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