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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <PN3PR01MB9597AEE275F867871BD9A5DFB8D72@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM>
Date: Sun, 9 Mar 2025 09:00:07 +0000
From: Aditya Garg <gargaditya08@...e.com>
To: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC: "bhelgaas@...gle.com" <bhelgaas@...gle.com>, "joro@...tes.org"
	<joro@...tes.org>, "will@...nel.org" <will@...nel.org>,
	"robin.murphy@....com" <robin.murphy@....com>,
	"andriy.shevchenko@...ux.intel.com" <andriy.shevchenko@...ux.intel.com>,
	"linux-staging@...ts.linux.dev" <linux-staging@...ts.linux.dev>, Linux Kernel
 Mailing List <linux-kernel@...r.kernel.org>, "linux-pci@...r.kernel.org"
	<linux-pci@...r.kernel.org>, "iommu@...ts.linux.dev" <iommu@...ts.linux.dev>,
	Aun-Ali Zaidi <admin@...eit.net>, "paul@...rm.io" <paul@...rm.io>, Orlando
 Chamberlain <orlandoch.dev@...il.com>
Subject: Re: [PATCH RFC] staging: Add driver to communicate with the T2
 Security Chip



> On 9 Mar 2025, at 2:21 PM, gregkh@...uxfoundation.org wrote:
> 
> On Sun, Mar 09, 2025 at 08:44:16AM +0000, Aditya Garg wrote:
>> 
>> 
>>>> On 9 Mar 2025, at 2:10 PM, Aditya Garg <gargaditya08@...e.com> wrote:
>>> 
>>> From: Paul Pawlowski <paul@...rm.io>
>>> 
>>> This patch adds a driver named apple-bce, to add support for the T2
>>> Security Chip found on certain Macs.
>>> 
>>> The driver has 3 main components:
>>> 
>>> BCE (Buffer Copy Engine) - this is what the files in the root directory
>>> are for. This estabilishes a basic communication channel with the T2.
>>> VHCI and Audio both require this component.
>>> 
>>> VHCI - this is a virtual USB host controller; keyboard, mouse and
>>> other system components are provided by this component (other
>>> drivers use this host controller to provide more functionality).
>>> 
>>> Audio - a driver for the T2 audio interface, currently only audio
>>> output is supported.
>>> 
>>> Currently, suspend and resume for VHCI is broken after a firmware
>>> update in iBridge since macOS Sonoma.
>>> 
>>> Signed-off-by: Paul Pawlowski <paul@...rm.io>
>>> Signed-off-by: Aditya Garg <gargaditya08@...e.com>
>>> 
>> 
>> FWIW, I am aware of the missing maintainers file and still not removed Linux version checks in the driver.
>> 
>> My main purpose of sending this was to know the views of the maintainers about the code quality, and whether this qualifies for staging or not.
> 
> I have to ask why do you want this in drivers/staging/ at all?  Why not
> take the day or so to clean up the code to be the proper style and
> handle the needed issues and then submit it to the normal part of the
> kernel?
> 
> Putting code in staging actually takes more work to clean it up and get
> it out of there than just doing it all at once out-of-tree.  So we need
> a good reason why it is in here, as well as what the plan is to get it
> out of staging entirely.  So a TODO file in the directory for the driver
> is required here.

I see. I was of the view that staging is more of like a place to keep beta drivers
> 
> Also, as this is at least 3 different drivers, this should be a patch
> series and not all in one if at all possible.
> 
> thanks,
> 
> greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ