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

Re: [PATCH 0/3][4.16?] VT-d: misc (regression) fixes


  • To: Ian Jackson <iwj@xxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 11 Nov 2021 10:32:27 +0100
  • 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=01Z8zGm+qHHa5r+hXBaZDJMeG9QdN55X2uCoJFGD3Pk=; b=ktduXr8yWMNN1vgvlZ/oC8GSb8Iztpk0FFodz39oEEwcdZCiE+mNAzmMBWCNr1gww+7W0GEEClnuRRAAQqOguEpcDlprWBomXDDyufB3f6x7J9nCEtEUWKtOXPdUaPz9x2sbGQQNlfSi7je2yRRVu+nPdw7Tk7T95xrKqzGh6wI9yHrJNbZHtHgnOx6+fKRM+MTMzW2RM0s8ZQ9qBjE6IPUXN9jtHil38VQAefD4DT2Mm2kG1AE0KF/PBXLEUX0eguE7PmlbIW762lySiCqgohMafSJddhDR8niBUOeMKf6Jlf278O+DijcXy/ngv8ZLLf9x9f5FxnAXdB8s0qRkgg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c8yoIsrVUNwioy4yTWcy29sEiod1BIGEyaVJF8lgJTGofBL5OAihpKoDIAMugW+nlUqb/zNxpMROhNHvGUK+IGbVVq1skCl3tVLqtLU5ProLKxEbU4R1oV7NFyjTurW9lWzpieGQ6RWadbMv/EbKTWs2tJgbCylE9gfjA2Amz1k0gVpDA2o+VWWEewwPiHYQX/JbmPwgIzg2SzTpjS4CB0TSei8Y/6AVeLsfiNpmr3/qpmeNtVO30KItiYkSlKkyzTqv08/2GfK9Cz5cDlP8PK1YAyOxViV8lm6PGdtqxx38LcLgBRNeKdhVCcbYJ1qEs/CnlI8n9/wYGoN2oQ6Qww==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Kevin Tian <kevin.tian@xxxxxxxxx>, Paul Durrant <paul@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 11 Nov 2021 09:32:44 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 09.11.2021 15:55, Jan Beulich wrote:
> 1: per-domain IOMMU bitmap needs to have dynamic size
> 2: fix reduced page table levels support when sharing tables
> 3: don't needlessly engage the untrusted-MSI workaround
> 
> As to 4.16 considerations: Only patch 1 addresses a regression
> introduced after 4.15, the others are older.

To further explain this: Without the earlier change, systems with more
than 32 IOMMUs simply would fail to enable use of the IOMMUs altogether.
Now systems with more than 64 IOMMUs would observe memory corruption
(with unclear knock-on effects). Whether systems with this many IOMMUs
actually exist I can't tell; I know of ones with 40, which isn't all
that far away from 64.

Jan

> Patch 3 additionally
> only addresses an inefficiency; the code we have is correct from
> a functional pov.
> 
> Jan




 


Rackspace

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