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 CA80837AA81 for ; Fri, 15 May 2026 07:23:17 +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=1778829797; cv=none; b=cPOoIzTmblSFRbXGb7EcGInSpXfRCs7uKPYuU+6U78CfkPgTQIYQYmgkGQ/LJMfve6e3zG07Bsmd1Y2CFUiGbJfJbFRP/FekdCMLV6s6uqhV6vrlvVEuA4Cj72WfXJtJ5CaW2TBxh58XbJJRIyrQaHky+ODmvnKXY5193We4GDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778829797; c=relaxed/simple; bh=/niLNAXyZcqaN36fMP8S3m/C8rKkXzswTul81G2zBiI=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=myETn83XI6ymOjvTIb//Bw6YI06ny0oFMWFTcmQfHQzAvJS0fEfatWtKebdvcBV3lD/HEHvXnIf6uou2eZ86Gvb3k2dsTGINTFWtNKsJ8vvlmHDxeTUNsdjF2VFnWN56iMOkbGJLQ5Si+0+cOji/MyUtzslrqX/ejgQzZQapYJA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dP01THu1; 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="dP01THu1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 402ABC2BCB0; Fri, 15 May 2026 07:23:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778829797; bh=/niLNAXyZcqaN36fMP8S3m/C8rKkXzswTul81G2zBiI=; h=Subject:To:Cc:From:Date:From; b=dP01THu1jU13DTWaSfC2ltJHkEjrgeCAJMJ9fnmqS5NeqdvDlMEaYciqSaqZz2k0C z/21bu1Zs2oMTBF/NBiO6x6sTyjZzFmqjB/P95zbNYZemh1hsBE0By/+xK9da3bXwc nEkPLTCvSz5HdK6SCIpeGgzRcHkho8SwvK1bZFDM= Subject: FAILED: patch "[PATCH] media: venus: fix QCOM_MDT_LOADER dependency" failed to apply to 5.10-stable tree To: arnd@arndb.de,bod@kernel.org,dikshita.agarwal@oss.qualcomm.com,hverkuil+cisco@kernel.org,konrad.dybcio@oss.qualcomm.com Cc: From: Date: Fri, 15 May 2026 09:23:09 +0200 Message-ID: <2026051509-rigging-casino-cbcf@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.10.y git checkout FETCH_HEAD git cherry-pick -x aa23c94cc433b145d1ce93820ecdfe16d8940e28 # git commit -s git send-email --to '' --in-reply-to '2026051509-rigging-casino-cbcf@gregkh' --subject-prefix 'PATCH 5.10.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From aa23c94cc433b145d1ce93820ecdfe16d8940e28 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Mon, 30 Mar 2026 12:08:21 +0100 Subject: [PATCH] media: venus: fix QCOM_MDT_LOADER dependency When build-testined with CONFIG_QCOM_MDT_LOADER=m and VIDEO_QCOM_VENUS=y, the kernel fails to link: x86_64-linux-ld: drivers/media/platform/qcom/venus/firmware.o: in function `venus_boot': firmware.c:(.text+0x1e3): undefined reference to `qcom_mdt_get_size' firmware.c:(.text+0x25a): undefined reference to `qcom_mdt_load' firmware.c:(.text+0x272): undefined reference to `qcom_mdt_load_no_init' The problem is the conditional 'select' statement. Change this to make the driver built-in here regardless of CONFIG_ARCH_QCOM, same as for the similar IRIS driver. Signed-off-by: Arnd Bergmann Reviewed-by: Konrad Dybcio Reviewed-by: Dikshita Agarwal Fixes: 0399b696f7f4 ("media: venus: fix compile-test build on non-qcom ARM platform") Cc: stable@vger.kernel.org Signed-off-by: Bryan O'Donoghue Signed-off-by: Hans Verkuil diff --git a/drivers/media/platform/qcom/venus/Kconfig b/drivers/media/platform/qcom/venus/Kconfig index ffb731ecd48c..63ee8c78dc6d 100644 --- a/drivers/media/platform/qcom/venus/Kconfig +++ b/drivers/media/platform/qcom/venus/Kconfig @@ -4,7 +4,7 @@ config VIDEO_QCOM_VENUS depends on VIDEO_DEV && QCOM_SMEM depends on (ARCH_QCOM && ARM64 && IOMMU_API) || COMPILE_TEST select OF_DYNAMIC if ARCH_QCOM - select QCOM_MDT_LOADER if ARCH_QCOM + select QCOM_MDT_LOADER select QCOM_SCM select VIDEOBUF2_DMA_CONTIG select V4L2_MEM2MEM_DEV