[PATCH v1 0/7] Introduce model for IBM's FSP

Ninad Palsule posted 7 patches 1 year, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230825203046.3692467-1-ninad@linux.ibm.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, "Cédric Le Goater" <clg@kaod.org>, Andrew Jeffery <andrew@aj.id.au>, Joel Stanley <joel@jms.id.au>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Thomas Huth <thuth@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
hw/Kconfig                         |   1 +
hw/arm/Kconfig                     |   1 +
hw/arm/aspeed_ast2600.c            |  15 ++
hw/fsi/Kconfig                     |  23 ++
hw/fsi/aspeed-apb2opb.c            | 346 +++++++++++++++++++++++++++++
hw/fsi/cfam.c                      | 236 ++++++++++++++++++++
hw/fsi/engine-scratchpad.c         | 100 +++++++++
hw/fsi/fsi-master.c                | 202 +++++++++++++++++
hw/fsi/fsi-slave.c                 | 109 +++++++++
hw/fsi/fsi.c                       |  54 +++++
hw/fsi/lbus.c                      |  94 ++++++++
hw/fsi/meson.build                 |   6 +
hw/fsi/opb.c                       | 194 ++++++++++++++++
hw/fsi/trace-events                |   2 +
hw/fsi/trace.h                     |   1 +
hw/meson.build                     |   1 +
include/hw/arm/aspeed_soc.h        |   4 +
include/hw/fsi/aspeed-apb2opb.h    |  32 +++
include/hw/fsi/bits.h              |  15 ++
include/hw/fsi/cfam.h              |  59 +++++
include/hw/fsi/engine-scratchpad.h |  32 +++
include/hw/fsi/fsi-master.h        |  30 +++
include/hw/fsi/fsi-slave.h         |  29 +++
include/hw/fsi/fsi.h               |  35 +++
include/hw/fsi/lbus.h              |  57 +++++
include/hw/fsi/opb.h               |  45 ++++
meson.build                        |   1 +
27 files changed, 1724 insertions(+)
create mode 100644 hw/fsi/Kconfig
create mode 100644 hw/fsi/aspeed-apb2opb.c
create mode 100644 hw/fsi/cfam.c
create mode 100644 hw/fsi/engine-scratchpad.c
create mode 100644 hw/fsi/fsi-master.c
create mode 100644 hw/fsi/fsi-slave.c
create mode 100644 hw/fsi/fsi.c
create mode 100644 hw/fsi/lbus.c
create mode 100644 hw/fsi/meson.build
create mode 100644 hw/fsi/opb.c
create mode 100644 hw/fsi/trace-events
create mode 100644 hw/fsi/trace.h
create mode 100644 include/hw/fsi/aspeed-apb2opb.h
create mode 100644 include/hw/fsi/bits.h
create mode 100644 include/hw/fsi/cfam.h
create mode 100644 include/hw/fsi/engine-scratchpad.h
create mode 100644 include/hw/fsi/fsi-master.h
create mode 100644 include/hw/fsi/fsi-slave.h
create mode 100644 include/hw/fsi/fsi.h
create mode 100644 include/hw/fsi/lbus.h
create mode 100644 include/hw/fsi/opb.h
[PATCH v1 0/7] Introduce model for IBM's FSP
Posted by Ninad Palsule 1 year, 3 months ago
Hello,

Please review the patch-set.

This is a first step towards introducing model for IBM's Flexible
Service Interface. The full functionality will be implemented over the
time.

Ninad Palsule (7):
  hw/fsi: Introduce IBM's Local bus
  hw/fsi: Introduce IBM's scratchpad
  hw/fsi: Introduce IBM's cfam,fsi-slave
  hw/fsi: Introduce IBM's FSI
  hw/fsi: IBM's On-chip Peripheral Bus
  hw/fsi: Aspeed APB2OPB interface
  hw/arm: Hook up FSI module in AST2600

 hw/Kconfig                         |   1 +
 hw/arm/Kconfig                     |   1 +
 hw/arm/aspeed_ast2600.c            |  15 ++
 hw/fsi/Kconfig                     |  23 ++
 hw/fsi/aspeed-apb2opb.c            | 346 +++++++++++++++++++++++++++++
 hw/fsi/cfam.c                      | 236 ++++++++++++++++++++
 hw/fsi/engine-scratchpad.c         | 100 +++++++++
 hw/fsi/fsi-master.c                | 202 +++++++++++++++++
 hw/fsi/fsi-slave.c                 | 109 +++++++++
 hw/fsi/fsi.c                       |  54 +++++
 hw/fsi/lbus.c                      |  94 ++++++++
 hw/fsi/meson.build                 |   6 +
 hw/fsi/opb.c                       | 194 ++++++++++++++++
 hw/fsi/trace-events                |   2 +
 hw/fsi/trace.h                     |   1 +
 hw/meson.build                     |   1 +
 include/hw/arm/aspeed_soc.h        |   4 +
 include/hw/fsi/aspeed-apb2opb.h    |  32 +++
 include/hw/fsi/bits.h              |  15 ++
 include/hw/fsi/cfam.h              |  59 +++++
 include/hw/fsi/engine-scratchpad.h |  32 +++
 include/hw/fsi/fsi-master.h        |  30 +++
 include/hw/fsi/fsi-slave.h         |  29 +++
 include/hw/fsi/fsi.h               |  35 +++
 include/hw/fsi/lbus.h              |  57 +++++
 include/hw/fsi/opb.h               |  45 ++++
 meson.build                        |   1 +
 27 files changed, 1724 insertions(+)
 create mode 100644 hw/fsi/Kconfig
 create mode 100644 hw/fsi/aspeed-apb2opb.c
 create mode 100644 hw/fsi/cfam.c
 create mode 100644 hw/fsi/engine-scratchpad.c
 create mode 100644 hw/fsi/fsi-master.c
 create mode 100644 hw/fsi/fsi-slave.c
 create mode 100644 hw/fsi/fsi.c
 create mode 100644 hw/fsi/lbus.c
 create mode 100644 hw/fsi/meson.build
 create mode 100644 hw/fsi/opb.c
 create mode 100644 hw/fsi/trace-events
 create mode 100644 hw/fsi/trace.h
 create mode 100644 include/hw/fsi/aspeed-apb2opb.h
 create mode 100644 include/hw/fsi/bits.h
 create mode 100644 include/hw/fsi/cfam.h
 create mode 100644 include/hw/fsi/engine-scratchpad.h
 create mode 100644 include/hw/fsi/fsi-master.h
 create mode 100644 include/hw/fsi/fsi-slave.h
 create mode 100644 include/hw/fsi/fsi.h
 create mode 100644 include/hw/fsi/lbus.h
 create mode 100644 include/hw/fsi/opb.h

-- 
2.39.2
Re: [PATCH v1 0/7] Introduce model for IBM's FSP
Posted by Joel Stanley 1 year, 3 months ago
Hi Ninad,

On Fri, 25 Aug 2023 at 20:51, Ninad Palsule <ninad@linux.ibm.com> wrote:
>
> Hello,
>
> Please review the patch-set.
>
> This is a first step towards introducing model for IBM's Flexible
> Service Interface. The full functionality will be implemented over the
> time.

You have a typo in the subject, I think you meant to write FSI instead of FSP.
Re: [PATCH v1 0/7] Introduce model for IBM's FSP
Posted by Ninad Palsule 1 year, 3 months ago
Hi Joel,

On 8/28/23 23:25, Joel Stanley wrote:
> Hi Ninad,
>
> On Fri, 25 Aug 2023 at 20:51, Ninad Palsule <ninad@linux.ibm.com> wrote:
>> Hello,
>>
>> Please review the patch-set.
>>
>> This is a first step towards introducing model for IBM's Flexible
>> Service Interface. The full functionality will be implemented over the
>> time.
> You have a typo in the subject, I think you meant to write FSI instead of FSP.

Good catch. Fixed the typo.

Thank you for the review.

Ninad
Re: [PATCH v1 0/7] Introduce model for IBM's FSP
Posted by Cédric Le Goater 1 year, 3 months ago
Hello Ninad,

On 8/25/23 22:30, Ninad Palsule wrote:
> Hello,
> 
> Please review the patch-set.
> 
> This is a first step towards introducing model for IBM's Flexible
> Service Interface. The full functionality will be implemented over the
> time.
> 
> Ninad Palsule (7):
>    hw/fsi: Introduce IBM's Local bus
>    hw/fsi: Introduce IBM's scratchpad
>    hw/fsi: Introduce IBM's cfam,fsi-slave
>    hw/fsi: Introduce IBM's FSI
>    hw/fsi: IBM's On-chip Peripheral Bus
>    hw/fsi: Aspeed APB2OPB interface
>    hw/arm: Hook up FSI module in AST2600
> 
>   hw/Kconfig                         |   1 +
>   hw/arm/Kconfig                     |   1 +
>   hw/arm/aspeed_ast2600.c            |  15 ++
>   hw/fsi/Kconfig                     |  23 ++
>   hw/fsi/aspeed-apb2opb.c            | 346 +++++++++++++++++++++++++++++
>   hw/fsi/cfam.c                      | 236 ++++++++++++++++++++
>   hw/fsi/engine-scratchpad.c         | 100 +++++++++
>   hw/fsi/fsi-master.c                | 202 +++++++++++++++++
>   hw/fsi/fsi-slave.c                 | 109 +++++++++
>   hw/fsi/fsi.c                       |  54 +++++
>   hw/fsi/lbus.c                      |  94 ++++++++
>   hw/fsi/meson.build                 |   6 +
>   hw/fsi/opb.c                       | 194 ++++++++++++++++
>   hw/fsi/trace-events                |   2 +
>   hw/fsi/trace.h                     |   1 +
>   hw/meson.build                     |   1 +
>   include/hw/arm/aspeed_soc.h        |   4 +
>   include/hw/fsi/aspeed-apb2opb.h    |  32 +++
>   include/hw/fsi/bits.h              |  15 ++
>   include/hw/fsi/cfam.h              |  59 +++++
>   include/hw/fsi/engine-scratchpad.h |  32 +++
>   include/hw/fsi/fsi-master.h        |  30 +++
>   include/hw/fsi/fsi-slave.h         |  29 +++
>   include/hw/fsi/fsi.h               |  35 +++
>   include/hw/fsi/lbus.h              |  57 +++++
>   include/hw/fsi/opb.h               |  45 ++++
>   meson.build                        |   1 +

Thanks for creating a series for these models.

I think the commit logs have a lot of useful information which would
be good for some docs/specs/ file. Please add a need a entry in
MAINTAINERS for this new bus model.
  
Tests are *very* much welcome also. Ideally we should have a couple
in qtest. A minimum would be an avocado test running pdbg.

Thanks,

C.



>   27 files changed, 1724 insertions(+)
>   create mode 100644 hw/fsi/Kconfig
>   create mode 100644 hw/fsi/aspeed-apb2opb.c
>   create mode 100644 hw/fsi/cfam.c
>   create mode 100644 hw/fsi/engine-scratchpad.c
>   create mode 100644 hw/fsi/fsi-master.c
>   create mode 100644 hw/fsi/fsi-slave.c
>   create mode 100644 hw/fsi/fsi.c
>   create mode 100644 hw/fsi/lbus.c
>   create mode 100644 hw/fsi/meson.build
>   create mode 100644 hw/fsi/opb.c
>   create mode 100644 hw/fsi/trace-events
>   create mode 100644 hw/fsi/trace.h
>   create mode 100644 include/hw/fsi/aspeed-apb2opb.h
>   create mode 100644 include/hw/fsi/bits.h
>   create mode 100644 include/hw/fsi/cfam.h
>   create mode 100644 include/hw/fsi/engine-scratchpad.h
>   create mode 100644 include/hw/fsi/fsi-master.h
>   create mode 100644 include/hw/fsi/fsi-slave.h
>   create mode 100644 include/hw/fsi/fsi.h
>   create mode 100644 include/hw/fsi/lbus.h
>   create mode 100644 include/hw/fsi/opb.h
>
Re: [PATCH v1 0/7] Introduce model for IBM's FSP
Posted by Ninad Palsule 1 year, 3 months ago
Hello Cedric,

On 8/28/23 03:49, Cédric Le Goater wrote:
> Hello Ninad,
>
> On 8/25/23 22:30, Ninad Palsule wrote:
>> Hello,
>>
>> Please review the patch-set.
>>
>> This is a first step towards introducing model for IBM's Flexible
>> Service Interface. The full functionality will be implemented over the
>> time.
>>
>> Ninad Palsule (7):
>>    hw/fsi: Introduce IBM's Local bus
>>    hw/fsi: Introduce IBM's scratchpad
>>    hw/fsi: Introduce IBM's cfam,fsi-slave
>>    hw/fsi: Introduce IBM's FSI
>>    hw/fsi: IBM's On-chip Peripheral Bus
>>    hw/fsi: Aspeed APB2OPB interface
>>    hw/arm: Hook up FSI module in AST2600
>>
>>   hw/Kconfig                         |   1 +
>>   hw/arm/Kconfig                     |   1 +
>>   hw/arm/aspeed_ast2600.c            |  15 ++
>>   hw/fsi/Kconfig                     |  23 ++
>>   hw/fsi/aspeed-apb2opb.c            | 346 +++++++++++++++++++++++++++++
>>   hw/fsi/cfam.c                      | 236 ++++++++++++++++++++
>>   hw/fsi/engine-scratchpad.c         | 100 +++++++++
>>   hw/fsi/fsi-master.c                | 202 +++++++++++++++++
>>   hw/fsi/fsi-slave.c                 | 109 +++++++++
>>   hw/fsi/fsi.c                       |  54 +++++
>>   hw/fsi/lbus.c                      |  94 ++++++++
>>   hw/fsi/meson.build                 |   6 +
>>   hw/fsi/opb.c                       | 194 ++++++++++++++++
>>   hw/fsi/trace-events                |   2 +
>>   hw/fsi/trace.h                     |   1 +
>>   hw/meson.build                     |   1 +
>>   include/hw/arm/aspeed_soc.h        |   4 +
>>   include/hw/fsi/aspeed-apb2opb.h    |  32 +++
>>   include/hw/fsi/bits.h              |  15 ++
>>   include/hw/fsi/cfam.h              |  59 +++++
>>   include/hw/fsi/engine-scratchpad.h |  32 +++
>>   include/hw/fsi/fsi-master.h        |  30 +++
>>   include/hw/fsi/fsi-slave.h         |  29 +++
>>   include/hw/fsi/fsi.h               |  35 +++
>>   include/hw/fsi/lbus.h              |  57 +++++
>>   include/hw/fsi/opb.h               |  45 ++++
>>   meson.build                        |   1 +
>
> Thanks for creating a series for these models.
>
> I think the commit logs have a lot of useful information which would
> be good for some docs/specs/ file. Please add a need a entry in
> MAINTAINERS for this new bus model.
>
> Tests are *very* much welcome also. Ideally we should have a couple
> in qtest. A minimum would be an avocado test running pdbg.

I have added document, MAINTAINERS and qtest.

Thank you for the review.

~Ninad

>
> Thanks,
>
> C.
>
>
>
>>   27 files changed, 1724 insertions(+)
>>   create mode 100644 hw/fsi/Kconfig
>>   create mode 100644 hw/fsi/aspeed-apb2opb.c
>>   create mode 100644 hw/fsi/cfam.c
>>   create mode 100644 hw/fsi/engine-scratchpad.c
>>   create mode 100644 hw/fsi/fsi-master.c
>>   create mode 100644 hw/fsi/fsi-slave.c
>>   create mode 100644 hw/fsi/fsi.c
>>   create mode 100644 hw/fsi/lbus.c
>>   create mode 100644 hw/fsi/meson.build
>>   create mode 100644 hw/fsi/opb.c
>>   create mode 100644 hw/fsi/trace-events
>>   create mode 100644 hw/fsi/trace.h
>>   create mode 100644 include/hw/fsi/aspeed-apb2opb.h
>>   create mode 100644 include/hw/fsi/bits.h
>>   create mode 100644 include/hw/fsi/cfam.h
>>   create mode 100644 include/hw/fsi/engine-scratchpad.h
>>   create mode 100644 include/hw/fsi/fsi-master.h
>>   create mode 100644 include/hw/fsi/fsi-slave.h
>>   create mode 100644 include/hw/fsi/fsi.h
>>   create mode 100644 include/hw/fsi/lbus.h
>>   create mode 100644 include/hw/fsi/opb.h
>>
>