From patchwork Wed Jul 19 16:02:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rafael J. Wysocki" X-Patchwork-Id: 122708 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2551354vqt; Wed, 19 Jul 2023 09:19:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlEcObiOyAaKm8BIRRYD+swHrr1R1PQyprdaTvXOhh6Z3u2NkLC3HydlmbY42GwOCsrmAjH/ X-Received: by 2002:a17:906:8306:b0:99b:49ac:5fc9 with SMTP id j6-20020a170906830600b0099b49ac5fc9mr193304ejx.30.1689783544143; Wed, 19 Jul 2023 09:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689783544; cv=none; d=google.com; s=arc-20160816; b=T8RltNA14Xgqm1nq4yyMX1FvdTdIkk5lvduGJxLoQK6X9O/fQyPstqgQZZCeyNKdOD dLkoRaKj7oUjLmNteybhNbJyP6FBujvfC5xSwBGbzhX5dk8LznIiRjRiHA4/ZgIow+85 RT1Z7PZVX4hWP/+KcPKyzCCr8w4Mqm2tuTNvjH7Q1RmSvKqR95fvLvzyr/VqySNQSXIp Gjk7z9L8RF0ihzu/RnSmDyV3yQYuTB8uWSMLzFrsFgigfx2OZoBX1c7kZ6e26ddKbsOY ETxZMl7iXyOYWxQ3Z3AHSSd932a68y+DEVyDlebHelYYzDF3Mk85wSCdgkphRpNEaCU7 EhoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=2jgIdXkJDksQ9P7Q956HHOi/720mw+b2oAd4AOBx+VA=; fh=sHsRKfzpYWouXylVcFUKcUrYOKWSKgS2CjouBoOe2Ng=; b=l/O4o9xI5Vh2iFjLXGtC9lXQqK7hgFgZB5Kpp1IjwFR4NY+YjumFKowBaWN4lKZEKb K9hRcYw34u4xrmaFqmxIKeZwVXyv3EgeacbBgOE2ByFESTp7mSe9QIAcC031lgAT4orJ JhqLt+5lLlNVh3YCITxmg7LC38hjUnzLFaoSiUMGlyPoO9paPIZdP/nFIXVxN6qh7Sd1 Ko1siprBtjoYo58sLHWISiDvqdMCBiWMvrO7nlZD7lrPA4FR6mlCj7ovp3DeqX2JwbaD /hhmqr8icNBYgbcecy28hlDAGCfqw5VuvsIqKatn92GoYiJUJMQXKn/1I5jQugxseGZb mRdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ch16-20020a170906c2d000b009665172f30esi3232030ejb.876.2023.07.19.09.18.39; Wed, 19 Jul 2023 09:19:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231625AbjGSQDC (ORCPT + 99 others); Wed, 19 Jul 2023 12:03:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231991AbjGSQCv (ORCPT ); Wed, 19 Jul 2023 12:02:51 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5D2E10E5; Wed, 19 Jul 2023 09:02:47 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.2.0) id d3e2f070daab447b; Wed, 19 Jul 2023 18:02:45 +0200 Received: from kreacher.localnet (unknown [195.136.19.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id DD21566167C; Wed, 19 Jul 2023 18:02:44 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Linux PM , Michal Wilczynski Subject: [PATCH v1] ACPI: processor: Refine messages in acpi_early_processor_control_setup() Date: Wed, 19 Jul 2023 18:02:44 +0200 Message-ID: <2703565.mvXUDI8C0e@kreacher> MIME-Version: 1.0 X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrgeekgdejlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeffffffkefgheehffelteeiveeffeevhfelteejvddvieejjeelvdeiheeuveeuffenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeegpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepmhhitghhrghlrdifihhltgiihihnshhkihesihhnthgvlhdrtghomh X-DCC--Metrics: v370.home.net.pl 1024; Body=4 Fuz1=4 Fuz2=4 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771866469451557602 X-GMAIL-MSGID: 1771866469451557602 From: Rafael J. Wysocki The source and meaning of the messages printed by acpi_early_processor_control_setup() is unclear, so add a pr_fmt() definition to acpi_processor.c and expand the messages to make it clear that they are about CPUs. Signed-off-by: Rafael J. Wysocki Reviewed-by: Michal Wilczynski --- Based on linux-next. --- drivers/acpi/acpi_processor.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Index: linux-pm/drivers/acpi/acpi_processor.c =================================================================== --- linux-pm.orig/drivers/acpi/acpi_processor.c +++ linux-pm/drivers/acpi/acpi_processor.c @@ -9,6 +9,7 @@ * Copyright (C) 2013, Intel Corporation * Rafael J. Wysocki */ +#define pr_fmt(fmt) "ACPI: " fmt #include #include @@ -611,9 +612,9 @@ static bool __init acpi_early_processor_ void __init acpi_early_processor_control_setup(void) { if (acpi_early_processor_osc()) { - pr_info("_OSC evaluated successfully\n"); + pr_info("_OSC evaluated successfully for all CPUs\n"); } else { - pr_info("_OSC evaluation failed, trying _PDC\n"); + pr_info("_OSC evaluation for CPUs failed, trying _PDC\n"); acpi_early_processor_set_pdc(); } }