Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp311077rdb; Mon, 22 Jan 2024 05:09:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEptp5+V3sHtF2660k9Rr2EuJQuioHSWBjKjUjvAWGJAQM8Lc3AI9XbazL+1AOqaTxfdZth X-Received: by 2002:ac8:7dcb:0:b0:42a:480b:d9aa with SMTP id c11-20020ac87dcb000000b0042a480bd9aamr305586qte.34.1705928967990; Mon, 22 Jan 2024 05:09:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705928967; cv=pass; d=google.com; s=arc-20160816; b=QsyK8Cb5eSJHayT07TUykZ5QUPoYedGTupS5qh6VuYNX1au44TpMquImIeOjN5Mxrj j8VFSd3/KZvJa6ev165BV1BiKxJZn52LzG+RTLSlIKP8A4Fhamb8mfY+8O4xueR5zcVW njSLuKiszkSg+8I9WNPJzxfJS4QY5gN6HTY//xHa/zXhkU4tk/eDj/v4fquW5g7SEhre j69KBIbl4ofMeBKRqO0xH9xC3jaMlwTH+/3OUArZRkbug860UDH5rP3ByyjPHylrTuuD tVjKut47QzahzZhzzDYB2pzN710gydcReA2myVHgsLGggeMZqkcgX4ouTfWX3hePwZLG EJMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eTf0G+nsoYXpQyGDiFAXKjszCHpf9NvYJlgyMa5r3LQ=; fh=+HPf4h1LOueVhQRmaudeMYW5A+tNA1HpZIP5JeBIkT0=; b=eZ4sK1n52fq/G7XxCA3OLbHnHw8pvmi3Tm9RLNemNKXJfyD0/UMv8lW8tgTVNpyG7L sWVrAmV3hIcgXV/pp/jzTOJ6bNGCyC5BNhdagjfLvyE7kNpqSeJi7VrPO/6Ldwxg7ds7 SCC4Md54cXf5eCgisJgy0a28TCQ/vVCPuaagr40XUtG4MxVnGCKQtulQjn9rLnU0q3t4 axdV9Wbepry88bgLjiJ8QYMSnQFnFP4k+URrzUC/LNMajmc0E1Zen6EuiHZQ5S+VJgsu UWTcPVTVtW+Z5MBUCx9cQppyOIdeqvZadgLtYEaigbvDdr+OfDP93V/mkkVUXZyy3W6X zHdA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=e6wfFtqi; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-33071-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33071-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 14-20020ac8590e000000b004299a70ce99si5475770qty.419.2024.01.22.05.09.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 05:09:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33071-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=e6wfFtqi; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-33071-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33071-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BC94C1C2337C for ; Mon, 22 Jan 2024 13:09:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 115F33CF54; Mon, 22 Jan 2024 13:09:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="e6wfFtqi" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5271A3CF40; Mon, 22 Jan 2024 13:09:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705928956; cv=none; b=pR2vDwoPTZzclHNQF1zaGJeL08jUuKbZrnz3zE4hhjnvEnwuXw+0IdlsFCcRoDHb9colVTw1RSKRjSKkA8MfnCAJKhRAQhVLcBcG8y1DkgAK6qrqaxxtwlaq99+tOUFcunGZISYV//tcOym+CUg/f0GXTGNJLJtp1Ed88/6Hf8E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705928956; c=relaxed/simple; bh=nBX1nAzCypBFAArWSdJUpcpURFil3TuK0uaA2ujkDzM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Rc8PwpMnmqvnyqwk6Gg9P++YiE4ygSAUrSWsvk6YqjLOMQw1s87GHnw8kavkwu8j/QeM85GS45FeMjEpFDXNQsOgwFvdK9ayhRFmK2f8q2zD/aehO9sFJMBb0KI0zGUSRXBpTbjWXvu8IRjoACoXF4SMcWW5iCat6AfCSOv8t8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=e6wfFtqi; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 85FBE40E01BB; Mon, 22 Jan 2024 13:09:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id eLLUWNaX3eQF; Mon, 22 Jan 2024 13:09:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1705928940; bh=eTf0G+nsoYXpQyGDiFAXKjszCHpf9NvYJlgyMa5r3LQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e6wfFtqitOlRYEO36RZo5CKnIlncNgICpDDk58+bdJ+2vSZnopKKWVngmLzJPdvnd PgVERWwlK9f15OX3gI7Q6CwH5TS2+DzskSmgzVCtKyoqgIVR53JxG4Doxit35vgBcr cR9pb5s0l4t4aPPss1i7RMMXhKlYDbiKqB1Cs502753r9tSXlOM4KHSCWHv3Xm9M/x KYo3qhCRyXTZIapgX63a3gIXI8awEZRwlWBWkty3jIaZ40Cc6jb7ioHwcMcXIOsHvc SQGPOqdsWAzItp/P/V3rJi0gK8hybmypxw9iVR84Y2yv1uizcVN7EgfiKI6etPN27k 1B4q7qm3z+GNqfnBkyMPgffLc4vE3v358b0pdMKddE//bw0gKugu7SYS+yKq98aWqv yc9eH2BQXULkjmI7940CALRu1OCsdCgD1aa8hASVyUxAaWwuP6ntdCKI7wxMwsZmFW 9/XXTkzpq0w0uNGDxzqLEpDMJ4zQ3pGlsafEWidbF6ooCpgbCD2kZxeyt11sjdb1CP 92WMKyBt3wOHiiiw8ia1DZaLo3qAYFzONvwIkiF9KbhVRYldEPxcq0aqx5p7pfczAr O/iRhs84IdZOa0vbNQ4DUcEnAodPN3pzCKYdJqookoTLJQXIM1PFfvLH6ppQAZqjGl 0kltp+3VBkgXFIvUP6z1Dh3o= Received: from zn.tnic (pd953099d.dip0.t-ipconnect.de [217.83.9.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 1EFF040E0196; Mon, 22 Jan 2024 13:08:37 +0000 (UTC) Date: Mon, 22 Jan 2024 14:08:27 +0100 From: Borislav Petkov To: Xin Li Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, linux-hyperv@vger.kernel.org, kvm@vger.kernel.org, xen-devel@lists.xenproject.org, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, luto@kernel.org, pbonzini@redhat.com, seanjc@google.com, peterz@infradead.org, jgross@suse.com, ravi.v.shankar@intel.com, mhiramat@kernel.org, andrew.cooper3@citrix.com, jiangshanlai@gmail.com, nik.borisov@suse.com, shan.kang@intel.com Subject: Re: [PATCH v13 07/35] x86/fred: Disable FRED support if CONFIG_X86_FRED is disabled Message-ID: <20240122130827.GQZa5oy4OZHRFEqbsr@fat_crate.local> References: <20231205105030.8698-1-xin3.li@intel.com> <20231205105030.8698-8-xin3.li@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231205105030.8698-8-xin3.li@intel.com> On Tue, Dec 05, 2023 at 02:49:56AM -0800, Xin Li wrote: > From: "H. Peter Anvin (Intel)" > > Add CONFIG_X86_FRED to to make > cpu_feature_enabled() work correctly with FRED. > > Originally-by: Megha Dey > Signed-off-by: H. Peter Anvin (Intel) > Tested-by: Shan Kang > Signed-off-by: Xin Li > --- > > Changes since v10: > * FRED feature is defined in cpuid word 12, not 13 (Nikolay Borisov). > --- > arch/x86/include/asm/disabled-features.h | 8 +++++++- > tools/arch/x86/include/asm/disabled-features.h | 8 +++++++- > 2 files changed, 14 insertions(+), 2 deletions(-) Whoever applies this: this one and the previous one can be merged into one patch. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette