From patchwork Fri Dec 14 11:58:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 153828 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1972845ljp; Fri, 14 Dec 2018 04:01:12 -0800 (PST) X-Google-Smtp-Source: AFSGD/UwML0c2qX8/0CS91OfJGboH2COE3aEKRLkvepJhQjvKcXmxvXFeUFEzVA3x5/GOf5UGkE1 X-Received: by 2002:a25:1a03:: with SMTP id a3-v6mr2461796yba.425.1544788872310; Fri, 14 Dec 2018 04:01:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544788872; cv=none; d=google.com; s=arc-20160816; b=zJaaEd8P6E0CcegTNhoFeGXUwnvAEpFGbwPW6+j2xvFVOm9y44UAILp0ptIOhwiJP5 wxQLejR29keZesg8voZ3/iMbceWHARq28gHcX0/kIQ5yMuybpx5d6yKVqsAcyKiJEmv/ 00MRh7u91cuQS70AnlITwCEjO7TCla3fyIqQHwejRN/m9lR44QH2J1BThSWkvBoc79lX GCSWwq94JeODYxeNvX5FGV0xfZLo8mRk9PLeZp7xI//jLFopODFhWXsjm37KirCO9KfW JZj0Ksr2ognNJDQHhIvZjrE2zVfBoCRCWxFATTGs4OaJA0gop/qxYX3loNcsVd/tBnUv ZAxw== 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=4M1mvlP1qQLOU839/Y5HTlqfndNJpxL4WywktC64ZAo=; b=Rd7zUmz9KPGfzbebGzb0bSG1JYlVm/uq5aFQO6Rkw6QP1/W+c7i67wU3cX/FJSL0U6 OjRED88X5vnu15ixVre/fGPmR1GbMBu4MiBwgOh1jGG7QJCZXn1+jIsMY39Fs+o7Qqtf PvkUpvQF20WFSoG3pTg6Zhe9oJGgzDrSkUYAqKaUhBqMoMrmU17Av7p4Yn1J8mZY8O+2 hD1jCVLDYFpCd4E1aQT22zaV9IJNHfvntuJF5zloYzs5Dih/Ofe+p5mpr52TQqW1Yo41 +VwmOHPIgwwJh7A+filK1z+/31Z0B/9QtVFpQqVNZZ5N1ZvUtBFaPsP5Tz2b54yYApTv x8vA== 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 y67si2723982ywd.298.2018.12.14.04.01.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Dec 2018 04:01:12 -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 1gXm7U-0001Gs-7e; Fri, 14 Dec 2018 11:59:04 +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 1gXm7T-0001Gn-He for xen-devel@lists.xenproject.org; Fri, 14 Dec 2018 11:59:03 +0000 X-Inumbo-ID: a5a64d76-ff97-11e8-9702-93a533719d01 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTP id a5a64d76-ff97-11e8-9702-93a533719d01; Fri, 14 Dec 2018 11:59:02 +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 9330FEBD; Fri, 14 Dec 2018 03:59:01 -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 A2D213F575; Fri, 14 Dec 2018 03:58:59 -0800 (PST) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Fri, 14 Dec 2018 11:58:50 +0000 Message-Id: <20181214115855.6713-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Subject: [Xen-devel] [PATCH for-4.12 v3 0/5] 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: sstabellini@kernel.org, Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich , =?utf-8?q?Ro?= =?utf-8?q?ger_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 #4. A branch with the code is available at: https://xenbits.xen.org/git-http/people/julieng/xen-unstable.git branch cacheflush/v3 Cheers, Julien Grall (5): 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: p2m: Add support for preemption in p2m_cache_flush_range 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/domctl.c | 8 +- xen/arch/arm/p2m.c | 156 +++++++++++++++++++++++++++++++++++++-- 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 | 8 ++ xen/include/asm-arm/p2m.h | 26 ++++++- xen/include/xen/domain.h | 2 + 12 files changed, 486 insertions(+), 9 deletions(-)