Commit b73cf7e
ACPI: APEI: GHES: Improve ghes_notify_sea() status check
Performance testing on ARMv8 systems shows significant overhead in error
status handling in SEA error handling.
- ghes_peek_estatus(): 8,138.3 ns (21,160 cycles).
- ghes_clear_estatus(): 2,038.3 ns (5,300 cycles).
Apply the same optimization used in ghes_notify_nmi() to
ghes_notify_sea() by checking for active errors before processing,
Tested-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Shuai Xue <xueshuai@linux.alibaba.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Link: https://patch.msgid.link/20260112032239.30023-4-xueshuai@linux.alibaba.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent feb2d38 commit b73cf7e
1 file changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1511 | 1511 | | |
1512 | 1512 | | |
1513 | 1513 | | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
1514 | 1517 | | |
1515 | 1518 | | |
1516 | 1519 | | |
1517 | 1520 | | |
1518 | 1521 | | |
1519 | 1522 | | |
1520 | 1523 | | |
1521 | | - | |
| 1524 | + | |
1522 | 1525 | | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
1523 | 1532 | | |
1524 | 1533 | | |
1525 | 1534 | | |
| 1535 | + | |
| 1536 | + | |
1526 | 1537 | | |
1527 | 1538 | | |
1528 | 1539 | | |
1529 | 1540 | | |
1530 | 1541 | | |
1531 | 1542 | | |
1532 | 1543 | | |
| 1544 | + | |
1533 | 1545 | | |
1534 | 1546 | | |
1535 | 1547 | | |
1536 | | - | |
| 1548 | + | |
1537 | 1549 | | |
1538 | 1550 | | |
1539 | 1551 | | |
| |||
1765 | 1777 | | |
1766 | 1778 | | |
1767 | 1779 | | |
1768 | | - | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
1769 | 1783 | | |
1770 | 1784 | | |
1771 | 1785 | | |
| |||
0 commit comments