Re: [PATCH] hw/misc: Add an iBT device model

2021-09-28 Thread Cédric Le Goater
On 9/24/21 20:43, Titus Rwantare wrote: On Fri, 24 Sept 2021 at 03:55, Cédric Le Goater wrote: Hello Titus, On 9/24/21 10:42, Philippe Mathieu-Daudé wrote: On 9/24/21 01:48, Titus Rwantare wrote: Hello all, I'd like some clarification on how the following code transfers irqs back and forth

Re: [PATCH] hw/misc: Add an iBT device model

2021-09-24 Thread Titus Rwantare
On Fri, 24 Sept 2021 at 03:55, Cédric Le Goater wrote: > > Hello Titus, > > On 9/24/21 10:42, Philippe Mathieu-Daudé wrote: > > On 9/24/21 01:48, Titus Rwantare wrote: > >> Hello all, > >> > >> I'd like some clarification on how the following code transfers irqs > >> back and forth: > >>> b/hw/arm

Re: [PATCH] hw/misc: Add an iBT device model

2021-09-24 Thread Cédric Le Goater
Hello Titus, On 9/24/21 10:42, Philippe Mathieu-Daudé wrote: On 9/24/21 01:48, Titus Rwantare wrote: Hello all, I'd like some clarification on how the following code transfers irqs back and forth: b/hw/arm/aspeed_soc.c +    /* iBT */ +    if (!sysbus_realize(SYS_BUS_DEVICE(&s->ibt), errp)) {

Re: [PATCH] hw/misc: Add an iBT device model

2021-09-24 Thread Philippe Mathieu-Daudé
On 9/24/21 01:48, Titus Rwantare wrote: Hello all, I'd like some clarification on how the following code transfers irqs back and forth: b/hw/arm/aspeed_soc.c +/* iBT */ +if (!sysbus_realize(SYS_BUS_DEVICE(&s->ibt), errp)) { +return; +} +memory_region_add_subregion(&s->l

Re: [PATCH] hw/misc: Add an iBT device model

2021-09-23 Thread Titus Rwantare
Hello all, I'd like some clarification on how the following code transfers irqs back and forth: > b/hw/arm/aspeed_soc.c >+/* iBT */ >+if (!sysbus_realize(SYS_BUS_DEVICE(&s->ibt), errp)) { >+return; >+} >+memory_region_add_subregion(&s->lpc.iomem, >+ sc->m

Re: [PATCH] hw/misc: Add an iBT device model

2021-04-27 Thread Cédric Le Goater
Hello Corey, On 3/29/21 2:19 PM, Cédric Le Goater wrote: > Implement an IPMI BT interface model using a chardev backend to > communicate with an external PowerNV machine. It uses the OpenIPMI > simulator protocol for virtual machines described in : > > https://github.com/cminyard/openipmi/blo

Re: [PATCH] hw/misc: Add an iBT device model

2021-04-06 Thread Cédric Le Goater
Hello, On 4/5/21 6:54 PM, Hao Wu wrote: > Hi, Cedric and Corey > > When I'm implementing KCS device for nuvoton BMC boards, one of the feedback > Corey gave me was to refactor the existing device like ipmi-bmc-extern so > that we can reuse some of the common stuff there. I'm in the process of d

Re: [PATCH] hw/misc: Add an iBT device model

2021-04-05 Thread Hao Wu
Hi, Cedric and Corey When I'm implementing KCS device for nuvoton BMC boards, one of the feedback Corey gave me was to refactor the existing device like ipmi-bmc-extern so that we can reuse some of the common stuff there. I'm in the process of doing that. I'll probably send that as an RFC first to

Re: [PATCH] hw/misc: Add an iBT device model

2021-03-29 Thread Joel Stanley
On Mon, 29 Mar 2021 at 12:19, Cédric Le Goater wrote: > > Implement an IPMI BT interface model using a chardev backend to > communicate with an external PowerNV machine. It uses the OpenIPMI > simulator protocol for virtual machines described in : > > https://github.com/cminyard/openipmi/blob/

[PATCH] hw/misc: Add an iBT device model

2021-03-29 Thread Cédric Le Goater
Implement an IPMI BT interface model using a chardev backend to communicate with an external PowerNV machine. It uses the OpenIPMI simulator protocol for virtual machines described in : https://github.com/cminyard/openipmi/blob/master/lanserv/README.vm and implemented by the 'ipmi-bmc-extern'