[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v12 01/10] hw/misc: Add Nuvoton's PCI Mailbox Module
From: |
Peter Maydell |
Subject: |
Re: [PATCH v12 01/10] hw/misc: Add Nuvoton's PCI Mailbox Module |
Date: |
Sat, 13 Jan 2024 12:27:18 +0000 |
On Wed, 10 Jan 2024 at 23:42, Nabih Estefan <nabihestefan@google.com> wrote:
>
> From: Hao Wu <wuhaotsh@google.com>
>
> The PCI Mailbox Module is a high-bandwidth communcation module
> between a Nuvoton BMC and CPU. It features 16KB RAM that are both
> accessible by the BMC and core CPU. and supports interrupt for
> both sides.
>
> This patch implements the BMC side of the PCI mailbox module.
> Communication with the core CPU is emulated via a chardev and
> will be in a follow-up patch.
>
> Change-Id: Iaca22f81c4526927d437aa367079ed038faf43f2
> Signed-off-by: Hao Wu <wuhaotsh@google.com>
> Signed-off-by: Nabih Estefan <nabihestefan@google.com>
> Reviewed-by: Tyrone Ting <kfting@nuvoton.com>
> ---
> hw/arm/npcm7xx.c | 15 +-
This patch shouldn't be changing this file: all the code
that adds the device to the SoC should be in one patch
(patch 2).
> hw/misc/meson.build | 1 +
> hw/misc/npcm7xx_pci_mbox.c | 324 +++++++++++++++++++++++++++++
> hw/misc/trace-events | 5 +
> include/hw/arm/npcm7xx.h | 1 +
Similarly the line adding the include to the SoC's header
is part of patch 2.
> include/hw/misc/npcm7xx_pci_mbox.h | 81 ++++++++
> 6 files changed, 426 insertions(+), 1 deletion(-)
> create mode 100644 hw/misc/npcm7xx_pci_mbox.c
> create mode 100644 include/hw/misc/npcm7xx_pci_mbox.h
thanks
-- PMM
- [PATCH v12 00/10] Implementation of NPI Mailbox and GMAC Networking Module, Nabih Estefan, 2024/01/10
- [PATCH v12 01/10] hw/misc: Add Nuvoton's PCI Mailbox Module, Nabih Estefan, 2024/01/10
- Re: [PATCH v12 01/10] hw/misc: Add Nuvoton's PCI Mailbox Module,
Peter Maydell <=
- [PATCH v12 02/10] hw/arm: Add PCI mailbox module to Nuvoton SoC, Nabih Estefan, 2024/01/10
- [PATCH v12 03/10] hw/misc: Add qtest for NPCM7xx PCI Mailbox, Nabih Estefan, 2024/01/10
- [PATCH v12 05/10] hw/arm: Add GMAC devices to NPCM7XX SoC, Nabih Estefan, 2024/01/10
- [PATCH v12 04/10] hw/net: Add NPCMXXX GMAC device, Nabih Estefan, 2024/01/10
- [PATCH v12 06/10] tests/qtest: Creating qtest for GMAC Module, Nabih Estefan, 2024/01/10
- [PATCH v12 07/10] include/hw/net: General GMAC Implementation, Nabih Estefan, 2024/01/10
- [PATCH v12 08/10] hw/net: GMAC Rx Implementation, Nabih Estefan, 2024/01/10