|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [RFC/PATCH v0 09/12] gunyah: Customize device-tree |
Date: | Thu, 12 Oct 2023 06:36:35 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
On 11/10/23 18:52, Srivatsa Vaddagiri wrote:
Customize device-tree with Gunyah specific properties. Some of these properties include specification of doorbells that need to be created and associated with various interrupts. Signed-off-by: Srivatsa Vaddagiri <quic_svaddagi@quicinc.com> --- hw/arm/virt.c | 11 ++++++ include/sysemu/gunyah.h | 7 ++++ target/arm/gunyah.c | 79 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+)
diff --git a/include/sysemu/gunyah.h b/include/sysemu/gunyah.h index 101e190619..f077837437 100644 --- a/include/sysemu/gunyah.h +++ b/include/sysemu/gunyah.h @@ -35,6 +35,8 @@ DECLARE_INSTANCE_CHECKER(GUNYAHState, GUNYAH_STATE, TYPE_GUNYAH_ACCEL)int gunyah_arm_set_dtb(__u64 dtb_start, __u64 dtb_size);+void gunyah_arm_fdt_customize(void *fdt, uint64_t mem_base, + uint32_t gic_phandle);#else /* CONFIG_GUNYAH_IS_POSSIBLE */ @@ -45,6 +47,11 @@ static inline int gunyah_arm_set_dtb(__u64 dtb_start, __u64 dtb_size)return -1; }+static inline void gunyah_arm_fdt_customize(void *fdt, uint64_t mem_base,+ uint32_t gic_phandle) +{
Similar comment than previous patch: stub can be avoided.
+} + #endif /* CONFIG_GUNYAH_IS_POSSIBLE */#endif /* QEMU_GUNYAH_H */
[Prev in Thread] | Current Thread | [Next in Thread] |