Re: [PATCH 4/4] hw/arm/mps2-tz.c: add AN547 AHB PPC EXP1 DMA ports

Peter Maydell <[email protected]>
Newsgroups org.nongnu.qemu-arm,org.nongnu.qemu-devel
Message-ID <CAFEAcA8EB0az05AwqZHWavX=XPz_sKKCV+vb2VC8s7H-qLXgjA@mail.gmail.com>
On Wed, 5 Aug 2026 at 20:13, Simon Xu <[email protected]> wrote:
>
> Page 42 of the AN547 TRM defines the AHB PPC EXP1 ports with DMA 1-3
>
> AN547 TRM: https://developer.arm.com/documentation/dai0547/latest/
>
> Suggested-by: Peter Maydell <[email protected]>
> Signed-off-by: Simon Xu <[email protected]>
> ---
>  hw/arm/mps2-tz.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/hw/arm/mps2-tz.c b/hw/arm/mps2-tz.c
> index 81e64a91de..d6d178642b 100644
> --- a/hw/arm/mps2-tz.c
> +++ b/hw/arm/mps2-tz.c
> @@ -1113,6 +1113,14 @@ static void mps2tz_common_init(MachineState *machine)
>                  { /* port 7 USER AHB interface 3 */ },
>                  { "eth-usb", make_eth_usb, NULL, 0x41400000, 0x200000, { 49 } },
>              },
> +        }, {
> +            .name = "ahb_ppcexp1",
> +            .ports = {
> +                { /* port 0 reserved */ },
> +                { "dma1", make_dma, &mms->dma[1], 0x41201000, 0x1000, { 62, 60, 61 } },
> +                { "dma2", make_dma, &mms->dma[2], 0x41202000, 0x1000, { 65, 63, 64 } },
> +                { "dma3", make_dma, &mms->dma[3], 0x41203000, 0x1000, { 68, 66, 67 } },
> +            },
>          },
>      };

Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM
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.