lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <MEYP282MB2697B33940B6E9F3BA802729BBFBA@MEYP282MB2697.AUSP282.PROD.OUTLOOK.COM>
Date: Mon, 18 Sep 2023 06:56:26 +0000
From: "SongJinJian@...mail.com" <SongJinJian@...mail.com>
To: Jiri Pirko <jiri@...nulli.us>
CC: "davem@...emloft.net" <davem@...emloft.net>, "edumazet@...gle.com"
	<edumazet@...gle.com>, "kuba@...nel.org" <kuba@...nel.org>,
	"pabeni@...hat.com" <pabeni@...hat.com>, "corbet@....net" <corbet@....net>,
	"loic.poulain@...aro.org" <loic.poulain@...aro.org>, "ryazanov.s.a@...il.com"
	<ryazanov.s.a@...il.com>, "johannes@...solutions.net"
	<johannes@...solutions.net>, "chandrashekar.devegowda@...el.com"
	<chandrashekar.devegowda@...el.com>, "linuxwwan@...el.com"
	<linuxwwan@...el.com>, "chiranjeevi.rapolu@...ux.intel.com"
	<chiranjeevi.rapolu@...ux.intel.com>, "haijun.liu@...iatek.com"
	<haijun.liu@...iatek.com>, "m.chetan.kumar@...ux.intel.com"
	<m.chetan.kumar@...ux.intel.com>, "ricardo.martinez@...ux.intel.com"
	<ricardo.martinez@...ux.intel.com>, "netdev@...r.kernel.org"
	<netdev@...r.kernel.org>, "linux-doc@...r.kernel.org"
	<linux-doc@...r.kernel.org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "nmarupaka@...gle.com"
	<nmarupaka@...gle.com>, "vsankar@...ovo.com" <vsankar@...ovo.com>,
	"danielwinkler@...gle.com" <danielwinkler@...gle.com>
Subject: RE: [net-next v4 0/5] net: wwan: t7xx: fw flashing & coredump support

Tue, Sep 12, 2023 at 11:48:40AM CEST, songjinjian@...mail.com wrote:
>>Adds support for t7xx wwan device firmware flashing & coredump 
>>collection using devlink.

>I don't believe that use of devlink is correct here. It seems like a misfit. IIUC, what you need is to communicate with the modem. Basically a communication channel to modem. The other wwan drivers implement these channels in _ctrl.c files, using multiple protocols. Why can't you do something similar and let devlink out of this please?

>Until you put in arguments why you really need devlink and why is it a good fit, I'm against this. Please don't send any other versions of this patchset that use devlink.

 Yes, t7xx driver need communicate with modem with a communication channel to modem. 
 I took a look at the _ctrl.c files under wwan directory, it seemed the implementation can be well integrated with QualCommon's modem, if we do like this, I think we need modem firmware change, maybe not be suitable for current MTK modem directly.
 Except for Qualcomm modem driver, there is also an Intel wwan driver 'iosm' and it use devlink to implement firmware flash(https://www.kernel.org/doc/html/latest/networking/devlink/iosm.html), Intel and MTK design and use devlink to do this work on
 'mtk_t7xx' driver and I continue to do this work.

 I think devlink framework can support this scene and if we use devlink we don't need to develop other flash tools or other user space applications, use upstream devlink commands directly. 
 
 Thanks.
>NACK.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ