Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2778342rdb; Mon, 5 Feb 2024 18:36:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDW03DnPTgIO5uj4HFq2f5MJFwHzlBJ1amhRAv24Ww70D2kk+XBUoseksrIGtMiffHL2Ak X-Received: by 2002:a05:6a21:6d9d:b0:19c:7e6f:85f2 with SMTP id wl29-20020a056a216d9d00b0019c7e6f85f2mr471383pzb.1.1707186978131; Mon, 05 Feb 2024 18:36:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707186978; cv=pass; d=google.com; s=arc-20160816; b=itcvdim78ZQtM5h9BzbGFAVI2H4KBz439pkfP4MyxYGqVKsLHpA/gj4gor1yNRsf2W xeAphomJZBJkmj7FSlLfCKeJ1ze7yJdraZJ0t41jvcvm+hqL4E7nkYZ++sYRdv42tS0b VPy40q5AUfr6Yk8kqyrel1qFzgS9mhHBjbmC4EC1KkaIfJPH5G5f+BkcZ+ziIpspNrm/ 2Ig9v9vEIn7F95N1l/dee54gF8WfxjnUgQCJp1mFi2TNwasZLj4S9sAY3HJjTftCdCgx oGeBQhrw4OEHyAHqHB7OxfMtu3DQbWGxBLr1W25cXobMzWqSdE67qYyn/SHqMhwMGB/o eO9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent: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=Wjqi04javJYFYdIJhQ8KpL7IcvD1B6290WBKo/NvhAI=; fh=zMevbcwhuaOU4QhQYbIJzuUWSlp7rB61fO7yWC2L6ok=; b=fk5+/FuvDmJ2FrDitvfY1X+kjIAGhLq4+lzm2gwXvyviUrFAtcswYqzInu7Hn7c/+U TdJtRXYIInSHLO4lSEl3TKNWTuMG259bodoeijTwEQ4VpvzFj54HUd9XZaIaduGH3nsc DsHDpN5BRBHTjWOxno3eZWcUXZjapDbdw6Is4Djf5tumTHkBihnX2ULyWLx82mgU+XbW CoSQ7frQDrurs8jND1GwMaB2muLa2Cqm5Fp7iX/8ZsWGp4l7W84CuuXfdCOLSaSIUfL5 j7Yy7IwUqPxCKw4/Z4+eHV9KiHnZTZRbcPREWJVSlQwPcqqA38lkDsUis/wJPj+fP/bV dyTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nfg7gER3; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-54208-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCUVX6Pf38BnlKEtLszXOErkWpoZxNpU2dbcp67RHgH0C3vX/XzdDVmWHZc0egY+fYCJJUfskoGX5UPfwmCmO7lnu5ewjTdUy9aXzHk5yQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i12-20020a63cd0c000000b005d8b9ada809si859701pgg.788.2024.02.05.18.36.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 18:36:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54208-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nfg7gER3; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-54208-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A114D2879E0 for ; Tue, 6 Feb 2024 02:36:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7099256B72; Tue, 6 Feb 2024 02:36:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nfg7gER3" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (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 A9AB956B62; Tue, 6 Feb 2024 02:36:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707186970; cv=none; b=dZCciEQGJkRDYY2Qs59y3dKVFAXRFQw/c9/vwNcJt5myEReKwoc32aqWjEfh9Y9ESJeDBWLnEDT49U20NcvG+SkXIMC/lyBdzDiN+5qpl4qTCNABE1ZDogx6aOpyULwHs4DbLJJzCmWbp0JsdxUJl65c51LobMFATqqA7zLT0vw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707186970; c=relaxed/simple; bh=wHtkFY2fDJUWJ8e33irKst+rMbyCcBXZ5MzpPjvbXvk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=J5Q7N0/VX0yKAFSeqpKUE5gGZwkEsD2wdPN6PlbgwJX/ioIsNMPxayQDFDMEclHfdXLpqTDWNUI/PsSZRrznkfRTy/mf+QLbaYK7IOOGi6TvFhFdAvxp0R/ADRB7ocgP1jmkT7+UmgeSgG+zU/HoBh/5v9jQsnVfeDGAplLy9kw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=nfg7gER3; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707186969; x=1738722969; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wHtkFY2fDJUWJ8e33irKst+rMbyCcBXZ5MzpPjvbXvk=; b=nfg7gER3L/VsMs75Ei9+VRmeu/MIkyRbxiAz/pdG1bgcDDs3oaQHh9pE tj4iCQ91aJs5dZkLvNPFKv+kE59j1c7cgjWgV+/unEBi4u+CHwDWAZEDV jBgCe9Ssymb6hIsOWrayWgBmYZ9HY1SwvbJ8OgTaTs5DLf364jDFb4DHK +SmiKzeQsdg9ctPjhJhYMKqwiAAHGBFXYQ3TKAQQXrkd9ytaPGm4DifQR iKEjLNMGmTvkg31tfZPsXfdwlKgChoayf61KaNfXthe6K6P4STOjisiCO rc47xvoEAdH/UX1t0nBb8QIhcvqnv4T3aHXOCfCOv9EEIY6NWSc+CTFcw A==; X-IronPort-AV: E=McAfee;i="6600,9927,10975"; a="557677" X-IronPort-AV: E=Sophos;i="6.05,245,1701158400"; d="scan'208";a="557677" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2024 18:36:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,245,1701158400"; d="scan'208";a="1169095" Received: from ranerica-svr.sc.intel.com ([172.25.110.23]) by fmviesa006.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2024 18:36:07 -0800 Date: Mon, 5 Feb 2024 18:37:26 -0800 From: Ricardo Neri To: Borislav Petkov 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 8/9] x86/hreset: Configure history reset Message-ID: <20240206023726.GC17602@ranerica-svr.sc.intel.com> References: <20240203040515.23947-1-ricardo.neri-calderon@linux.intel.com> <20240203040515.23947-9-ricardo.neri-calderon@linux.intel.com> <20240203093857.GBZb4JsahiDx2Ouegj@fat_crate.local> <20240204035552.GC26316@ranerica-svr.sc.intel.com> <20240204104904.GAZb9roHMCug6P9P8f@fat_crate.local> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240204104904.GAZb9roHMCug6P9P8f@fat_crate.local> User-Agent: Mutt/1.9.4 (2018-02-28) On Sun, Feb 04, 2024 at 11:49:04AM +0100, Borislav Petkov wrote: > On Sat, Feb 03, 2024 at 07:55:52PM -0800, Ricardo Neri wrote: > > I can set hardware_history_features from bsp_init_intel() but I still > > need to call setup_hreset() on every CPU. > > init_intel() runs on every CPU. I see. Yes, this looks like the place to setup HRESET. Thank you for the pointer!