From patchwork Tue Dec 18 18:04:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 154171 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4014998ljp; Tue, 18 Dec 2018 10:06:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/WKSt1+QeUejLgK26s7Sjnbw+SkoW5DrqNx8V6JiNwh6pWlIY4/JKZDCkrrQMveyXkp96NK X-Received: by 2002:a81:b603:: with SMTP id u3mr18942530ywh.181.1545156384302; Tue, 18 Dec 2018 10:06:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545156384; cv=none; d=google.com; s=arc-20160816; b=OYjGO+nUBmYosG0nJKF8UuoIynAvX1oK8yY8wi0fRNZawQPRcxzh2H7S9ohMHJVdmt 35tnysPhWm4DMlYqGi/0fxe2jN8HdzdBKEuRq9iiJYemHhMbKYu8zcIaptvZXCfyW9b0 w0FrZ3ifjDtZV5q9bcReXhIEMAOB2VgVrDWwJFn1oQLIpcgrNpVrkrKjIxlLDC4B4B2B +tBIe8vpeJf4Ctx3K0uJr9IquJ/3ZEoZ4ZJWwuW2GFitndDm04bSkrOrt09Gjcu+ZdoJ N2N+3ppT5vemjUxokIk7G7cAkRaDp4Dkss/0P2CQhx5agpQmuQPP1XIwqrz4mbFrA4w5 PwEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:message-id:date:to:from; bh=N2cwn8ne2KxzbnEDyBUnp5dw4djs+5dfjPzGl19yr48=; b=YCdRL+BoYdOjbOc8zxs3FP0P5TFGpl8XZqeMYvwUpCfrnjd3j8+2ZSDorg+Jg1UQKd F42yPSOOpms0T+7Y/qbYXxhL4zJABLJfzHcIi0boIYszZxYZgfC21yJp7g/JP0hhYtDz 1hNLROcN23VYxlW0KLFBFa277vUSIzU91ZGJq+SVlanEQhnwD+Zv0LDXXtW5GcMe04xd FA9mOVctWpeHxkziKHiqyp8Pd9GXJItxst5gp8eKvUT0e10iUHV7MejFMHG0jsL+deX3 Cvmg1IwicogGY39yGGKQVY7V/XtLBKnXCagT2bhkIrt+0EHaENzBHG8RTp7Qxna2DKMI 5jqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id o6si9159973ybe.460.2018.12.18.10.06.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 10:06:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1gZJjH-0006aE-86; Tue, 18 Dec 2018 18:04:27 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1gZJjF-0006a4-Sy for xen-devel@lists.xenproject.org; Tue, 18 Dec 2018 18:04:25 +0000 X-Inumbo-ID: 5a48f698-02ef-11e9-b878-4bee87435fc8 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTP id 5a48f698-02ef-11e9-b878-4bee87435fc8; Tue, 18 Dec 2018 18:04:24 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 75FAEA78; Tue, 18 Dec 2018 10:04:24 -0800 (PST) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 827BE3F5C0; Tue, 18 Dec 2018 10:04:22 -0800 (PST) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Tue, 18 Dec 2018 18:04:13 +0000 Message-Id: <20181218180417.22134-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Subject: [Xen-devel] [PATCH for-4.12 v4 0/4] xen/arm: Implement Set/Way operations X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Hi all, This is version 3 of the series to implement set/way. For more details see patch #3. Cheers, Julien Grall (4): xen/arm: vcpreg: Add wrappers to handle co-proc access trapped by HCR_EL2.TVM xen/arm: vsysreg: Add wrapper to handle sysreg access trapped by HCR_EL2.TVM xen/arm: Implement Set/Way operations xen/arm: Track page accessed between batch of Set/Way operations xen/arch/arm/arm64/vsysreg.c | 75 +++++++++++++++++++ xen/arch/arm/domain.c | 14 ++++ xen/arch/arm/p2m.c | 119 +++++++++++++++++++++++++++++- xen/arch/arm/traps.c | 25 ++++++- xen/arch/arm/vcpreg.c | 171 +++++++++++++++++++++++++++++++++++++++++++ xen/arch/x86/domain.c | 4 + xen/common/domain.c | 5 +- xen/include/asm-arm/cpregs.h | 1 + xen/include/asm-arm/domain.h | 9 +++ xen/include/asm-arm/p2m.h | 22 ++++++ xen/include/xen/domain.h | 2 + 11 files changed, 443 insertions(+), 4 deletions(-)