powerpc/85xx: p2020: Create one unified machine description
Get series with b4
b4 am [email protected]Versions newest first
- v4 Latest17 patches 3 repliesIn review
Changes in v4 from the cover letter
* Added several preparatory cleanup patchs
* Minimised churn by not duplicating helpers at the first place
* Split main patch in two
* Dropped patchs 1 and 2
* Untested beyond basic build test
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | powerpc/fsl_uli1575: Misc cleanuparch/ arch/ arch/ | +6 | 0 replies | |
| 2/17 | powerpc/85xx: Rename setup_arch and pic_init on p1023arch/ | +4 | 0 replies | |
| 3/17 | powerpc/85xx: Remove DBG() macroarch/ arch/ arch/ | +1 | 0 replies | |
| 4/17 | powerpc/85xx: Remove #ifdefs CONFIG_PCI in mpc85xx_dsarch/ | +3 | 0 replies | |
| 5/17 | powerpc/85xx: mpc85xx_{ds/rdb} compact the call to mpic_alloc()arch/ arch/ | +11 | 0 replies | |
| 6/17 | powerpc/85xx: mpc85xx_{ds/rdb} replace BUG_ON() by WARN_ON()arch/ arch/ | +6 | 0 replies | |
| 7/17 | powerpc/85xx: mpc85xx_{ds/rdb} replace prink by pr_xxx macroarch/ arch/ | +4 | 0 replies | |
| 8/17 | powerpc/85xx: Remove #ifdefs CONFIG_PPC_I8259 in mpc85xx_dsarch/ | +20 | 0 replies | |
| 9/17 | powerpc/85xx: Remove #ifdef CONFIG_QUICC_ENGINE in mpc85xx_rdbarch/ | +0 | 0 replies | |
| 10/17 | powerpc/85xx: p2020: Move all P2020 DS machine descriptions to p2020.carch/ arch/ arch/ +1 more | +64 | 0 replies | |
| 11/17 | powerpc/85xx: p2020: Move all P2020 RDB machine descriptions to p2020.carch/ arch/ arch/ +1 more | +61 | 0 replies | |
| 12/17 | powerpc/85xx: p2020: Move i8259 code into own functionarch/ arch/ arch/ +1 more | +86 | 0 replies | |
| 13/17 | powerpc/85xx: mpc85xx_ds: Move PCI code into own filearch/ arch/ arch/ +1 more | +72 | 0 replies | |
| 14/17 | powerpc/85xx: p2020: Unify .setup_arch and .init_IRQ callbacksarch/ arch/ arch/ | +34 | 0 replies | |
| 15/17 | powerpc/85xx: p2020: Define just one machine descriptionarch/ | +15 | 0 replies | |
| 16/17 | powerpc/85xx: p2020: Enable boards by new config option CONFIG_PPC_P2020arch/ arch/ | +21 | 0 replies | |
| 17/17 | powerpc: dts: turris1x.dts: Remove "fsl,P2020RDB-PC" compatible stringarch/ | +1 | 0 replies |
Reviews trailers per patch
None of the 17 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Pali Rohár |
|---|---|
| Series | R-b |
| 1/17 | |
| 2/17 | |
| 3/17 | |
| 4/17 | |
| 5/17 | |
| 6/17 | |
| 7/17 | |
| 8/17 | |
| 9/17 | |
| 10/17 | |
| 11/17 | |
| 12/17 | |
| 13/17 | |
| 14/17 | |
| 15/17 | |
| 16/17 | |
| 17/17 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/17] powerpc/85xx: p2020: Create one unified machine description
This patch series unifies all P2020 boards and machine descriptions into one generic unified P2020 machine description. With this generic machine description, kernel can boot on any P2020-based board with correct DTS file.
Tested on CZ.NIC Turris 1.1 board with has Freescale P2020 processor. Kernel during booting correctly detects P2020 and prints:
[ 0.000000] Using Freescale P2020 machine description
Changes in v4:
* Added several preparatory cleanup patchs
* Minimised churn by not duplicating helpers at the first place
* Split main patch in two
* Dropped patchs 1 and 2
* Untested beyond basic build test
Changes in v3:
* Use 'if (IS_ENABLED(CONFIG_PPC_I8259))' instead of '#ifdef CONFIG_PPC_I8259'
* Simplify p2020_probe()
* Patches generated by -M and -C git options
Link to v2: https://lore.kernel.org/linuxppc-dev/[email protected]/
Changes in v2:
* Added patch "p2020: Move i8259 code into own function" (separated from the next one)
* Renamed CONFIG_P2020 to CONFIG_PPC_P2020
* Fixed descriptions
Link to v1: https://lore.kernel.org/linuxppc-dev/[email protected]/
Christophe Leroy (9):
powerpc/fsl_uli1575: Misc cleanup
powerpc/85xx: Rename setup_arch and pic_init on p1023 powerpc/85xx: Remove DBG() macro
powerpc/85xx: Remove #ifdefs CONFIG_PCI in mpc85xx_ds powerpc/85xx: mpc85xx_{ds/rdb} compact the call to mpic_alloc() powerpc/85xx: mpc85xx_{ds/rdb} replace BUG_ON() by WARN_ON() powerpc/85xx: mpc85xx_{ds/rdb} replace prink by pr_xxx macro powerpc/85xx: Remove #ifdefs CONFIG_PPC_I8259 in mpc85xx_ds powerpc/85xx: Remove #ifdef CONFIG_QUICC_ENGINE in mpc85xx_rdb
Pali Rohár (8):
powerpc/85xx: p2020: Move all P2020 DS machine descriptions to p2020.c powerpc/85xx: p2020: Move all P2020 RDB machine descriptions to
p2020.c
powerpc/85xx: p2020: Move i8259 code into own function
powerpc/85xx: mpc85xx_ds: Move PCI code into own file
powerpc/85xx: p2020: Unify .setup_arch and .init_IRQ callbacks
powerpc/85xx: p2020: Define just one machine description
powerpc/85xx: p2020: Enable boards by new config option
CONFIG_PPC_P2020 powerpc: dts: turris1x.dts: Remove "fsl,P2020RDB-PC" compatible string
arch/powerpc/boot/dts/turris1x.dts | 2 +- arch/powerpc/include/asm/ppc-pci.h | 2 + arch/powerpc/platforms/85xx/Kconfig | 22 +++- arch/powerpc/platforms/85xx/Makefile | 5 +- arch/powerpc/platforms/85xx/mpc85xx.h | 12 ++ arch/powerpc/platforms/85xx/mpc85xx_8259.c | 78 ++++++++++++ arch/powerpc/platforms/85xx/mpc85xx_ds.c | 133 ++------------------- arch/powerpc/platforms/85xx/mpc85xx_mds.c | 7 -- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 79 ++---------- arch/powerpc/platforms/85xx/mpc85xx_uli.c | 64 ++++++++++ arch/powerpc/platforms/85xx/p1023_rdb.c | 8 +- arch/powerpc/platforms/85xx/p2020.c | 95 +++++++++++++++ arch/powerpc/platforms/fsl_uli1575.c | 6 +- 13 files changed, 301 insertions(+), 212 deletions(-) create mode 100644 arch/powerpc/platforms/85xx/mpc85xx_8259.c create mode 100644 arch/powerpc/platforms/85xx/mpc85xx_uli.c create mode 100644 arch/powerpc/platforms/85xx/p2020.c
Signature · 1 line
2.39.1