From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C13D02356C9; Thu, 4 Sep 2025 13:13:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756991587; cv=none; b=DIH14zQzC4UoPbjWBTQ2mW6avcrRBIvtnufMZFuTyFuUdcZOSCtvKx2UujIMXMPak0hr1I5PQ4SLonYtaEef5aQYrMSGsNf7NeFMeYaE/My4vrTrDnzFMIsifA1sxe0xzxCLj4y5uhAtZ6+Xu8vcJrSancGF2sPJsgIN7iBd0S4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756991587; c=relaxed/simple; bh=LtDWtmqJ+7LA5Gh7HYgsRMlM+zIYR1O1RoF4bWFUYgI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=OGRtQdVhCuHmmiPveUbl91XWoUH0ueWZ4rOOh0aTshZLrMfAntC8y5PM7xe7h0VAEc2HC9AmK6e523x7Bmp4PjDzzMBDG6oG22BV35dou/zbKEvzd44kWtbAbbGymTEWJZ2WPhn63BXs2Lsq8ZLD2XRjzwQqWGj5dSnGUq6ZO5c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WO98OgSS; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WO98OgSS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89A24C4CEF0; Thu, 4 Sep 2025 13:13:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756991587; bh=LtDWtmqJ+7LA5Gh7HYgsRMlM+zIYR1O1RoF4bWFUYgI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=WO98OgSS8w5E7FedQegN/sAsy6HUSnkxuJHsaxeDcVwhU2i3F9Bas+CD9QL8vJPTo cT0DPLd6c+UDZHnLB6unultWBaNZcL/QqvYFLBd626tZ8mnevNqnC5kW2owhooSv+l l9bVKuzz5EbCuq1pB8ioXtxE0m06WnkmijCG1rmSt6yW/dzED9l5BZhHdDq3pzcY9U RGqTM9nrC/tNdhZR7elFDkzGew6/N4ad2xG/s58SzfsQAWRdH0uIJ0ulebdF4uZL+/ RZ3B0l2i+0qh+iuFIqLKY/pvLE/E4HfMzCwXKr9OUs7qOamWNfzSlpyPSI5U7EK7yg jal/JEJuTFE/w== Message-ID: <19c28f99-b41c-428b-af04-a5914df6fec8@kernel.org> Date: Thu, 4 Sep 2025 15:13:02 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] rust: clk: implement Send and Sync To: Alice Ryhl Cc: Michael Turquette , Stephen Boyd , Viresh Kumar , Miguel Ojeda , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Trevor Gross , Daniel Almeida , linux-clk@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250904-clk-send-sync-v1-1-48d023320eb8@google.com> From: Danilo Krummrich Content-Language: en-US In-Reply-To: <20250904-clk-send-sync-v1-1-48d023320eb8@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/4/25 11:03 AM, Alice Ryhl wrote: > 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@collabora.com/ [1] > Signed-off-by: Alice Ryhl Reviewed-by: Danilo Krummrich