Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1142968lqo; Thu, 9 May 2024 06:07:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVnfWW8lbaGbhi753OCO4+uF2UV5tHPsS0DZNb3NE1R8Ju5bGK76DW7+/CzoAhOr3UezdhB/e5S2jKnR6sKRkCqxJNBV2acdJ+g7+MtKA== X-Google-Smtp-Source: AGHT+IEs1Vifu6pmoHzsD4fDIO6S3zucrb3U/fm71KxmmtHq2SUMqHD+boBBeqn5tx4+ye3/6FBV X-Received: by 2002:a05:6a20:6f8b:b0:1af:d4b1:88a3 with SMTP id adf61e73a8af0-1afd4b18c6bmr1993295637.20.1715260077337; Thu, 09 May 2024 06:07:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715260077; cv=pass; d=google.com; s=arc-20160816; b=TRMxzLD1wssHfwrJrMn3RDxML6vrKYGMAN3ky/mavCBF272LdyyZiFN5P57WbpkHML 3bT99q0T1PqNoKSj/ktDjcb3oxOPuk+9F08y/0pdUM19xF0SjIRD4+AajCm97gfKXKAv UtlyJQYS7PCjRaJpNvpxjUHvbL/5BHBdWUliuv30uSywBG6ke0iFWCT5jn02+s7Wo/YP /CI0WsrERC2Lxjg8KHml/LEFkp4+mUDeO2wePFjI/UeLi06GKweQjvJ2/sCS4FYl1Din AUBI/IWCEi8+KJPAXRSGYK8o8NXo3fWOwQhtQetpaHhowEZcPVqluwEuFIV3ZjCE+TIS 7TCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=dq/7jv0B6IQSIW5ezeZnjPK1GMhKRF8SPgvddGu3eY8=; fh=raM4LWRv9KIxYZpsWiQq/5DX7+DTLVVD1D0oOAKKhDU=; b=smiZ3cW3rmldG4R9RKrZEAwxtGQ+alFEPy/5JVIlJtHMzuJufZRZiF5B2BguBi9EST mB8ebaZGjMXiKErY8geFXPouBwU7JUpEbI85wt5FJG1hun1MAB0v09rp8+5jZC97K4jS //Jrzsrtb7SLBTEtRJT0YItgvtNh8NgHgwzdpwlkpJOTLmArdApIAiwU30vD6pTwjza6 z5BNXmLmZnNZWSCNUZqvrLwBYTBIqcqxUb3Z1KAvM9QqxQjxqHDn/Y2VO2Dtdef1gjyO AwsJ7QBp/PrvZdc/av9ey5ICOkjhCEsvq0GAIZcCF8xv0paIm//lPAzCnRA0dFaYyK3T 7gVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SeSSZTCn; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-174527-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174527-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6356186ccdasi654994a12.441.2024.05.09.06.07.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 06:07:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174527-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SeSSZTCn; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-174527-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174527-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0AE36284024 for ; Thu, 9 May 2024 13:07:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7CDEA1514F4; Thu, 9 May 2024 13:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SeSSZTCn" Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01344147C96 for ; Thu, 9 May 2024 13:07:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715260069; cv=none; b=CL9w1rnqx30RGf4zih54NXvJuo6PxgyAnpOVnF2R6+hGxtUvCdTiuksE/KgOxBstSaiVWfBJ1iyAWx5FG7fvgr6SdvIHb+FgRvOLf75zeC5ZkEILJ79iUAiicDhu+mon/aT438KQip13dUCgSWT45DjL7CRD5UwV7X9hQzkuhUY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715260069; c=relaxed/simple; bh=qnwFbH6hbNfNo6t7d3oWIOBDIP8qMb2iCaLIEzvTNro=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=cvoxPLM0q0Vm1DkVPbOnjgDSjg2f5K2+FOL3ljUMaiJ8cqglRfK49ZiWjwRrocObaxZqxpYJuQURI1dbBqIduQ3ODVlM5VTtG5Ppdyxd5IzK8JK91jlyR3i2BKWuxow+W4mdI7ZgHsXHmIMf7pKoVhh/Bq0WQdjWPBg+BAiDgTU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=SeSSZTCn; arc=none smtp.client-ip=209.85.210.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ot1-f52.google.com with SMTP id 46e09a7af769-6f040769fc5so401476a34.1 for ; Thu, 09 May 2024 06:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715260066; x=1715864866; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dq/7jv0B6IQSIW5ezeZnjPK1GMhKRF8SPgvddGu3eY8=; b=SeSSZTCn063EgJ+jsq7aYpWuvSJ+VyZNlkAOZ2o2rF/IHgl/CL3tGJCcGeZB4e4pFD RpHp66j094TZIIzvkwdvJOHxed6Bz/QppeaNzRqRt9hRyE5RmsMLIpglBHWFO4EfHUU5 Uhqt05EfchKs8U2D3dx4he5UlevUlQ5fymIN4jphaTIBvAeia0vh4Pmn06n4Uj8I5lBM 080j8p4M0ccP0Xlmnwgi5B1b68dzTk/AwNuLfhA9Nr8wK9fOcUNeXGV0AZYrDwYcAZNL DqkN9qp3spp1hKkmCaQwoyPLrwKiAN+hHlt80QMgXaTJSacRx2g2Yk65wyPjspFV+8MW AmXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715260066; x=1715864866; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dq/7jv0B6IQSIW5ezeZnjPK1GMhKRF8SPgvddGu3eY8=; b=w13xsUuK03M2lJ+hizzeKc6Q5LJNt54McwFyLQaiajCozHt6UHYq2OSiTeapS+/JNd nHbCp7n8lX3r6GbyVCNyaqKFJAGm8LLT6gIDGLl/YERAHB43FHXk6z1YbtZWS4Y7StTf XurzyrD3zPtgcWiiRk+3oIfIsiEqDPG+uKqbDM7nFlXvMOzPph1j4Q9HkTPMbOk+nvTp iKTmWRCDyaJ7cjbkgByXSrsSrBVxmhk+vvfHGkAu/bv4q5sxu9iVbIcjL14wXlZSRGA4 8LojOY/yfS/TbUYNMZCqYCKsDlwJImsdznLyOMMoAMGWuNW0s7CytpChRK5nYiDF14xp QQJw== X-Forwarded-Encrypted: i=1; AJvYcCUUZX+8C7J+BluRzizlQ/lEqKIfVZZR5o01ICUNwLRQt4IknbvsFald1oPFDeHaC7R0PZsBPHIDo9EamAnMWiAY9rhnptfO9axSShID X-Gm-Message-State: AOJu0Yzu+KPg5LncDjw87NixPAfWW+U8VHshPPHjdNQpBBJxLFkG/KO7 RI0XFSxwelJUmK1xaqANsbiE51yGoepAMw5GhBW/DB+6M1+jDj0IH3qEwbs55caFAjFuDp+hRYE 9XkE+vd0sqit9/JUNNz7IM3/Z5920KDKvtgk1/Q== X-Received: by 2002:a05:6830:4118:b0:6f0:7e5a:95ec with SMTP id 46e09a7af769-6f0b80e3a15mr6185005a34.37.1715260066027; Thu, 09 May 2024 06:07:46 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240507230440.3384949-1-quic_abhinavk@quicinc.com> In-Reply-To: <20240507230440.3384949-1-quic_abhinavk@quicinc.com> From: Dmitry Baryshkov Date: Thu, 9 May 2024 16:07:34 +0300 Message-ID: Subject: Re: [PATCH] drm/msm: remove python 3.9 dependency for compiling msm To: Abhinav Kumar Cc: freedreno@lists.freedesktop.org, Rob Clark , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, seanpaul@chromium.org, swboyd@chromium.org, quic_jesszhan@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Wed, 8 May 2024 at 02:05, Abhinav Kumar wrote: > > Since commit 5acf49119630 ("drm/msm: import gen_header.py script from Mesa"), > compilation is broken on machines having python versions older than 3.9 > due to dependency on argparse.BooleanOptionalAction. > > Switch to use simple bool for the validate flag to remove the dependency. > > Fixes: 5acf49119630 ("drm/msm: import gen_header.py script from Mesa") > Signed-off-by: Abhinav Kumar > --- > drivers/gpu/drm/msm/registers/gen_header.py | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry