From patchwork Sat May 11 22:32:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13662531 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 22C75C04FFE for ; Sat, 11 May 2024 22:32:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 399C410E084; Sat, 11 May 2024 22:32:51 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="zUL5jI1h"; dkim-atps=neutral Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6BA0410E045 for ; Sat, 11 May 2024 22:32:49 +0000 (UTC) Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2df848f9325so39282521fa.1 for ; Sat, 11 May 2024 15:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715466767; x=1716071567; darn=lists.freedesktop.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=ayQkPZ/+Ja6xRaXyLxW87mdfZ/SJLfKA5C9uQsxLStw=; b=zUL5jI1hBda/iD2u10afFVeCI3nWlqtBTWZo2SXRULVrwfW2vJZTQZ9kSFig8wNnUE mLnNLst1S7svdTq38uSKVNn9c/nv7PSxPQHa4UcNqdpjHIdvUpHbW8fW/7hd2jQX3nji cGHp06JB9RAEne2HeTc3gRSLPZUpw1RGzRjtBLXA0OiGtNnomqy8Xt6J9jhaR7s+DH+W X7sB9Dm4sIeFacR7MFj8r3dsfVEq/IhsIsd6WNrzSWZ5GuYigPLunKC3m/gwRjjeQiv0 tlZBoeWxg5przpv/kFbXeYGvz9lPytW0AU1Y+eCW9b6NOMNSdpRcYH8/XE5XOJLdHc3e IUaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715466767; x=1716071567; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ayQkPZ/+Ja6xRaXyLxW87mdfZ/SJLfKA5C9uQsxLStw=; b=dE6DX0QgX4h1J9bPXTLD2/uXgitYphwbvoy94+RUieMdmtK1vwrEwIbbcqw8G1EBWx jCPxc4YmE70dIRLdO5kvx7K7Y4yHowLBgUJYbUcsTx5HSeEFh4SE1nBcQ9WhfjRYCaDe bl3LTqkYN2jKwj4wysuYoaaKnc5YL5vMCVxhCXf1YhQDLkAqAVBprkZuyCzX4/nwNcMx +rjGY8imSgl3LWpAXNev5fay9v5PIc7yGxqF45HkHn3coSI4agnbwezGhzYoaEbQVu0S ckMOmDyBUVDMaMZZ3z3t1B7nKKcKlw/991pHUesoc4fX++dlLl7lmvsWS/xN+1Vp1T9p 6Hdg== X-Forwarded-Encrypted: i=1; AJvYcCVoiTSN2vY4tiQUFqPZ5ZPHjIRjjZ/F+/38JtmQGZLwWR/ITNKP6hE+a4fpM0Hpw74AVu0wLftE1tRp8wv1Z2Iy43uJ1UHiFToErnsnFhvl X-Gm-Message-State: AOJu0YwaGhqETv+6gBhxDUiZScUkcgTCY/DpYwmY1uWpD+wT6qkg0NIY s/Lr+kDCPAP1r/xoi/JfOmxhUUmVX1HoCMg7nY9qG9442Cgkn2KYvq5Hui81O5c= X-Google-Smtp-Source: AGHT+IHIZPF1F7rpdmiB8zVjvs9j63L4ySis6WkHrE1pCnC9pnyXQKMMTw9kUd9VUQgA/K9/tkLJUQ== X-Received: by 2002:a05:6512:785:b0:51e:11d5:bca3 with SMTP id 2adb3069b0e04-5221006e61amr3469492e87.18.1715466766866; Sat, 11 May 2024 15:32:46 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-521f35ba81fsm1127956e87.100.2024.05.11.15.32.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 15:32:45 -0700 (PDT) From: Dmitry Baryshkov Date: Sun, 12 May 2024 01:32:45 +0300 Subject: [PATCH v2] docs: document python version used for compilation MIME-Version: 1.0 Message-Id: <20240512-python-version-v2-1-382870a1fa1d@linaro.org> X-B4-Tracking: v=1; b=H4sIAAzyP2YC/3WMQQ7CIBBFr9LMWgygqHXlPUwX0wLtJAaaoSE2D XeXdu/y/fz3NkiOySV4Nhuwy5Qohgr61MAwYRidIFsZtNRXaWQr5nWZYhDZ8X4V+OhvA2qljfd QpZmdp+8RfHeVJ0pL5PXoZ7Wvf1NZCSXwbi1esDW98a8PBeR4jjxCV0r5AfO3uyWtAAAA To: Jonathan Corbet , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten Cc: workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Jon Hunter X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2264; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=9+jNicSIoeudc+F3EPpKSthDjra2W3jAMeqKdhOWTK4=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmP/IN6moNPSkS5RdVGvLI1pvK47IdjjvwevOEi H2N8KH5JNiJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZj/yDQAKCRCLPIo+Aiko 1b7/B/90NPkOoZ8qSWRYxnXABQCgT9LTVkXhfbbO7/Pc+dOo3/3TONJGInxKeUn490eaRHwHeuz 9vE/piFYctiN3nBqMCPgU1wdwSXkpXG7aO9uzxVYZFda4T5iH2sg9LNMPG9vd66Y4MPRE5UShNJ jIpW2um9X15VUVS0GLR7oExe3jVHOeBe/vsDVyejvXnNd3Y5oHdKUkjX9DqJzfDulLMqZU1Lm5A Kf5du4NmIlp3XZvESVP9Xu0jkrLiVubjYMnd1ZmlmcuriIwkRqRtGpkSMcvPn/76OfkfYf6gqV1 cCpzDfuZXB8BAxj27gFWTe6ZxmgVGDu7p0QYa2hoioSCMCOB X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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" The drm/msm driver had adopted using Python3 script to generate register header files instead of shipping pre-generated header files. Document the minimal Python version supported by the script. Per request by Jon Hunter, the script is required to be compatible with Python 3.5. Python is documented as an optional dependency, as it is required only in a limited set of kernel configurations (following the example of other optional dependencies). Cc: Jon Hunter Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar Reviewed-by: Jon Hunter --- Depends: https://lore.kernel.org/dri-devel/20240507230440.3384949-1-quic_abhinavk@quicinc.com/ --- Changes in v2: - Expanded documentation for the Python usage. - Link to v1: https://lore.kernel.org/r/20240509-python-version-v1-1-a7dda3a95b5f@linaro.org --- Documentation/process/changes.rst | 8 ++++++++ 1 file changed, 8 insertions(+) --- base-commit: e8bd80985f8ed4c04e36209228163fcf06496763 change-id: 20240509-python-version-a8b6ca2125ff Best regards, diff --git a/Documentation/process/changes.rst b/Documentation/process/changes.rst index 5685d7bfe4d0..30f17e3f954f 100644 --- a/Documentation/process/changes.rst +++ b/Documentation/process/changes.rst @@ -63,6 +63,7 @@ cpio any cpio --version GNU tar 1.28 tar --version gtags (optional) 6.6.5 gtags --version mkimage (optional) 2017.01 mkimage --version +Python (optional) 3.5.x python3 --version ====================== =============== ======================================== .. [#f1] Sphinx is needed only to build the Kernel documentation @@ -198,6 +199,13 @@ platforms. The tool is available via the ``u-boot-tools`` package or can be built from the U-Boot source code. See the instructions at https://docs.u-boot.org/en/latest/build/tools.html#building-tools-for-linux +Python +------ + +Python is required to generate register headers for the drm/msm driver or to +build the linker script if the kernel is built using Clang compiler if LTO +(Link Time Optimisation) is enabled. + System utilities ****************