diff options
author | Jinliang Zheng <alexjlzheng@tencent.com> | 2023-04-19 10:19:25 +0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-06-01 13:44:13 -0700 |
commit | 0d42522bdee70b9197be63dd76c9f6297cd1e832 (patch) | |
tree | d5a57b6e605c2722ada4060cf9c27a35840ac48c /tools/perf/scripts/python/task-analyzer.py | |
parent | dee321977a230802a5065af4ad4f4f5e8558a738 (diff) |
KVM: x86: Fix poll command
According to the hardware manual, when the Poll command is issued, the
byte returned by the I/O read is 1 in Bit 7 when there is an interrupt,
and the highest priority binary code in Bits 2:0. The current pic
simulation code is not implemented strictly according to the above
expression.
Fix the implementation of pic_poll_read(), set Bit 7 when there is an
interrupt.
Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Link: https://lore.kernel.org/r/20230419021924.1342184-1-alexjlzheng@tencent.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions