From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (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 5153919B3DA for ; Thu, 19 Sep 2024 09:38:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726738707; cv=none; b=KpENT7XA9v9BRWuSNR1Ry8yr+ggiSTkveQ1ODH6bVrDmO/sER6B2LQX2eQymS+SJMNLNYJSKgfkLW2BIY5z5mWlBx8UWCEJd15pVdZod2yJjoB6r/A8hHpUbeqQx3E3/RUgCgYLQ2Uba43r70IylMq+5jPAVVmN7KTIvMVHHyGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726738707; c=relaxed/simple; bh=6zgIlf2g4FasRB9SZXjDti0mnh5q9PH51K4Miuw73eA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uksAr3tv+cjqSTqomyl4QExjFbFfJ0ECHlFqao2CJwvTu4dzJHx4cIBkazsAVxwVogvQl2redH+h5Xin6XxgAcFzBFNc806k3ehmCRSZDQJPfF5EUql3Q5iT2PmpTQoXfGMoWkAL6oMHabhZaXrmHstsrqtG8BIVV3I0hmZ1/X8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=l4HshIq3; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="l4HshIq3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726738695; x=1758274695; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=6zgIlf2g4FasRB9SZXjDti0mnh5q9PH51K4Miuw73eA=; b=l4HshIq3ENTAALapfannG6xUsw3KhWk+p1ggfnVv2ASZRwA7BXnA4kOG CEmrraYFNvcssSG4WbiWrp1v6uxdG3tJYh35UnKv8qkwE8Ektkpgu5x5g QOEUYezMZE6Ht9s6K3KFD3Lo7+OOe8n83xrgfi4+98G+LfQ1+jYl+z1v4 HL2uXf8DI7rolCnNgDRpAaDZ3zMt7LyA6hRYXgGjvBBbp2E4v1KsO8EHk AC9ORLOGArMOSExDQ7UB0Nu6PR+O/myIUbjmgt+cGsMdljomY1EjcLLIt 2r1Uh2TtEeeQbhBflwiOhGDwAx18117fqdS7tGFp8V3VY/6gGg4SCvbnP w==; X-CSE-ConnectionGUID: Cu+8Qpb3SuKcoWMZGj8w/Q== X-CSE-MsgGUID: huZB0qJDTJS7tCeenWJyDA== X-IronPort-AV: E=McAfee;i="6700,10204,11199"; a="36819147" X-IronPort-AV: E=Sophos;i="6.10,241,1719903600"; d="scan'208";a="36819147" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2024 02:38:14 -0700 X-CSE-ConnectionGUID: ldBceI2yT+upVN9vD1az3A== X-CSE-MsgGUID: u8/7oFQkSsutQR0x0zrhGg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,241,1719903600"; d="scan'208";a="74855169" Received: from kuha.fi.intel.com ([10.237.72.185]) by orviesa004.jf.intel.com with SMTP; 19 Sep 2024 02:38:11 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Thu, 19 Sep 2024 12:38:09 +0300 Date: Thu, 19 Sep 2024 12:38:09 +0300 From: Heikki Krogerus To: =?utf-8?Q?=C5=81ukasz?= Bartosik Cc: Greg Kroah-Hartman , Lee Jones , Benson Leung , Guenter Roeck , Abhishek Pandit-Subedi , Pavan Holla , Tzung-Bi Shih , linux-usb@vger.kernel.org, chrome-platform@lists.linux.dev Subject: Re: [PATCH v6 6/8] usb: typec: cros_ec_ucsi: Add netlink Message-ID: References: <20240910101527.603452-1-ukaszb@chromium.org> <20240910101527.603452-7-ukaszb@chromium.org> Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sun, Sep 15, 2024 at 12:08:45AM +0200, Łukasz Bartosik wrote: > On Wed, Sep 11, 2024 at 4:09 PM Heikki Krogerus > wrote: > > > > Hi, > > > > On Tue, Sep 10, 2024 at 10:15:25AM +0000, Łukasz Bartosik wrote: > > > Add netlink to ChromeOS UCSI driver to allow forwarding > > > of UCSI messages to userspace for debugging and testing > > > purposes. > > > > Why does this need to be cros_ec specific? > > > > You're right. Netlink does not have to be cros_ec_ucsi specific. > Would you like to have netlink in typec_ucsi ? Does it need to be netlink? We would then have tracepoints, the custom debugfs interface, and this netlink interface. I think this information could be exposed via trancepoints (unless I'm missing something). Br, -- heikki