Received: by 2002:ab2:61d1:0:b0:1f7:886a:16b6 with SMTP id d17csp1890048lqm; Fri, 3 May 2024 11:16:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwZlNrEOuCLcUmTOZOde75/G19qFiIsEqgMkS/oRpxQaIMOjvsP5UfgjG8QI67imxcW1OAFTxLBGE8f9WjcG7IvY0g3GPCbZusSHnXMw== X-Google-Smtp-Source: AGHT+IEh+PT8EOPsyoU7RNYCk09wy19C4FZEX6RetRG3aP3SqOIoISuJVFAaBcpk9cmvWc6HWrPJ X-Received: by 2002:a17:90a:88c:b0:2b2:6834:e983 with SMTP id v12-20020a17090a088c00b002b26834e983mr3095454pjc.45.1714760161886; Fri, 03 May 2024 11:16:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714760161; cv=pass; d=google.com; s=arc-20160816; b=rAafdcsgDQ2g18gGDNdJzs0tYDuffLn341gmAvAgUdp/yCDrf4QbP1UP3EIdKJWb0V YLKRfI6vZ4uh7IRpAiG0dndcgJZFYeoF9nAl8Qm9KAg2oysBOnzLlJsvuhXFELcf7CCj ESlqS3lHx7L6CLZO3ZDUj4OdGgGOsG4Z0+z0kkx/m4m2y5xFsbSFeZN2nN0E+LqUbszD Oy5pWD3PHn0Ie1JWNWX74yycc2FM2lqnYXqhzlMURtDiYAOvwDrkYWXjno4sKV+di/MP nKFGMiyZuKcurfa9odVISjZ5xyQS0Wdiv10uY1qhzIlwzSrwoZRYJHs+0+BWV5KaA4Kl Rx9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=EVuYQnC+Oejbh47K886v7jLhxbV/LX35eFvPeTAUoM8=; fh=tlMxnCjw7QeV6kaFPW25svEgUVuKG0kPEbTMYzvtxxA=; b=C09zqbjuvvhQiTU6mCquMPgdtK2WjjkedpX/wLplQ6/e4krMiwsTu8vyDvXa88FHuc e4XZs1sTDWTFt5eYbkSve5jckQAw23nKCb+MJmYJOjy3ubI4AkCpNG7JHootgo8M3FXk TdKAlOKA9EV7K3faM3eFcc6Y4z3FCXPgEnCd0T07b9ZS4o+/oGfI8YRti5RN4ZEmU+Rw w8T/RoH/wrrhYq2yNPtNiKui8nsDlKa3zpTKyZGQYdxd1JxrLrzK2d2yCUqc4En6W6NQ COfIAM/NcufO9VddYvhF9l7R0Vgt/bUJ9k1pJ/E4+NcGxyMvYmUl//rT8KtYt1qTFUKm 4/bA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iUO9uFvU; 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-168018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168018-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id oa4-20020a17090b1bc400b002aec7be8162si6103822pjb.22.2024.05.03.11.16.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 11:16:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iUO9uFvU; 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-168018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168018-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 84588282755 for ; Fri, 3 May 2024 18:16:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D173158D69; Fri, 3 May 2024 18:15:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="iUO9uFvU" Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 A0CB0158A08 for ; Fri, 3 May 2024 18:15:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714760110; cv=none; b=c81t+cbteY2da9lGIG/mPYxotFPWHlG8tgAJP01CXcZ3+dOhiqlBOijUA6wQChgNH18ZTdJ6FArhxPZw1sRXOLy/BtVyKcRCPgZ1lY/YPGhdvl9RYGFo4EbMySX1okVj7zxR/jAX/R07PtaPs2wQTL3c0sdNwIhD+KE1ziWb0do= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714760110; c=relaxed/simple; bh=xF5XC7k5+A56fzWGKfMqVYu2cMBJwZJ6BmZnpTYRInw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KD6TImhtMbe2atduKPjgXxZBSS5vJ0EVq6tO5YYNCIkqzPqf7rLmUL9ehleq0zrztqZRC3hTPDUEzVqxXiZ0rC3T+YCRIs5UzraMl4eLAyfvbUPdlER96k+Yo866b3dC2bC0N/7+V/UaQWZ508xy9yl4NpZL3rWVncIkttHebCw= 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=iUO9uFvU; arc=none smtp.client-ip=209.85.208.180 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-lj1-f180.google.com with SMTP id 38308e7fff4ca-2dd6a7ae2dcso155133721fa.1 for ; Fri, 03 May 2024 11:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714760107; x=1715364907; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=EVuYQnC+Oejbh47K886v7jLhxbV/LX35eFvPeTAUoM8=; b=iUO9uFvUtzvz64+kWoGD1LJqahdzouWIS0OcABIVn0JXmVYmC7DQaDIVF2LrYVjGB8 Ea74ur0RUi8GSyM4IqYyZxGp5GFHi9H73sjPFHGpjpwqPqNl5CZ0EiGRGB4F54PrWEzF Z8J/gc+Dhfzg7OF73YoXMuPV1TdgIp7IZ7brPm61Sg/XpAmDHAxQuCWpHPwBuBOpYCKq EnvY7rWoMZJoBTgrwcD4yEjvHlxS8bO95naFlWrnwO7hX3O4U/qs1bGLPQiy5h+R/eYm XsZedU3BkKErWTTyx7JNaInuDgQmOVH8sM9+pQtBUZ3fnD25O0wSFOw57br8NSpPaemz S1Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714760107; x=1715364907; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EVuYQnC+Oejbh47K886v7jLhxbV/LX35eFvPeTAUoM8=; b=hFe8j9xFZfcjMLIylLLiSu+uYWTBv1ZW0JbhM2pXNd/d5YxANKMW/hWk3/y5tla+ha Yw0EMuhxdP4J8Qs1ra4GZ0AOQ3jARLLu4icBxJMZYaNhxs3D2s67IvzgKzwX7ipGIpdB ffqh2xdUAkDxzYv9l3ghWoUuIxggsRTDtZjubgCEiTbP06vsX2/N/i1sqvoJRMYD3oWI xERwn+GO2dV1o9Hmc/G42MbKvZq84Z0C1sAnuTc6kWjqjb5zFTYDGjBW0A6Kqga9Zdqs UcpBE2jOxPC+k9STtZLYw5k5Jk0XpbQi1ZfQ69XC301dv570hXhlkrbaVb8/Q+cIBSav +kGg== X-Forwarded-Encrypted: i=1; AJvYcCW+2CeAexHjQvJm7bg9eWnPVd5GrvcWJj6No7gxSr8ajbEgA5BvDCDZ6R4fq1aqaOO+jy6iiDlszrwpr2z/b9v8lgWmVqfe47c4vSMA X-Gm-Message-State: AOJu0Yx35+nmhA6WlnYzFJcyQuz/rBJk6I3o4El46dzkxTfyEOKU2dXF tEbGmcFbaAMZdfYjP27/ciU1Ns0AYcqnjOL4tckVrUouwhHVMxIoToKjULzEH9M= X-Received: by 2002:a05:651c:32c:b0:2de:c912:ec08 with SMTP id b12-20020a05651c032c00b002dec912ec08mr2716085ljp.16.1714760106823; Fri, 03 May 2024 11:15:06 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id s7-20020a2e9c07000000b002de118decbbsm605548lji.53.2024.05.03.11.15.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 11:15:06 -0700 (PDT) From: Dmitry Baryshkov Date: Fri, 03 May 2024 21:15:04 +0300 Subject: [PATCH v2 2/2] drm/ci: validate drm/msm XML register files against schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240503-fd-fix-lxml-v2-2-f80a60ce21a1@linaro.org> References: <20240503-fd-fix-lxml-v2-0-f80a60ce21a1@linaro.org> In-Reply-To: <20240503-fd-fix-lxml-v2-0-f80a60ce21a1@linaro.org> To: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Helen Koike , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1281; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=xF5XC7k5+A56fzWGKfMqVYu2cMBJwZJ6BmZnpTYRInw=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ5qp5gr5zfPn2wYJGjr99i+4soPjH8vCom89UzzyHvzYJ b/Djjm7k9GYhYGRi0FWTJHFp6Blasym5LAPO6bWwwxiZQKZwsDFKQAT4W7kYFj72pOzIq69xrLi Y1M7e4/uPpv8THaleRnLchu4IiME9Zwu399uGXmNj4lHdMWOkjUmjhcfGwn7hJQfLxRtOXo5aPf c+VNtfoe1JATubJvzk/mEl4n9jm33Na97W++OjohYbDnt1XO/yK0lx1ouqr2sa9k8+ahDgdM10e n37dbO3pllYn/Ka0vx5z0aRlwzuATN6xeYqUqYu8jpfLvwdlsWj+RvxlexXmopDDWCL9951Jt4S FjE+Mn6LlC7/Ef+TFN/2JLslxcXx3Gzrn70aa8Y84yVnA+nTVPq80/yan9yWWwKZ1Pr8mdvXdMX ve/JrZrf+mm9laHWiX0zPI/JcGbFOPW3915bocuwicEOAA== X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A In order to validate drm/msm register definition files against schema, reuse the nodebugfs build step. The validation entry is guarded by the EXPERT Kconfig option and we don't want to enable that option for all the builds. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/ci/build.sh | 3 +++ drivers/gpu/drm/ci/build.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh index 106f2d40d222..28a495c0c39c 100644 --- a/drivers/gpu/drm/ci/build.sh +++ b/drivers/gpu/drm/ci/build.sh @@ -12,6 +12,9 @@ rm -rf .git/rebase-apply apt-get update apt-get install -y libssl-dev +# for msm header validation +apt-get install -y python3-lxml + if [[ "$KERNEL_ARCH" = "arm64" ]]; then GCC_ARCH="aarch64-linux-gnu" DEBIAN_ARCH="arm64" diff --git a/drivers/gpu/drm/ci/build.yml b/drivers/gpu/drm/ci/build.yml index 17ab38304885..9c198239033d 100644 --- a/drivers/gpu/drm/ci/build.yml +++ b/drivers/gpu/drm/ci/build.yml @@ -106,6 +106,7 @@ build-nodebugfs:arm64: extends: .build:arm64 variables: DISABLE_KCONFIGS: "DEBUG_FS" + ENABLE_KCONFIGS: "EXPERT DRM_MSM_VALIDATE_XML" build:x86_64: extends: .build:x86_64 -- 2.39.2