Commit d6430c1
committed
Merge tag 'pull-riscv-to-apply-20250119-1' of https://github.com/alistair23/qemu into staging
Second RISC-V PR for 10.0
* Reduce the overhead for simple RISC-V vector unit-stride loads and stores
* Add V bit to GDB priv reg
* Add 'sha' support
* Add traces for exceptions in user mode
* Update Pointer Masking to Zjpm v1.0
* Add Smrnmi support
* Fix timebase-frequency when using KVM acceleration
* Add RISC-V Counter delegation ISA extension support
* Add support for Smdbltrp and Ssdbltrp extensions
* Introduce a translation tag for the IOMMU page table cache
* Support Supm and Sspm as part of Zjpm v1.0
* Convert htif debug prints to trace event
# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEEaukCtqfKh31tZZKWr3yVEwxTgBMFAmeMUUwACgkQr3yVEwxT
# gBNgDQ/+JeqcsbJRX+PZQJEV06tDIJpk+mfaBHUYSGdNkjI9fzowNaxFIEB2vaLt
# 4+xAGMnJ4vMcjJyBcPOn1FKAlowM7MsUNITOF9Rstnyriqnj2UsUZ9YBtkuG6gWH
# ZHoYEKu7mAZoZw5RRx4TatHDXw7TYfUsrDPrn+x6yeCZTq9ruRTlHkzp2LC725Vq
# KTnbWAP7WlqiJaSxB5eIFYT5tYP1Blp0yD358B037C57EU9j5zm2FQdFmVK1+xRF
# dFg/urBIzfAjjkCS/t9DmH+S6NgMEut6udUhllk/KUJAzWvsggc4wZZlWjFOJFJY
# fIxx3alhY3pcm1PYjFpf15Poz6Pqva/KGjwgZafirKQtPbRSzfRkUwcHOYRTQT9j
# abeiB44XPaeIl8Jvw7GLxcWtlJ5NmBrZho+2Z9mIhB/Ix5H3PDgs18Oc/s73P2qQ
# JFLRb7cpYy1HbRc0ugvwAmOTY1t6HX8HAtT+3rNhiXpXnj4RW2C/WU1cEqrg8QkM
# cTPiy2zHoBhAWt9aDK1Kvbhb1vur3JaF7rk9jeKlriFr87Ly+yPU+8mnEDw40NMR
# Tc9nivqmOqqXS5AM9O/W1uzTWzpxIUy7XBy3cuSk0uZCoge4IE2Or7P2Rb2uyaNZ
# RkAo/PL2N1cMjP7gB3kLRtYY7FA+nal66KhfbHPRHqj+ZwUAxzs=
# =F3IG
# -----END PGP SIGNATURE-----
# gpg: Signature made Sat 18 Jan 2025 20:11:40 EST
# gpg: using RSA key 6AE902B6A7CA877D6D659296AF7C95130C538013
# gpg: Good signature from "Alistair Francis <alistair@alistair23.me>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 6AE9 02B6 A7CA 877D 6D65 9296 AF7C 9513 0C53 8013
* tag 'pull-riscv-to-apply-20250119-1' of https://github.com/alistair23/qemu: (50 commits)
hw/char/riscv_htif: Convert HTIF_DEBUG() to trace events
target/riscv: Support Supm and Sspm as part of Zjpm v1.0
hw/riscv/riscv-iommu.c: Introduce a translation tag for the page table cache
target/riscv: Add Smdbltrp ISA extension enable switch
target/riscv: Implement Smdbltrp behavior
target/riscv: Implement Smdbltrp sret, mret and mnret behavior
target/riscv: Add Smdbltrp CSRs handling
target/riscv: Add Ssdbltrp ISA extension enable switch
target/riscv: Implement Ssdbltrp exception handling
target/riscv: Implement Ssdbltrp sret, mret and mnret behavior
target/riscv: Add Ssdbltrp CSRs handling
target/riscv: Fix henvcfg potentially containing stale bits
target/riscv: Add configuration for S[m|s]csrind, Smcdeleg/Ssccfg
target/riscv: Add implied rule for counter delegation extensions
target/riscv: Invoke pmu init after feature enable
target/riscv: Add counter delegation/configuration support
target/riscv: Add select value range check for counter delegation
target/riscv: Add counter delegation definitions
target/riscv: Add properties for counter delegation ISA extensions
target/riscv: Support generic CSR indirect access
...
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>File tree
28 files changed
+1862
-720
lines changed- hw
- char
- riscv
- include/hw/riscv
- target/riscv
- insn_trans
- kvm
- tcg
- tests/data/acpi/riscv64/virt
28 files changed
+1862
-720
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 35 | + | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
| |||
159 | 152 | | |
160 | 153 | | |
161 | 154 | | |
162 | | - | |
163 | | - | |
| 155 | + | |
164 | 156 | | |
165 | 157 | | |
166 | 158 | | |
| |||
251 | 243 | | |
252 | 244 | | |
253 | 245 | | |
254 | | - | |
255 | | - | |
| 246 | + | |
256 | 247 | | |
257 | 248 | | |
258 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
67 | 74 | | |
68 | 75 | | |
| 76 | + | |
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
| |||
1227 | 1235 | | |
1228 | 1236 | | |
1229 | 1237 | | |
1230 | | - | |
| 1238 | + | |
1231 | 1239 | | |
1232 | 1240 | | |
1233 | 1241 | | |
| |||
1236 | 1244 | | |
1237 | 1245 | | |
1238 | 1246 | | |
1239 | | - | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
1240 | 1284 | | |
1241 | 1285 | | |
1242 | 1286 | | |
1243 | 1287 | | |
1244 | 1288 | | |
1245 | | - | |
| 1289 | + | |
1246 | 1290 | | |
1247 | 1291 | | |
1248 | 1292 | | |
1249 | 1293 | | |
1250 | 1294 | | |
1251 | 1295 | | |
1252 | | - | |
1253 | | - | |
1254 | | - | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
1255 | 1300 | | |
1256 | 1301 | | |
1257 | 1302 | | |
1258 | | - | |
1259 | | - | |
| 1303 | + | |
| 1304 | + | |
1260 | 1305 | | |
1261 | 1306 | | |
1262 | 1307 | | |
1263 | 1308 | | |
1264 | | - | |
1265 | | - | |
1266 | | - | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
1267 | 1312 | | |
1268 | 1313 | | |
1269 | 1314 | | |
1270 | | - | |
1271 | | - | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
1272 | 1318 | | |
1273 | 1319 | | |
1274 | 1320 | | |
1275 | 1321 | | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
1279 | 1326 | | |
1280 | 1327 | | |
1281 | 1328 | | |
1282 | | - | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
1283 | 1332 | | |
1284 | 1333 | | |
1285 | 1334 | | |
1286 | 1335 | | |
1287 | | - | |
1288 | | - | |
1289 | | - | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
1290 | 1339 | | |
1291 | 1340 | | |
1292 | | - | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
1293 | 1348 | | |
1294 | 1349 | | |
1295 | 1350 | | |
1296 | 1351 | | |
1297 | | - | |
| 1352 | + | |
1298 | 1353 | | |
1299 | 1354 | | |
| 1355 | + | |
1300 | 1356 | | |
1301 | 1357 | | |
1302 | 1358 | | |
| |||
1322 | 1378 | | |
1323 | 1379 | | |
1324 | 1380 | | |
1325 | | - | |
| 1381 | + | |
1326 | 1382 | | |
1327 | 1383 | | |
1328 | 1384 | | |
| 1385 | + | |
1329 | 1386 | | |
1330 | 1387 | | |
1331 | 1388 | | |
| |||
1336 | 1393 | | |
1337 | 1394 | | |
1338 | 1395 | | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
1339 | 1410 | | |
1340 | 1411 | | |
1341 | 1412 | | |
| 1413 | + | |
1342 | 1414 | | |
1343 | 1415 | | |
1344 | 1416 | | |
| |||
1364 | 1436 | | |
1365 | 1437 | | |
1366 | 1438 | | |
1367 | | - | |
| 1439 | + | |
1368 | 1440 | | |
1369 | 1441 | | |
1370 | 1442 | | |
| |||
1395 | 1467 | | |
1396 | 1468 | | |
1397 | 1469 | | |
| 1470 | + | |
1398 | 1471 | | |
1399 | 1472 | | |
1400 | 1473 | | |
| |||
1602 | 1675 | | |
1603 | 1676 | | |
1604 | 1677 | | |
1605 | | - | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
1606 | 1689 | | |
1607 | 1690 | | |
1608 | | - | |
1609 | | - | |
1610 | | - | |
1611 | | - | |
1612 | | - | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | | - | |
1617 | 1691 | | |
1618 | | - | |
1619 | | - | |
1620 | | - | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
1621 | 1705 | | |
| 1706 | + | |
1622 | 1707 | | |
1623 | 1708 | | |
1624 | 1709 | | |
1625 | | - | |
1626 | | - | |
1627 | | - | |
1628 | | - | |
1629 | | - | |
1630 | | - | |
1631 | | - | |
1632 | | - | |
1633 | | - | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
1634 | 1730 | | |
1635 | | - | |
1636 | | - | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
1637 | 1739 | | |
1638 | | - | |
1639 | | - | |
1640 | | - | |
1641 | | - | |
| 1740 | + | |
| 1741 | + | |
1642 | 1742 | | |
| 1743 | + | |
1643 | 1744 | | |
1644 | 1745 | | |
1645 | 1746 | | |
| |||
0 commit comments