Introduce AspeedCoprocessor class and base implementation
Status from this message: Applied to aspeed-next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest16 patches 17 repliesApplied
- v216 patches 3 repliesSuperseded
- v116 patches 2 repliesSuperseded
Changes in v3 from the cover letter
1. Remove the aspeed_soc_get_irq and class get_irq hook
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | hw/arm/aspeed: Remove AspeedSoCState dependency from aspeed_uart_first() APIhw/ hw/ include/ | +5 | 1 reply | |
| 2/16 | hw/arm/aspeed: Remove AspeedSoCClass dependency from aspeed_uart_last() APIhw/ include/ | +3 | 1 reply | |
| 3/16 | hw/arm/aspeed: Remove AspeedSoCState dependency from aspeed_soc_uart_set_chr() APIhw/ hw/ hw/ +2 more | +29 | 1 reply | |
| 4/16 | hw/arm/aspeed: Remove AspeedSoCClass dependency from aspeed_soc_cpu_type() APIhw/ hw/ hw/ +5 more | +15 | 1 reply | |
| 5/16 | hw/arm/aspeed: Remove AspeedSoCState dependency from aspeed_mmio_map() APIhw/ hw/ hw/ +5 more | +133 | 1 reply | |
| 6/16 | hw/arm/aspeed: Remove AspeedSoCState dependency from aspeed_mmio_map_unimplemented() APIhw/ hw/ hw/ +5 more | +44 | 1 reply | |
| 7/16 | hw/arm/aspeed: Remove AspeedSoCState dependency from aspeed_soc_uart_realize() APIhw/ hw/ hw/ +5 more | +60 | 1 reply | |
| 8/16 | hw/arm/aspeed: Remove the aspeed_soc_get_irq and class get_irq hookhw/ hw/ hw/ +5 more | +55 | 1 reply | |
| 9/16 | hw/arm/aspeed: Introduce AspeedCoprocessor class and base implementationhw/ hw/ include/ | +95 | 1 reply | |
| 10/16 | hw/arm/aspeed_ast27x0-ssp: Make AST27x0 SSP inherit from AspeedCoprocessor instead of AspeedSoChw/ hw/ hw/ +2 more | +31 | 1 reply | |
| 11/16 | hw/arm/aspeed_ast27x0-tsp: Make AST27x0 TSP inherit from AspeedCoprocessor instead of AspeedSoChw/ hw/ hw/ +2 more | +30 | 1 reply | |
| 12/16 | hw/arm/aspeed_ast27x0-ssp: Change to use Aspeed27x0CoprocessorStatehw/ hw/ include/ | +7 | 1 reply | |
| 13/16 | hw/arm/aspeed_ast27x0-tsp: Change to use Aspeed27x0CoprocessorStatehw/ hw/ include/ | +7 | 1 reply | |
| 14/16 | hw/arm/aspeed_ast27x0-ssp: Rename type to TYPE_ASPEED27X0SSP_COPROCESSORhw/ hw/ include/ | +10 | 1 reply | |
| 15/16 | hw/arm/aspeed_ast27x0-tsp: Rename type to TYPE_ASPEED27X0TSP_COPROCESSORhw/ hw/ include/ | +9 | 1 reply | |
| 16/16 | hw/arm/aspeed_ast27x0-{ssp,tsp}: Fix coding stylehw/ hw/ | +4 | 1 reply |
Reviews trailers per patch
All 16 patches have a Reviewed-by or Acked-by.
| Patch | Cédric Le Goater |
|---|---|
| 1/16 | R-b |
| 2/16 | R-b |
| 3/16 | R-b |
| 4/16 | R-b |
| 5/16 | R-b |
| 6/16 | R-b |
| 7/16 | R-b |
| 8/16 | R-b |
| 9/16 | R-b |
| 10/16 | R-b |
| 11/16 | R-b |
| 12/16 | R-b |
| 13/16 | R-b |
| 14/16 | R-b |
| 15/16 | R-b |
| 16/16 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/16] Introduce AspeedCoprocessor class and base implementation
v1:
1. Remove AspeedSoCState dependency from aspeed_uart_first, aspeed_uart_last, aspeed_soc_uart_set_chr, aspeed_soc_cpu_type, aspeed_mmio_map, aspeed_mmio_map_unimplemented, aspeed_soc_get_irq, and aspeed_soc_uart_realize APIs.
2. Introduce AspeedCoprocessor class and base implementation
v2:
1. Fix the "make check" failure.
v3:
1. Remove the aspeed_soc_get_irq and class get_irq hook
Jamin Lin (16):
hw/arm/aspeed: Remove AspeedSoCState dependency from
aspeed_uart_first() API
hw/arm/aspeed: Remove AspeedSoCClass dependency from
aspeed_uart_last() API
hw/arm/aspeed: Remove AspeedSoCState dependency from
aspeed_soc_uart_set_chr() API
hw/arm/aspeed: Remove AspeedSoCClass dependency from
aspeed_soc_cpu_type() API
hw/arm/aspeed: Remove AspeedSoCState dependency from aspeed_mmio_map()
API
hw/arm/aspeed: Remove AspeedSoCState dependency from
aspeed_mmio_map_unimplemented() API
hw/arm/aspeed: Remove AspeedSoCState dependency from
aspeed_soc_uart_realize() API
hw/arm/aspeed: Remove the aspeed_soc_get_irq and class get_irq hook hw/arm/aspeed: Introduce AspeedCoprocessor class and base
implementation
hw/arm/aspeed_ast27x0-ssp: Make AST27x0 SSP inherit from
AspeedCoprocessor instead of AspeedSoC
hw/arm/aspeed_ast27x0-tsp: Make AST27x0 TSP inherit from
AspeedCoprocessor instead of AspeedSoC
hw/arm/aspeed_ast27x0-ssp: Change to use Aspeed27x0CoprocessorState hw/arm/aspeed_ast27x0-tsp: Change to use Aspeed27x0CoprocessorState hw/arm/aspeed_ast27x0-ssp: Rename type to
TYPE_ASPEED27X0SSP_COPROCESSOR
hw/arm/aspeed_ast27x0-tsp: Rename type to
TYPE_ASPEED27X0TSP_COPROCESSOR
hw/arm/aspeed_ast27x0-{ssp,tsp}: Fix coding style
include/hw/arm/aspeed_coprocessor.h | 61 ++++++++++++++ include/hw/arm/aspeed_soc.h | 48 +++-------- hw/arm/aspeed.c | 10 ++- hw/arm/aspeed_ast10x0.c | 89 ++++++++++++-------- hw/arm/aspeed_ast2400.c | 94 ++++++++++++--------- hw/arm/aspeed_ast2600.c | 121 ++++++++++++++++------------ hw/arm/aspeed_ast27x0-fc.c | 33 +++++--- hw/arm/aspeed_ast27x0-ssp.c | 74 +++++++++-------- hw/arm/aspeed_ast27x0-tsp.c | 74 +++++++++-------- hw/arm/aspeed_ast27x0.c | 107 +++++++++++++----------- hw/arm/aspeed_coprocessor_common.c | 49 +++++++++++ hw/arm/aspeed_soc_common.c | 63 ++++++--------- hw/arm/fby35.c | 10 ++- hw/arm/meson.build | 7 +- 14 files changed, 502 insertions(+), 338 deletions(-) create mode 100644 include/hw/arm/aspeed_coprocessor.h create mode 100644 hw/arm/aspeed_coprocessor_common.c
Signature · 1 line
2.43.0