From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5446D46C1D for ; Sat, 31 Jan 2026 00:35:27 +0000 (UTC) Received: from kara.freedesktop.org (unknown [131.252.210.166]) by gabe.freedesktop.org (Postfix) with ESMTPS id B036110E1A4; Sat, 31 Jan 2026 00:35:26 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="o4vfWilD"; dkim-atps=neutral Received: from kara.freedesktop.org (localhost [127.0.0.1]) by kara.freedesktop.org (Postfix) with ESMTP id 0671140F63; Sat, 31 Jan 2026 00:26:19 +0000 (UTC) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=lists.freedesktop.org; s=20240201; t=1769819178; b=VGY2Q7w0J8cGHTQQHX8TqGnia6FGwzkWaxTgipkjF7HIcxV1FL0LH+fpE+SE0ouACqTnx 2F7hvp/Zo0nw4ccV5izv6USQUAUQJozMNnDV0Llk1L+vPn96kq/7Zomupw+0JY+mTiijYII uUeqsbLRvelEd1aGRYh3phz4GeCE32ScdyeSpApCwHa7DBFOWYCpoMcpJWxnL387DTSglIi Aa3iFIwJdAhk8h0vrKlB0pQ9HSHDNuKiGuH4jkK3DIso4MrJGfPX7vMutZnTj6OVWSfHiDn rYyimoaJzQ5HDMbDaHZ+gL/yJgEn81v6L6JyP7jTq9S4xPUudxImQCsU6wqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.freedesktop.org; s=20240201; t=1769819178; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=sY3VqJJlEkOJaiS4F+Hdt1OXygTLM7yODQPXTI+8jAk=; b=f+muKUDRxICoHZIORyhX22v3V6Z9d+q4whPI1+ZDb9Za2cEy3qrTMiGkFaEVIT8n0E7z2 TCpnBz1MCmJJiQGlXFFayFKkznVk3gffGrNt3SzKLQLPOkVjqaSp+PoJH1S/SMhqicgKUI+ RqbJoqizDZlVpylpoKVvX8+0GQqmH1uVMnPJm8zCmcFf8IjAe2Qw/Fh0hDZCFSHG3sFlZ+9 lqChYRusIbXoxBsbO5nmGH2o/dRsMzxeNYy9wfXRWK76pP9KsVQBLDi63hZF40qH4tVQkEK 8FIdH6mjhDSeIgEbROeo9I1Hp5EIErotJrvYD0+4zQRv4TKMTg/kqOlZntJA== ARC-Authentication-Results: i=1; mail.freedesktop.org; dkim=pass header.d=kernel.org; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=kernel.org policy.dmarc=quarantine Authentication-Results: mail.freedesktop.org; dkim=pass header.d=kernel.org; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=kernel.org policy.dmarc=quarantine Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by kara.freedesktop.org (Postfix) with ESMTPS id 1CAF54015A for ; Sat, 31 Jan 2026 00:26:17 +0000 (UTC) Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 934E010E109 for ; Sat, 31 Jan 2026 00:35:24 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 2EA4D4024C; Sat, 31 Jan 2026 00:35:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32B94C4CEF7; Sat, 31 Jan 2026 00:35:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769819724; bh=ES6e4LTzBdsTWSEb8j3Wo6hkQDH7RWYISCYXV9N3FEw=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=o4vfWilD1UCEmxk+WI4MZbEX5f57zLaweMhIZJeViASdAvxnPX6JT2HPKP1l1Fpcv 6ppCMNIukNp87wiTpkVSbh4bvmDQZleqGTUdWKgkecl2BHZJJoFffmp4F9WlUMC7eN CADuXivE+FzB6SU/aQDUEfO5Qw70S6tZfi1xIha+1QaW6g2A06x/rX69ipDm9PDKrK 05zktisKuj40JgzWQlF+a0kxRtnE+744duv4YqBheSLYVDW2iGsRpcM9rwjJfUEGka 5tyFcIhpXyPyUVBzqQTE0PcsomEiCxVlll/tUGJOd8SQbXAi1I1V09mVEnHKe6JJA5 au27SyGrUCu+A== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 31 Jan 2026 01:35:20 +0100 Message-Id: Subject: Re: [PATCH v6 7/7] gpu: nova-core: create GSP-RM logging buffers debugfs entries To: "Timur Tabi" From: "Danilo Krummrich" References: <20260129022837.4133832-1-ttabi@nvidia.com> <20260129022837.4133832-8-ttabi@nvidia.com> <95b913a1d344f603d17abc7f6d78da166068bc91.camel@nvidia.com> In-Reply-To: Message-ID-Hash: GYS2SRU5ZFDPPXXXGJAPMWGCN7NEBSOD X-Message-ID-Hash: GYS2SRU5ZFDPPXXXGJAPMWGCN7NEBSOD X-MailFrom: dakr@kernel.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation CC: "gary@garyguo.net" , "nouveau@lists.freedesktop.org" , Joel Fernandes , "aliceryhl@google.com" , "mmaurer@google.com" , Alexandre Courbot , "rust-for-linux@vger.kernel.org" X-Mailman-Version: 3.3.8 Precedence: list List-Id: Nouveau development list Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Sat Jan 31, 2026 at 1:26 AM CET, Timur Tabi wrote: > On Sat, 2026-01-31 at 01:10 +0100, Danilo Krummrich wrote: >> > One idea is to create types that look exactly like `Dir` but always ZS= T and >> > no-op regardless whether CONFIG_DEBUG_FS is enabled... But that feel a= bit.. >> > weird. Matthew, what do you think? >>=20 >> There is no need for CONFIG_NOVA_CORE_DEBUGFS in the first place. The on= ly >> Kconfig we need is for retaining the GSP log buffers after driver unbind= . > > Danilo, I'm confused. You told me to add this Kconfig: > > https://lore.kernel.org/rust-for-linux/DFR6RWROWBYA.1Q9JKH8UDSXOX@kernel.= org/ Maybe a misunderstanding due to my type? I.e. "I think it's OK to always have the entries on keeping them beyond device u= nbind has to be behind a Kconfig option." vs. "I think it's OK to always have the entries, only keeping them beyond devic= e unbind has to be behind a Kconfig option." From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78ADA1D5151 for ; Sat, 31 Jan 2026 00:35:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769819724; cv=none; b=Jhu5d+7YmmrYkEB83YlzPmC+mdtJMtAu4HN+7Ugm3cfgE3js7RwvibTjNLiAboZY0c4kQP9QPg6xqdSvZ8XO+mhm03/bMh8rHwrm7JRKijCvxh9iWP8PrMObS667Q48AHYAk0UAEd2ikb68AXVZCn8YQa5x4Kf03pc+ICzzM3Ek= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769819724; c=relaxed/simple; bh=ES6e4LTzBdsTWSEb8j3Wo6hkQDH7RWYISCYXV9N3FEw=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=BEgoPOTIYMmpccT6G8cvylXxWftbwUqYaeFjjOfjViQYf/4lG4gTYEs6sAgwxNg5LLodK25D7Vcsu+N+Ib0cOyHAW0QUEchPErFWi0vVJXoCKDf6K3//12ws5EUItkgKA2GPz2c71zKEZ7RZCopbIXymDrfdPId6gyf60UzUrgg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o4vfWilD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o4vfWilD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32B94C4CEF7; Sat, 31 Jan 2026 00:35:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769819724; bh=ES6e4LTzBdsTWSEb8j3Wo6hkQDH7RWYISCYXV9N3FEw=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=o4vfWilD1UCEmxk+WI4MZbEX5f57zLaweMhIZJeViASdAvxnPX6JT2HPKP1l1Fpcv 6ppCMNIukNp87wiTpkVSbh4bvmDQZleqGTUdWKgkecl2BHZJJoFffmp4F9WlUMC7eN CADuXivE+FzB6SU/aQDUEfO5Qw70S6tZfi1xIha+1QaW6g2A06x/rX69ipDm9PDKrK 05zktisKuj40JgzWQlF+a0kxRtnE+744duv4YqBheSLYVDW2iGsRpcM9rwjJfUEGka 5tyFcIhpXyPyUVBzqQTE0PcsomEiCxVlll/tUGJOd8SQbXAi1I1V09mVEnHKe6JJA5 au27SyGrUCu+A== Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 31 Jan 2026 01:35:20 +0100 Message-Id: Subject: Re: [PATCH v6 7/7] gpu: nova-core: create GSP-RM logging buffers debugfs entries Cc: "gary@garyguo.net" , "nouveau@lists.freedesktop.org" , "Joel Fernandes" , "aliceryhl@google.com" , "mmaurer@google.com" , "Alexandre Courbot" , "John Hubbard" , "rust-for-linux@vger.kernel.org" To: "Timur Tabi" From: "Danilo Krummrich" References: <20260129022837.4133832-1-ttabi@nvidia.com> <20260129022837.4133832-8-ttabi@nvidia.com> <95b913a1d344f603d17abc7f6d78da166068bc91.camel@nvidia.com> In-Reply-To: On Sat Jan 31, 2026 at 1:26 AM CET, Timur Tabi wrote: > On Sat, 2026-01-31 at 01:10 +0100, Danilo Krummrich wrote: >> > One idea is to create types that look exactly like `Dir` but always ZS= T and >> > no-op regardless whether CONFIG_DEBUG_FS is enabled... But that feel a= bit.. >> > weird. Matthew, what do you think? >>=20 >> There is no need for CONFIG_NOVA_CORE_DEBUGFS in the first place. The on= ly >> Kconfig we need is for retaining the GSP log buffers after driver unbind= . > > Danilo, I'm confused. You told me to add this Kconfig: > > https://lore.kernel.org/rust-for-linux/DFR6RWROWBYA.1Q9JKH8UDSXOX@kernel.= org/ Maybe a misunderstanding due to my type? I.e. "I think it's OK to always have the entries on keeping them beyond device u= nbind has to be behind a Kconfig option." vs. "I think it's OK to always have the entries, only keeping them beyond devic= e unbind has to be behind a Kconfig option."