Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp461909rdb; Tue, 5 Dec 2023 10:01:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFiD56h+zqlVixh70Bf1r6++/I5deW8Onc8Uk+Liv42s7KsEN/GCu7bnfm5eEAsueTFFJ7l X-Received: by 2002:a17:90b:1d0a:b0:285:b906:a3d3 with SMTP id on10-20020a17090b1d0a00b00285b906a3d3mr1275726pjb.2.1701799282723; Tue, 05 Dec 2023 10:01:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701799282; cv=none; d=google.com; s=arc-20160816; b=itHvak+ji8uzPKWCdwQi9xgyoWYVsnkQBsi9ZkUvklX3xvnkuK5fJPkVtvgOVuK4OR vZ7uK5vhUXhX1Rga/JmPQ1mJ5N1PFI4yX9MBHXIgzjI6oc1UwNVcY02x+cgwsBHLhtkX gHPfcjAk9Xbnz+nn9vsZML51GpT7acW15Db/h7LAO/XicPFG+Uua48P3XK3rcVPpNdUv aCxr5LIU+P9i2yv77LgGvu868DNQgtqoE64uehY0SJClPvFmB1vBriEHjkeXxWMNBs5z jQ8b/99SnkeZP7POA/2/u/OKhbNFnX5C5NO+0IODLl7h3UOEswz9DWRCmFxo2pBIsWLu 3wsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=QPkFqbAZOMxvZ7zHXTmYXxsEz0Q27vav1/IJtOH9x70=; fh=42Vo9gr+l7S+2nn38Rbu4lKybChAFm5nltPnCSOkGQY=; b=Zwf/dKMPzuqnmPR4RJpHQuWIG23fXY/e9G863drqg9uHIrHFC8oKzhpMkPiGUQtTIQ zBkGBHMslX3od9vQOayaffl2twk83i15yimjD/Y27D8BrQtutuZkTbcsFLf5ejsCzFEV uGHPU5S2FAeJwVt4+a1vv2d0zfY6GCvTTcIkHjso9/yixCrioIo8aVCwNnuOyrcVuuTh GBsrNv8gs1p3E3HHOEcEKthqcX7VLxZMViuadQTxin3KRuTCVlK6tZGYxnvJfp8T+h4T 31tq27wdoAAfEDUukL7SWvjKLXTgzUNBvO3Sf7jB0vVdxcI4VurG2T5SnhxADY2w1FTV J2Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=FksvE4Ga; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id w3-20020a170902a70300b001cf50ef35besi9989343plq.51.2023.12.05.10.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 10:01:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=FksvE4Ga; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id A09D0809AFBA; Tue, 5 Dec 2023 10:01:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235105AbjLESAx (ORCPT + 99 others); Tue, 5 Dec 2023 13:00:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbjLESAv (ORCPT ); Tue, 5 Dec 2023 13:00:51 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EFD0B2; Tue, 5 Dec 2023 10:00:57 -0800 (PST) Received: from [100.95.196.25] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: koike) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3F433660715D; Tue, 5 Dec 2023 18:00:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701799256; bh=RgkVHjxMEsdXllUes00vbSqVmLybs60goWYS6kaWos8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=FksvE4Ga17Z+a4BzWvMY/16U6sbJxavWMiB1tuCqhvG2l/iOMPypzK0mWMcq0yjTQ bhX/HsWwRYZHkW8QgV14rI4VOvDjYtTH01HaqZR0rqOwr3B35KNPl4Tgq0UaWn2/hQ agqC7hEHzp7ekxcJX6CbAb0xtepUiCUkaUTm3zM7CaR1aF3teuzGmGtzaJV7eUUzB1 oAgJuZlvXBgdK3hIsLxIEjBFaWjsOg+GLAyutPNqQvZS29FMf6a/1DmN6etZfVfxlS 4RIsFTFctyCuX+dBSDMNrU4wTwAfIm1MbdFFv+209MYurr+5GIbWWHgpGKW/nq0low DnpSecXjQGzTQ== Message-ID: <03724cf8-e7c1-462a-80a4-587f5df202ef@collabora.com> Date: Tue, 5 Dec 2023 15:00:50 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 08/10] drm: ci: uprev IGT Content-Language: en-US To: Vignesh Raman , 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-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org References: <20231129121841.253223-1-vignesh.raman@collabora.com> <20231129121841.253223-9-vignesh.raman@collabora.com> From: Helen Koike In-Reply-To: <20231129121841.253223-9-vignesh.raman@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 05 Dec 2023 10:01:12 -0800 (PST) On 29/11/2023 09:18, Vignesh Raman wrote: > 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. > > Signed-off-by: Vignesh Raman Acked-by: Helen Koike Thanks Helen > --- > > v6: > - Added a new patch in the series to uprev IGT to fix memory corruption > > --- > 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