From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI Date: Fri, 09 Jan 2015 16:18:00 +0100 Message-ID: <54AFF128.1080603@redhat.com> References: <1418397300-10870-1-git-send-email-feng.wu@intel.com> <1418397300-10870-14-git-send-email-feng.wu@intel.com> <20150109145435.GA22469@potion.brq.redhat.com> <54AFEC00.80507@redhat.com> <20150109151258.GC9877@potion.brq.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Feng Wu , tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, gleb@kernel.org, dwmw2@infradead.org, joro@8bytes.org, alex.williamson@redhat.com, jiang.liu@linux.intel.com, eric.auger@linaro.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, kvm@vger.kernel.org To: =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= Return-path: In-Reply-To: <20150109151258.GC9877@potion.brq.redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 09/01/2015 16:12, Radim Kr=C4=8Dm=C3=A1=C5=99 wrote: > > The chipset doesn't support it. :( >=20 > I meant that we need to recompute PI entries for lowest priority > interrupts every time guest's TPR changes. >=20 > Luckily, Linux doesn't use TPR, but other OS might be a reason to dro= p > lowest priority from PI optimizations. (Or make it more complicated.= ) Doing vector hashing is a possibility as well. I would like to know what existing chipsets do in practice, then we can mimic it. Paolo