Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5861649rwb; Wed, 21 Sep 2022 13:37:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6rIyaqwvmNcg4t+g13yR33Pjj1ewre7zk0TT0QlOHRxQepODCKA7j9iOXDKzf0MdLAVZcf X-Received: by 2002:a63:5845:0:b0:434:7894:d4fb with SMTP id i5-20020a635845000000b004347894d4fbmr26127736pgm.357.1663792628398; Wed, 21 Sep 2022 13:37:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663792628; cv=none; d=google.com; s=arc-20160816; b=BaVB2PKLRuNZrRi2MI5m97tF5GI+8a4emjzLJ2+gu2wSlFf8RgI9k8eLm3nRjRFJ4f yBAshuTxYoCj1q+aocqbKGLDvIz0wGY33Ih28nLkmVTHjhWJqqFa/uXDzS1fWAkkMEeh IQYC0tZ4cqSwSWW02+f9nRSvjrxiyaOKVCQx6+udayHQFFoYnw69+mP+6pz0fW0QPQX/ Szt0QzVEyYjdX1XxYy2kce97VYCUfqSrscDlZKD3Pu9yVK6DvRW3b1UEh8wiye6ppd3x bn9y4az5KC0vd0NG7CQbxBbUviJ1jzjHu5WdXKekLJ6+j9fitYim8T5iDYqfyU6wn/V0 izHQ== 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=RQsSCmnaA3tja2xxzLfdQayRM2Puy3vWH21v7at91H8=; b=kiFqgNQmiaCtJKK/MJDR+0Zwm/fXirSin9yRTK7hUjp3kBRH/uWB4hDp4DzlIDI6MV OIYVyErhHmssxOhjVIuXeQa8CWBDVhEg6/BGCaItTj3N7IJkXNdUWwUttmoEqwTrsz7t BJmgDzftF7apsKuI1sBP6C4cn5nbpZCElEolRvsC+FIiBJ7ZTrgaiy28ryS3MrrqHspQ wI8vm+c0w8f/YtgGyHRE4g4NZq8bDLTD24b6aikPB+6aMWN5SqUCuwKwR9P+ZtPhkNbS Q/X0xKEqFxnISVS1HRbN74FIvcmxaUJcHHJlLPgX8VTcAio1NTtDtxiJ0+dPwX7EB0rN 3YMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=BhqYk4Ap; 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 d1-20020a056a0024c100b00542deddc4e0si4204200pfv.46.2022.09.21.13.36.56; Wed, 21 Sep 2022 13:37:08 -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=BhqYk4Ap; 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 S229841AbiIUTsX (ORCPT + 99 others); Wed, 21 Sep 2022 15:48:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbiIUTsU (ORCPT ); Wed, 21 Sep 2022 15:48:20 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03FFCA0254; Wed, 21 Sep 2022 12:48:19 -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 90A921EC04E4; Wed, 21 Sep 2022 21:48:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1663789693; 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=RQsSCmnaA3tja2xxzLfdQayRM2Puy3vWH21v7at91H8=; b=BhqYk4Apw3euLWYnEfH1ZSXzy2nIQwCIItrx7JT1KgUH3QjrHXIXwWuIKzq4Jp6WS8bd4z Ne0pLLDtHIF4r/o5rdtQyGdAlvopxks92MXl007Unbp6yDIM5qBV9U6fGkSyK2T0K+xpNr FYsrp7QrFQ3xsziRJslwmeUfYvzN32Y= Date: Wed, 21 Sep 2022 21:48:13 +0200 From: Borislav Petkov To: Peter Zijlstra Cc: K Prateek Nayak , 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, 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 05:00:35PM +0200, Peter Zijlstra wrote: > On Wed, Sep 21, 2022 at 12:06:38PM +0530, K Prateek Nayak wrote: > > Processors based on the Zen microarchitecture support IOPORT based deeper > > C-states. > > I've just gotta ask; why the heck are you using IO port based idle > states in 2022 ?!?! You have have MWAIT, right? They have both. And both is Intel technology. And as I'm sure you know AMD can't do their own thing - they kinda have to follow Intel. Unfortunately. Are you saying modern Intel chipsets don't do IO-based C-states anymore? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette