Cedric, Joel Thanks so much for the pointers. This definitely helps. We will get back to you with any further questions once we have looked them over.
-----Original Message----- From: Cédric Le Goater <c...@kaod.org> Sent: Tuesday, August 9, 2022 10:50 PM To: Joel Stanley <j...@jms.id.au>; Shivi Fotedar <sfote...@nvidia.com>; Peter Delevoryas <pe...@pjd.dev>; Jeremy Kerr <j...@ozlabs.org>; Klaus Jensen <i...@irrelevant.dk>; Jonathan Cameron <jonathan.came...@huawei.com> Cc: qemu-devel@nongnu.org; Andrew Jeffery <and...@aj.id.au>; Amit Kumar (Engrg-SW) <asing...@nvidia.com>; Prasanna Karmalkar <pkarmal...@nvidia.com>; Tim Chen (SW-GPU) <ti...@nvidia.com>; Newton Liu <newt...@nvidia.com>; Deepak Kodihalli <dkodiha...@nvidia.com>; qemu-arm <qemu-...@nongnu.org> Subject: Re: AST2600 support in QEMU External email: Use caution opening links or attachments Hello, On 8/10/22 04:37, Joel Stanley wrote: > Hello Shivi, > > I've added others to cc who may have some input. > > On Tue, 9 Aug 2022 at 21:38, Shivi Fotedar <sfote...@nvidia.com> wrote: >> >> Hello, we are looking for support for few features for AST2600 in >> QEMU, specifically >> >> PCIe RC support so BMC can talk to downstream devices for management >> functions. > > I haven't seen any PCIe work done yet. I haven't either. There is clearly a need now that we are moving away from LPC. >> MCTP controller to run MCTP protocol on top of PCIe or I2C. > > What work would be required to do this on top of i2c? I think Jonathan and Klaus worked on this. See : https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Fqemu-devel%2F20220525121422.00003a84%40Huawei.com%2F&data=05%7C01%7Csfotedar%40nvidia.com%7C09cd2aefa2a24815b86e08da7a94370d%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637957074871711009%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Z0jZN8QEjZIk1zxgfr37NOt%2BNp4q6bDRkxO8KI4Clrw%3D&reserved=0 >> I2C slave so BMC can talk to host CPU QEMU for IPMI > > Some support for slave mode was merged in v7.1. yes. Peter D. experimented with IPMI. See : https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Fqemu-devel%2F20220630045133.32251-14-me%40pjd.dev%2F&data=05%7C01%7Csfotedar%40nvidia.com%7C09cd2aefa2a24815b86e08da7a94370d%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637957074871711009%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=a4bP1xJGC25Dp9UkYKU5i%2BODLQrpfgLN%2BaQPkK9LRZc%3D&reserved=0 We also merged a new machine including a BMC ast2600 running OpenBMC and an ast1030 SoC running OpenBIC. Work to interconnect them on the same I2C bus is in progress. Thanks, C.