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

IOMMU/PCI: respect device specifics


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 15 Sep 2021 11:10:07 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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; bh=WC674Lr8KsLW7ShRRnmjydlZkAKLLT/FjGzCzUM9sJ4=; b=jiT6GBDq70s2fzwUMRNFbO1fRaHGn6f8Dpap/D4pHyh2PdECYGYfvS1c3mH03VJOl3afK16CsoN4PMykfiL0WVWi6k9YD0GUPE34yzr1psu+UJ9WlCW2BFKPNQcTI7GZDAav6pOiWaGrjApzFSE1hG63KcVYH/AhnITR/MLLxYOCAM25/8R6me+4RZ1AaLPkg5seZvws/rgzWHrpfIzIYNihgICjydZ/mbfleAJq4jTvsZw9RYH+m7ndGEoZTmgxMreN29ogrNV5MnXUWoCNZaHKrfcbegUTzF42AZeN4vC4aD3ThSeA6fla8zd1PwK2mEajPb65/TNeXhkVi/1mzg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gVWUrUp1TYjtPQFzuVt2qNl55YqTgYU+Eybr4rjIZEiXV55l+VgT2xaaTJ7Hr2hPfkbXI+EAGZO9jbou4NeBLrrcEwifL1GZG3Jgjqlb2rV02Ae+AKwCUsHCrJHgpRYL294NwLU+KcsukucNjmIplljrFf/EbYgwGP1s2miwmA7/g2UqqKGaAHE2kZQGk+cF9pi6bP9/W+FLu4NmccjKBuzPD5dAH/mXRxuJi0w/1T/XjRQiRW36UQfFNxDe60GZ+h5AwpVQI2h1I8xgplfO5JHQ2X7q77FCvvx7UbbufP3+iizj77GRhz4MQk0DbH+1Hn/7nNcMF1HjdwrR/AeWdw==
  • Authentication-results: citrix.com; dkim=none (message not signed) header.d=none;citrix.com; dmarc=none action=none header.from=suse.com;
  • Cc: Paul Durrant <paul@xxxxxxx>, Kevin Tian <kevin.tian@xxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Wed, 15 Sep 2021 09:10:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

While making the first change here it occurred to me that the recent
vPCI-related discussion about hidden devices has some relevance also
elsewhere. In the course I then came to also notice a phantom device
related quirk.

1: VT-d: defer "no DRHD" check when (un)mapping devices
2: VT-d: consider hidden devices when unmapping
3: VT-d: skip IOMMU bitmap cleanup for phantom devices
4: AMD/IOMMU: consider hidden devices when flushing device I/O TLBs

Jan




 


Rackspace

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