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

[PATCH 0/4] IOMMU/PCI: respect device specifics


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 15 Sep 2021 11:11:13 +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=itTu3oZc5MzNRF0hPw+x0ZHFualAlO0fWetEbSE/YRM=; b=S30ghGvivsQP+PT8AZ8BqF62/hZM3ab6K3JB7GA91DVfbYKJ5B/5Bni/nIlAhbpctz+ATeOx9PCKKRlXCAW0I/uYurHbBZwZV5Vcly2PiLCnl2dAFG+btuBUq0dQAoJtycvkvKQ1BKPkzprbDBIJuPSt29trtmm7vcf1+9SlOQ1ALLPsqp8g9mIRErRT1s8Ez6XcFh6oQ0updPxArr0M4LFlgnSai6LttYy364SutWQanFwojebtD5dd8dWYnByynZVYtkM02tiVZUJKLIbZwj2CcEpqDCTXQKWavwLnCizQPFT8VZWhxgjgcsw+M4uRLEgCauHlb0R4mo5yM1XMlA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GUc0YNJeZy1VJNO/GICQqgMVsntCw60nlJAF5r41cbCbj9aTmpGeBh8mt491AlTeYhm0dIPt+oME0BLIgPCVAC2WmayTQgH9spLY85i5/0QdutOimLqQoKNQJ2qjkEALVaFblrnFzq4k7+ZndGNdoSw14Xhqg4P967vpaMy5NFLd+CC6cLJ60SWfjv65ZSxC8FGbnLoXK3JR2/2FBmv1C+96p25jQRAyv644k0YvuWbhvjT+Jw2Q/RHhhP3eUNlqR7g3mZjjfcfg7elRZ09ACeMOZuJx4X99FSVT4Nzoqq9uAmljiBcanW36Hrp5mBmVr7nAyR9a7c+l0gN8RhrxCg==
  • 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:11:19 +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

(I'm sorry for the resend, but I thought I would better add the
previously missing tag.)




 


Rackspace

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