From patchwork Tue May 18 15:25:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Righi X-Patchwork-Id: 1480326 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 4Fl0Fc0zdsz9sW7; Wed, 19 May 2021 01:25:56 +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 1lj1bT-0001NF-El; Tue, 18 May 2021 15:25: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 1lj1bO-0001KS-Iu for kernel-team@lists.ubuntu.com; Tue, 18 May 2021 15:25:46 +0000 Received: from mail-ej1-f72.google.com ([209.85.218.72]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lj1bO-0008B4-A2 for kernel-team@lists.ubuntu.com; Tue, 18 May 2021 15:25:46 +0000 Received: by mail-ej1-f72.google.com with SMTP id la2-20020a170906ad82b02903d4bcc8de3bso2535982ejb.4 for ; Tue, 18 May 2021 08:25:46 -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=wJaDG7NgLRBGmTFMwUKk78U/FeAo4c7ENOKB++4HVqU=; b=dK6ieb2fQi2oYjn/GzAVCIjE8Y89coZT45I231XfS9xfOl2kQcEQ8woW5/sbyHosT4 FLW8BP3fgc6ApUZRYwECablFrTyfbnuZ5Fo0GFBIKV7Y8u6fVxRbkpEFIHci9s354fVd zd/lInuXVeBvyolYc2F4+3gTNDEb9p3b37lV4auiRUj7H5GYp8rBL9cLhLkj/3Lg7wLm /3N6wR5gWD7pFu8pMwlGv7PIKi9dogxUxN4gV1rR0xGuNcHIxJCsl4GiU58cO5Wbxcfi q1mliwh6cKPHDCphb8hA6Unr3zkta9eErZKoEdubnlCxPzU6MdQfXCFnCIyJYCmqRsge vsDQ== X-Gm-Message-State: AOAM532hWVC+7FmfXOS2ZmQ4eMhQiH8oVz3BpmD6GWwsg704INwsl726 b+qoI/f8f23ipKhTeF2uqIDQ3u2h359waHutWPzdqf68F9SnCS2RcAVIcN6/IcRar3xrLnt50Uc ek7s9JtyuSI5oiEhc99aD4RvOaAQp9N2YfjEQST/ltw== X-Received: by 2002:a05:6402:10c9:: with SMTP id p9mr7799193edu.268.1621351545990; Tue, 18 May 2021 08:25:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXglsxyVRnEuLghtkzVV/9gn9bxxaCmgbogeCt6QnIWlAPfOxA65ciBsBxT4HlLfej7xy63A== X-Received: by 2002:a05:6402:10c9:: with SMTP id p9mr7799163edu.268.1621351545755; Tue, 18 May 2021 08:25:45 -0700 (PDT) Received: from xps-13-7390.homenet.telecomitalia.it (host-79-19-135-103.retail.telecomitalia.it. [79.19.135.103]) by smtp.gmail.com with ESMTPSA id d11sm4969896ejr.58.2021.05.18.08.25.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 08:25:45 -0700 (PDT) From: Andrea Righi To: kernel-team@lists.ubuntu.com Subject: [SRU][F/aws][PATCH v2 2/6] x86/kvm: Fix pr_info() for async PF setup/teardown Date: Tue, 18 May 2021 17:25:34 +0200 Message-Id: <20210518152538.197174-3-andrea.righi@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210518152538.197174-1-andrea.righi@canonical.com> References: <20210518152538.197174-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 (backported from http://next.patchew.org/Linux/20210414123544.1060604-1-vkuznets@redhat.com/) 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()); }