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

Re: [PATCH v6 03/11] xen/arm: disable EFI boot services for MPU systems


  • To: Julien Grall <julien@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Wei Chen <Wei.Chen@xxxxxxx>
  • Date: Tue, 15 Nov 2022 16:21:40 +0800
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; 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=HuN8PeRhwU2sDVpej8Ojp7v/QgD8TvryK79101JFIY4=; b=MoAcd+e6UHHKy1goFFznPdSebdC+i5Azkez8kQuU0kzBeo+5UvNfO6Ulx2xGa2gtRt9FB37LJP73zwSxHDFCYoHnexN1vOkBt7onbTIQjTQdcFJoe0qUG9bfoVvg3T6wx3v4bxjCnsNzJKjx67hTheccsq4MRaGjIST0DNhkEwRqGMsgvsEHeDWD2lvhupJqAtvjjJMV0mTC283lylpomZ2L6WQ0BaW6Z6pI/ayoLrpTJm7NOXhx3ymiZ0x527HtUEdm8NuiwTIqMfhszOEutztiVwinGVzKmOKLvIvtTnG4hvK5+hMBGjPjrg+cmXxhTIOpKgPvjO2ymP7wLM+bEA==
  • 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=HuN8PeRhwU2sDVpej8Ojp7v/QgD8TvryK79101JFIY4=; b=bXt0BX1aZtjTfnwjW5/cBJvLngJGBJy0ColF8EWeDK8dnkidt5uFhYmLJlrmD8Cxn7tGkdy/3A2hotH4o4wDtNf4R7rt2UlbIAUugYPXPpaMKzG9GvT9yzGtB3wFV6VQ0QSMvwk/ubgxnC46vJrHIBM8VO/Tph/taLWbIt9u7HEDOZT+sT1nYiODvWxpHeSTERGJlIQMs/AYPrg/voOtehaRowJhDeukNTcfUTMOpuIEFUgZXpLSKeY6Vi5GaN4rpkZXWAw9U0ZEk7u5AZIAWx+ZUl6UwArMFkMY8/AkxZV32qOh0d/sTnmOdvPknoEyihpya8RsofKoLzSWtFWmcw==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=FI/sR39bA1hnhzgdPp8tH+L9WZgmMiO3pYo1Kog+KG36nR+yCfVkdKNRw7hDO3ixYf4wbEbEKvORoQadOiRuDeDTHLPxyh8mbdOrQhxYeRNT5T4F+uchf+4api67PRSAH63YQ/++4K9GDw99uyb9zqsDNriMpW+kT18aSYNd3sfMEGrpJScXFNuz/XVU24V38OoGWfvCEPALOefFmWfos/+4MqRqsQQeOWA9eKy+TJg8ePsYiJ2YW2thaJc+XYlF8l7v70QHMFYkqNdco1YyeQdX5GrXN2u6ZEi02oshcX+9ILvg7kcqq3JXlg0x8FY+V5aAS5zPIM+gzmdu1I3WIg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZkgjPh2mjnS6mOMiTqfpGqGttX96d2gr49dYpFddE0fUpkknUlE55LDFfSFWDPvNKRIr2drS4Ta/VbQfMTI9Vqoki8ih+3qi9Znu2t5d1oNNTr0fotjiC1/cIg8NMPNTSstCUUrGThQZnVDxUKpjB9uDf/bjz5lBdtFxT2tvJA6AWt+vct5b4VjvaqOru2jeE0f4rHx0o7EWSgMQnugTUHys8jRRoo5SKg0XdPI5xz+njtS5hRIbxx5n74QmyWCVX3+M/ivSF9j1XEBRXWm6LBOk5a7Q71vtiNLK1vABekjdqmNBOLhd+3PCAQXrhzl7+ABW6QzNg2OgIufVrDQeuQ==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: nd@xxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Tue, 15 Nov 2022 08:22:09 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;

Hi Julien,

On 2022/11/7 3:12, Julien Grall wrote:
Hi Wei,

On 04/11/2022 10:07, Wei Chen wrote:
Current EFI boot services support of Arm64 could not
work well for Armv8-R64 system that only has MPU in
EL2. That is because EFI boot services may need some
relocation support or partial PIE/PIC support.

I am a bit confused with argument. We have nothing in Xen today to deal with relocation/partial PIE/PIC support. So what is the exact problem? Is it because UEFI can load Xen anywwhere?


Sorry, I had missed this comment. Yes, you're right we had
tried to boot Xen R82 Image from EFI loader, but it failed.
UEFI loader will load Xen to a random address, which is
not supported by Xen R82 now.

Cheers,
Wei Chen


But these will not be supported in the initial stage of
porting Xen to MPU systems. So in this patch, we
disable EFI boot services support for Arm MPU systems.




 


Rackspace

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