Re: [PATCH v2 1/2] rust: clk: implement Send and Sync

From: Daniel Almeida

Date: Sat Sep 20 2025 - 14:43:40 EST




> On 20 Sep 2025, at 19:12, Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> On Sat, Sep 20, 2025 at 7:06 AM Stephen Boyd <sboyd@xxxxxxxxxx> wrote:
>>
>> Quoting Daniel Almeida (2025-09-10 11:47:30)
>>> Hi Boqun,
>>>
>>>> On 10 Sep 2025, at 14:49, Boqun Feng <boqun.feng@xxxxxxxxx> wrote:
>>>>
>>>> On Wed, Sep 10, 2025 at 02:28:27PM -0300, Daniel Almeida wrote:
>>>>> From: Alice Ryhl <aliceryhl@xxxxxxxxxx>
>>>>>
>>>>> These traits are required for drivers to embed the Clk type in their own
>>>>> data structures because driver data structures are usually required to
>>>>> be Send. See e.g. [1] for the kind of workaround that drivers currently
>>>>> need due to lacking this annotation.
>>>>>
>>>>> Link: https://lore.kernel.org/rust-for-linux/20250812-tyr-v2-1-9e0f3dc9da95@xxxxxxxxxxxxx/ [1]
>>>>> Signed-off-by: Daniel Almeida <daniel.almeida@xxxxxxxxxxxxx>
>>>>> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
>>>>> Reviewed-by: Danilo Krummrich <dakr@xxxxxxxxxx>
>>>>> Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
>>>>> Reviewed-by: Daniel Almeida <daniel.almeida@xxxxxxxxxxxxx>
>>>>
>>>> This tag list looks a bit weird to me. Why is there a SoB from you
>>>> before Alice's SoB? At least for the usage I'm familiar with, outside
>>>> the case of Co-developed-bys, multiple SoBs is used for recording how
>>>> the patches are routed. For example, if I have a patch that has my SoB
>>>> and I send it to you, you queue in your tree and then send out to other
>>>> maintainers for merging, in general you would put your SoB after mine in
>>>> that case. But I don't think that's case here? Alice's patch has only
>>>> her SoB:
>>>>
>>>> https://lore.kernel.org/rust-for-linux/20250904-clk-send-sync-v1-1-48d023320eb8@xxxxxxxxxx/
>>>>
>>>> What's the intention of the SoB tag here?
>>>>
>>>> Otherwise the patch looks good to me. If we get the tag list resolved,
>>>> feel free to add:
>>>>
>>>> Reviewed-by: Boqun Feng <boqun.feng@xxxxxxxxx>
>>>>
>>>> Regards,
>>>> Boqun
>>>>
>>>
>>> You have to include your SOB when submitting patches from others.
>>>
>>> This is something I tend to forget often, so I made sure it was there. The
>>> order may be indeed off though.
>>
>> Yes the order is wrong. The first SoB should be the commit author.
>
> One optoin is to just land the original patch:
> https://lore.kernel.org/all/20250904-clk-send-sync-v1-1-48d023320eb8@xxxxxxxxxx/
>
> Alice

I guess this makes even more sense. I was hoping to land these two together,
but clearly this will not be possible for the time being as the second patch
has no r-b tags.

— Daniel