From patchwork Thu May 20 13:39:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Righi X-Patchwork-Id: 1481637 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 4Fm9pQ2Dk4z9sV5; Thu, 20 May 2021 23:39:58 +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 1ljiu2-000272-49; Thu, 20 May 2021 13:39:54 +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 1ljiu0-00026k-5B for kernel-team@lists.ubuntu.com; Thu, 20 May 2021 13:39:52 +0000 Received: from mail-ed1-f71.google.com ([209.85.208.71]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ljitz-0000fL-Ua for kernel-team@lists.ubuntu.com; Thu, 20 May 2021 13:39:51 +0000 Received: by mail-ed1-f71.google.com with SMTP id h18-20020a05640250d2b029038cc3938914so9564676edb.17 for ; Thu, 20 May 2021 06:39:51 -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=xvpiaIcyS3PvwaFkqMHVlRqC3115dgP+mghHRfXUcn4=; b=jdp5Xcy5LCtsgQ1SYUkmvv5UI/xdSiQIZE0hCtV0Nlm6zCutUbZP6krregWAPUWSLc b2QjDkCqamL/yHr3FpGofORrpRX8VpZAylulnH0c5BRhyRPpNDkraFkccjAZet58ivxR 1npYDjr+KpY5XVvkZKVKLXJlKEd1dNTm8g9hO9tlVyS4Nch/+/wL52po4hZSbdZ+6xCf udKBp+JVCQF2kv78qc6HworkMF18a4YVHnklicWGdkYZEqVTqwhvL1CTDEB75ea+gbZm y3n1QKa1VuPcclhxejMdN/+XW3gy2+r0JLn4o/ryVdJ6uIBdpQSFKIV+Ibv02e9nsKz0 B6WQ== X-Gm-Message-State: AOAM532hfyx2jvc3t6CHJiMiZjhZTYX7Bhv7v1XoP+xzHGCkkkYi3lnF WuMz/MUmaUsKPeNFG0prKj91d7yRNhED0EifXnemLHORh+oObZyynZeZm9FrO22fn3tGZIeBp0t /H2xYbjxW5MyPLrt4y2IdD0ZhpnjTD9SOXHE0ght6Hg== X-Received: by 2002:a05:6402:896:: with SMTP id e22mr5124030edy.256.1621517991667; Thu, 20 May 2021 06:39:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY9T55Rwwbo0Iwey6zggP5DIZqM1NNCjwfwpaAYe+889S2qwDW8/6FNoHC0eGRhfMOA7Q02A== X-Received: by 2002:a05:6402:896:: with SMTP id e22mr5124002edy.256.1621517991432; Thu, 20 May 2021 06:39:51 -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 m16sm1555414edq.56.2021.05.20.06.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 06:39:51 -0700 (PDT) From: Andrea Righi To: kernel-team@lists.ubuntu.com Subject: [SRU][G][PATCH 1/5] x86/kvm: Fix pr_info() for async PF setup/teardown Date: Thu, 20 May 2021 15:39:44 +0200 Message-Id: <20210520133948.39779-2-andrea.righi@canonical.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520133948.39779-1-andrea.righi@canonical.com> References: <20210520133948.39779-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 '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)