Re: [PATCH v2 7/7] hw/riscv: k230: add a noc stub region in K230 board

Daniel Henrique Barboza <[email protected]>
Newsgroups gmane.comp.emulators.qemu
Message-ID <[email protected]>

On 7/27/2026 12:57 PM, Tao Ding wrote:
> The NOC address was accessed in the k230_unzip driver, but it is currently not in k230.
> This commit uses create_unimplemented_device to preset the region.
> 
> Signed-off-by: Tao Ding <[email protected]>
> Reviewed-by: Junze Cao <[email protected]>
> ---

Reviewed-by: Daniel Henrique Barboza <[email protected]>

>   hw/riscv/k230.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/hw/riscv/k230.c b/hw/riscv/k230.c
> index 7fd1ec4c25..ff834d6724 100644
> --- a/hw/riscv/k230.c
> +++ b/hw/riscv/k230.c
> @@ -234,6 +234,9 @@ static void k230_soc_realize(DeviceState *dev, Error **errp)
>                                 qdev_get_gpio_in(DEVICE(&s->decomp_gzip), i));
>       }
>   
> +    /* Noc stub, the k230 decomp_gzip driver in uboot will access this region */
> +    create_unimplemented_device("noc-stub", 0x91302000, 0x1000);
> +
>       /* unimplemented devices */
>       create_unimplemented_device("kpu.l2-cache",
>                                   memmap[K230_DEV_KPU_L2_CACHE].base,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.