]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book 3S: XICS: correct the real mode ICP rejecting counter
authorLi Zhong <zhong@linux.vnet.ibm.com>
Fri, 11 Nov 2016 04:57:33 +0000 (12:57 +0800)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 26 Jan 2017 23:25:44 +0000 (10:25 +1100)
commit073b01fd023c7fe46730226c6fce1621e716b1c9
tree14a1e72bf7d92e2516bda5234015cd9a33dc7e50
parentd3425122aef2cae49094c11dc14b4b902f75fcd0
KVM: PPC: Book 3S: XICS: correct the real mode ICP rejecting counter

Some counters are added in Commit 1cf5ee4fda06 ("KVM: PPC: Book3S HV:
Add ICP real mode counters"), to provide some performance statistics to
determine whether further optimizing is needed for real mode functions.

The n_reject counter counts how many times ICP rejects an irq because of
priority in real mode. The redelivery of an lsi that is still asserted
after eoi doesn't fall into this category, so the increasement there is
removed.

Also, it needs to be increased in icp_rm_deliver_irq() if it rejects
another one.

Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_hv_rm_xics.c