From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 048CE606A325 for ; Mon, 30 Nov 2026 13:12:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=ZOSYIn0L; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=gZCPe5aw DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Unsubscribe-Post:List-Owner; bh=RQu3pm8pt1qH13i42fAAE82db1u5hqmqIeqxhQqNY0s=; b=ZOSYIn0LFCx+ajD5J9I9gpEJxA qTsTAFlicoeiVWMYPIz1i4Ha+jWqusWXv1qNS1H0QGgijdANJDWHsIQNobMqqjYfFACkrCJFARi99 BpVMPEP0OHFmtbstR0xkvH/9y4oTC2lU0j8cDHk4+MGKvfKlURe44IR8cnx+vvC0sLCsc53eTbswd PXAMpWoisfs6Gz+LSJ6LH4CkJccmr8PdrwdwqYVJvUQm++gaBQfwmH5cqU44t+abprxI5hhcS3ar4 AzSnjuXTvuJFfMRWjxYWt2dSuydloCqDfp1XktowvJQKCP5Qi8MhKp0WWX26z7TUeoK6mVacQHZIR cQvWkWug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY0iF-00000004WSy-3RZH; Mon, 30 Nov 2026 12:42:31 +0000 Received: from m16.mail.163.com ([220.197.31.3]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY0iB-00000004WRZ-3FUR; Mon, 30 Nov 2026 12:42:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:To:Subject:Date:Message-ID:MIME-Version; bh=RQ u3pm8pt1qH13i42fAAE82db1u5hqmqIeqxhQqNY0s=; b=gZCPe5awIYNm6Q+hH4 26UwVAQ9AIeteiuLaopIE0fzKyw3jdDKYgOpt9lPhPo5AyYlUJP17/zu8EaGrQY3 DeJmf//AXRD6ekiSZlHjZq9Z+v7a5VE1Alc7JygXR9TkdfgawDLOLFSu2nHtZRDV cY/wZA6+mWfghUH3/+/jT2mSg= Received: from localhost.localdomain (unknown []) by gzsmtp2 (Coremail) with SMTP id PSgvCgDnph0cbw1rwLkhIg--.36958S2; Mon, 30 Nov 2026 20:42:05 +0800 (CST) From: Pengpeng Hou To: detlev.casanova@collabora.com Cc: ezequiel@vanguardiasur.com.ar, mchehab@kernel.org, heiko@sntech.de, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, hppiscas@163.com Subject: [PATCH] media: rkvdec: select GENERIC_ALLOCATOR Date: Mon, 30 Nov 2026 20:42:03 +0800 Message-ID: <20261130124203.74167-1-hppiscas@163.com> X-Mailer: git-send-email 2.50.1 X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: PSgvCgDnph0cbw1rwLkhIg--.36958S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7Cry3Jw43tF1DAr43ZFWxtFb_yoW8JFyDpF s8K34xAF4kWw4jqr4DXw1fWayFyanYvFWUGr4vq3W8Zr93ury7C3sY9F1fAr9rArn7Z3y3 G34FgFWUAF4YvrUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0pRZYFPUUUUU= X-CM-SenderInfo: 5kssx2xfdvqiywtou0bp/xtbC7h0ByWsNbx1RmgAA3k X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261130_044228_308067_D1794AFA X-CRM114-Status: UNSURE ( 7.31 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 The RKVDEC RCB/SRAM implementation calls gen_pool allocation and free helpers, but VIDEO_ROCKCHIP_VDEC does not select GENERIC_ALLOCATOR. Cross-platform compile-test configurations need not enable genalloc via the Rockchip platform and can therefore fail to link the decoder. Select GENERIC_ALLOCATOR from the driver that uses these helpers. The issue was found by our static-analysis tool and manually reviewed. Fixes: e5640dbb991c ("media: rkvdec: Add RCB and SRAM support") Signed-off-by: Pengpeng Hou --- AI assistance: gpt 5 (patch preparation and review). drivers/media/platform/rockchip/rkvdec/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/rockchip/rkvdec/Kconfig b/drivers/media/platform/rockchip/rkvdec/Kconfig index 5f3bdd8..1617012 100644 --- a/drivers/media/platform/rockchip/rkvdec/Kconfig +++ b/drivers/media/platform/rockchip/rkvdec/Kconfig @@ -9,6 +9,7 @@ config VIDEO_ROCKCHIP_VDEC select V4L2_MEM2MEM_DEV select V4L2_H264 select V4L2_VP9 + select GENERIC_ALLOCATOR help Support for the Rockchip Video Decoder IP present on Rockchip SoCs, which accelerates video decoding. base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244