1
v2: drop pvpanic-pci patches.
1
v2 update: fix memory leaks in pvpanic-pci test case spotted by
2
oss-fuzz gitlab CI run.
2
3
3
The following changes since commit f1fcb6851aba6dd9838886dc179717a11e344a1c:
4
-- PMM
4
5
5
Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2021-01-19' into staging (2021-01-19 11:57:07 +0000)
6
The following changes since commit 7e7eb9f852a46b51a71ae9d82590b2e4d28827ee:
7
8
Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2021-01-28' into staging (2021-01-28 22:43:18 +0000)
6
9
7
are available in the Git repository at:
10
are available in the Git repository at:
8
11
9
https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20210119-1
12
https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20210129-1
10
13
11
for you to fetch changes up to b93f4fbdc48283a39089469c44a5529d79dc40a8:
14
for you to fetch changes up to 14711b6f54708b9583796db02b12ee7bd0331502:
12
15
13
docs: Build and install all the docs in a single manual (2021-01-19 15:45:14 +0000)
16
hw/arm/stellaris: Remove board-creation reset of STELLARIS_SYS (2021-01-29 15:54:44 +0000)
14
17
15
----------------------------------------------------------------
18
----------------------------------------------------------------
16
target-arm queue:
19
target-arm queue:
17
* Implement IMPDEF pauth algorithm
20
* Implement ID_PFR2
18
* Support ARMv8.4-SEL2
21
* Conditionalize DBGDIDR
19
* Fix bug where we were truncating predicate vector lengths in SVE insns
22
* rename xlnx-zcu102.canbusN properties
20
* npcm7xx_adc-test: Fix memleak in adc_qom_set
23
* provide powerdown/reset mechanism for secure firmware on 'virt' board
21
* target/arm/m_helper: Silence GCC 10 maybe-uninitialized error
24
* hw/misc: Fix arith overflow in NPCM7XX PWM module
22
* docs: Build and install all the docs in a single manual
25
* target/arm: Replace magic value by MMU_DATA_LOAD definition
26
* configure: fix preadv errors on Catalina macOS with new XCode
27
* Various configure and other cleanups in preparation for iOS support
28
* hvf: Add hypervisor entitlement to output binaries (needed for Big Sur)
29
* Implement pvpanic-pci device
30
* Convert the CMSDK timer devices to the Clock framework
23
31
24
----------------------------------------------------------------
32
----------------------------------------------------------------
25
Gan Qixin (1):
33
Alexander Graf (1):
26
npcm7xx_adc-test: Fix memleak in adc_qom_set
34
hvf: Add hypervisor entitlement to output binaries
27
35
28
Peter Maydell (1):
36
Hao Wu (1):
29
docs: Build and install all the docs in a single manual
37
hw/misc: Fix arith overflow in NPCM7XX PWM module
38
39
Joelle van Dyne (7):
40
configure: cross-compiling with empty cross_prefix
41
osdep: build with non-working system() function
42
darwin: remove redundant dependency declaration
43
darwin: fix cross-compiling for Darwin
44
configure: cross compile should use x86_64 cpu_family
45
darwin: detect CoreAudio for build
46
darwin: remove 64-bit build detection on 32-bit OS
47
48
Maxim Uvarov (3):
49
hw: gpio: implement gpio-pwr driver for qemu reset/poweroff
50
arm-virt: refactor gpios creation
51
arm-virt: add secure pl061 for reset/power down
52
53
Mihai Carabas (4):
54
hw/misc/pvpanic: split-out generic and bus dependent code
55
hw/misc/pvpanic: add PCI interface support
56
pvpanic : update pvpanic spec document
57
tests/qtest: add a test case for pvpanic-pci
58
59
Paolo Bonzini (1):
60
arm: rename xlnx-zcu102.canbusN properties
61
62
Peter Maydell (26):
63
configure: Move preadv check to meson.build
64
ptimer: Add new ptimer_set_period_from_clock() function
65
clock: Add new clock_has_source() function
66
tests: Add a simple test of the CMSDK APB timer
67
tests: Add a simple test of the CMSDK APB watchdog
68
tests: Add a simple test of the CMSDK APB dual timer
69
hw/timer/cmsdk-apb-timer: Rename CMSDKAPBTIMER struct to CMSDKAPBTimer
70
hw/timer/cmsdk-apb-timer: Add Clock input
71
hw/timer/cmsdk-apb-dualtimer: Add Clock input
72
hw/watchdog/cmsdk-apb-watchdog: Add Clock input
73
hw/arm/armsse: Rename "MAINCLK" property to "MAINCLK_FRQ"
74
hw/arm/armsse: Wire up clocks
75
hw/arm/mps2: Inline CMSDK_APB_TIMER creation
76
hw/arm/mps2: Create and connect SYSCLK Clock
77
hw/arm/mps2-tz: Create and connect ARMSSE Clocks
78
hw/arm/musca: Create and connect ARMSSE Clocks
79
hw/arm/stellaris: Convert SSYS to QOM device
80
hw/arm/stellaris: Create Clock input for watchdog
81
hw/timer/cmsdk-apb-timer: Convert to use Clock input
82
hw/timer/cmsdk-apb-dualtimer: Convert to use Clock input
83
hw/watchdog/cmsdk-apb-watchdog: Convert to use Clock input
84
tests/qtest/cmsdk-apb-watchdog-test: Test clock changes
85
hw/arm/armsse: Use Clock to set system_clock_scale
86
arm: Don't set freq properties on CMSDK timer, dualtimer, watchdog, ARMSSE
87
arm: Remove frq properties on CMSDK timer, dualtimer, watchdog, ARMSSE
88
hw/arm/stellaris: Remove board-creation reset of STELLARIS_SYS
30
89
31
Philippe Mathieu-Daudé (1):
90
Philippe Mathieu-Daudé (1):
32
target/arm/m_helper: Silence GCC 10 maybe-uninitialized error
91
target/arm: Replace magic value by MMU_DATA_LOAD definition
33
92
34
Richard Henderson (7):
93
Richard Henderson (2):
35
target/arm: Implement an IMPDEF pauth algorithm
94
target/arm: Implement ID_PFR2
36
target/arm: Add cpu properties to control pauth
95
target/arm: Conditionalize DBGDIDR
37
target/arm: Use object_property_add_bool for "sve" property
38
target/arm: Introduce PREDDESC field definitions
39
target/arm: Update PFIRST, PNEXT for pred_desc
40
target/arm: Update ZIP, UZP, TRN for pred_desc
41
target/arm: Update REV, PUNPK for pred_desc
42
96
43
Rémi Denis-Courmont (19):
97
docs/devel/clocks.rst | 16 +++
44
target/arm: remove redundant tests
98
docs/specs/pci-ids.txt | 1 +
45
target/arm: add arm_is_el2_enabled() helper
99
docs/specs/pvpanic.txt | 13 ++-
46
target/arm: use arm_is_el2_enabled() where applicable
100
docs/system/arm/virt.rst | 2 +
47
target/arm: use arm_hcr_el2_eff() where applicable
101
configure | 78 ++++++++------
48
target/arm: factor MDCR_EL2 common handling
102
meson.build | 34 ++++++-
49
target/arm: Define isar_feature function to test for presence of SEL2
103
include/hw/arm/armsse.h | 14 ++-
50
target/arm: add 64-bit S-EL2 to EL exception table
104
include/hw/arm/virt.h | 2 +
51
target/arm: add MMU stage 1 for Secure EL2
105
include/hw/clock.h | 15 +++
52
target/arm: add ARMv8.4-SEL2 system registers
106
include/hw/misc/pvpanic.h | 24 ++++-
53
target/arm: handle VMID change in secure state
107
include/hw/pci/pci.h | 1 +
54
target/arm: do S1_ptw_translate() before address space lookup
108
include/hw/ptimer.h | 22 ++++
55
target/arm: translate NS bit in page-walks
109
include/hw/timer/cmsdk-apb-dualtimer.h | 5 +-
56
target/arm: generalize 2-stage page-walk condition
110
include/hw/timer/cmsdk-apb-timer.h | 34 ++-----
57
target/arm: secure stage 2 translation regime
111
include/hw/watchdog/cmsdk-apb-watchdog.h | 5 +-
58
target/arm: set HPFAR_EL2.NS on secure stage 2 faults
112
include/qemu/osdep.h | 12 +++
59
target/arm: revector to run-time pick target EL
113
include/qemu/typedefs.h | 1 +
60
target/arm: Implement SCR_EL2.EEL2
114
target/arm/cpu.h | 1 +
61
target/arm: enable Secure EL2 in max CPU
115
hw/arm/armsse.c | 48 ++++++---
62
target/arm: refactor vae1_tlbmask()
116
hw/arm/mps2-tz.c | 14 ++-
117
hw/arm/mps2.c | 28 ++++-
118
hw/arm/musca.c | 13 ++-
119
hw/arm/stellaris.c | 170 +++++++++++++++++++++++--------
120
hw/arm/virt.c | 111 ++++++++++++++++----
121
hw/arm/xlnx-zcu102.c | 4 +-
122
hw/core/ptimer.c | 34 +++++++
123
hw/gpio/gpio_pwr.c | 70 +++++++++++++
124
hw/misc/npcm7xx_pwm.c | 23 ++++-
125
hw/misc/pvpanic-isa.c | 94 +++++++++++++++++
126
hw/misc/pvpanic-pci.c | 94 +++++++++++++++++
127
hw/misc/pvpanic.c | 85 ++--------------
128
hw/timer/cmsdk-apb-dualtimer.c | 53 +++++++---
129
hw/timer/cmsdk-apb-timer.c | 55 +++++-----
130
hw/watchdog/cmsdk-apb-watchdog.c | 29 ++++--
131
target/arm/helper.c | 27 +++--
132
target/arm/kvm64.c | 2 +
133
tests/qtest/cmsdk-apb-dualtimer-test.c | 130 +++++++++++++++++++++++
134
tests/qtest/cmsdk-apb-timer-test.c | 75 ++++++++++++++
135
tests/qtest/cmsdk-apb-watchdog-test.c | 131 ++++++++++++++++++++++++
136
tests/qtest/npcm7xx_pwm-test.c | 4 +-
137
tests/qtest/pvpanic-pci-test.c | 98 ++++++++++++++++++
138
tests/qtest/xlnx-can-test.c | 30 +++---
139
MAINTAINERS | 3 +
140
accel/hvf/entitlements.plist | 8 ++
141
hw/arm/Kconfig | 1 +
142
hw/gpio/Kconfig | 3 +
143
hw/gpio/meson.build | 1 +
144
hw/i386/Kconfig | 2 +-
145
hw/misc/Kconfig | 12 ++-
146
hw/misc/meson.build | 4 +-
147
scripts/entitlement.sh | 13 +++
148
tests/qtest/meson.build | 6 +-
149
52 files changed, 1436 insertions(+), 319 deletions(-)
150
create mode 100644 hw/gpio/gpio_pwr.c
151
create mode 100644 hw/misc/pvpanic-isa.c
152
create mode 100644 hw/misc/pvpanic-pci.c
153
create mode 100644 tests/qtest/cmsdk-apb-dualtimer-test.c
154
create mode 100644 tests/qtest/cmsdk-apb-timer-test.c
155
create mode 100644 tests/qtest/cmsdk-apb-watchdog-test.c
156
create mode 100644 tests/qtest/pvpanic-pci-test.c
157
create mode 100644 accel/hvf/entitlements.plist
158
create mode 100755 scripts/entitlement.sh
63
159
64
docs/conf.py | 46 ++++-
65
docs/devel/conf.py | 15 --
66
docs/index.html.in | 17 --
67
docs/interop/conf.py | 28 ---
68
docs/meson.build | 64 +++---
69
docs/specs/conf.py | 16 --
70
docs/system/arm/cpu-features.rst | 21 ++
71
docs/system/conf.py | 28 ---
72
docs/tools/conf.py | 37 ----
73
docs/user/conf.py | 15 --
74
include/qemu/xxhash.h | 98 +++++++++
75
target/arm/cpu-param.h | 2 +-
76
target/arm/cpu.h | 107 ++++++++--
77
target/arm/internals.h | 45 +++++
78
target/arm/cpu.c | 23 ++-
79
target/arm/cpu64.c | 65 ++++--
80
target/arm/helper-a64.c | 8 +-
81
target/arm/helper.c | 414 ++++++++++++++++++++++++++-------------
82
target/arm/m_helper.c | 2 +-
83
target/arm/monitor.c | 1 +
84
target/arm/op_helper.c | 4 +-
85
target/arm/pauth_helper.c | 27 ++-
86
target/arm/sve_helper.c | 33 ++--
87
target/arm/tlb_helper.c | 3 +
88
target/arm/translate-a64.c | 4 +
89
target/arm/translate-sve.c | 31 ++-
90
target/arm/translate.c | 36 +++-
91
tests/qtest/arm-cpu-features.c | 13 ++
92
tests/qtest/npcm7xx_adc-test.c | 1 +
93
.gitlab-ci.yml | 4 +-
94
30 files changed, 770 insertions(+), 438 deletions(-)
95
delete mode 100644 docs/devel/conf.py
96
delete mode 100644 docs/index.html.in
97
delete mode 100644 docs/interop/conf.py
98
delete mode 100644 docs/specs/conf.py
99
delete mode 100644 docs/system/conf.py
100
delete mode 100644 docs/tools/conf.py
101
delete mode 100644 docs/user/conf.py
102
diff view generated by jsdifflib