From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 83018560AB3 for ; Wed, 23 Sep 2026 19:31:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790191901; cv=none; b=tZXBfFyjRfT+VvqF5Yw+n+tQm/4ipo2wUsfqGPeEQruKpyeom9/GPLHha/zyrTneNInzERGHr2fnk4xRVVBHUE4FqRrrXxuMtSJ1O5huY2d+gjVPMcKLzZo2uIsEVLps+NJf5OEzwAWHONE2A79uSbiu74Vkb9fXgAdmMGwsg0Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790191901; c=relaxed/simple; bh=6iupfhzSHmFB3n5I6wsdrPypYlAtg1EjTEHMjDviSIA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZGPMegxRSOnTEOvhLCHGkuMcCxJxmgG43IOW7ivQazQf7dRm27Mp79R91Tn/XNyy8bAsCcqk40lS+Ij0pVPPKyCttilCztSM7PP5SYRUo3yWPF/UVsNBBlFWW8QPPbFmeMA+Aqqu8nBKif7LucxSfxv8c9gMMnTHOojVp2PpWgQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Is7mSpCF; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=dRp9jP0V; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Is7mSpCF"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="dRp9jP0V" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1790191898; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ovivw96bNcYL69Xo4W26bbtJi3QOHW7T3qBHC1K/UZc=; b=Is7mSpCFEi3PjNGLWfPoI+vW2SdyN3ZQvj4kb20womUBMOvoWVXMt7nfjvSojkx8rtk5TR XewifqYwuvreF7IG8CRjxVtOz3lWBomWniiEK08lbNQNBeClUZPJVL++gd//4xaIZbrt5g c0qViOIuePEN5j4ruZZTNR6cEkzBH90= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-491-q4Vb4NIvOnGKaQotMkfB8g-1; Wed, 23 Sep 2026 15:31:37 -0400 X-MC-Unique: q4Vb4NIvOnGKaQotMkfB8g-1 X-Mimecast-MFC-AGG-ID: q4Vb4NIvOnGKaQotMkfB8g_1790191897 Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-90e7f98bcb9so22935766d6.1 for ; Wed, 23 Sep 2026 12:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1790191896; x=1790796696; darn=vger.kernel.org; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:content-type:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Ovivw96bNcYL69Xo4W26bbtJi3QOHW7T3qBHC1K/UZc=; b=dRp9jP0VZB4lw1/HxJBfjLhHBlDy9tDQ1yh2s8H61FNfp14Nd2qW0WZzBixyq3eR/D //hfPXFZKMXPT2zibaH5TYECnYVnxZUFH+T+hgJpzvqM4LTaEvD7lPM8qfErNGKTmD13 qny/6CaDVDIM8R72SpsGrR9oLgUbJ4lJ6jbe8Nll1u05tjiVbtNWlK9SINYi7bw+8T2v JdrVWhWhUblN1e9DOKawuUbTR7d0F1SWDqW2sTBTiPSYYSHvj38DQRY+6a9fFhiTOoyR n/0GI2nBQK09RzzeAZfxalMnQCGlSpU3QNG4BM89bWOPZPlDa1sPpn74ykmriYXI6dmU TUAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790191896; x=1790796696; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:content-type:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=Ovivw96bNcYL69Xo4W26bbtJi3QOHW7T3qBHC1K/UZc=; b=fMk1A9O05nrHJjHHu7e//No6JKzriSeya7gpK6vyMTA1JZs/W0ZYotY4DQuMd6DNq3 +MyQDOFxi3CrDYGsS2nUFVc8X956VdUE4nacn1+C7WepxjTw/cnw7Rm0PLnADveGTQJj mkCYzs6W2uaq5iCABeBIeq/ZyX4aNOjopMZW+Ak08SGf086XWwwUPqW82j6VgCF/9W3y YT6CLemu6G6eB+O9vOWxvgkJJYTwK9/T/k2d9BXNDRz3THn43GaIRpJB8FMqO4QbrzSE u1Z/ZlbWRWNyjCLy5crbjOIcHNToLTZZVgS0jaJ/sLq2JBt7Q9FDXuZCMYGDpFLG/d7Y G3Ig== X-Forwarded-Encrypted: i=1; AKwUvBxub8Gm6z2muM9jv+fYG5ECZoxw7Dmx3Rc/iGtkxvl1Kcbiv8weCIgnO4kgyvh7JcBbkp40u7EvQD2XmbI=@vger.kernel.org X-Gm-Message-State: AFuF++nKFqLgpx8rWZqH7XDVg9czcy3hwolX4l/yF3HKHXIy2Wi0WJ0n DTY+Ug0lTJuniuwvknJFBV7+SK/sAu9lUX8TKbgkt7OHekDQq6Ch2EDB4DxeavDQO0ORD6kCD4p HddRIdJp6aNVMZvGKoofweXb4bvzM0RIw+djOP0GXBDCNiiG/BL18XgEQIWFY/DZSwA== X-Gm-Gg: AYBFou09/tUJT/LLUnl8z8gd43mbkmarYbvTTTHWPTWwzQwTDa2SncjHY+H92Uk0sh7 +CBwJIZbZNH5horv8Fzd0BaHbXCr+Z0/7TnaUBIEHRchDjTfmdvBtfDRzpE6t9XLXal3DVL2hEH wI2EAHgj2PqqHK+NnMANyzTzQP2saMvK5NvSbgBTTPfB2bR2o3ZrR81K3U7GkRDFs7HZlpxTaMp 3NxrOa28AKwU5+ruX1ETuRr2rNrxsNy20XTDjiiOIFziDjhZBBzzLarbxlHWyFke5qmtxRNr4Vw 5ZvXGzH/TPpwaWpENGPeuSbQzt+JF39BClPHRTBYz8hDsS+C1T0Lr2X26Hv3LR/K8vzAhKYwy42 /6THTgJfn X-Received: by 2002:a05:620a:890e:b0:93c:18ff:a0b with SMTP id af79cd13be357-93c3470da05mr22943385a.29.1790191896482; Wed, 23 Sep 2026 12:31:36 -0700 (PDT) X-Received: by 2002:a05:620a:890e:b0:93c:18ff:a0b with SMTP id af79cd13be357-93c3470da05mr22940985a.29.1790191896030; Wed, 23 Sep 2026 12:31:36 -0700 (PDT) Received: from redhat.com ([2600:382:8529:2779:5d36:56ab:46b2:2e62]) by smtp.gmail.com with ESMTPSA id af79cd13be357-93c248bd54esm297435985a.38.2026.09.23.12.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2026 12:31:35 -0700 (PDT) Date: Wed, 23 Sep 2026 15:31:31 -0400 From: Brian Masney To: Miguel Ojeda Cc: Alice Ryhl , Alexandre Courbot , Georgios Androutsopoulos , Stephen Boyd , Brian Masney , Jerome Brunet , Miguel Ojeda , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Trevor Gross , Danilo Krummrich , Daniel Almeida , Tamir Duberstein , Onur =?iso-8859-1?Q?=D6zkan?= , linux-clk@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rust: clk: document overflow panics in `Hertz` constructors Message-ID: References: <20260908225615.1732105-1-georgeandrout13@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/2.4.0 (2026-06-19) On Mon, Sep 21, 2026 at 06:08:46PM +0200, Miguel Ojeda wrote: > On Mon, Sep 21, 2026 at 5:51 PM Alice Ryhl wrote: > > > > My understanding is that the "default" way patches land is that the > > subsystem also takes Rust patches related to the subsystem, and that > > the rust tree is a fallback tree. > > Indeed, the idea on how we suggest setting up the `MAINTAINERS` > entries is that, by default, maintainers keep control of both sides > (they are the experts, after all) and that, hopefully, they get more > involved on the Rust side etc. > > It makes sense for reworking the subsystem, too, since it may happen > that a rework on the C side may need adjustments on the Rust side etc. > > The file is already under "COMMON CLK FRAMEWORK", so in this instance > it seems fine. > > Brian: in case you want it (but it wouldn't be needed!): > > Acked-by: Miguel Ojeda > > As Alexandre said, we may want to rework how these work (instead of > panicking), but documenting helps for now (and whether this counts as > a Fix or not is, I guess, up to what you usually do in your > subsystem). > > I hope that helps! Sounds good, I'll pick this up. Learning Rust is something that I want to start to do this coming Winter. I have an existing userspace project that I'm going to convert from python to rust. Brian