Commit 63de8ab
James Morse
arm64: insn: Add support for encoding DSB
To generate code in the eBPF epilogue that uses the DSB instruction,
insn.c needs a heler to encode the type and domain.
Re-use the crm encoding logic from the DMB instruction.
Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>1 parent 92a09c4 commit 63de8ab
2 files changed
Lines changed: 38 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
| 709 | + | |
709 | 710 | | |
710 | 711 | | |
711 | 712 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
1500 | 1501 | | |
1501 | 1502 | | |
1502 | 1503 | | |
1503 | | - | |
| 1504 | + | |
1504 | 1505 | | |
1505 | | - | |
1506 | | - | |
1507 | | - | |
1508 | 1506 | | |
1509 | 1507 | | |
1510 | | - | |
1511 | | - | |
| 1508 | + | |
1512 | 1509 | | |
1513 | | - | |
1514 | | - | |
| 1510 | + | |
1515 | 1511 | | |
1516 | | - | |
1517 | | - | |
| 1512 | + | |
1518 | 1513 | | |
1519 | | - | |
1520 | | - | |
| 1514 | + | |
1521 | 1515 | | |
1522 | | - | |
1523 | | - | |
| 1516 | + | |
1524 | 1517 | | |
1525 | | - | |
1526 | | - | |
| 1518 | + | |
1527 | 1519 | | |
1528 | | - | |
1529 | | - | |
| 1520 | + | |
1530 | 1521 | | |
1531 | | - | |
1532 | | - | |
| 1522 | + | |
1533 | 1523 | | |
1534 | | - | |
1535 | | - | |
| 1524 | + | |
1536 | 1525 | | |
1537 | | - | |
| 1526 | + | |
1538 | 1527 | | |
1539 | 1528 | | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
1540 | 1539 | | |
1541 | 1540 | | |
1542 | 1541 | | |
| |||
1545 | 1544 | | |
1546 | 1545 | | |
1547 | 1546 | | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
1548 | 1562 | | |
1549 | 1563 | | |
1550 | 1564 | | |
| |||
0 commit comments