From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.71 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792483321; b=PDrglD65UjkBoZVy2bNvhQd74r2otPIZ10ZhxBkVp/LH1es7147LOwnFE2KJ2AnVaMXH DP2BFvJxZl6k3d/9MbalsDchF84SbooXVV1NmRD3waa2xt7C1+M/6YBrqqmsT5XS8FejL KvTt4CW5+GK7qT4ML3fXUVw+ATJxlmW76hIi+ve/KxrFPGgL6ErCVO54OkRf1trLfZRqn 6Tun/Hjj/EzzzjtTaZ92vwzUSMWbSFXTSIg5XdvEpChdHRk/8u7Q98dNNFfflMLBMCH3z fBj9RqDZZNW0ZfGaHkxup7kwaNDwad70ePSxhLAohpiFQPw/NB3TLSUX0ZCMSO4gAoA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792483321; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:X-Mailer:Message-ID:Subject:From:To:Cc: Content-Type; bh=a5szgawaqFYahDoR6WgawlMOYcIGKmjMs7XIVNwb/WA=; b=eBTIIlAJKDobc6HE7F07d5GOrfi2V/8HJzGt2jBO+JeiQMkLhf023V6hC62rzVuD+2fa Q3MtjRKhcofGM+/Pv/91DnJLIhGImRXwgB2ZX7tS0tI5tCE/ioH1Mn2rkRxYp+9e1m4bI DO2nZhHjuq6jPtcY25UrjxcD5keBThAOWBpPRfPJsp6oa9Sd2NeZs0UkRevhIanUf1s5d JbFfLTmUaAinTQ2KHwGEQPGzD9VXfeW/mQC9SREFRW1ByQ5P8LlQ0vmgV2Xb4a/Box+j7 CHF/LOeT5/dlmZk7nzT4NkQa/jf8psM0mr6udpLsAwwoUSs80mFPINdYYpB/aRdoP3A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20251104 header.b=bTSzKRuQ; arc=none smtp.remote-ip=209.85.128.71 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03876606A31D for ; Tue, 20 Oct 2026 08:02:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 03876606A31D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20251104 header.b=bTSzKRuQ Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-4a1e3efca9aso22731615e9.0 for ; Tue, 20 Oct 2026 01:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1792483319; x=1793088119; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=a5szgawaqFYahDoR6WgawlMOYcIGKmjMs7XIVNwb/WA=; b=bTSzKRuQMaj/nUNDQiFNgbMW7VY0cz1uEsSS9LODUy0rJpJ1NcOHZpuiEdx+Pv7xXw JrElKjWS5h1Lp2Uz3pS/CT+/pMYXJRqTXssYsJ7wjI7R7X+qG5ciwO4xiqCQUSzcglif ydTELKHh+OttyFrwibpJMAdhiLwYxHPYxrOaDQgWDiZIN6J5xE/hMbtGsHcVHfYey0kv ZRep3ZCoqCKoD/5J7rRIsh1Xy66FLIzjyemzZWLRrsQi/OnYXLY5je/W00I2AzK5MvhY l5DRfcCp5zVSKq3pYqc8MEvHQKEgrjnPSD/02FuqoUXaB862DgHjp78dvjw5ER/PTxC6 4Nyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792483319; x=1793088119; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=a5szgawaqFYahDoR6WgawlMOYcIGKmjMs7XIVNwb/WA=; b=nvTvEQP4B/MUQ9qYOxST9viuf/sy3qDpcDGsvUC7kzP0Te3Ooqtxh24ir3wuLYN5oB MCeqmZ1l26EXZFeCeJt1V6IRpfEBRS3+YsE4CkUddkhKoTF/jn0zsfBEuIq61cADv0II TGBnqbW2yfqqOaIZcqiY0vN7vmks4QlESiUw8E/3HIWN1Kn6uYDNeV+F8o8axgdCrIlM PDhqmFxrMab1EmK2C7yAzUUnOKUUkFO0RMnx9hhsVR2sYlewYf9GW7d5LRAqLt/znI7O jgOj85ZZUNtJuiWjh8xWaVcEYZtzt5aq1mPADcpsgQ5nDsSR8fQfW5DIH843Ov1PlDXu 6ItQ== X-Forwarded-Encrypted: i=1; AKwUvByqQnUr4DMig4V+IWAwPcFaruSGf0o+8Z9xjLLT65eORg5iqYqv2WDbTUPeDTOZAg/htjgmcFClZLePB6iHRQ==@vger.kernel.org X-Gm-Message-State: AFq9FYKZtOKz213KiCGiCHf5PXJfDQRM2/kmTlQyycrm4es15Lhxyiho uZ+oG5zCrCsoybP3sMJq2zUCS7+9XOVwV1/B4aCI8WQNza6Iaq/EQlYp56hMmRZDAhfjkrRDdjV 6zNiUJxQTeQFGIf0ctA== X-Received: from wmcu7.prod.google.com ([2002:a7b:c047:0:b0:4a1:f37f:7f0b]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:638e:b0:4a1:e6ad:baa3 with SMTP id 5b1f17b1804b1-4a1e6adbbe4mr113338955e9.15.1792483319125; Tue, 20 Oct 2026 01:01:59 -0700 (PDT) Date: Tue, 20 Oct 2026 08:01:46 +0000 In-Reply-To: <20261015-io-access-modes-v1-0-93611b84b5e3@collabora.com> X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261015-io-access-modes-v1-0-93611b84b5e3@collabora.com> X-Mailer: git-send-email 2.56.0.212.g129ede20d9-goog Message-ID: <20261020080147.1743459-1-aliceryhl@google.com> Subject: Re: [PATCH 0/7] rust: io: add read-only and write-only views and registers From: Alice Ryhl To: Daniel Almeida Cc: Alice Ryhl , Danilo Krummrich , Abdiel Janulgue , Robin Murphy , Andreas Hindborg , Miguel Ojeda , Boqun Feng , Gary Guo , "=?utf-8?q?Bj=C3=B6rn_Roy_Baron?=" , Benno Lossin , Trevor Gross , Tamir Duberstein , Alexandre Courbot , "=?utf-8?q?Onur_=C3=96zkan?=" , Bjorn Helgaas , "=?utf-8?q?Krzysztof_Wilczy=C5=84ski?=" , David Airlie , Simona Vetter , driver-core@lists.linux.dev, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="UTF-8" On Thu, Oct 15, 2026 at 04:19:40PM -0300, Daniel Almeida wrote: > This series adds read-only and write-only I/O views, and the #[ro] > and #[wo] attributes to register!. An access in the wrong direction > then does not compile. Reviewed-by: Alice Ryhl I heard a suggestion that it'd be better to drop the Io from these trait names so they are just Readable and Writable, because not all implementations do IO (i.e. if it's SysMem it's arguably not IO). Not super important to me, though.