All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Small Rust memory API improvements
@ 2025-07-03 13:58 Manos Pitsidianakis
  2025-07-03 13:58 ` [PATCH 1/3] rust/memory: replace size arg with Bits enum Manos Pitsidianakis
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Manos Pitsidianakis @ 2025-07-03 13:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-rust, Paolo Bonzini, Zhao Liu, Manos Pitsidianakis

This series adds minor improvements to the memory API:

- Use an enum to define bit width for memory accesses instead of an
  integer
- Add *_with_attrs methods to MemoryRegionOps

The *_with_attrs methods are not currently used by any device, and that
patch can be dropped without issue.

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
---
Manos Pitsidianakis (3):
      rust/memory: replace size arg with Bits enum
      memattrs.h: make MemTxAttrs into enum
      rust: add *_with_attrs methods to MemoryRegionOps

 include/exec/memattrs.h          | 11 ++---
 rust/hw/char/pl011/src/device.rs |  8 ++--
 rust/hw/timer/hpet/src/device.rs | 14 +++----
 rust/qemu-api/meson.build        |  1 +
 rust/qemu-api/src/memory.rs      | 86 +++++++++++++++++++++++++++++++++++-----
 5 files changed, 93 insertions(+), 27 deletions(-)
---
base-commit: c77283dd5d79149f4e7e9edd00f65416c648ee59
change-id: 20250703-rust-mem-api-7faf5644cda2

--
γαῖα πυρί μιχθήτω



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-07-08 21:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-03 13:58 [PATCH 0/3] Small Rust memory API improvements Manos Pitsidianakis
2025-07-03 13:58 ` [PATCH 1/3] rust/memory: replace size arg with Bits enum Manos Pitsidianakis
2025-07-08  8:19   ` Zhao Liu
2025-07-08  8:35   ` Paolo Bonzini
2025-07-08  9:11     ` Manos Pitsidianakis
2025-07-08 12:25       ` Paolo Bonzini
2025-07-08  8:42   ` Zhao Liu
2025-07-03 13:58 ` [PATCH 2/3] memattrs.h: make MemTxAttrs into enum Manos Pitsidianakis
2025-07-03 15:42   ` Philippe Mathieu-Daudé
2025-07-08  8:22   ` Zhao Liu
2025-07-08  8:43   ` Zhao Liu
2025-07-03 13:58 ` [PATCH 3/3] rust: add *_with_attrs methods to MemoryRegionOps Manos Pitsidianakis
2025-07-08  8:42   ` Zhao Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.