From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 163873FC5D8 for ; Thu, 9 Jul 2026 09:22:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783588975; cv=none; b=Shj+fMKpNqPKuxciDws2Ku9OD89JbyjbvTa9g/ANcITVzPD/4d3Vo5cPMmuZS9bw9EcxgeaF4XXGMj55IaeRBgBXylbBHijajXt2o+0D6R2SvobW3awQaGYqWEeoy+KzEpNpSwCmhQBRZhtod1balwZo1iCyVBmWgusXskR6Yvw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783588975; c=relaxed/simple; bh=9EdaGAvYJ5tbCvOjl8CHeOoyPtBqGPgNsT9qMmRu+Es=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hk5YYhJm/qMV9Tha7NvmlPQBGyCztTBtDyyWqLcX9/Czl4TdmOweZkJwT1OQVTxfwKr9dqK4lcQrzNYvNlQ/uC3VW8ZsYVXTlkVa7GwI2tvjgmK2TaDdVDPTL9758jijZcF6z3+7lCYu4qVjZKzlVXmft0tYhzEash1nIrGQ4wU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=IgLnkjdU; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="IgLnkjdU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1783588972; x=1815124972; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=9EdaGAvYJ5tbCvOjl8CHeOoyPtBqGPgNsT9qMmRu+Es=; b=IgLnkjdUlLlmG4cE0DpGDcwjRO9bch+RbiHn0gHx/crmFpJnZvZd/TDk I3m7yWLTTQwTWmYf9tkXLWSikZFkxWbHJiLfRQwa/Z7NpU0x9H9d8oCSj PdeDN4SFLcuT+ePzFmHdpvNeFHvThTsIRdfWuQlTQ5sJ11gttI3H6l7Gn ZmpMOshKEuCEKgzirdmtWdBOpW2uGK+9mpJTzePLcaUOafSOFHx42r9cy ZdWi1SOJTIbd3aN1Qdyot+dk2qtWm8aVZNDyM4ADRwd8o9RxlZ9vSL+S7 0IuNmdNNPFVYnnlfXMGWkGX8oVSbk7ZeSssjgzeakRflDCnrImRwRtDWU Q==; X-CSE-ConnectionGUID: +n4N7rdTQrKbeo05NCyQhg== X-CSE-MsgGUID: n2wX6xmkSwKSZhO+x73Khw== X-IronPort-AV: E=McAfee;i="6800,10657,11841"; a="101693411" X-IronPort-AV: E=Sophos;i="6.25,154,1779174000"; d="scan'208";a="101693411" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2026 02:22:34 -0700 X-CSE-ConnectionGUID: ReNFUb8JR7iKxKlmK8LGyQ== X-CSE-MsgGUID: /O5vCSJFTeWSIIutLaS32Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,154,1779174000"; d="scan'208";a="251884450" Received: from black.igk.intel.com ([10.91.253.5]) by fmviesa008.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2026 02:22:29 -0700 Date: Thu, 9 Jul 2026 11:22:26 +0200 From: Raag Jadav To: "Tauro, Riana" Cc: Rodrigo Vivi , kuba@kernel.org, aravind.iddamsetty@linux.intel.com, intel-xe@lists.freedesktop.org, anshuman.gupta@intel.com, joonas.lahtinen@linux.intel.com, simona.vetter@ffwll.ch, airlied@gmail.com, pratik.bari@intel.com, joshua.santosh.ranjan@intel.com, ashwin.kumar.kulkarni@intel.com, shubham.kumar@intel.com, ravi.kishore.koppuravuri@intel.com, maarten.lankhorst@linux.intel.com, mallesh.koujalagi@intel.com, soham.purkait@intel.com, Zack McKevitt , Lijo Lazar , Hawking Zhang , "David S. Miller" , Paolo Abeni , Eric Dumazet , dri-devel@lists.freedesktop.org, netdev@vger.kernel.org Subject: Re: [PATCH v4 1/3] drm/drm_ras: Add drm_ras netlink error event Message-ID: References: <20260701094409.129131-5-riana.tauro@intel.com> <20260701094409.129131-6-riana.tauro@intel.com> <202f6d3a-c29b-491b-979f-1d8223f59108@intel.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, Jul 09, 2026 at 10:45:27AM +0530, Tauro, Riana wrote: > On 09-07-2026 01:51, Rodrigo Vivi wrote: > > On Tue, Jul 07, 2026 at 12:02:11PM +0530, Tauro, Riana wrote: > > > Hi Rodrigo/Jakub/Aravind > > > > > > Please let me know if you have any feedback for this patch or can you please > > > ack this if it looks good to you. > > I looks good to me, but could you please double check the sashiko's comments? > > Sashiko has a comment regarding namespaces > > [Severity: Medium]Since the generic netlink family explicitly supports > multiple networknamespaces by setting .netnsok = true, >  will hardcoding init_net hereprevent listeners in non-init namespaces from > receiving error events > > .netnsok = true is auto generated not explicitly added in code. Because that's what ynl_gen_c.py does without it being parsed from anywhere. > But from what i see, drm device is present in the host and not replicated > across namespaces > and most of the non-network implementations use inet.  (ex: Binder) > If this really needs a fix, we can drop the has_listeners suggested by raag  > in previous patch. > I don't think in an error path, allocating a new buffer would be a big > overhead if listeners are not present. I don't know enough about namespaces to comment on this. I'll rely on Jakub's disposition if netnsok is relevant here, or needed at all for our usecase. Raag