From patchwork Wed May 19 15:15:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Righi X-Patchwork-Id: 1480994 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 4Flbz22fC1z9sXM; Thu, 20 May 2021 01:15:26 +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 1ljNus-0001ri-Vj; Wed, 19 May 2021 15:15:22 +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 1ljNup-0001q2-GW for kernel-team@lists.ubuntu.com; Wed, 19 May 2021 15:15:19 +0000 Received: from mail-ed1-f69.google.com ([209.85.208.69]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ljNup-0003nN-9R for kernel-team@lists.ubuntu.com; Wed, 19 May 2021 15:15:19 +0000 Received: by mail-ed1-f69.google.com with SMTP id u14-20020a05640207ceb029038d4bfbf3a6so4321579edy.9 for ; Wed, 19 May 2021 08:15:19 -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=+USzRoGLyTwkNwdhuvzyOEdZMxIhm2vawvipbym8IeY=; b=L0u2giw2XluvDZKlzQrkN87HJ5I6rC1NP9bBpw5c1pbUdLezClHOWMgUhRN9IrwCr9 1UpoeJYF1jX13Xe2Zer8F6F4kVrVpnDEyMsvbus6Ab4M6Oi7KcWmVVtm7RerKEc3Nqna edlSrRAuOHs+4U1cMpx79rU4kwADIID4jQyDY5rx44rLwlEy4adh3T9l7BjcYTqmS3f3 eFjW9IepfrRAlU2pWolykBdOgwswwwqlxO7dYZd+ee+y/6T6lnhXzhNVFz3x0U6U4PyX 3/ImRHUplv/HJEw+M3g1o5RL3ATEQjYZsalOUJASrgZkaYWSByQFHHgTSboCiHWv9s+k Rh4w== X-Gm-Message-State: AOAM532Rncea85AJHgrLDp/hOaOjQMv868jgQWoYwEAUOtH0lFLvEH1y xMyBGVyJurOnFJ+XclXmftV3+neOuqsILCwh2MzVyckIvusNDO5yoAd8rg/+KtQRd5qItIy4q1Y CXKzCv0e9EVQch4rPGiF/noJr/V4qiZo1RLudInp/Bg== X-Received: by 2002:a05:6402:50c6:: with SMTP id h6mr15291522edb.327.1621437318954; Wed, 19 May 2021 08:15:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtD5f/t/MHdf6sn37luFkJpAYXec20sRlWhwchLfZW0c2ubuSzxqrxJpFKPAFhO/EO5LpkrQ== X-Received: by 2002:a05:6402:50c6:: with SMTP id h6mr15291502edb.327.1621437318766; Wed, 19 May 2021 08:15: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 d17sm5624051ejp.90.2021.05.19.08.15.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 08:15:18 -0700 (PDT) From: Andrea Righi To: kernel-team@lists.ubuntu.com Subject: [SRU][F/aws][PATCH v3 2/6] x86/kvm: Fix pr_info() for async PF setup/teardown Date: Wed, 19 May 2021 17:15:09 +0200 Message-Id: <20210519151513.309935-3-andrea.righi@canonical.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210519151513.309935-1-andrea.righi@canonical.com> References: <20210519151513.309935-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 (backported from 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 e820568ed4d5..ec7e4b9f50a5 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -321,7 +321,7 @@ static void kvm_guest_cpu_init(void) wrmsrl(MSR_KVM_ASYNC_PF_EN, pa); __this_cpu_write(apf_reason.enabled, 1); - printk(KERN_INFO"KVM setup async PF for cpu %d\n", + printk(KERN_INFO "setup async PF for cpu %d\n", smp_processor_id()); } @@ -347,7 +347,7 @@ static void kvm_pv_disable_apf(void) wrmsrl(MSR_KVM_ASYNC_PF_EN, 0); __this_cpu_write(apf_reason.enabled, 0); - printk(KERN_INFO"Unregister pv shared memory for cpu %d\n", + printk(KERN_INFO "disable async PF for cpu %d\n", smp_processor_id()); }