Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6187225rwr; Mon, 1 May 2023 18:28:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4JvX5fUsDLgHwDRYNqCPg5zQkXt377TX4AIKdaPKA4caK2G23TYvpRtr2vhD98iz6QXtA1 X-Received: by 2002:a17:90b:100f:b0:24e:c1f:b95e with SMTP id gm15-20020a17090b100f00b0024e0c1fb95emr3864293pjb.0.1682990900793; Mon, 01 May 2023 18:28:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682990900; cv=none; d=google.com; s=arc-20160816; b=ybHwLKwDGbOVImDfkBGt3MYRH5k0KLO5lOgXHaiYaKToqAP1tRobTIbEhSTm3t0XeX mJlbM4oR1J7qJ4uYurJTPBSkklqgTy14iSJ9bE+p4T4gzeA/TV8bx4VsIardOy70pSis wQFxFdozCoHYLcPwv9TnJ4JcVTeSCwnQ+efzD18jK5wLihuvZLD5txBPFVXp2C1CtBpJ BBXYfyyTVdvyY93XspgKGeREvGyBGQID8qEgKRryRJryOxlg8GDzBdD6H64U9tS3bxD1 oVwN8buV54atCfp3suF+vhq9fsL9BBKuIEw8QtA4O3PNjkGc8svwUYU6XWZwfPVvVAlv rFlw== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Noh8dh1b4WPIoxf4HR9EfS1PEP8OXfWwFlkMnrqSJgA=; b=gCqclBdW+WbKKWNoc7DkW28wWoLnliwDrcqPWEpwNT8YrN2EwcH5M/1QparOXBH3ig 0CEHbzetXdDWYt+BklnTbtokrsPUOnZFXSkqKbBfLZp6jfo1zqu7M+tOnujAgrgWiwde NQWJ91QPtHgyo71TGC5hArGCsPfg9I+MddR1xAuBQQrDihrfKqLfxLipbezmSMyDsmii FD8xoXXAgHZo+EcHrCBZMJ2+CkM9lh5U0WOjal02AmVD3MnSIDxe1No/oXpWaucjDbSR u2upjPALlor2D7rbTWzVzeb38dqx0Lw0ne6wepKcwKtSvtB1C/WQ9kqLLhc70bnN6YI0 F/kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b="f/3itori"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s12-20020a17090a948c00b0024df739d625si4281274pjo.53.2023.05.01.18.28.06; Mon, 01 May 2023 18:28:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b="f/3itori"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231808AbjEBB1Z (ORCPT + 99 others); Mon, 1 May 2023 21:27:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbjEBB1W (ORCPT ); Mon, 1 May 2023 21:27:22 -0400 Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E0E91BD5 for ; Mon, 1 May 2023 18:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Noh8dh1b4WPIoxf4HR9EfS1PEP8OXfWwFlkMnrqSJgA=; b=f/3itorim1T01FtfuNs/wyggyn thoXJ3Fm8vg3a/VFbFm0O1wkZRM9eCwj9L7wafJBUJw3K4U9DBzoIYlplwmRtpffjXS/zS4jBDt0E twbBqUi7W+7gQPzWlrwmd0uyc/cE4Dj0djgc26a1pEH8oj3kTljQ+G9buNhcp5eq8ayJRaZQdf/N8 iRXecYndjLmn3JsUs5HWekB0mnxx+zhxGhDCtRxYWYqI0vY6lHj2j4y24ITWaZa9DNQVe7uijjU7J NqQgcWjWZxSN9hS4L9n9UOEH9gZuPTSMqUqv19IwgK7XLL1RRZ+opuENlS4wdOZwPn3rEJINbkldH R1LVHDdA==; Received: from [179.113.250.147] (helo=[192.168.1.111]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1ptenS-00HByc-Ab; Tue, 02 May 2023 03:27:14 +0200 Message-ID: <6ab2ff76-4518-6fac-071e-5d0d5adc4fcd@igalia.com> Date: Mon, 1 May 2023 22:26:24 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [RFC PATCH 0/1] Add AMDGPU_INFO_GUILTY_APP ioctl To: Alex Deucher Cc: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, pierre-eric.pelloux-prayer@amd.com, =?UTF-8?B?TWFyZWsgT2zFocOhaw==?= , =?UTF-8?Q?Timur_Krist=c3=b3f?= , michel.daenzer@mailbox.org, Samuel Pitoiset , kernel-dev@igalia.com, Bas Nieuwenhuizen , alexander.deucher@amd.com, christian.koenig@amd.com References: <20230501185747.33519-1-andrealmeid@igalia.com> Content-Language: en-US From: =?UTF-8?Q?Andr=c3=a9_Almeida?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em 01/05/2023 16:24, Alex Deucher escreveu: > On Mon, May 1, 2023 at 2:58 PM André Almeida wrote: >> >> I know that devcoredump is also used for this kind of information, but I believe >> that using an IOCTL is better for interfacing Mesa + Linux rather than parsing >> a file that its contents are subjected to be changed. > > Can you elaborate a bit on that? Isn't the whole point of devcoredump > to store this sort of information? > I think that devcoredump is something that you could use to submit to a bug report as it is, and then people can read/parse as they want, not as an interface to be read by Mesa... I'm not sure that it's something that I would call an API. But I might be wrong, if you know something that uses that as an API please share. Anyway, relying on that for Mesa would mean that we would need to ensure stability for the file content and format, making it less flexible to modify in the future and probe to bugs, while the IOCTL is well defined and extensible. Maybe the dump from Mesa + devcoredump could be complementary information to a bug report.