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

Re: [PATCH v5 3/9] IOMMU: add common API for device reserved memory


  • To: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 25 Aug 2022 17:46:09 +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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ocOKdxcbMaMPkZz7smLBr+blruA5J4R6RDHZZYPG5Jo=; b=GRPFJHOg46caSl3wEzRZLdi61qdTCfM8pXPalLu01ADRFNQxw4PJHmJkdpvpIyuRuFipmxvzJIeiDZp+hQCkFN6M2Em/Trz0AP5cd/WoXi8/fOCFO2uIR2HBgLWm5Ug2Ws4plYQTljIOiDxfaHvduwJ3E7WK6ai+qt3k/t9sCeb+O2tctkC6FLSCj20uh3Qylpk5smUEcOvsUI1+l78NDsPWQkGrmBJ1lQ/r5QKK9+r+Tr53X4nCR4OOTLn2knj4EERJ01I8ErkCBCyC7Ghn08n7W8blbO2/WS+oSDQaG25E988hag/nPgLiwolo378UBSnqjNsa4DwvavOgOFjjfA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iCqEcw5sj86CAujPiDTLuevHNdJe15ue5XmbeGjdZlTQOm5DO8POY1vlrhipdOYHMdGC14kUV8bLLeBu0TPU/RbZ0XpOEiDyVZWZ28HkZnh8EZrG/ZpFYFTzTsTrRY6Cl89THVU1wCYPMcnTVkZlvdNTZbTmb6mdtj52PcSpGBWXBoT5ky3BkH9V2We/6XNTsjpldiUJCxMDkWy6NeEjamE83ZteTi5VCux14LGJ2r6N7uBmumJxCTHWdSAFmPsFU3uLflvrj0PWkdlZRL8kRI6kZopYm7hKU2HrR4KRBMNT6EoUzVoI/LunVEpzPOirEt+WE95sVFtWuFnfNhN3yA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Paul Durrant <paul@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 25 Aug 2022 15:46:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 22.08.2022 17:27, Marek Marczykowski-Górecki wrote:
> Add API similar to rmrr= and ivmd= arguments, but in a common code. This
> will allow drivers to register reserved memory regardless of the IOMMU
> vendor.
> The direct reason for this API is xhci-dbc console driver (aka xue),
> that needs to use DMA. But future change may unify command line
> arguments for user-supplied reserved memory, and it may be useful for
> other drivers in the future too.
> 
> This commit just introduces an API, subsequent patches will plug it in
> appropriate places. The reserved memory ranges needs to be saved
> locally, because at the point when they are collected, Xen doesn't know
> yet which IOMMU driver will be used.
> 
> Signed-off-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>




 


Rackspace

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