[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Purpose of translate MSI interrupt into INTx for guest passthrough


  • To: Qing He <qing.he@xxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Tue, 12 Jan 2021 15:10:57 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2++iFE2eOlj9I/axhWtfsKHARHPwyEaSRM6w8gOsqKo=; b=WwWrzmemhQCAxzfZAf/ssFbI2J81n2qBUXWstiWoSa06OybswUmHI2px9lmRAqqSBhdorfioPXQecvmqw0ueGAxgCZe/pU+Nv3bbWZJsuFx+25XrVtyKRzCcYxi0VTPhca7prh6NaAhCAYQiNfDH5FSEEWye0T3N6PAiAHLUB00grVznRdrNxKB5721XEM3wv8swdjXBFX9aSFh9pfm6lwn2c3G4QocDXQY4mjxiOgpRDP3Z5r77cNOVtkC4x2aU28qgNN35dGCUqIMEa+Mx+89c+z4ohpfDfvGc9EycellxBvr1RlnF4y05nFefvfvOL1zENaph7CJY/4o6/cJUtA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OjpwG/O9Tb3Ghavnx2bUZ3HDQSHE+n2PuHpotg23m9OeBpqRfwkliYJZFO4/TCxc3tSUWcXa8ZogGSTF1Ctc5aXE/WtMHgim2GqsMdkEAtZro8h9X8nQbyELWmCsxgSaPS2pJwLFApCtrSO2dGvraaJKYpfHuUcxJqzxvUsbqzl7yBMYuCRofC+lHrGiD2z5+FMogWLZkOnZPPzinUcNiGm7KbD5KjlUNGru7Xyn/w6n8/8O9LG1k7QdudBK3UNENuLYjw9ecKBBhU3SdLQ9P3bEbKRAexK9G0kjAMniyhMQE3cnQDn2WGzVQ5kJj5bPC6sT8XN1mIIyfR31vQf+Ig==
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 12 Jan 2021 14:11:34 +0000
  • Ironport-sdr: xzP3YzAB91Log+gq0v/GmGyGGOW/OYSwhiB8SXufBN0RS+OZEY/NfdigR0ovnJOeZvjFsuNym7 dz22e5cVTUDto207XZgzSRVm6oPb9ob3WgI2Do542BzT5eL/uDfWZRmWI49Pd/7Sq2S3nEaiZu 45ciAtWr5fkVyrn+TKjHhsY7KYJXpfi1j6aYMezmo54mjlVMuRgcUuk4wd/0z5gRG62IMej0M4 JHWxSIKCPGKaYFK9Ymj8Md5D6/L9Ss7yvrNWp9QYc6ddDkfB2UKFX27MMX59eeAaXH9fQpx9S0 NWU=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hello,

While trying to do some cleanup of the Xen interrupt support for pci
pass though I came across the MSI to INTx translation that Xen is in
theory capable of performing (ie: use a physical MSI interrupt source
and inject that as an INTx to a guest).

AFAICT such functionality is not wired up to the toolstack, so it's
hard to tell what's the indented purpose, or whether it has seen any
usage.

The commit that introduces it seems to be:

11f8ac5ebf passthrough: MSI-INTx translation for HVM

Which contains your SoB. Could you elaborate a bit on what was the
intended purpose, and whether this has never been used?

Thanks, Roger.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.