target/xtensa: SMP updates and various fixes
cover target/xtensa: SMP updates and various fixes
Hi Peter,
please pull the following series that enables SMP linux support for xtensa-softmmu.
The following changes since commit 8b7a3e1e5434b55d7710071b00af97c7086cab7a:
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2019-01-24 15:04:47 +0000)
are available in the git repository at:
git://github.com/OSLL/qemu-xtensa.git tags/20190204-xtensa
for you to fetch changes up to 174e09b73ab1c47408dd29fb36c4dd9fbda54f97:
hw/xtensa: xtfpga: raise CPU number limit (2019-01-28 11:55:20 -0800)
----------------------------------------------------------------
target/xtensa: SMP updates and various fixes
- fix CPU wakeup on runstall changes; expose runstall as an IRQ line;
- place mini-bootloader at the BSP reset vector;
- expose CPU core frequency in XTFPGA board FPGA register;
- rearrange access to external interrupts of xtensa cores;
- add MX interrupt distributor and use it on SMP XTFPGA boards;
- add test_mmuhifi_c3 xtensa core variant;
- raise number of CPUs that can be instantiated on XTFPGA boards.
----------------------------------------------------------------
Max Filippov (11):
target/xtensa: add qemu_cpu_kick to xtensa_runstall hw/xtensa: xtfpga: fix bootloader placement in SMP hw/xtensa: xtfpga: use core frequency target/xtensa: fix access to the INTERRUPT SR target/xtensa: drop function xtensa_timer_irq target/xtensa: rearrange access to external interrupts target/xtensa: expose core runstall as an IRQ line target/xtensa: add MX interrupt controller hw/xtensa: xtfpga: use MX PIC for SMP target/xtensa: add test_mmuhifi_c3 core hw/xtensa: xtfpga: raise CPU number limit
hw/xtensa/Makefile.objs | 1 + hw/xtensa/mx_pic.c | 354 + hw/xtensa/pic_cpu.c | 47 +- hw/xtensa/xtfpga.c | 65 +- include/hw/xtensa/mx_pic.h | 44 + target/xtensa/Makefile.objs | 1 + target/xtensa/core-test_mmuhifi_c3.c | 53 + target/xtensa/core-test_mmuhifi_c3/core-isa.h | 384 + .../xtensa/core-test_mmuhifi_c3/gdb-config.inc.c | 140 + .../core-test_mmuhifi_c3/xtensa-modules.inc.c | 36403 +++++++++++++++++++ target/xtensa/cpu.h | 8 +- target/xtensa/exc_helper.c | 13 + target/xtensa/helper.c | 2 +- target/xtensa/helper.h | 2 + target/xtensa/op_helper.c | 2 + target/xtensa/translate.c | 14 +- 16 files changed, 37479 insertions(+), 54 deletions(-) create mode 100644 hw/xtensa/mx_pic.c create mode 100644 include/hw/xtensa/mx_pic.h create mode 100644 target/xtensa/core-test_mmuhifi_c3.c create mode 100644 target/xtensa/core-test_mmuhifi_c3/core-isa.h create mode 100644 target/xtensa/core-test_mmuhifi_c3/gdb-config.inc.c create mode 100644 target/xtensa/core-test_mmuhifi_c3/xtensa-modules.inc.c
Signature · 2 lines
Thanks. -- Max
Peter Maydell
AppliedQuoted 21 lines · Max Filippov
Hi Peter,
please pull the following series that enables SMP linux support for xtensa-softmmu.
The following changes since commit
8b7a3e1e5434b55d7710071b00af97c7086cab7a:Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2019-01-24 15:04:47 +0000)
are available in the git repository at:
git://github.com/OSLL/qemu-xtensa.gittags/20190204-xtensafor you to fetch changes up to
174e09b73ab1c47408dd29fb36c4dd9fbda54f97:hw/xtensa: xtfpga: raise CPU number limit (2019-01-28 11:55:20 -0800)
----------------------------------------------------------------
target/xtensa: SMP updates and various fixes
Quoted 8 lines
- fix CPU wakeup on runstall changes; expose runstall as an IRQ line;
- place mini-bootloader at the BSP reset vector;
- expose CPU core frequency in XTFPGA board FPGA register;
- rearrange access to external interrupts of xtensa cores;
- add MX interrupt distributor and use it on SMP XTFPGA boards;
- addtest_mmuhifi_c3xtensa core variant;
- raise number of CPUs that can be instantiated on XTFPGA boards.
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/4.0
for any user-visible changes.
-- PMM