From patchwork Wed May 26 05:19:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Righi X-Patchwork-Id: 1483884 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FqfQF6Nyxz9s1l; Wed, 26 May 2021 15:19:33 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1lllx4-0002X4-GN; Wed, 26 May 2021 05:19:30 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lllws-0002PH-Rq for kernel-team@lists.ubuntu.com; Wed, 26 May 2021 05:19:18 +0000 Received: from mail-ej1-f69.google.com ([209.85.218.69]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lllws-0004SD-L7 for kernel-team@lists.ubuntu.com; Wed, 26 May 2021 05:19:18 +0000 Received: by mail-ej1-f69.google.com with SMTP id rs12-20020a170907036cb02903e0c5dcb92dso17111ejb.15 for ; Tue, 25 May 2021 22:19:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hoO5sNmjP9ClJ8KzwGhKLA8y6/+FluZYTTi6AvV6VQY=; b=MH0gRRuymcEwd8RmGkTv7YUCrkr3dnFs37rOuEV2B96RYRVROVZL6Uw91SRX0QQQ8u m/e9ac9h800QzSMg1ahpb7yIQCHiibhbTKjUzZ3/zBOiYFGZGeM91/9XXwNFHeZ2xAQf tgTmxXiQYNo22B3Jbc45NHSGQMj8vKXGQs93W61fflTcdssdxwGqD9VMJIXFREFn9MFD sc3B5PB+sQ2YWJuQqmKBIN0IKAZrDlZhUS9zZfUCQ6N1cgMHc7D819Wb5Oig4Hlu1Bhe 4Dm+FKKazh02GZpLfB8UZm7hbQgxTLI1jE5qp2hlyYykUZ89KhrabdoH9BpD2Obb+yx7 N+7w== X-Gm-Message-State: AOAM532rWzTzYooJfqNFDqS/TfrWSVN2lTvNpj9jb9Ne6nFN3S+c+uto x+dL18fkkyRfDLplGE6b4EJ0fSYTit+muKy0LhtwQ7VHAGaRmmrlXuHAdfnjTeMGkB7XfUaQ5wv b3D9ZHE1LigHhF+MAx+yFcX541SZE+4eF3/Bq0DIWAg== X-Received: by 2002:a50:f744:: with SMTP id j4mr35286051edn.211.1622006358406; Tue, 25 May 2021 22:19:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlKaabkAbMVtD6aJyIEPCm2baWM5HHjHpe5Ww4fpk4qWdLufqStVc+3YlFB6CuW3UIZtjv9g== X-Received: by 2002:a50:f744:: with SMTP id j4mr35286041edn.211.1622006358240; Tue, 25 May 2021 22:19:18 -0700 (PDT) Received: from xps-13-7390.homenet.telecomitalia.it (host-87-19-3-42.retail.telecomitalia.it. [87.19.3.42]) by smtp.gmail.com with ESMTPSA id t19sm12131888eds.4.2021.05.25.22.19.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 22:19:17 -0700 (PDT) From: Andrea Righi To: kernel-team@lists.ubuntu.com Subject: [SRU][H][PATCH v2 1/5] x86/kvm: Fix pr_info() for async PF setup/teardown Date: Wed, 26 May 2021 07:19:11 +0200 Message-Id: <20210526051915.218316-2-andrea.righi@canonical.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526051915.218316-1-andrea.righi@canonical.com> References: <20210526051915.218316-1-andrea.righi@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Vitaly Kuznetsov BugLink: https://bugs.launchpad.net/bugs/1920944 'pr_fmt' already has 'kvm-guest: ' so 'KVM' prefix is redundant. "Unregister pv shared memory" is very ambiguous, it's hard to say which particular PV feature it relates to. Signed-off-by: Vitaly Kuznetsov Message-Id: <20210414123544.1060604-2-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini (cherry picked from commit 0a269a008f837e76ce285679ab3005059fadc2a6) Signed-off-by: Andrea Righi --- arch/x86/kernel/kvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 5e78e01ca3b4..2047e751e15f 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -345,7 +345,7 @@ static void kvm_guest_cpu_init(void) wrmsrl(MSR_KVM_ASYNC_PF_EN, pa); __this_cpu_write(apf_reason.enabled, 1); - pr_info("KVM setup async PF for cpu %d\n", smp_processor_id()); + pr_info("setup async PF for cpu %d\n", smp_processor_id()); } if (kvm_para_has_feature(KVM_FEATURE_PV_EOI)) { @@ -371,7 +371,7 @@ static void kvm_pv_disable_apf(void) wrmsrl(MSR_KVM_ASYNC_PF_EN, 0); __this_cpu_write(apf_reason.enabled, 0); - pr_info("Unregister pv shared memory for cpu %d\n", smp_processor_id()); + pr_info("disable async PF for cpu %d\n", smp_processor_id()); } static void kvm_pv_guest_cpu_reboot(void *unused)