Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2214325rdb; Mon, 11 Sep 2023 14:48:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9/MVL3XlcSWeiRhNndok12d5rz1+geSnwtaZ/0Xg0vaLFDaB3rMLFA1EYg6Uhj1SPEUiM X-Received: by 2002:a05:6a20:4308:b0:13d:fff1:c672 with SMTP id h8-20020a056a20430800b0013dfff1c672mr14928577pzk.4.1694468896061; Mon, 11 Sep 2023 14:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694468896; cv=none; d=google.com; s=arc-20160816; b=XpjuZRkZgEpLneUrUBIBXC67CyMk5OSK42Hp0vx5EyYxkth/YZJ5ROKwkdJM5WdnQm LBoG6Jp1eTUeStYXa8IH+O5jgZhH2d90rM+80xEFmAaQpVzR8xDTiyvFl/LxS1X+azy4 FHnx/yCKF+TITP6ncBvvXQDNMbVrMUq4d7A5QK6tpmHXFxFFxN+OyJ+a2RIpUYX7kEPd FRWTFF8bZMYM60Xo463CrgWRpw3wVft1fEo+zTvAjHGwF365TV8KQFcxS/t0pha2IAyj VyeX514M6cABtgAz/S+V9tOh0Pu5c1hZpxczB9XoknK+Kvyc/YMFZQxzMQ7DbpHz0ib+ hgHQ== 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=aQLFCp+zWbl3dMMhaycGSX+PcHVumhgjR5Ns6tNTHFE=; fh=cwevwuy1iU6E2HhQPD/YpWpFpfW3Sta2VaDzQEp06ug=; b=m2w4wCtN6liO1tyWd3Rs8NokeCCVtNYL3qjZgU/14JsqxVjSv7TaPtCle2ORNdgtJP bmBwrJNUuRF71GeMEkJyyO/p33b7b4QF9XZ9bnEnIoDt3SZdF64KFlaet7OHRu7JVenn wronHhmH5QZEROzJRNd6W4T1YMeKX0E6Zooeos5FkDxrjoreEIJKu574vNNCFHJVjwAr MnTvWSNlNIHE12wAcnaEm3leYgcqipT7+gp3GASV/HByqJ7yt6x123iBMkK7rhTtTZgW YRi7dpeDOg3GMGNlSvGLxm2gBI3GzEe93pzg+swGc18CE+Abzr8xN2j3F78BthmiXcs8 uiyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=loAH2sUR; 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 e3-20020a656883000000b00565322ef4f1si6693171pgt.348.2023.09.11.14.48.00; Mon, 11 Sep 2023 14:48:16 -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=loAH2sUR; 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 S1350826AbjIKVlj (ORCPT + 99 others); Mon, 11 Sep 2023 17:41:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244119AbjIKTFG (ORCPT ); Mon, 11 Sep 2023 15:05:06 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D48FED8 for ; Mon, 11 Sep 2023 12:04:59 -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=aQLFCp+zWbl3dMMhaycGSX+PcHVumhgjR5Ns6tNTHFE=; b=loAH2sUR7fcXPy2NtNxxbUUN8K T4PcfyJplvwEdFBKln8K1Dm4NYp5AXq0RgPX+/rG9BjHrN/nMkLFNx7x/rjcijOnGY7+3ljz8sRFa h2uxarZsDUK3aiY38DHIeY6Ibx8uVWXGEjHIGi3HOK8RHYEIRjcD07YDVW/uZc/3ea9dfJbXkKvDM cmFdCJfETYvhJ/gfG6rIFNFggWEVciTB+vHjjbh/uHQt6oEIF+FiOQ+YXs5pwBhFD9MfhMsy93EpT 7z3hmIBnSObgT90aUx8UZqc+u0mcz9cFRinEaZy/57qR+zLblWQTvirr7+gyzT4C79GCmJQyC5Xj5 /3jc6org==; Received: from [187.10.203.89] (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 1qfmDO-002QkP-A6; Mon, 11 Sep 2023 21:04:54 +0200 Message-ID: <04424869-6c0d-42e0-aa3c-147d15ca69bc@igalia.com> Date: Mon, 11 Sep 2023 16:04:49 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 0/2] Merge all debug module parameters Content-Language: en-US To: Hamza Mahfooz Cc: pierre-eric.pelloux-prayer@amd.com, amd-gfx@lists.freedesktop.org, Shashank Sharma , linux-kernel@vger.kernel.org, kernel-dev@igalia.com, alexander.deucher@amd.com, dri-devel@lists.freedesktop.org, christian.koenig@amd.com References: <20230911171255.143992-1-andrealmeid@igalia.com> <41963d55-3fa8-4415-911c-99e35acb829e@amd.com> From: =?UTF-8?Q?Andr=C3=A9_Almeida?= In-Reply-To: <41963d55-3fa8-4415-911c-99e35acb829e@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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 11/09/2023 14:21, Hamza Mahfooz escreveu: > On 9/11/23 13:12, André Almeida wrote: >> As suggested by Christian at [0], this patchset merges all debug modules >> parameters and creates a new one for disabling soft recovery: >> >>> Maybe we can overload the amdgpu_gpu_recovery module option with this. >>> Or even better merge all the developer module parameter into a >>> amdgpu_debug option. This way it should be pretty obvious that this >>> isn't meant to be used by someone who doesn't know how to use it. >> >> [0] >> https://lore.kernel.org/dri-devel/55f69184-1aa2-55d6-4a10-1560d75c7324@amd.com/ > > I have applied the series, thanks! > Thank you! >> >> Changelog: >> - rebased on top of current amd-staging-drm-next >> v3: >> https://lore.kernel.org/lkml/20230831152903.521404-1-andrealmeid@igalia.com >> >> - move enum from include/amd_shared.h to amdgpu/amdgpu_drv.c >> v2: >> https://lore.kernel.org/lkml/20230830220808.421935-1-andrealmeid@igalia.com/ >> >> - drop old module params >> - use BIT() macros >> - replace global var with adev-> vars >> v1: >> https://lore.kernel.org/lkml/20230824162505.173399-1-andrealmeid@igalia.com/ >> >> André Almeida (2): >>    drm/amdgpu: Merge debug module parameters >>    drm/amdgpu: Create an option to disable soft recovery >> >>   drivers/gpu/drm/amd/amdgpu/amdgpu.h      |  5 ++ >>   drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c   |  2 +- >>   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c  | 63 ++++++++++++++++-------- >>   drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c  |  2 +- >>   drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c |  7 ++- >>   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c   |  2 +- >>   drivers/gpu/drm/amd/amdkfd/kfd_chardev.c |  2 +- >>   drivers/gpu/drm/amd/amdkfd/kfd_crat.c    |  2 +- >>   8 files changed, 59 insertions(+), 26 deletions(-) >>