From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B2F1C433EF for ; Sun, 3 Apr 2022 16:37:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239112AbiDCQji (ORCPT ); Sun, 3 Apr 2022 12:39:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233614AbiDCQjh (ORCPT ); Sun, 3 Apr 2022 12:39:37 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2DDE1401C; Sun, 3 Apr 2022 09:37:42 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1649003861; 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: in-reply-to:in-reply-to:references:references; bh=eS+UiMhA8iNM6xa0w2K4AD9ghFBWI8GSz6jHOKEqkHs=; b=GVgZC5UJw/g4D+6k+FOVt826rgBPkHy6UWjV/T2XcE3bkgl1ijRsd1lx/dWwDzY1lue5pN yTs5bFL+wMYed0AysYWtK8Tq9k3gl3l080/wgjBerz8QajfZzLsDh/KvkzTXnqUlUNoEHv E/TkuFPQPdZNWpwuyxw6ZCp+4Tt02ZxYue7FVRMVCeQ5eEK1J74hxBwkvz8vymwI4dgNfQ oWVz2dJoYRVb0wUwH4lEhHrxi/Nv9cAT+VSjsuZhqZcCcoTFF+Zr+kdDZ1+xZU1kzfsddO LrUSeTFyuLBmgUSS+GeTs+i3lJJN4sWkr2vrvqSfgfxxr3qPIxIGdNCJRdqWog== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1649003861; 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: in-reply-to:in-reply-to:references:references; bh=eS+UiMhA8iNM6xa0w2K4AD9ghFBWI8GSz6jHOKEqkHs=; b=fNACQNkKyMDVclM89e5Xk72Ur5ULilHWF3O8aUr7zcowwB0cjZvboSRXA0EKgUnPQ3nIfI wZ9e+yVMRSn5kSBQ== To: "Chang S. Bae" , linux-kernel@vger.kernel.org, x86@kernel.org, linux-pm@vger.kernel.org Cc: dave.hansen@linux.intel.com, peterz@infradead.org, bp@alien8.de, rafael@kernel.org, ravi.v.shankar@intel.com, chang.seok.bae@intel.com Subject: Re: [PATCH v3 2/3] x86/fpu: Add a helper to prepare AMX state for low-power CPU idle In-Reply-To: <20220325022219.829-3-chang.seok.bae@intel.com> References: <20220325022219.829-1-chang.seok.bae@intel.com> <20220325022219.829-3-chang.seok.bae@intel.com> Date: Sun, 03 Apr 2022 18:37:40 +0200 Message-ID: <8735ium8bv.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Thu, Mar 24 2022 at 19:22, Chang S. Bae wrote: > When a CPU enters an idle state, non-initialized states left in large > registers may be the cause of preventing deeper low-power states. > > The new helper ensures the AMX state is initialized to make the CPU > ready for low-power states. It will be used by the intel idle driver. What about AVX...AVX512? Are they harmless in that regard? If so, then the first sentence above is confusing and should clearly spell out that it's AMX which causes that problem. In not, then why are we not putting them into init too? Thanks, tglx