Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5318217rwb; Wed, 21 Sep 2022 06:17:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7AP/jtcE7jwRZAnrw7DA0FstRQcbpbrdyycNHRlZBOTWAkN3MOBgqmjQExQpjLZjaynPCa X-Received: by 2002:a17:902:7d97:b0:178:6505:10f6 with SMTP id a23-20020a1709027d9700b00178650510f6mr4632572plm.155.1663766247720; Wed, 21 Sep 2022 06:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663766247; cv=none; d=google.com; s=arc-20160816; b=meYZa+Wyyf4Qi23gm7xXzTEAKLHs1wS7zyG1o+OslZ6Z3DBPnkWN/0fkGwZkIvd5hl O+AZ7GgulFmPArTtAEIj0mhvpfh4Nwq/ebQaHXt8lwZHjdnGZVW685Ri7Oaigx8qlnZw uOHBkr5ywHm/cVwZKHyXIXtygu9Yfs7CYuS7U20+EHgz6tvq3/6FdSKJfiIdvglE3R6p iBbrOvT8eD+XvaxNzdPt1+ZK6My4frEeNmA039+XVhzCqMRTd27mQkfuCFImPOkNZsJQ 5OmZmhRRt8tnd/RFfpIGKJwcSt1lfFdxeh1/JJZdzBnsZ8Trf1Ug0yz1c3DMWZuRzEUf mgVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ozPGXkhQCcXW67WvAixWgantH6wjYoJ8SSScScLN3uU=; b=vW0PBUhBlOa4WcpzbOn0r5fF0mSiwkRGR2WUvaeQNxwHPOdCx9R6D+IvnfhoXaQ+St gzluVYQl8A+1Duin2eCJm9NibLFp9rRRJEu5ciMWcbBbbXeDLmULAmUfGrpLNsXuWqwH yzb937e6yI3L5NqPoM9BwYzpnqbrPM7UmQXdo15dCaqnc23MgYR3zU0F0XY2OmW0u1YJ yO3MWRrS9Ba8mpDoJxLpk0AnKKdmGjW1f4EIGA2hQF2oaAxazG3Wq7kVi2r06qc0Q2i5 xrIa8bTi85vDy3N8CP4DENLbFNxeyKZX8Tds4pi0sAexYB5MYSzkpA+STWBKZUVNPDfS d1kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=nnLOflJ9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t7-20020a170902bc4700b0017889771a05si2609712plz.566.2022.09.21.06.17.06; Wed, 21 Sep 2022 06:17:27 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b=nnLOflJ9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229695AbiIUNLD (ORCPT + 99 others); Wed, 21 Sep 2022 09:11:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbiIUNLA (ORCPT ); Wed, 21 Sep 2022 09:11:00 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23D8AE6A; Wed, 21 Sep 2022 06:10:57 -0700 (PDT) Received: from zn.tnic (p200300ea9733e77f329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9733:e77f:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 71DEB1EC04CB; Wed, 21 Sep 2022 15:10:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1663765851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=ozPGXkhQCcXW67WvAixWgantH6wjYoJ8SSScScLN3uU=; b=nnLOflJ9Jx3vMjKoksPafVEanEjnJJxfxqTctRswLDb92r8jDPojepDJ7VUSEwZvg0npTy Okm1+u9NG4eD7ypRILXypbMiQorbG9Y78qT5ykfLIpo0dWbYV/04byeaa1TodzozaA+lss 0Hc9lGo0eA+lzGV03I/a+2HY2B6LQsk= Date: Wed, 21 Sep 2022 15:10:51 +0200 From: Borislav Petkov To: K Prateek Nayak Cc: linux-kernel@vger.kernel.org, rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org, dave.hansen@linux.intel.com, tglx@linutronix.de, andi@lisas.de, puwen@hygon.cn, mario.limonciello@amd.com, peterz@infradead.org, rui.zhang@intel.com, gpiccoli@igalia.com, daniel.lezcano@linaro.org, ananth.narayan@amd.com, gautham.shenoy@amd.com, Calvin Ong , stable@vger.kernel.org, regressions@lists.linux.dev Subject: Re: [PATCH] ACPI: processor_idle: Skip dummy wait for processors based on the Zen microarchitecture Message-ID: References: <20220921063638.2489-1-kprateek.nayak@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 On Wed, Sep 21, 2022 at 04:09:16PM +0530, K Prateek Nayak wrote: > I was not aware of cpu_feature_enabled() and it makes perfect sense to > use it here. It is no difference what the callers use - we simply want to unify the interfaces and not have boot_cpu* and cpu_feature_* and so on. One is enough and we want to use cpu_feature_enabled() everywhere possible. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette