From patchwork Wed Nov 20 20:22:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 13881440 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 30C76D743D7 for ; Wed, 20 Nov 2024 20:33:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3011210E7BA; Wed, 20 Nov 2024 20:33:15 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=suse.cz header.i=@suse.cz header.b="vT3Jx0IV"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="HmPAbJGo"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="vT3Jx0IV"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="HmPAbJGo"; dkim-atps=neutral Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id A78CD10E02D; Wed, 20 Nov 2024 20:22:55 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 223921F79B; Wed, 20 Nov 2024 20:22:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732134174; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=9sOXzjJInGiXNkoV+xMz1TiUcsm7q+4Zj1SfADWtn1k=; b=vT3Jx0IVXzELlSft5AXu8UxpszKWayxEo6OR7NrcSkekCDOQP4u7B2IRDciYp/29fVs3zM /o8yzl85TEkDt+gJv6olBU63//ZCVRBj2bcKPNOkFiyLNRysrRqD41tZvsLhM3gL+Due9E D05KPP0Jh0uOO5gV1Lw3ZO+3HS126O0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732134174; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=9sOXzjJInGiXNkoV+xMz1TiUcsm7q+4Zj1SfADWtn1k=; b=HmPAbJGoDk4DIMJHC8+dxdF5bWvoaln7NYZ7JUx9wL3lPcdbd/WAoYD3rFZ58uHjAJC+G0 DEuy2nnXAxaoZ3DQ== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=vT3Jx0IV; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=HmPAbJGo DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732134174; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=9sOXzjJInGiXNkoV+xMz1TiUcsm7q+4Zj1SfADWtn1k=; b=vT3Jx0IVXzELlSft5AXu8UxpszKWayxEo6OR7NrcSkekCDOQP4u7B2IRDciYp/29fVs3zM /o8yzl85TEkDt+gJv6olBU63//ZCVRBj2bcKPNOkFiyLNRysrRqD41tZvsLhM3gL+Due9E D05KPP0Jh0uOO5gV1Lw3ZO+3HS126O0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732134174; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=9sOXzjJInGiXNkoV+xMz1TiUcsm7q+4Zj1SfADWtn1k=; b=HmPAbJGoDk4DIMJHC8+dxdF5bWvoaln7NYZ7JUx9wL3lPcdbd/WAoYD3rFZ58uHjAJC+G0 DEuy2nnXAxaoZ3DQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 5BFE5137CF; Wed, 20 Nov 2024 20:22:53 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id MMd1Eh1FPmfvFgAAD6G6ig (envelope-from ); Wed, 20 Nov 2024 20:22:53 +0000 From: Petr Vorel To: linux-arm-msm@vger.kernel.org Cc: Petr Vorel , Masahiro Yamada , Dmitry Baryshkov , linux-kbuild@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Rob Clark Subject: [PATCH v2 1/2] init/Kconfig: add python3 availability check Date: Wed, 20 Nov 2024 21:22:41 +0100 Message-ID: <20241120202242.49131-1-pvorel@suse.cz> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Rspamd-Queue-Id: 223921F79B X-Rspamd-Action: no action X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[99.99%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FUZZY_BLOCKED(0.00)[rspamd.com]; FREEMAIL_CC(0.00)[suse.cz,kernel.org,linaro.org,vger.kernel.org,lists.freedesktop.org,gmail.com]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:rdns,imap1.dmz-prg2.suse.org:helo]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; RCPT_COUNT_SEVEN(0.00)[8]; DKIM_TRACE(0.00)[suse.cz:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Mailman-Approved-At: Wed, 20 Nov 2024 20:33:14 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" It will be used in the next commit for DRM_MSM. Suggested-by: Rob Clark Signed-off-by: Petr Vorel --- New in v2 init/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/Kconfig b/init/Kconfig index fbd0cb06a50a..2561eaebd1d3 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -262,6 +262,9 @@ config HAVE_KERNEL_ZSTD config HAVE_KERNEL_UNCOMPRESSED bool +config HAVE_PYTHON3 + def_bool $(success,$(PYTHON3) -V) + choice prompt "Kernel compression mode" default KERNEL_GZIP From patchwork Wed Nov 20 20:22:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 13881446 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 78D44D743D2 for ; Wed, 20 Nov 2024 20:33:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E184110E7B4; Wed, 20 Nov 2024 20:33:29 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=suse.cz header.i=@suse.cz header.b="VjbPx9I4"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="j9WWvi26"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="VjbPx9I4"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="j9WWvi26"; dkim-atps=neutral Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by gabe.freedesktop.org (Postfix) with ESMTPS id ED09210E16B; Wed, 20 Nov 2024 20:22:55 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A1519219C8; Wed, 20 Nov 2024 20:22:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732134174; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T8/tNUooQV0+xMGUbKphrSADXf1KF0K9IWmikCqItKg=; b=VjbPx9I4rQUrbMZ0TAh+bLsQqrxeeXdFuraltbyG/LQKi3M3QXBmaM45CU++3LC81rXhxv yk2LauXm4aCsX81XiksX7o3gWMwDlwEjdOnVxmxSAh/cMTPmS9CUEkY7B+HJ2Mz2xKwJr9 pT1la16pbnJ5m+0hvQ/25HhfAobtxDE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732134174; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T8/tNUooQV0+xMGUbKphrSADXf1KF0K9IWmikCqItKg=; b=j9WWvi26JB0prFm5+ahPFjfsyOav3aDUKdex7oXNQ3i+7xvAXmjEGO0F3bkKKVPcIER9eZ uGymagMQNamyBLBQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732134174; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T8/tNUooQV0+xMGUbKphrSADXf1KF0K9IWmikCqItKg=; b=VjbPx9I4rQUrbMZ0TAh+bLsQqrxeeXdFuraltbyG/LQKi3M3QXBmaM45CU++3LC81rXhxv yk2LauXm4aCsX81XiksX7o3gWMwDlwEjdOnVxmxSAh/cMTPmS9CUEkY7B+HJ2Mz2xKwJr9 pT1la16pbnJ5m+0hvQ/25HhfAobtxDE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732134174; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T8/tNUooQV0+xMGUbKphrSADXf1KF0K9IWmikCqItKg=; b=j9WWvi26JB0prFm5+ahPFjfsyOav3aDUKdex7oXNQ3i+7xvAXmjEGO0F3bkKKVPcIER9eZ uGymagMQNamyBLBQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 3506F13942; Wed, 20 Nov 2024 20:22:54 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id IIufCh5FPmfvFgAAD6G6ig (envelope-from ); Wed, 20 Nov 2024 20:22:54 +0000 From: Petr Vorel To: linux-arm-msm@vger.kernel.org Cc: Petr Vorel , Masahiro Yamada , Dmitry Baryshkov , linux-kbuild@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH v2 2/2] drm/msm: require python3 and xml.parsers.expat module Date: Wed, 20 Nov 2024 21:22:42 +0100 Message-ID: <20241120202242.49131-2-pvorel@suse.cz> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241120202242.49131-1-pvorel@suse.cz> References: <20241120202242.49131-1-pvorel@suse.cz> MIME-Version: 1.0 X-Spamd-Result: default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[99.99%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-0.992]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_SEVEN(0.00)[7]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo]; RCVD_TLS_ALL(0.00)[] X-Mailman-Approved-At: Wed, 20 Nov 2024 20:33:14 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 0fddd045f88e introduced python3 dependency, require it to quick early. Signed-off-by: Petr Vorel --- Changes v1->v2: * use HAVE_PYTHON3 drivers/gpu/drm/msm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig index 90c68106b63b..03ea0c83f11e 100644 --- a/drivers/gpu/drm/msm/Kconfig +++ b/drivers/gpu/drm/msm/Kconfig @@ -11,6 +11,7 @@ config DRM_MSM depends on QCOM_LLCC || QCOM_LLCC=n depends on QCOM_COMMAND_DB || QCOM_COMMAND_DB=n depends on PM + depends on HAVE_PYTHON3 select IOMMU_IO_PGTABLE select QCOM_MDT_LOADER if ARCH_QCOM select REGULATOR