Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2614749rbb; Wed, 28 Feb 2024 07:21:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU0r2ogEwQCJTAj0gDsgALVZhFOAaO41fNo+q7181u5VtLRUENEAJwOWOwYXLzim1timSx3sPVBIw2IsQRjAbhjsa6WZ1p8g2c9Gn5z4Q== X-Google-Smtp-Source: AGHT+IFVOq96KLmGK3+eFxmhnUpvIADxE2Ncm17U+UwAp18DacuABh/4riA1dkAZZsdR1t8xl9fI X-Received: by 2002:a05:620a:1595:b0:785:c9d1:547d with SMTP id d21-20020a05620a159500b00785c9d1547dmr5360680qkk.78.1709133662623; Wed, 28 Feb 2024 07:21:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709133662; cv=pass; d=google.com; s=arc-20160816; b=f+Huas02GDRqrAwlpAbb21zUtdrpQGYtViF1EKsPk8v10Nj8iLIFP69sPFBAVLGZYq ZVtq1qqV5nAK+bxP/evVz26AvPG/J2I971rssHMP4e67SYSLbBb4JbMf23Bcgb2TTJsO BIslAyJ+qKvn+p7gFTyO2BZLMnd/NHGaZ4+NYySYHsEAbsgTWc+uIpCpWqAFVb1UyPVf eoKydp2XfaLfZjqatU37gXQrIvY8ELk3Y68n5iOW9s6qqlVFcRw46gceaHfR3RKjjW+B P9kr/zu1HCj91cffUMEoQqPXCJu7ldwNsHF/Rl/KAsB8kRRfjJOXKvstS6vlaRfrZWo9 UGyw== 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=YAYrCG7tGsnRM6ZntMAQX/voJPppTrgd5Yf8N8PMFRU=; fh=5PMnABgQr4oG5ynS1cKPRx6jY7yNVh2Q8E/gB+EhJBc=; b=W045TaIliVlMsbDfBgaGPj7m05Qi3i0kMzD7c1gNRSUUbJ9nyD3ZDEdKMHhxyPYyBX SThcYG/Drfkjs8DW1+zxI/dsIUDjnJuN9IL1AiDMR9Z+DwZsUDOZ/BtYVrsjjYIznvAt KsAd+w9zTn8h3d8mx5GhmeOauHgQpXcUnWA6VgTIVzI/iVnldan7axoBEc956WxSxX09 kOFWl5xawiWA3/qYMKUdyDrQsNbM5Err9FQPJwuMXEMFbOJGhLxNYe0IKNDqEBh2eVXE weZHXl2S/X+N13u4QD+Ya12BOWxK3BW9qmQo0nm+eDQC0OthDX/0CrUlAKWvbidknRwY 959A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=L5v6i5df; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-85253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z12-20020a05620a260c00b00787ecd06150si2878859qko.538.2024.02.28.07.21.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 07:21:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85253-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=@intel.com header.s=Intel header.b=L5v6i5df; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-85253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85253-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A09D21C222AC for ; Wed, 28 Feb 2024 15:20:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7712415B990; Wed, 28 Feb 2024 15:20:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="L5v6i5df" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 4B61715B987 for ; Wed, 28 Feb 2024 15:20:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709133633; cv=none; b=Xmno0G7qHc99Z92PPpWXTf5CoZg7a2G4Cn1RBoUSpvqWSKCbzkrK5H3TVo9+/zNyUx3YwpWIaB7QoXnnaWujNVY4ktRKSken/pZyYmqW5NgqTxCP69Y2cFsHXB8kXdrhwMUcbAZcuxs/sqIZDB3EOsvPo+NtPlkovgJyOnALdXo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709133633; c=relaxed/simple; bh=3O2nE44cniQ2tQX5w1nDZxqhC3jC/S/fvEVLOK16/To=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IPQMC6QS1T+6gNBw2W43xV0YhYEBDSCEX7g6IR9+foT5/WfDOE6/qIlW6RNL/uHUh32IWcuGBWKJllEcr2P+KMtMgCEehykjFWbsfBqM6ZLUvWfIl4fT5fYJ9qYZ84+rcQLwabdCHFv0i0Jp9Vg1EsAaVMsUz+tcNtZSzm7Z3T8= 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=L5v6i5df; arc=none smtp.client-ip=198.175.65.11 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=1709133633; x=1740669633; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3O2nE44cniQ2tQX5w1nDZxqhC3jC/S/fvEVLOK16/To=; b=L5v6i5dfvha+11eXyppYyKoFFm6imDqJGLh8kFDemG770V1RFwrKMgIq 3GTfScV/BRMSM3doThnWYxErPpkmp96ofDvrGL3rXdgoQ8yZBW40BtEP7 +lxbY6m+FpTZQ2R5aWbW3gPYpgzX2bGmG47KOK4zqpgwBGe1i5f9ymLir DAjfNUIQQKMwLbk0TUSxiqbthxQHpfdYJd+iErxEpYpYeUAb7Crf3Izul YKWsP7q2VvkgHy3gvnYJrM7S6lvLRPsqmwNmdA6/8aYgYvLe77jKPxYn+ OhgzGBuQ/qKvRo68lXh3fUTfisLs3BbJQRt3ro89DatGJwfQTiX/PdzwF w==; X-IronPort-AV: E=McAfee;i="6600,9927,10998"; a="14087723" X-IronPort-AV: E=Sophos;i="6.06,190,1705392000"; d="scan'208";a="14087723" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2024 07:20:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10998"; a="937034392" X-IronPort-AV: E=Sophos;i="6.06,190,1705392000"; d="scan'208";a="937034392" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 28 Feb 2024 07:20:29 -0800 Received: by black.fi.intel.com (Postfix, from userid 1000) id 2EE9A28A; Wed, 28 Feb 2024 17:20:28 +0200 (EET) Date: Wed, 28 Feb 2024 17:20:28 +0200 From: "Kirill A. Shutemov" To: "Huang, Kai" Cc: Dave Hansen , Dave Hansen , linux-kernel@vger.kernel.org, pbonzini@redhat.com, tglx@linutronix.de, x86@kernel.org, bp@alien8.de Subject: Re: [RFC][PATCH 11/34] x86/cpu/intel: Prepare MKTME for "address configuration" infrastructure Message-ID: References: <20240222183926.517AFCD2@davehans-spike.ostc.intel.com> <20240222183941.7CB634A5@davehans-spike.ostc.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=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Feb 28, 2024 at 10:48:19AM +1300, Huang, Kai wrote: > > if (!TME_ACTIVATE_LOCKED(tme_activate) || !TME_ACTIVATE_ENABLED(tme_activate)) { > > pr_info_once("x86/tme: not enabled by BIOS\n"); > > Since now detect_tme() is only called on BSP, seems we can change to > pr_info(), which is used ... Right. Dave, do you want a new version? Or can you fix it up on apply? -- Kiryl Shutsemau / Kirill A. Shutemov