From patchwork Wed May 26 05:17:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Righi X-Patchwork-Id: 1483874 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 4FqfNM1f3Kz9sW6; Wed, 26 May 2021 15:17:55 +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 1lllvT-00025W-PD; Wed, 26 May 2021 05:17:51 +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 1lllvS-00024y-4N for kernel-team@lists.ubuntu.com; Wed, 26 May 2021 05:17:50 +0000 Received: from mail-ed1-f70.google.com ([209.85.208.70]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lllvR-0004NJ-Qh for kernel-team@lists.ubuntu.com; Wed, 26 May 2021 05:17:49 +0000 Received: by mail-ed1-f70.google.com with SMTP id q18-20020a0564025192b02903888712212fso18607692edd.19 for ; Tue, 25 May 2021 22:17:49 -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=b+ahStrFNd73ekZGSav8vwQDEy+ByVA9UhkZl6i9www=; b=URoWiJLrADmJeN2JdCjCWBrvoD4ZcI3O78ruwoKuNqOyGaG9U4W63qGrM+kEKdxE2X b156WnGNJ6znsc8XPlySQdIM5SJSjFUIJbc/ynJEJd7qB3slnlnMymnpydR+vEjy428k 3ieQs8p4h2dVcqpH0F2i6kHAT2keJaPoRTxokomHYyM9RP9h9/hyR4qeo4umclTaHR7f IeASwBsQQgIec2x4gGRp6ZV3Nb10OKa0rwAOH6D1ZH7emy7K8cH5eNF1hdsCum2YIp1d 6qrrsOi+8e4zDTMjlVMoYB5XnwS9JH5edj1Fp231sieJ7Vs/TJED3pJoQCVoSRsCsmhc yNew== X-Gm-Message-State: AOAM5311zGG+8bOc5e3dxY+CkzZ+Gk2BBPTgBRtw3ogDyXZbug3w14bL /ZwP0WeYoOO/d9neYbAvjiF6MFSC4PKxWpOv/heopnc/GRnsrRfnBvMUXuTjdPvX5fw5ccPhMx0 VD26ccG4BOkUKdV055BiqDNGfkvP+m7N//jxce12F/A== X-Received: by 2002:a05:6402:60a:: with SMTP id n10mr9011733edv.241.1622006269483; Tue, 25 May 2021 22:17:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxndr82BSsTtbyeRRUjgeWdjTt8BQRhsE0TqUz7CbezY5oo1unN5tUVo4LBGLl8x7px1uMqng== X-Received: by 2002:a05:6402:60a:: with SMTP id n10mr9011716edv.241.1622006269320; Tue, 25 May 2021 22:17:49 -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 bh3sm9783270ejb.19.2021.05.25.22.17.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 22:17:49 -0700 (PDT) From: Andrea Righi To: kernel-team@lists.ubuntu.com Subject: [SRU][G][PATCH v2 1/5] x86/kvm: Fix pr_info() for async PF setup/teardown Date: Wed, 26 May 2021 07:17:40 +0200 Message-Id: <20210526051744.218062-2-andrea.righi@canonical.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526051744.218062-1-andrea.righi@canonical.com> References: <20210526051744.218062-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 df63786e7bfa..0fee42222a8f 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -324,7 +324,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)) { @@ -350,7 +350,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)