Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp461995lqd; Wed, 24 Apr 2024 07:36:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUu7tautwOdKeiVRYSXEcwbiTAhyOZUP1mwYIOjPultTvy25bGce8EgorFKx0gAKS7H2MtoJeOu5i/iwYZqdpQF25cGbSYRFh3acOOJg== X-Google-Smtp-Source: AGHT+IEr8p0I4GDJD/U7dekfVllxyZAkxbWPoyLEaHZfgwjGfSAQdKM60H1wt42+bDuVwkP4eK6T X-Received: by 2002:a05:6402:b0e:b0:572:326b:c055 with SMTP id bm14-20020a0564020b0e00b00572326bc055mr1245865edb.13.1713969364129; Wed, 24 Apr 2024 07:36:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713969364; cv=pass; d=google.com; s=arc-20160816; b=HuKYe7/uvYGG/QVcWTUYTWFz773S0NYKgyNBeAmhFv+KbW4DOc6xHJXU2ewA1ChEW4 pcqepvHyTvyyRzvi7W10I3HERH0H5/Qx1VsPmxBBj8erZnyktFUc9qH9owX630xMtJSx owmqIkISsHrWRy4pq5DWTLkgZSCJqL3KP52Lvu4gIxl0G52a3qIkRryPCQO2ZAuer9HT pUtnOONkNJQskJdNS+YH1qsiGEmM00KVJyZo03GACkS2h6nNGGcPoFUvAW1P8kcFtKH9 39hEzDoEYurFqxAkr8eI3akw1GW357pV0hG7z5pLEPi/4BU3sNaN1NyV7CkiOW6mI+tC VtbA== 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=xEDDojNnTaOfP7HMhC+comnfjoYzF07cP8Y9oDF9qGo=; fh=lxk+RvRezZ2XdeqcUekliP1X0ajcmlwf4vpqZg41Bzk=; b=xoQOTPhxY14PIiz3DZ+v+vxL/ycWKF5Xr0bROF7oHlQyNzlbjFMIjzmLJIr+reky6l hnGafjZpVtxxQXJemkzjt5Tc2bFEJmMVKus22tbX5zTh2ygvwjgaBsdtkeqE6KYLEhnh M5wNN+0LZuxFUaG2+TbH1OXQNMfSn4de83cYwAxLu9oB4Yt8ZuAVXYZkQKFDzT7/xoYn sXsdslfVII4of7bl45PNpVG5JS+/uPxYHXJJluKGPYLVsRPH+Xq3mAe/5RRdhri19AFG +ZzO5V5zPnc53VaAxaSAvWnXl9UGAqNwKjKGl4IC0ZNGcpdMt3jdBqoMPoqxbyiCMyL0 WJMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="DA7oZmg/"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-157084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157084-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id d24-20020a50fb18000000b0056e69cc4b0esi8546313edq.562.2024.04.24.07.36.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 07:36:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="DA7oZmg/"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-157084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157084-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B413F1F218C8 for ; Wed, 24 Apr 2024 14:36:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93AAD15E802; Wed, 24 Apr 2024 14:35:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="DA7oZmg/" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (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 8B47E15B15C for ; Wed, 24 Apr 2024 14:35:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713969354; cv=none; b=asu2xV5qo8lGzsGQX0iY5rjW0R1O0qlKhIdehUJ6QXzaJx15ZZs+RB229jhrXiNYsBV/Hj4SUzVGu2RkvESGFfkpzYjY+Bm2aZuxUhoWqyIc2oq9g9D892UTGp/07slYAkecPmx9geraoaxxifM8w9sC1mFbch0XwwhvMFGHTEM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713969354; c=relaxed/simple; bh=kYUJMj8WambktxnBcdatjza3aKu1bxR5g5szXi3Etjc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pftVxeydh959qn4MmXZ/eYXKhfbL5NLdiykJpB8OKMPxkaK+wHTvsyq8IbKavkOwxU6RA5SnN9LzgcLzbb4M59Ba4UB5W7SyPWBXgsXOWVkZLrG0J6Y8k2cX1PaeFOYuhd1kHBQibjFD3+jhTX4vpI81zvWgSjbC9eLNuWIAllg= 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=DA7oZmg/; arc=none smtp.client-ip=192.198.163.14 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=1713969354; x=1745505354; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=kYUJMj8WambktxnBcdatjza3aKu1bxR5g5szXi3Etjc=; b=DA7oZmg/cVWSbjbWfdVDYpXVEc2VUX7t+ZDMiAlcdmZI1igRiYcoi6vB 4X8LPaw/+sax049LJniGDkh5iV70d+hjKGOk4VN4Lbx1FOuPXv1nDsKUm y17w4koiYfd0SSofn/1NLBHZsid7OwsPIL0q2SaD/VQsrgnmU39tcsE5h vvB2Z/TAn9/gkFTlxaYQL22+6bmqtVuomip3hKDOtgOdi5Brhvgzss6zO bqwQGWuZ03+Qs9WyLklKV+O6Q7bdd6Q/daxU7b+dRRrUxllZW6nDHLHGq NDD6KrwP3JnOF8Q5zfJMDkehiJNK/y7oz7llooSg4ugvI53gNODpnOwx5 g==; X-CSE-ConnectionGUID: 32Nf0IapQQ+E2Te2iDX/aA== X-CSE-MsgGUID: n7CWIlW7T5KOt4wfCbtNVQ== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="9825853" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="9825853" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 07:35:53 -0700 X-CSE-ConnectionGUID: a/dchSKJR/COZIoy8TSfXA== X-CSE-MsgGUID: wBqVpR8xRTSjGjiyMjjTRQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="62191162" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa001.jf.intel.com with ESMTP; 24 Apr 2024 07:35:47 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id 715EF1BD; Wed, 24 Apr 2024 17:35:46 +0300 (EEST) Date: Wed, 24 Apr 2024 17:35:46 +0300 From: "Kirill A. Shutemov" To: Borislav Petkov Cc: Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "Rafael J. Wysocki" , Peter Zijlstra , Adrian Hunter , Kuppuswamy Sathyanarayanan , Elena Reshetova , Jun Nakajima , Rick Edgecombe , Tom Lendacky , "Kalra, Ashish" , Sean Christopherson , "Huang, Kai" , Baoquan He , kexec@lists.infradead.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, Tao Liu Subject: Re: [PATCHv10 04/18] cpu/hotplug, x86/acpi: Disable CPU offlining for ACPI MADT wakeup Message-ID: References: <20240409113010.465412-1-kirill.shutemov@linux.intel.com> <20240409113010.465412-5-kirill.shutemov@linux.intel.com> <20240423160258.GBZifbsuoTIbWDapej@fat_crate.local> <20240424135052.GDZikOPIOeGxtQRBBc@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: <20240424135052.GDZikOPIOeGxtQRBBc@fat_crate.local> On Wed, Apr 24, 2024 at 03:50:52PM +0200, Borislav Petkov wrote: > On Wed, Apr 24, 2024 at 11:38:42AM +0300, Kirill A. Shutemov wrote: > > It was wrong from beginning. If ACPI MADT wake up method is used on the > > platform, we cannot handle offline, regardless if it is TDX or not. > > Sounds to me like this fact should be a prominent part of the commit > message and these 1-4 patches should be carved out as a separate set > fixing that ACPI MADT thing and I should take them separately now...? > > Also, does this need to go to stable although it is kinda big for > stable. If stable, do we need a smaller fix first which is backportable? Correct me, if I am wrong, but I believe TDX guest is the only user of ACPI MADT wake up method. At least it was added into kernel for TDX guest. So it wouldn't fix anything user-visible. It might affect a future platform that uses this wake up method, but it is a guessing game. -- Kiryl Shutsemau / Kirill A. Shutemov