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 7F6333B95FC; Tue, 3 Feb 2026 15:53:59 +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=1770134039; cv=none; b=CpXbuYFTHLkaepdRGWF7b8VbTqV/VhWqEj133IMjy6OHctogIpsa6Ev9EP14xRKY/uKzT4f4Io9mMxiTZOBL6ul8qysXbBk/uEBXbWoFtbGoKUKQsd4yhV1o5LL2zZkU5RIiLY0svj5fK0ajC7C+KfVKdJXhExhWXqfYrSUjAxU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770134039; c=relaxed/simple; bh=1nS4AO22symQeFy3tcdMNBtHeJUlbBFqz1B5VpUBa6Y=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:To:From:Subject: References:In-Reply-To; b=AWeXrWtb+lnB6Ee1iMW7WAz9z2ac+pW0vxhPZclLLmxKTZ1zV7uRbX3KE0fCSOJvRRP3P2cFJgKVrWCCIgUODh5rg/AjzikywFLmOIqldHWYEdkuPnr/R3FMp1jU6KLSJeXj+dppHYWn4CVAJrWjq3W/GWqLRBsDTvrqVWXw/dk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=D3+Ob8zk; 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="D3+Ob8zk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D661AC19421; Tue, 3 Feb 2026 15:53:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770134039; bh=1nS4AO22symQeFy3tcdMNBtHeJUlbBFqz1B5VpUBa6Y=; h=Date:Cc:To:From:Subject:References:In-Reply-To:From; b=D3+Ob8zkiZjMhafcOfTN1MUr9UGmopuQ1uHGIYvDxb5qvvGvdYL0OTSF3tok13Cl5 xkqRQucdFd7u2DMKRlVCd8HpSBsN8VHAgKCg0IOOtSgbVNV9CosRNUbRRWZVoPtL2Y 4ccnSqQpaAkrqZzvrPINZ476YLJZ9gf8EzKqwC5hNa2lKEJi5Z3jVsHHqJKCSN9kLV 4r7Rsfq+vD94Dcn46vp5mBWKIsBPcn+1TjoxCh3R+xHGhJl/3Mi9zjDaQOEoDR/6Jh SLgTo+9bd0uAHwwAedeKQH9+rfMRY3WCAWVaftbQ6TEh1X253zfm3K3AZWPzzadLyc puGofnWid+Wng== Precedence: bulk X-Mailing-List: linux-pwm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 03 Feb 2026 16:53:51 +0100 Message-Id: Cc: "Bjorn Andersson" , "Konrad Dybcio" , "Satya Durga Srinivasu Prabhala" , "Miguel Ojeda" , "Boqun Feng" , "Gary Guo" , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , "Benno Lossin" , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "Daniel Almeida" , "Greg Kroah-Hartman" , "Rafael J. Wysocki" , "David Airlie" , "Simona Vetter" , "Michal Wilczynski" , "Dave Ertman" , "Ira Weiny" , "Leon Romanovsky" , "Trilok Soni" , , , , , , To: "Matthew Maurer" From: "Danilo Krummrich" Subject: Re: [PATCH v2 2/6] rust: io: Support copying arrays and slices References: <20260203-qcom-socinfo-v2-0-d6719db85637@google.com> <20260203-qcom-socinfo-v2-2-d6719db85637@google.com> In-Reply-To: <20260203-qcom-socinfo-v2-2-d6719db85637@google.com> On Tue Feb 3, 2026 at 4:46 PM CET, Matthew Maurer wrote: > Adds support for doing array copies of data in and out of IO regions. > Fixed size arrays allow for compile-time bound checking, while slice > arguments allow for dynamically checked copies. > > Signed-off-by: Matthew Maurer This patch needs to go on top of the recent I/O rework and should be genera= lized through an IoSlice type [1]. [1] https://rust-for-linux.zulipchat.com/#narrow/channel/288089-General/top= ic/Generic.20I.2FO.20backends/with/571639597