Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2633595rdb; Fri, 22 Sep 2023 04:40:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGcH/mf07UkC3JvGGHerydB/JJrX493vqU/1mwu5tlrHDo+VPsVb50+l2Dxvb4Ryo2V2Ym/ X-Received: by 2002:a17:90a:9313:b0:274:77b7:660 with SMTP id p19-20020a17090a931300b0027477b70660mr3068357pjo.24.1695382810825; Fri, 22 Sep 2023 04:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695382810; cv=none; d=google.com; s=arc-20160816; b=uBWnhMubyqcxPTzonlfwIsgjKnrYvt8HQ6zmUMZlh2P57/SBHNdDXroJ2Hsr3FP7Ze Oy8UneLaRMIBTcknXPZan0XW4o/ZnvAzy+6CTkodBQ+1dqyWa68q0JP0khr4gkNvBkTt 8FSF9hVL94VByyvGDQn1FwodQvNAJEEvaivKX059AVmPIAiJHCSEIdYkXh5bOlYfKmg8 EV06ITCJgMQP2gSeTaTE3hoXhz5cZSRMVAlKwr6g49HXpFE9lfT1K4kD30iYC95vkV80 AIJjCYpBjt3g+s8mPZBlPwiA1IaYdPRiF+0WXkpLNovSfvIg35X1iljxLl5F0HlGxAS5 ttsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=RSPyH/VJ0euXUD/bDb7p+czvl9FWG16c9RiY8y3Vkc0=; fh=2vqTlNPINEt8u2O5VUjjdtxE8OgDGwETaTVTh/NI6As=; b=e359B6AgYFE1aYQq8sj1p8q3e2x0rHlgHZlDRrjemXP5HQDQn+JYwNHLn1yY3fVlYQ 6tr5FSgv8DYbBZPWFLEyk5pMX1wcirLXtPOmapMDdBl48XWclJm53ltp8GBiT/enztqw 8SXKsjOMujJ7ePbLHMnyPHnrm8T06pPYXTtslTtU+kdNZZc+fg7qx5TiKl3zhrKElnbT 3ObRwtPGXzHQMFniURsj41+j4Ka1ILCNm62PmFHxLrQqTvxjACSP9xBAhfPohSZKnPX9 xlTZpuh5pDwZqXU5H+E+PNKQ4VBpnHK7QWbKLboq9LuoWQokt0wx8ky8CMYRVmJy0vc9 Gscg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id q15-20020a17090ad38f00b00276c4e7b5e2si5658166pju.146.2023.09.22.04.40.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 04:40:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B8BC680677F3; Fri, 22 Sep 2023 04:26:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233684AbjIVL0J (ORCPT + 99 others); Fri, 22 Sep 2023 07:26:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233542AbjIVL0J (ORCPT ); Fri, 22 Sep 2023 07:26:09 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C03C5FB for ; Fri, 22 Sep 2023 04:26:02 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A15D8DA7; Fri, 22 Sep 2023 04:26:39 -0700 (PDT) Received: from e126864.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A5D903F5A1; Fri, 22 Sep 2023 04:25:59 -0700 (PDT) From: Kristina Martsenko To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Will Deacon , Vladimir Murzin , Colton Lewis , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] KVM: arm64: Support for Arm v8.8 memcpy instructions in KVM guests Date: Fri, 22 Sep 2023 12:25:06 +0100 Message-Id: <20230922112508.1774352-1-kristina.martsenko@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 22 Sep 2023 04:26:09 -0700 (PDT) Hi, This is v2 of the series to allow using the new Arm memory copy instructions in KVM guests. See v1 for more information [1]. Changes in v2: - Dropped HCRX_EL2 vcpu field - Rebased onto v6.6-rc2 Thanks, Kristina [1] https://lore.kernel.org/kvmarm/20230915124840.474888-1-kristina.martsenko@arm.com/ Kristina Martsenko (2): KVM: arm64: Add handler for MOPS exceptions KVM: arm64: Expose MOPS instructions to guests arch/arm64/include/asm/kvm_arm.h | 4 +- arch/arm64/include/asm/traps.h | 54 ++++++++++++++++++- arch/arm64/kernel/traps.c | 48 +---------------- arch/arm64/kvm/hyp/include/hyp/switch.h | 17 ++++++ .../arm64/kvm/hyp/include/nvhe/fixed_config.h | 3 +- arch/arm64/kvm/hyp/nvhe/switch.c | 2 + arch/arm64/kvm/hyp/vhe/switch.c | 1 + arch/arm64/kvm/sys_regs.c | 1 - 8 files changed, 78 insertions(+), 52 deletions(-) base-commit: ce9ecca0238b140b88f43859b211c9fdfd8e5b70 -- 2.25.1