From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 6D87A33936B; Wed, 12 Aug 2026 23:15:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786576515; cv=none; b=cJMJ6nG8cGSii/thQH6TKEGArKEOEhwnVMFs7VTcceNf4aXnTC3+7on0U0TB0K8R9V+SQrzpHFfl3+7UZwgTMoLyFxe1uxbajSMdo8C8536eH7BrW8GUE7rAmADGfecT0pEDMIDund2xrlp85RaHsLB5S07gW7nikPIrIkwfDP0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786576515; c=relaxed/simple; bh=9riEFF4pNfrUS8nXbREomHAlcpz0VMXUt2FDXJcbCnM=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=BePIStLkGE686rOf8pNAUnbO4F8krQ3R9u41g+78ljqYXccsY7hB4IdWrG3QXV/pGg3jigIuaH3VyyyUmO276rY7Usf3eSP92bO9vF5HMjMMzmPOhQAxqJw+pnILdgFVx9NvqAjX+QcPIVj3Y63B437jj9da7/nuj5bqARfl+q0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=n+2d8PF8; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="n+2d8PF8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0392F1F000E9; Wed, 12 Aug 2026 23:15:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786576513; bh=9riEFF4pNfrUS8nXbREomHAlcpz0VMXUt2FDXJcbCnM=; h=Date:Subject:Cc:To:From:References:In-Reply-To; b=n+2d8PF81yk7gnDknORv9sG1adGZBHQ2qvgfIQWAMizMhaVBAWBIDKPiZrUZqwKTv RhFxnP+PGPsazbZmIHtQANlYTh1sBCHrkrm0vX1rR6L0S0tChjLAfuHjD6Xp0f7Y7X J84K8qp0HyiTRpYnh4ykoicrku7kKr1aYa4NmPfe+xNedtGvY6NDAcYdf7wH3eMw4d NbGBoIfnBtGN9u91ilk23iVZLyZmr+LGggKtIPYxZ3RR5Ke0BhEkp/mzGVRe3wNkVV ULMiWPj09CeayA7IO6XdlQ78Ge7MMstzgMD7sv59xwg9WlqsiTR/WTIa90qIjxYKz0 GKk9xbW9UHNHg== Precedence: bulk X-Mailing-List: linux-kernel@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: Thu, 13 Aug 2026 01:15:10 +0200 Message-Id: Subject: Re: [PATCH 1/2] gpu: nova-core: gsp: retain the GSP-RM log buffers after unbind Cc: "Vladislav Zaharov" , , , , , , , To: "John Hubbard" From: "Danilo Krummrich" References: <20260812113752.532537-1-vladazaharova2018@gmail.com> <20260812113752.532537-2-vladazaharova2018@gmail.com> In-Reply-To: On Thu Aug 13, 2026 at 12:41 AM CEST, John Hubbard wrote: > I'd *much* rather use a kernel parameter: keep_gsp_logs, instead of > requiring a rebuild of the kernel. As you mention above, nouveau > arrived at the same conclusion, and yet even after mentioning it, > you went off in this other direction, but without explaining why. Not sure if Vladislav read that, but it might be on us; we were both talkin= g about a Kconfig in [1] back then, but meant a module param actually. :) > If someone is debugging, all they need to do is reboot with that > parameter, in order to get the logs. That's a big improvement over > requiring a kernel rebuild. I think for development it doesn't make a huge difference, but a module par= am might be easier to deal with if something unexpected happens in some less controlled environment. So, while I'm usually not a huge fan of module params, I do agree in this c= ase. [1] https://lore.kernel.org/all/067c6016-ce21-449e-b0d6-86252ac483a0@nvidia= .com/