Message ID | 20230421165305.804301-7-vipinsh@google.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1208485vqo; Fri, 21 Apr 2023 09:55:48 -0700 (PDT) X-Google-Smtp-Source: AKy350aKEZJfM2LHOhALwVDePLhWUQrOqYk/6q7emvdwMF60TJH2RmRl21PbVPfAq3efbIQAlqSx X-Received: by 2002:a05:6a00:2406:b0:63b:8571:8102 with SMTP id z6-20020a056a00240600b0063b85718102mr5889712pfh.3.1682096148461; Fri, 21 Apr 2023 09:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682096148; cv=none; d=google.com; s=arc-20160816; b=SwvvbmiiiWnL/Vhca37YT9M+smqYCa+bsFFOCnyTJYF4sCFmOWwAN5GG/T9nYQG6Kh FnyhLJu31Hc10omr9FC556pyE5Q9YWRimRC70MpXAXH5dHZ9jz/iWe5sknlprQSg1m7M dsW3cgVEVnbiNUm6ZXn0Pc57G7ISl/4NQDeAFZrMHRu7jSqbSlx9crmgedAb5iMxKk8Y 8drSF/oh9BvVwupFTJj18/tV0e+pNQwJ1ixA4dUkgm6XaLEjFm4i5wSTdG11BtoNKdK9 1aenp09V97NXV3hZkjMTS0JaXNQ2ANxFSMBOLfZP/+NZsIJAI3d+xViEGPFnLII1rG6p cJlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=aDUI7xCr7dWf/FkK1CK1yXAqGXh9n1NZNFj54qb+KHU=; b=fZzHXfloyloz/jxLLx0PB5zGcfxTJtwYR+QiWu/RC94kG9wcIYSE8z3OHpYBvBqNEH ybGtDZ/f320QHq7cpgudzWHQCb5NwBecfLwIywRVbtk3uA7nKo3cveI9Q6beTLUbEmon g0eeTk5BDAF2CwV1B0sXG8Sjyr8b+QZQqQDtCT+WkiQBteaddVSUVWtiHA9Rib0plgOe y9WDYopl750qaxk/QjtIjIbaKuc7CWkAC75j0cbDTz00UPMTy2QUzKol2r1iHwkDfsFg MQQilHCPjkJgLOy6B6ar3ogEN1RRJaOY4A32uvenX/6xCxC/anmCQyVvitEjuTDu2YAB PL7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=xTDct9zx; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v10-20020a63610a000000b00513edc81581si4842688pgb.287.2023.04.21.09.55.33; Fri, 21 Apr 2023 09:55:48 -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=@google.com header.s=20221208 header.b=xTDct9zx; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233321AbjDUQzD (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Fri, 21 Apr 2023 12:55:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233381AbjDUQyi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Apr 2023 12:54:38 -0400 Received: from mail-pf1-x44a.google.com (mail-pf1-x44a.google.com [IPv6:2607:f8b0:4864:20::44a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3CE715625 for <linux-kernel@vger.kernel.org>; Fri, 21 Apr 2023 09:54:21 -0700 (PDT) Received: by mail-pf1-x44a.google.com with SMTP id d2e1a72fcca58-63b3bf0b814so2752490b3a.2 for <linux-kernel@vger.kernel.org>; Fri, 21 Apr 2023 09:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682095999; x=1684687999; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=aDUI7xCr7dWf/FkK1CK1yXAqGXh9n1NZNFj54qb+KHU=; b=xTDct9zxZ9N8ALbPUp/viW7lM9BRRuwGhBUMNIpBcky3DENAIpUsYaKC4hxy6ElANa XJM0ALn9fzQGXWa5TwxvUayRtY+2kF+0hSFrS4Z13rLNDvpjdJ1bTkvnlg/aszqM3kw6 JwtYRMMCwqvts/H9WPbPOWtINNCHPcx52iHlR+Mni7gOLO5npE1/M3beOvxeJdJAoVtK oYpcB0E2UWuNNPfDE3N6K7L1PsDilnRRB45iG1BH2Hs9bkLyvvb6zqJnC7OL6glGnKD+ tqNazVeTkEV+I2VUzEqOogcJ5o+xCg88TmCeF1jcEtkdTpDT5v8zElAEZqy2mA1rdmJ4 ZLUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682095999; x=1684687999; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aDUI7xCr7dWf/FkK1CK1yXAqGXh9n1NZNFj54qb+KHU=; b=mD5KWUrTM7I4keTM/rpRLPkf982eNckc0RGQwa0EaGvw7QHh6JGOCf3r6ysbTZNj/i tZo8NZi2zZIb7O9Cbr+rTyg5LItow4hPn6n8ymbjPS9jgxkb2rALtlxqQSQZ/Dm+ovqS CveIVYUO6zG0cXPDTN4QiT+wl2snlHA6B2Otx8VeK05n+EIUkq1SEQix4o0XN7Ur2/TX zMe3HTZ6vzWv01yWdjUJTyb95+wwb9rAIwm/CiNDi6+rJAaM23lHnyNjZjk1AsTlg9Vm +k5GMq8RAo0qLFzL/mjtxxNi8AYOi6+5wvElr634o+c2j+HCz/Y6d9cCuu8EoOj24+Hz gjzQ== X-Gm-Message-State: AAQBX9eGFKe8LzM7MFutYgTd72b6FBOpvApFmKgE1Pe+SVf4mFiexFf9 6aftZKnAktQsLM7Cl063NUB82DU0a/7a X-Received: from vipin.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:479f]) (user=vipinsh job=sendgmr) by 2002:a05:6a00:134b:b0:63d:5dcd:bc06 with SMTP id k11-20020a056a00134b00b0063d5dcdbc06mr2146455pfu.5.1682095999596; Fri, 21 Apr 2023 09:53:19 -0700 (PDT) Date: Fri, 21 Apr 2023 09:53:02 -0700 In-Reply-To: <20230421165305.804301-1-vipinsh@google.com> Mime-Version: 1.0 References: <20230421165305.804301-1-vipinsh@google.com> X-Mailer: git-send-email 2.40.0.634.g4ca3ef3211-goog Message-ID: <20230421165305.804301-7-vipinsh@google.com> Subject: [PATCH 6/9] KVM: arm64: Correct the kvm_pgtable_stage2_flush() documentation From: Vipin Sharma <vipinsh@google.com> To: maz@kernel.org, oliver.upton@linux.dev, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, catalin.marinas@arm.com, will@kernel.org, chenhuacai@kernel.org, aleksandar.qemu.devel@gmail.com, tsbogend@alpha.franken.de, anup@brainfault.org, atishp@atishpatra.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, seanjc@google.com, pbonzini@redhat.com, dmatlack@google.com, ricarkol@google.com Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-mips@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kselftest@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Vipin Sharma <vipinsh@google.com> Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763805650460457786?= X-GMAIL-MSGID: =?utf-8?q?1763805650460457786?= |
Series |
KVM: arm64: Use MMU read lock for clearing dirty logs
|
|
Commit Message
Vipin Sharma
April 21, 2023, 4:53 p.m. UTC
Remove _range suffix from kvm_pgtable_stage2_flush_range which is used
in documentation of kvm_pgtable_stage2_flush(). There is no function
named kvm_pgtable_stage2_flush_range().
Fixes: 93c66b40d728 ("KVM: arm64: Add support for stage-2 cache flushing in generic page-table")
Signed-off-by: Vipin Sharma <vipinsh@google.com>
---
arch/arm64/include/asm/kvm_pgtable.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/include/asm/kvm_pgtable.h b/arch/arm64/include/asm/kvm_pgtable.h index 4cd6762bda80..4cd62506c198 100644 --- a/arch/arm64/include/asm/kvm_pgtable.h +++ b/arch/arm64/include/asm/kvm_pgtable.h @@ -605,9 +605,8 @@ int kvm_pgtable_stage2_relax_perms(struct kvm_pgtable *pgt, u64 addr, bool kvm_pgtable_stage2_is_young(struct kvm_pgtable *pgt, u64 addr); /** - * kvm_pgtable_stage2_flush_range() - Clean and invalidate data cache to Point - * of Coherency for guest stage-2 address - * range. + * kvm_pgtable_stage2_flush() - Clean and invalidate data cache to Point of + * Coherency for guest stage-2 address range. * @pgt: Page-table structure initialised by kvm_pgtable_stage2_init*(). * @addr: Intermediate physical address from which to flush. * @size: Size of the range.