[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] x86/iommu: adjust type in arch_iommu_hwdom_init()
- To: Roger Pau Monne <roger.pau@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 24 May 2023 16:46:11 +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=uKhIpjGFbTpCafpQ6OgOSTqaUpsjgeE9DjSPmiuRRIc=; b=J6G69r79zC4kpP3T/ZY4Rs9OSXqoJlgm57lRS0SOY2TJ7M9NIc6ahW1Nl7JWuWCDFWsptjV8x9aFjgN4bVZ7o1GGk8lVXG4eQGGldXjkaYa8XD3GyCwLEMOj9FidlR/D8VYh/35hxuEw38RBXumDV+zcfzNFGpG5aHd/eTBT430IO5cUjhBV5ffiE5Ee2FLxCRwUYHoExiGQrEhYtf+AjbIq7YkkvT6vJUlSc0n19x7fBJ/3R3PfDCQfwJCGjoplJkTfp+L7C15Z6thWAu8BSPlrcKFL6L8TIKWXgX4Shp6nIirx6hZwzHz2aSwyhCLqBse4SEBBgVYKb+yukQXjSw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cTKvqIc34rVLRxPtkz/6dcnWrAEY2BHEOUTV3B3IOGPiVhsi7PXRw6LmCJh3Kd4+pp8aKiYo/76pFrxoJ9BU0KdDO9JIEv9b114RNW7va7NiYYOeLmynr7NOsGliAn5b6pkvgRRx0JTiK5xf0wp8vr8iQfthOKsyyJM3q3wEI1VGvgr2yjeVQwwZ8ZuYzNvxmE9XsuISvRf594AwsvZBFwZlNi2676SjUzlpvdEzVdoB9L1fuBnANqju+I0IWg+GUTBWHcDuyF3V+mtmX5tCcbfgPMZ/QtyCYd/I2Lc/WAXyZfthxaiNGdFoJNm8tR4QELin5iOgxm7hVwgWvIPDZQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Paul Durrant <paul@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Wed, 24 May 2023 14:46:29 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 24.05.2023 16:30, Roger Pau Monne wrote:
> The 'i' iterator index stores a PDX, not a PFN, and hence the initial
> assignation of start (which stores a PFN) needs a conversion from PFN
> to PDX.
>
> This is harmless currently, as the PDX compression skips the bottom
> MAX_ORDER bits which cover the low 1MB, but still do the conversion
> from PDX to PFN for type correctness.
>
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
|