Thread (59 messages) 59 messages, 8 authors, 6d ago

Re: [PATCH v19 3/7] firmware: arm_rmm: Configure the RMM with the host's page size

From: Gavin Shan <hidden>
Date: 2026-09-25 00:03:40
Also in: kvm, kvmarm, linux-coco, lkml

On 9/24/26 11:51 PM, Suzuki K Poulose wrote:
RMM v2.0 brings the ability to set the RMM's granule size. Check the
feature registers and configure the RMM so that it matches the host's
page size. This means that operations can be done with a granularity
equal to PAGE_SIZE.

Signed-off-by: Steven Price <steven.price@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
  Changes since v18:
   * Move the rmi_config_set closer to rmi_configure, drop the comment
   * Use __free() magic for rmm_config object
  Changes since v17:
   * Move rmi_config_set() out of the header file.
   * Print the error message for rmi_config_set if it fails
  Changes since v15:
   * Actually check the feature register for the host's page-size support.
  Changes since v14:
   * Move the implementation into drivers/firmware/arm_rmm.
  Changes since v13:
   * Moved out of KVM.
---
  drivers/firmware/arm_rmm/rmi.c | 70 ++++++++++++++++++++++++++++++++++
  1 file changed, 70 insertions(+)
Reviewed-by: Gavin Shan <redacted>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help