Suravee Suthikulpanit e2ed4078a6 kvm: i8254: Deactivate APICv when using in-kernel PIT re-injection mode.
AMD SVM AVIC accelerates EOI write and does not trap. This causes
in-kernel PIT re-injection mode to fail since it relies on irq-ack
notifier mechanism. So, APICv is activated only when in-kernel PIT
is in discard mode e.g. w/ qemu option:

  -global kvm-pit.lost_tick_policy=discard

Also, introduce APICV_INHIBIT_REASON_PIT_REINJ bit to be used for this
reason.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-02-05 15:17:44 +01:00
..
2020-01-14 12:20:58 +01:00
2019-07-22 12:00:51 +02:00
2020-01-23 10:41:20 -08:00
2018-12-03 10:49:13 +01:00
2019-12-10 10:11:00 +01:00
2018-08-15 13:44:10 -07:00
2019-07-03 16:35:23 +02:00
2019-04-16 12:26:18 +02:00
2017-12-22 20:13:04 +01:00
2019-04-22 11:42:59 +02:00
2019-07-17 23:17:38 +02:00
2020-01-23 10:41:20 -08:00
2019-07-22 12:00:51 +02:00
2019-10-08 13:25:24 +02:00
2019-11-16 11:24:05 +01:00
2019-06-17 12:43:44 +02:00
2018-06-07 10:23:33 -07:00
2019-07-31 19:03:35 +02:00
2019-09-24 16:15:36 +02:00
2018-03-20 10:01:57 +01:00
2019-04-10 09:53:31 +02:00
2020-01-08 19:40:51 +01:00
2020-01-14 12:20:58 +01:00
2020-01-31 09:30:41 -08:00
2020-01-14 12:20:58 +01:00