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

Re: [XEN v5 07/10] xen/arm: Restrict zeroeth_table_offset for ARM_64


  • To: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Fri, 21 Apr 2023 10:03:23 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); 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=+YMUnGWGzw3nBKPKWLtJPAgE40LUnF7BLZ38MPB1Sw0=; b=PlK/kqBLwsBCSrg6h6Zx1l8qt5F8g7lN0S3MqL9laK4aWw0Hf7wZlBfkn8vFYVVtmZbBA60G/o2p0bjLb662Kf5K2Xjjd57hPDEy0FoITyhCIqEK5DOVSqIW+Xbza61ltwlU+SoxXNn3xa9p7crErnMLSoXpbHF6jsuE4SXD2s9K7BG+GxqTHNWBBGxz+fnxHVQCKEE0ObQrd4W+bY+dSgPygQ9CpftjVkR9KYygKT2pJodVimc/vxwy4NdXD3UWR09TdRHD1kOmx3SFYijs5BHh4FqQK3fg2GGAVbU72mcfMQESgsW0uKmsWAfQ5ZY6ZMsoBOTHeFT6/dEp+INf6A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fqPiAMUYpLi0DQlG3wf1yXw7upNMVjS0wWFACzElI2b74EKzn6E9YCZ1m23gmNLNqXDzTMFqIE67Zc7YivTMmSHbrgZEYgCPkIK42A9ixVtxnBeYoY/tXbV17JEKe3B4Q8DNz3Ni4yt/d6rwKx2/OUAkZQmYNcx8qdm6CC22gGV36Nu5on7OmJyadSQrdJX3Y6YHOkK1NDuNkbAr0M7cz8ZhOsuO48+t8+g+X9V8LZ3TuJ9W5B76P0zLdw/8QdfAiusUdI0PHd3a4Um3i+EDg4nedc+XcdEjfixlh9jxgeCwSoB+y83YwOvkioUYWQBUegvrTu/Wy4WvB0SDcdUBEQ==
  • Cc: <sstabellini@xxxxxxxxxx>, <stefano.stabellini@xxxxxxx>, <julien@xxxxxxx>, <Volodymyr_Babchuk@xxxxxxxx>, <bertrand.marquis@xxxxxxx>, <andrew.cooper3@xxxxxxxxxx>, <george.dunlap@xxxxxxxxxx>, <jbeulich@xxxxxxxx>, <wl@xxxxxxx>, <rahul.singh@xxxxxxx>
  • Delivery-date: Fri, 21 Apr 2023 08:03:45 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Ayan,

On 13/04/2023 19:37, Ayan Kumar Halder wrote:
> 
> 
> When 32 bit physical addresses are used (ie PHYS_ADDR_T_32=y),
> "va >> ZEROETH_SHIFT" causes an overflow.
> Also, there is no zeroeth level page table on Arm32.
> 
> Also took the opportunity to clean up dump_pt_walk(). One could use
> DECLARE_OFFSETS() macro instead of declaring the declaring an array
s/declaring the declaring/declaring/

> of page table offsets.
> 
> Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>

~Michal




 


Rackspace

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