Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1325757rdb; Sat, 3 Feb 2024 01:37:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEC4xcjolUDW+EnL3JAbMC16qwIq5KAcU9OT2kBx78ft4PXWulJH9/CAgT6sEAi/Op28rfY X-Received: by 2002:ac8:1d02:0:b0:42a:b8e6:aef8 with SMTP id d2-20020ac81d02000000b0042ab8e6aef8mr736119qtl.42.1706953031092; Sat, 03 Feb 2024 01:37:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706953031; cv=pass; d=google.com; s=arc-20160816; b=ohMsWtfZg16Lnq2uw4xFLYaHMI3oNEpt5k3Z38o6CvVoUiBXZhN94+Hz0S/kOpxxE7 xgDTTDsBe3fZekOK0dR9vyy9Vznpz6+l2DcN2qxoTZgDmFVI5I1K2lbbnc8Oq0MHK10m RMwMbOe9x3Ovjr2il7YNh/gMqEbG+iMDbCrJ1BMleo45pB2Oecv1uw4drMoKCVrGe4RD GMxlxhpYLVxL82aaCGxFoGiMwkt1PRw3T8h05ZsWfcfYq/RvGoIpQKvOVx0yk+ebKyz/ 6jA6+T127Uh+cZIO+7ii45e871oOIv8/yR9N1Sf6yDDJSRdw4vn7zaY7FYYSMh1b9YJH ELww== 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=Sk/zbfeC4GIWeKUucZvXBLdXx9M3gCFaCaoZ1mMMTjg=; fh=Ntu1lJHrMiwLB7Uk/XzT6km/1J1THvmg8LhZ/qIWtJ4=; b=W+pFzsTHkNKt959jcb2OEW/r2NQ3yKw8NOBwkhNgLuegoeYhUTjDq6PYxzEvsLfAG5 iZJ9/5x2heglDh2CTy0c6175h/Zn1WfIco+RQftDxMJUoRBWuskejm68ijUFfK5IKMwG r5SxMhhZOsupV4HI3WZOysjb3oiaWf8ssz2tMZ32mMS+OW0xxP0l5pXxdXq9VNCBWvhk bPR3IO48b4Sr/9NEx0TKtbsI210fwMIIPEFCeM2US2iaEt4sH0gPMMfiYy3I+QfvoIYj uVZ9QcXtotCHKuwbCjQwblBz1JJX4qL97xLVfSDaczP15+81nJH7+tOkuBlcoxSVf2Gm Hr7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=JDJh9DcR; 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-51012-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51012-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de X-Forwarded-Encrypted: i=1; AJvYcCVrOd/XuvmGJ5ytx0Ia0yBYrtJY6SfwuKJ1lNlzcl5YoU0GhjVZKHYMWGb+6P4npa0cMjH3p4BeesNXQ9T11yWGDcA85PNzlaQtPzkYJA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p8-20020a05622a13c800b0042c12276e10si526699qtk.584.2024.02.03.01.37.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 01:37:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51012-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=JDJh9DcR; 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-51012-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51012-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 D0DE51C21A02 for ; Sat, 3 Feb 2024 09:37:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B189F5D49C; Sat, 3 Feb 2024 09:37:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="JDJh9DcR" 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 3F1434E1DE; Sat, 3 Feb 2024 09:36:58 +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=1706953022; cv=none; b=amNT0Km4cBKxmeeJgEKovQMoWEb47jjQ6hDmO9sKEy7kQ371ztNGjWTJORnog7vMb3tELUGXAcdISinHig1Iie8drlyE1voSmTUUBfUXRorohblsXg+T7wBMcDBmGUBChGSQE4EVC6zajV7HSwyhU+ld/OXKG1yOOhuTrWRDPy8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706953022; c=relaxed/simple; bh=UYktsagN0I+tahIyyhDGQC+H9O+kh0Mn7iVWGSiReqE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YE++HdMip/ITmJPSkf/WhJBedDT14Xwnon76gUzzrO97jKdrsIAa1pOUg7cNYISJa+MNqn1fWODTqV5CpzaTYM6bA9ebDJ3itND/pQHrfwi/8/JZevfUE/jmeSco8DHrzrHXxITHY1CgKCBn3E8pG8KvDJ1wIHBwQ9xQqhPQ3KQ= 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=JDJh9DcR; 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 9BF6640E01B4; Sat, 3 Feb 2024 09:36:55 +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 HVfyqMLWBU5U; Sat, 3 Feb 2024 09:36:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1706953013; bh=Sk/zbfeC4GIWeKUucZvXBLdXx9M3gCFaCaoZ1mMMTjg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JDJh9DcRa5/XGK7NcrUPU/TSqlRKqmFB0fegVQao429v9MzGe6S2Ux/iqIqpJkNB4 BgRGtlmew37YooudSQvIoMUseFqIXhfj5P7zawVPf73cn30Bs1ogMpmUWZNG5qXGTG M+VhBdc7CZXGxbTq5PQQlss9bdS1xWrr31XOcya09AFmTSzivkGSONWNqFRrMgdviJ rs47gF07V7ZC+JgUBoleYnLfEsFd61ieXbfGWT+9C8Xoay8RSPbvbdYPA+0b71oFDf mUp4pUfIGao8bMzUSiO/sJVN7u+6CGE90UmkQMF8edUvUqJaKhOsO8YhaUCoUsqYar /KeQF4qswXRryHLdwoA1CShEDOSMUCSnIjeofHoKe/eoXogVZKKyacxfPEshvUgJxX inNwWZaeNm9i1sWZLWyq6ieemK/4YDZ16WKVpS0HDp5UPx4kGwCOyGNwB/6jIWYBLn NTKNBEas0XDbeOh8xjhlK0hgbKJOYW8O9MtAcC1N1BD7QTiWFW2FXFxQjBNHwPRw6+ TtXxt/NbatQPm+Hf/WisS3TJM18OozMU+bukqcQgFgSAufNLz3Y+FSVzrbusyg1QD7 55jrgljv5a3LuJbCAVgOTmVUJrkbzjqXqPVCbkcikZ/N8+e+zltklxdt5XeiUxM/t0 TROrCD+dsVE6Fw/4QzlQ94FU= Received: from zn.tnic (pd953021b.dip0.t-ipconnect.de [217.83.2.27]) (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 4D5A640E01A9; Sat, 3 Feb 2024 09:36:42 +0000 (UTC) Date: Sat, 3 Feb 2024 10:36:22 +0100 From: Borislav Petkov To: Ricardo Neri Cc: "Rafael J. Wysocki" , Len Brown , Srinivas Pandruvada , Stanislaw Gruszka , Zhao Liu , Zhuocheng Ding , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Zhao Liu Subject: Re: [PATCH 7/9] x86/cpufeatures: Add feature bit for HRESET Message-ID: <20240203093622.GAZb4JFuKt9U6PRfBd@fat_crate.local> References: <20240203040515.23947-1-ricardo.neri-calderon@linux.intel.com> <20240203040515.23947-8-ricardo.neri-calderon@linux.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: <20240203040515.23947-8-ricardo.neri-calderon@linux.intel.com> On Fri, Feb 02, 2024 at 08:05:13PM -0800, Ricardo Neri wrote: > diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h > index 8104f4791abd..3b42479c049d 100644 > --- a/arch/x86/include/asm/cpufeatures.h > +++ b/arch/x86/include/asm/cpufeatures.h > @@ -326,6 +326,7 @@ > #define X86_FEATURE_FSRC (12*32+12) /* "" Fast short REP {CMPSB,SCASB} */ > #define X86_FEATURE_LKGS (12*32+18) /* "" Load "kernel" (userspace) GS */ > #define X86_FEATURE_AMX_FP16 (12*32+21) /* "" AMX fp16 Support */ > +#define X86_FEATURE_HRESET (12*32+22) /* Hardware history reset instruction */ #define X86_FEATURE_HRESET (12*32+22) /* "" Hardware history reset instruction */ unless this really needs to be visible in /proc/cpuinfo: Documentation/arch/x86/cpuinfo.rst -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette