mbox series

[v2,0/9] misc fixes and cleanups

Message ID 20191111054448.6989-1-npiggin@gmail.com
Headers show
Series misc fixes and cleanups | expand

Message

Nicholas Piggin Nov. 11, 2019, 5:44 a.m. UTC
These are various bugs and cleanups taken from work and review
comments on the little endian series.

Any of these can be taken independently. I have not tested the map
trace areas on P9, just noticed it when going over the POWER7 patch.

Since v1:
- Removed paca from hdata with POWER7 patch.
- Restored some checks for unknown CPUs in the direct controls code.
- Added a fix to hdata tests.

Thanks,
Nick

Nicholas Piggin (9):
  slw: slw_reinit fix array overrun
  build: fix non-constant build asserts
  xive/p9: improve cache watch type checking
  xive/p9: use predefined bitmasks to manipulate EQ addresses
  xive/p9: sbe size debug print fix
  fsp: map trace areas on P9
  psi: update registers to reflect >= P8 PHBSCR
  hdata/test/hdata_to_dt.c: use P8E PVR when -8E is given
  Remove dead POWER7 code

 asm/head.S                   |  14 +-
 core/affinity.c              |   2 +-
 core/direct-controls.c       |  13 +-
 core/fast-reboot.c           |   6 -
 core/init.c                  |   2 -
 core/mem_region.c            |   4 -
 core/pci.c                   |  43 +----
 hdata/Makefile.inc           |   2 +-
 hdata/cpu-common.c           |   4 +-
 hdata/hdata.h                |   5 +-
 hdata/paca.c                 | 331 -----------------------------------
 hdata/pcia.c                 |   5 +-
 hdata/spira.c                |  11 +-
 hdata/spira.h                | 118 +++----------
 hdata/test/hdata_to_dt.c     |   5 +-
 hdata/test/p8-840-spira.dts  |  12 +-
 hdata/test/p81-811.spira.dts |  40 ++---
 hdata/vpd.c                  |   1 -
 hw/fsp/fsp-console.c         |  58 ++----
 hw/fsp/fsp-occ.c             |   4 -
 hw/fsp/fsp-psi.c             |  16 +-
 hw/fsp/fsp-sysdump.c         |  19 --
 hw/fsp/fsp.c                 |   5 +-
 hw/npu.c                     |   1 -
 hw/npu2-opencapi.c           |   1 -
 hw/npu2.c                    |   1 -
 hw/nx-842.c                  |  11 +-
 hw/occ.c                     |   8 +-
 hw/phb3.c                    |  11 --
 hw/phb4.c                    |  11 --
 hw/psi.c                     |   3 +-
 hw/slw.c                     |  10 +-
 hw/xive.c                    |  93 +++++-----
 hw/xscom.c                   |  10 +-
 include/chip.h               |   4 +-
 include/mem-map.h            |   2 +-
 include/nx.h                 |   2 +-
 include/pci.h                |   6 -
 include/psi.h                |  13 +-
 platforms/ibm-fsp/common.c   |   6 -
 skiboot.lds.S                |   2 +
 41 files changed, 166 insertions(+), 749 deletions(-)
 delete mode 100644 hdata/paca.c

Comments

Oliver O'Halloran Nov. 12, 2019, 4:07 a.m. UTC | #1
On Mon, Nov 11, 2019 at 4:47 PM Nicholas Piggin <npiggin@gmail.com> wrote:
>
> These are various bugs and cleanups taken from work and review
> comments on the little endian series.
>
> Any of these can be taken independently. I have not tested the map
> trace areas on P9, just noticed it when going over the POWER7 patch.
>
> Since v1:
> - Removed paca from hdata with POWER7 patch.
> - Restored some checks for unknown CPUs in the direct controls code.
> - Added a fix to hdata tests.

Thanks, series merged as 6b512fceb4210d5cf166912ef72c90cd29caec67