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

[PATCH 0/2] xen/arm: Convert runstate address during hypcall


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Bertrand Marquis <bertrand.marquis@xxxxxxx>
  • Date: Thu, 11 Jun 2020 12:58:19 +0100
  • 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=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-SenderADCheck; bh=D71s0T/Tl8igW2rP4gqzsvEUPhyc07Mh5DOpvYbwWYM=; b=Cgm/d4FAxgkIK6FO30elEz2p/FfRQbAwzscoh8sp+svJXF3bM0G7S377yg51rtjFn2Mc5vsE5x8Q823lvi2sVT3BnqBrnj2m4vZla/q5CYWqfZHHXExxDctDrJ7kyPniNOL9iHhWYZxDs3lf315uphsc/l6zo8E2MKx55hWOm7LeYY6hHM8x0c9pCYQH+TKPJJAxkk2L9oV1qKciDlQRgZyOlxOnmLr8Nqh8WQIHZlrMtTjs6vJ1CI5I36XrbflpSAErHDuD/ENFPNJCOpcfgYwQs3e5gEsQEbafEXM5LKiAFfDTFyJvLDc+QRSM22+jgYTdPjhgndpkQjzLPt99rg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AksEIz08AH8H2w9lq8/zfMdyWEZoetnhhLYXvEtSCPedqxA3UZctTQwz1v5n7/EpcSnS4huOL5gzUEwYDXc9YJHQiXZVlMhtRuVbBok9x1uYVfWwttO1gTvDJgxUlFLRZdXnRmonlN+FWVYtIKeTAii3u0eTazK3ohfTFqFefkNgOHWp6D/Yc6MhjgCHeVaM0ztPA4BRxHzHpQqxVkMbJWrIZ1aKT+J1qfjAxk9srI+c7P/9P/D18TodDjFreTP3yQ6OBXnljhbxkuzazt5qGiWO9H1TVNJ//Z83gghaf56ehqU+6a/cGmquKY4f48UUInc3JEzSiL76xr6r9+ZmFQ==
  • Authentication-results-original: lists.xenproject.org; dkim=none (message not signed) header.d=none; lists.xenproject.org; dmarc=none action=none header.from=arm.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, nd@xxxxxxx, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 11 Jun 2020 11:59:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=arm.com;

This serie is introducing changes to convert runstate address virtual
address provided by a guest during the hypercall on Arm.
It keeps the current strategy on x86 but moves some of the common code
inside the architecture code.
The serie is divided in 2 patches to allow an easier review of the
specific code to handle the use case where the guest area is actually
crossing 2 pages.

Bertrand Marquis (2):
  xen/arm: Convert runstate address during hypcall
  xen/arm: Support runstate crossing pages

 xen/arch/arm/domain.c        | 154 ++++++++++++++++++++++++++++++-----
 xen/arch/x86/domain.c        |  30 ++++++-
 xen/arch/x86/x86_64/domain.c |   4 +-
 xen/common/domain.c          |  19 ++---
 xen/include/asm-arm/domain.h |   9 ++
 xen/include/asm-x86/domain.h |  16 ++++
 xen/include/xen/domain.h     |   4 +
 xen/include/xen/sched.h      |  16 +---
 8 files changed, 199 insertions(+), 53 deletions(-)

-- 
2.17.1




 


Rackspace

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