Re: [PATCH v3 5/8] hw/misc: Introduce a model of Xilinx Versal's CFRAME_REG

2023-08-31 Thread Francisco Iglesias
Hi Peter, On 2023-08-29 18:44, Peter Maydell wrote: On Thu, 24 Aug 2023 at 19:35, Francisco Iglesias wrote: Introduce a model of Xilinx Versal's Configuration Frame controller (CFRAME_REG). Signed-off-by: Francisco Iglesias +static void cfrm_fdri_post_write(RegisterInfo *reg, uint64_t va

Re: [PATCH v3 5/8] hw/misc: Introduce a model of Xilinx Versal's CFRAME_REG

2023-08-31 Thread Peter Maydell
On Thu, 31 Aug 2023 at 16:00, Francisco Iglesias wrote: > > Hi Peter, > > On 2023-08-29 18:44, Peter Maydell wrote: > > You don't need to g_tree_lookup() for every address. If > > you use g_tree_lookup_node() you get a GTreeNode* back, > > and you can then iterate through the tree from that point

Re: [PATCH v3 5/8] hw/misc: Introduce a model of Xilinx Versal's CFRAME_REG

2023-08-29 Thread Peter Maydell
On Thu, 24 Aug 2023 at 19:35, Francisco Iglesias wrote: > > Introduce a model of Xilinx Versal's Configuration Frame controller > (CFRAME_REG). > > Signed-off-by: Francisco Iglesias > +static void cfrm_fdri_post_write(RegisterInfo *reg, uint64_t val) > +{ > +XlnxVersalCFrameReg *s = XLNX_VER

[PATCH v3 5/8] hw/misc: Introduce a model of Xilinx Versal's CFRAME_REG

2023-08-24 Thread Francisco Iglesias
Introduce a model of Xilinx Versal's Configuration Frame controller (CFRAME_REG). Signed-off-by: Francisco Iglesias --- MAINTAINERS | 2 + hw/misc/meson.build | 1 + hw/misc/xlnx-versal-cframe-reg.c | 685 +++ incl