Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5398468rwl; Tue, 21 Mar 2023 18:37:30 -0700 (PDT) X-Google-Smtp-Source: AK7set8K558SNLrkwbcE3k2ZusTpx8cnXr2OshobwZIikYO6xEehmXjMm2Ud5tJJhfqWL31isLnS X-Received: by 2002:a05:6402:270e:b0:4fd:c0a4:224c with SMTP id y14-20020a056402270e00b004fdc0a4224cmr5874805edd.4.1679449050025; Tue, 21 Mar 2023 18:37:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679449050; cv=none; d=google.com; s=arc-20160816; b=iH3Yj3ePV5P+t8yKmbfAYi1yl5lWYa63vO1fo19qLcuMjYwUTRi+s0ZG3ncpG1mN7s wqhSr+qFA4tL1qn4x5SpcKxz+KSHTF3lBquxR1uZfmCO/d+zGwO/E7mdDSwJRTiXL7nB YRbx3qo7GVYrs/sOqcpKVaxT3XUwtKFR1YxhkLMfkLgH6LfZL8NZamrMa9PBKXslsbr9 MFAbPn4QEb6Ro7Jog5SRLrY9uSoNqWv/mMY8ZmmDvAXyzp5DZ84ven1WkEdzTdwEw1De vcOJO/XXdH2h/E3aw9K5AhyFE7fCzzk+AwCbyB9beGRw9c5r+KaDFsAu7Fc7t2g2IKsf E6NQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9S6DLSaz+uk2ZH/3jWZtx5Az5bSp7as8qYLxRe1iiAg=; b=IrSxyC/HgVSCz298V5RTM0myW9txajUOIXEB6uBdLSXyJ4A46O0IYs/rciBf5yOCXD uCO6uI9LRC5AdcGapMQ2iTduTk52/OSzqtCUtvZ+5ZWlR5f+VI+QaUxCpYSFWp7JD3Ud LT1zvn12y4zT86M05c8qb4DMB/wWbII4Jh83RCGPLNc3f5im1x+ODQ0jrKbPL1fmd67z 05Ko+5RFWSmr1Zuk7D/9nE4p8albq3Pqf1OCtQTtnrllP0Rni4rsWyw+FRtsnDrBCNZY 9bpKCTi+QdRD5I3/5IndFje/Tl30VFtsbOjcQVtIxO6R4Gu0mmYaYQYc/5vgiMS2teKf mA/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@grsecurity.net header.s=grsec header.b=wJWLjVUh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=grsecurity.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s9-20020a056402164900b005002dae2630si12942819edx.415.2023.03.21.18.37.05; Tue, 21 Mar 2023 18:37:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@grsecurity.net header.s=grsec header.b=wJWLjVUh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=grsecurity.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230026AbjCVBer (ORCPT + 99 others); Tue, 21 Mar 2023 21:34:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229884AbjCVBee (ORCPT ); Tue, 21 Mar 2023 21:34:34 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 025AD509A8 for ; Tue, 21 Mar 2023 18:34:33 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id w9so66998342edc.3 for ; Tue, 21 Mar 2023 18:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grsecurity.net; s=grsec; t=1679448871; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9S6DLSaz+uk2ZH/3jWZtx5Az5bSp7as8qYLxRe1iiAg=; b=wJWLjVUhjUTxSKGzugStwodUsPdXdHnfCS4e4erp/ANgNbFHTkXoCdvfKJjUzgUosB uAkN/6nuradReBSnnjR2LZX0wuZPJuAqzK9UqJEWrwgIiiC3DSmL7kfZw8V7cXg9wxzu LqB8kWeBotwel/McwqJs6yCo7ALREpf/bLi/JhQ4wdOGZ2dYt92KOeNR6XiSBsEywqUd t4mPjoPpG1LfJR7GEbQvA/iHLx5wKIPzfxg2JOph/jglkZq7k6Ye3i00OjHrCcOkoGVX fQgdwleihe5KNGnxPVbvkx2/phajSzfLRJypAH6wtkOa32STmPdy7B6UGKyjwoL5AMzo z1NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679448871; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9S6DLSaz+uk2ZH/3jWZtx5Az5bSp7as8qYLxRe1iiAg=; b=Z4P5/BG0NBqsg/DXN/xYw0aEhMHIYw7Bug2qB2UTusAix4N2LmD+Dll+RLbKLiD78/ EszauauNXE0lzX1ss/YXuCKfNUroWKLIciVsK6sErJfmwXturT6QvWaxWJ20bFAgQQEP nVJem+fjRI4cXzNAH8arykmUTgdWdxCVgdk9isP3QIjEovUteTfRXr/af7Udhvpc3AOy I0yrJbjOkGPNBs9jB5QU08njtke4abfvf4ktXu2rY05kwV4LBwaOjMn8aEhncylYEjum HyqoQwuytLEE31oSnh1u7Ao4MxaOodKuVJWAboFYeMh0Cw0qv/v/zLAvSF0Q3M0WOOHp pxlw== X-Gm-Message-State: AO0yUKWdSQTUOR2yj2kiMijTf35VvPaVUgJBdu+gCDLQNGqapznOYHsg hSCQ4B66l3Nq2WO5dJSwj2WZZreCeAnYlBwy5B8= X-Received: by 2002:a17:906:5a8f:b0:931:41af:8ecb with SMTP id l15-20020a1709065a8f00b0093141af8ecbmr4848403ejq.49.1679448871605; Tue, 21 Mar 2023 18:34:31 -0700 (PDT) Received: from nuc.fritz.box (p200300f6af344e007f5e5982a136b54e.dip0.t-ipconnect.de. [2003:f6:af34:4e00:7f5e:5982:a136:b54e]) by smtp.gmail.com with ESMTPSA id w11-20020a1709067c8b00b009231714b3d4sm6356260ejo.151.2023.03.21.18.34.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 18:34:31 -0700 (PDT) From: Mathias Krause To: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Sean Christopherson , Paolo Bonzini , Mathias Krause Subject: [PATCH v4 5/6] KVM: x86/mmu: Fix comment typo Date: Wed, 22 Mar 2023 02:37:30 +0100 Message-Id: <20230322013731.102955-6-minipli@grsecurity.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322013731.102955-1-minipli@grsecurity.net> References: <20230322013731.102955-1-minipli@grsecurity.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix a small comment typo in make_spte(). Signed-off-by: Mathias Krause --- arch/x86/kvm/mmu/spte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/mmu/spte.c b/arch/x86/kvm/mmu/spte.c index c15bfca3ed15..cf2c6426a6fc 100644 --- a/arch/x86/kvm/mmu/spte.c +++ b/arch/x86/kvm/mmu/spte.c @@ -164,7 +164,7 @@ bool make_spte(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, /* * For simplicity, enforce the NX huge page mitigation even if not * strictly necessary. KVM could ignore the mitigation if paging is - * disabled in the guest, as the guest doesn't have an page tables to + * disabled in the guest, as the guest doesn't have any page tables to * abuse. But to safely ignore the mitigation, KVM would have to * ensure a new MMU is loaded (or all shadow pages zapped) when CR0.PG * is toggled on, and that's a net negative for performance when TDP is -- 2.39.2