[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v14 1/9] hw/misc: Add Nuvoton's PCI Mailbox Module
From: |
Peter Maydell |
Subject: |
Re: [PATCH v14 1/9] hw/misc: Add Nuvoton's PCI Mailbox Module |
Date: |
Thu, 25 Jan 2024 12:42:59 +0000 |
On Mon, 22 Jan 2024 at 17:37, 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.
> +// The device is using a Little Endian Protocol.
> +// If running into errors, please check what protocol is being expected.
(1) This is not the right format for a comment in our coding style.
(2) This is not sufficient to count as protocol documentation.
The protocol should be documented in enough detail that I could,
by reading *only the comment and not the code at all*, implement
something that connects to the chardev and talks to the device.
thanks
-- PMM
- [PATCH v14 0/9] Implementation of NPI Mailbox and GMAC Networking Module, Nabih Estefan, 2024/01/22
- [PATCH v14 1/9] hw/misc: Add Nuvoton's PCI Mailbox Module, Nabih Estefan, 2024/01/22
- Re: [PATCH v14 1/9] hw/misc: Add Nuvoton's PCI Mailbox Module,
Peter Maydell <=
- [PATCH v14 3/9] hw/misc: Add qtest for NPCM7xx PCI Mailbox, Nabih Estefan, 2024/01/22
- [PATCH v14 2/9] hw/arm: Add PCI mailbox module to Nuvoton SoC, Nabih Estefan, 2024/01/22
- [PATCH v14 4/9] hw/net: Add NPCMXXX GMAC device, Nabih Estefan, 2024/01/22
- [PATCH v14 5/9] hw/arm: Add GMAC devices to NPCM7XX SoC, Nabih Estefan, 2024/01/22
- [PATCH v14 6/9] tests/qtest: Creating qtest for GMAC Module, Nabih Estefan, 2024/01/22
- [PATCH v14 8/9] hw/net: GMAC Tx Implementation, Nabih Estefan, 2024/01/22
- [PATCH v14 7/9] hw/net: GMAC Rx Implementation, Nabih Estefan, 2024/01/22
- [PATCH v14 9/9] tests/qtest: Adding PCS Module test to GMAC Qtest, Nabih Estefan, 2024/01/22