From patchwork Thu Dec 7 09:18:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vignesh Raman X-Patchwork-Id: 175052 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4651848vqy; Thu, 7 Dec 2023 01:19:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPKkSU+xWn7E7WJUAyi+GKNojWhwN1jie0ne643dtN5HQ2bjJDxykh89aAJFMs/FVxPlaW X-Received: by 2002:a05:6a00:3307:b0:6ce:39f3:88f2 with SMTP id cq7-20020a056a00330700b006ce39f388f2mr3050077pfb.23.1701940795623; Thu, 07 Dec 2023 01:19:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701940795; cv=none; d=google.com; s=arc-20160816; b=GQdnFYQwa3IHvXKeBi/RuArN76jWuqhH6T+iFhFCDp/DDYXFhCyqONZ/F/wztMGrI1 4MOdzNcEibKnPMr0xFby/IAO7jNqATtMjeg/jfZTH6CHuxX61UGApECiJF8TMtFk9ZDU TKDSHgL4Lzrui2OzJA821NKv3yIWdE3dG09LwV9T4UoL94yaOzxzHHj0LuUjEjeXAf2E T1chlCZmpzwM4u1k5xP6VpaN3/4jjYPY3/AXpUTElJdv4D+g3oOivG3O/svigESF0l4y D5svbi8U8Dd0WAiDQiNpFU0k8mcmEnshzMcI/CVf7ZBQDZuFvxeghq+hg1HpAq5T28Zu lJwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tHjz0vS+UMHI/uxso9eAdYWDLnPktQ6MDj9X1HHFDv0=; fh=UrpkSxacRnNe3pAqpeGIIGAGFrEOZ8ZAHCW+EatPIvM=; b=Z9P1sNHOIinrV0nLBciz4QbWnchJGlOsu+WJq73sFMKyVab7uzeKZyt8V0I0CjljqL g0uOSWnD6klS+0qiBs9DJZAu9IYkbJoKS17LyU/yx01lKIT95Ip9yhRD1D2ImX5PgONa kdK515Ur5QlDE3aZNruhIe2ydc4cXSbEq9fO4NtbUnc066uI0xsJhSQN+Drm0eL8081v ulnM/FOG8qEL1urWLtiK7Z000y3NUbvsGgwZ527UzDeMR2qBcHAtVPdlmwOT1ZnYooOa fT1s6a3DGAYA4Yx8k7PId7qAOsS2A35uIJt6GpVVTUoyFwfwrc6vemhPiDIzNm2kYfQZ C1Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="RtF7/utl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id o19-20020a056a0015d300b006bd360e70edsi926688pfu.103.2023.12.07.01.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:19:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="RtF7/utl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 12FAE80E9954; Thu, 7 Dec 2023 01:19:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378710AbjLGJTf (ORCPT + 99 others); Thu, 7 Dec 2023 04:19:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378728AbjLGJTO (ORCPT ); Thu, 7 Dec 2023 04:19:14 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA5CF171D; Thu, 7 Dec 2023 01:19:13 -0800 (PST) Received: from localhost.localdomain (cola.collaboradmins.com [195.201.22.229]) (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) (Authenticated sender: vignesh) by madras.collabora.co.uk (Postfix) with ESMTPSA id C4E396607394; Thu, 7 Dec 2023 09:19:09 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701940752; bh=0x2mujmBnS9QcHk0k7mgb0lg6gdp78HOH3dqjQW7Q0E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RtF7/utlbhd991M0yU/aU3QXOf91lczA8VbtqdHnGSh7deLj4PuhtuezbVtyLVJZm m5It3tciFlapi1oPIHJP1vly4Pv7vgdwbTltX3eMZoAQ/qSM49K5uuz4eL+UjAW0ek SmM4Wh+E83rWtciCsH67UH28Hc8TAQe0H+rrLD8SZvKJeh+rs3GnJA5Ex8cYUj5vFL BffwZK9fFex8Q9HppK2+0k7J7xO39rBaFcNP+Q9N6cGx/6xeZV0Y9QO5vADNvj+ofk gRPEtG1hkV13hOZC05BksYwDp31BdZV39Ls3ixUwczbC2JS3K0npLZFdOkWa5/TM9x eUrlWBErTtQNA== From: Vignesh Raman To: helen.koike@collabora.com, airlied@gmail.com, daniel@ffwll.ch Cc: david.heidelberg@collabora.com, sergi.blanch.torne@collabora.com, guilherme.gallo@collabora.com, daniels@collabora.com, gustavo.padovan@collabora.com, emma@anholt.net, robdclark@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, virtualization@lists.linux-foundation.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v7 08/10] drm: ci: uprev IGT Date: Thu, 7 Dec 2023 14:48:29 +0530 Message-Id: <20231207091831.660054-9-vignesh.raman@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231207091831.660054-1-vignesh.raman@collabora.com> References: <20231207091831.660054-1-vignesh.raman@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 07 Dec 2023 01:19:53 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784614271834748173 X-GMAIL-MSGID: 1784614271834748173 virtio-gpu kernel driver reports 16 for count_crtcs which exceeds IGT_MAX_PIPES set to 8 in igt-gpu-tools. This results in below memory corruption,  malloc(): corrupted top size  Received signal SIGABRT.  Stack trace:   #0 [fatal_sig_handler+0x17b]   #1 [__sigaction+0x40]   #2 [pthread_key_delete+0x14c]   #3 [gsignal+0x12]   #4 [abort+0xd3]   #5 [__fsetlocking+0x290]   #6 [timer_settime+0x37a]   #7 [__default_morecore+0x1f1b]   #8 [__libc_calloc+0x161]   #9 [drmModeGetPlaneResources+0x44]   #10 [igt_display_require+0x194]   #11 [__igt_unique____real_main1356+0x93c]   #12 [main+0x3f]   #13 [__libc_init_first+0x8a]   #14 [__libc_start_main+0x85]   #15 [_start+0x21]   This is fixed in igt-gpu-tools by increasing IGT_MAX_PIPES to 16.   https://patchwork.freedesktop.org/series/126327/   Uprev IGT to include the patches which fixes this issue. Acked-by: Helen Koike Signed-off-by: Vignesh Raman --- v6: - Added a new patch in the series to uprev IGT to fix memory corruption v7: - No changes --- drivers/gpu/drm/ci/gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ci/gitlab-ci.yml b/drivers/gpu/drm/ci/gitlab-ci.yml index aeb9bab1b069..dac92cc2777c 100644 --- a/drivers/gpu/drm/ci/gitlab-ci.yml +++ b/drivers/gpu/drm/ci/gitlab-ci.yml @@ -5,7 +5,7 @@ variables: UPSTREAM_REPO: git://anongit.freedesktop.org/drm/drm TARGET_BRANCH: drm-next - IGT_VERSION: d1db7333d9c5fbbb05e50b0804123950d9dc1c46 + IGT_VERSION: d2af13d9f5be5ce23d996e4afd3e45990f5ab977 DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/anholt/deqp-runner.git DEQP_RUNNER_GIT_TAG: v0.15.0