From patchwork Mon May 9 16:25:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Upton X-Patchwork-Id: 12843850 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8B961C433F5 for ; Mon, 9 May 2022 16:27:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Mime-Version: Message-Id:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=27rIs08itq+pS9ZQ8t6vFGR3XewGfdm1CZG6mkt23+o=; b=ED2 QSyJ6sMQ+IcI72qunXML+VMNp1cp5kmMzSpbu/VRTuBk6aqw8mZ1Whk/aJVTEPivxh6B51H6puiaf DSwaOo/8VMBI/K4ltv6YGpgwF5htLV5WRulupVQYWtFNjq0wiI+RMoDHEhUBNWp0ouKYo85FShG85 Q3W+dPTHR4qVuve+2unRwthETd39NQM4VP43XkJv4Qrvw700Niu3G2zqIcD9kX316IPtAlObyX88+ fIUCXfe4Ck5uUSfODlnZffyWBHpOgPQaDxfCyPZRDTOU6Y0E6Qf7amkTc+v8DImZ3xkg/ry/YIHHQ 02LPRXxj9yOF0jbsyfmIDnWVE8QdM1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1no6DC-00FON1-SX; Mon, 09 May 2022 16:26:19 +0000 Received: from mail-pj1-x104a.google.com ([2607:f8b0:4864:20::104a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1no6D9-00FOLS-Uk for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 16:26:17 +0000 Received: by mail-pj1-x104a.google.com with SMTP id h23-20020a17090adb9700b001dcce3bb2d4so6355005pjv.7 for ; Mon, 09 May 2022 09:26:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=24ZXTLzrcb04Vr94e2BinqljFa5PLSd+pPp++TfBpV4=; b=P2MUNiyZ52zkfiPjcTS8SbrOv+J4pIHeiuXQFaZnESg+NLVcCU4AR/+fuZgpSBJHvE rej/pBP0q29OlurWs27cZq38903lkbwzGDQrWMriEBwcQEe3UtVPAayTBp96OwiKgap+ LxnYhTuP4ZWRpIebRHdev99As+Py+mvlCVMd3D2qN5Qmpq8aghskctCe/hfEfC249O+L 3n0gWT+eovPuEaB24iPZEmL9XqbtVwLE//FTCfavnJqsLwR6eOuJ/ZgMEPsWRJFbX9I8 dfcd2f2RR2knl9FJNgaSc9pfkr2xrKpX4HOJPcQnVcrbmwKGZvCTvtme2vs6Y1WphhFs dGIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=24ZXTLzrcb04Vr94e2BinqljFa5PLSd+pPp++TfBpV4=; b=6nj/Uc2lxWhk2qlnAdqriD/MzrA0ez4fOAynp/bf1uRgTU1QUxp6Nv/dsO29Uifr/4 FVST2lY76tIxAzwN5vJgnkzn7CT4QJLoK59ofAC5MOJiwhQ+5NcaQpSjw3OvNpS4ktkh FRkENXKdbTaARK5eX9Bs1D9aKgrezS5UUsPZ2NULftA6bxU7KyBYJNWXPDYJ3sOkngJb wJae2i9spmK1InKA94AF91URqulkkRHAGnw4bpC3Glu4vWdD61hqOyf2ebXeOd8k76ZO Cw+GnsA10heEBaS6O8p/+Th3b/z3BGdyCwPvrSxnXdFkN5xVU/+1+EiYKzw8ZLFHgxlN BlQg== X-Gm-Message-State: AOAM531kAnzRD6OpRo/2bmpCp8yM3g+4GLGCy59ArcF/hes6HpLWhHte CZvnzMMbYoqu1LxIRgCMw2mXR0UOwDc= X-Google-Smtp-Source: ABdhPJw1MOqIa/OCx3HluxWiZNUBlyVCmiV5/bxnPcSifyQh0atyvanFNrvtWw7hQl7rFciI7mrRmNlka6M= X-Received: from oupton3.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:21eb]) (user=oupton job=sendgmr) by 2002:a17:902:e94e:b0:15b:22a7:f593 with SMTP id b14-20020a170902e94e00b0015b22a7f593mr17113726pll.148.1652113573120; Mon, 09 May 2022 09:26:13 -0700 (PDT) Date: Mon, 9 May 2022 16:25:57 +0000 Message-Id: <20220509162559.2387784-1-oupton@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.36.0.512.ge40c2bad7a-goog Subject: [PATCH 0/2] KVM: arm64: Minor pKVM cleanups From: Oliver Upton To: kvmarm@lists.cs.columbia.edu Cc: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, maz@kernel.org, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, tabba@google.com, qperret@google.com, will@kernel.org, Oliver Upton X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_092616_030204_FCDFEE1E X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org I was reading through some of the pKVM stuff to get an idea of how it handles feature registers and spotted a few minor nits. Applies cleanly to 5.18-rc5. Oliver Upton (2): KVM: arm64: pkvm: Drop unnecessary FP/SIMD trap handler KVM: arm64: pkvm: Don't mask already zeroed FEAT_SVE arch/arm64/kvm/hyp/nvhe/switch.c | 19 +------------------ arch/arm64/kvm/hyp/nvhe/sys_regs.c | 3 --- 2 files changed, 1 insertion(+), 21 deletions(-)