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 D60DF3E5562 for ; Fri, 15 May 2026 07:23:12 +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=1778829792; cv=none; b=Nc7Tb2ZzENAs7jb+lee6pXyhuYzCbx4Tvu3GnMVI+IPGfrqqm8cZ3muUE2jtXmRTe4LtJHxOIrcJAGLLJn/bIWZ4CEuxll7dym52aWYeQx1zbams3UVgBQz3t2jTdtg112wpri+7UeYmKxvyzK0zFWdsyNkhb23buQR6TdTHwg4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778829792; c=relaxed/simple; bh=Ga/5Jc8dRGElv8YJJaFNgJf93exmMCdSpUkGnrP7C1M=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=GyeS3CN7I+2swc+0qn9IKYBW4OxHrV8BMIpYJgyOGVLwmXBUEar2SLwZvJFlGD2WLf6dmFAiOY+GLjlyXFPKorM/sk23xWhHTn+4b8wlFGUuMIIm/Ft281LzX51V8P/HH/7g379KyBE+SRa2i7LwN857Nvo7zv5rtkV3mB355/M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e7XhIOkS; 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="e7XhIOkS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2522CC2BCB0; Fri, 15 May 2026 07:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778829792; bh=Ga/5Jc8dRGElv8YJJaFNgJf93exmMCdSpUkGnrP7C1M=; h=Subject:To:Cc:From:Date:From; b=e7XhIOkSGQ7Qp+Eqdg3WmKl7HX8IhJu+W5XCDqvIwY+Gjniz5R1zazLsKNxcGns3n MS0XhvLBFh9VRbgm2M4q6EFB8b2ZCnWVHhzw9pAa8MBbLbXhmXyfNCPAYCDR9m8DUw xkotLGarodfQ6JjNMyO5TQxI7geYPT7TrD2qKUOw= Subject: FAILED: patch "[PATCH] media: venus: fix QCOM_MDT_LOADER dependency" failed to apply to 6.6-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:08 +0200 Message-ID: <2026051508-daily-deafness-933c@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 6.6-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-6.6.y git checkout FETCH_HEAD git cherry-pick -x aa23c94cc433b145d1ce93820ecdfe16d8940e28 # git commit -s git send-email --to '' --in-reply-to '2026051508-daily-deafness-933c@gregkh' --subject-prefix 'PATCH 6.6.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