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: <657230af-2675-4746-b2a0-060aad7026da@roeck-us.net>
Date: Wed, 29 Jan 2025 21:07:36 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Aditya Garg <gargaditya08@...e.com>
Cc: Atharva Tiwari <evepolonium@...il.com>,
 Henrik Rydberg <rydberg@...math.org>, Jean Delvare <jdelvare@...e.com>,
 "linux-hwmon@...r.kernel.org" <linux-hwmon@...r.kernel.org>,
 "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
 Orlando Chamberlain <orlandoch.dev@...il.com>
Subject: Re: [PATCH v2] hwmom/applesmc: add imacpro

On 1/29/25 19:54, Aditya Garg wrote:
> Hi
> 
>> On 30 Jan 2025, at 1:06 AM, Guenter Roeck <linux@...ck-us.net> wrote:
>>
>> Hi Aditya,
>>
>>> On 1/29/25 10:22, Aditya Garg wrote:
>>> Hi Guenter
>>> Sorry to barge in like that but I have some issues with this here.
>>
>> No worries. Thanks for stepping in.
>>
>>> 1. The iMacPro1,1 is a T2 Mac and the applesmc driver does not support T2 Macs upstream, thus making no point of adding this. We at t2linux have downstream patches to support T2 Macs, but we do not aim to upstream them since we wish to use a separate, and better driver for the SMC on T2 Macs.
>>> 2. The person who submitted the patch took it from the t2linux project, of which I am a part of, but didn't care to even credit the original author of the patch. I’m not sure how legal it is to redistribute the code in his own name and removing the original author’s name without taking permission from the author as per the GPL2 license, but I think the author should be credited. In fact the original patch was Signed-off-by the original author.
>>> For reference, the original patch, which we never intended to be sent upstream, is given over here:
>>> https://github.com/t2linux/linux-t2-patches/blob/main/3007-applesmc-Add-iMacPro-to-applesmc_whitelist.patch
>>
>> FWIW, that patch looks much better than this patch.
>>
>> I am a bit confused, though: You are saying above that the patch is pointless.
>> Is that because context patches adding support for T2 are missing ?
>>
>> Also, what about the patch at [1] ? It also adds t2 specific functionality,
>> and it seems to match another patch from the t2linux project.
>> Is that also missing some context ?
>>
> 
> As far as patch in [1] in considered:
> 
> 1. The patch alone cannot make fan work on T2 Macs. As you saw the other T2 patches, the 300x patch series in total is needed for T2 support, the reason is mentioned in the patch description of individual patch, which you may read if interested.
> 
> 2. The patch becomes pointless again, since the driver still doesn't support T2 Macs. Ideally the whole patch series should be submitted.
> 
> 3. We do not plan to send the whole patch series to add T2 support in applesmc, since Asahi Linux has a better SMC driver and we aim to use that. Just in case we change our decision to use applesmc, the whole series with proper credits shall be sent upstream, and not random patches without crediting the original people who wrote the code.
> 
> 4. This patch was originally authored by Paul Pawlowski, and not the submitter, which you might have noticed when you saw the t2linux patch repo (it's the same repo which I sent in the previous email). The author had not yet signed-off the patch, thus requiring permission from the author as well.
> 
> I've also noticed the Aun-Ali Zaidi, the who the submitter has added in the signed-off-by was not Cced, which is kinda strange.
> 
> Again, like previous patch, the final call stays with you being a maintainer.
> 

That is a simple call: I'll reject that patch. Thanks for letting me know.

Guenter


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ