Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp468824lqd; Wed, 24 Apr 2024 07:47:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKIE9b0cYy8mqm5+oL0ImLKrj2hj4ae4W/5LcveyI7IX5+HJT73aWysrZAlX0ME3dvHS/iJdrzns6njd21m7pNQtxFeLGDc8/qzK+QcA== X-Google-Smtp-Source: AGHT+IETyBcsgatGkDtdjQCZS7DmE9pVloFCB9nVUZaojfOlvCnmzRtXT07Lw4BW1nlSg97jygDb X-Received: by 2002:a05:6512:324e:b0:519:7041:d18a with SMTP id c14-20020a056512324e00b005197041d18amr2281011lfr.4.1713970057296; Wed, 24 Apr 2024 07:47:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713970057; cv=pass; d=google.com; s=arc-20160816; b=FoRokt6QbWYLBylKe3YDc5YC4I4nshGjr5JepH9FVRhqnww/iUs8sg3db/7Nw+BGYM h4Nah0sYQ3bBQv3c5NzsQSYmSGlFr5frvvudMK3xLMAM3nB7kf8QV0+A9wNhncpwvrK+ 4kbDEvadoNVWt1OK6450o6LngMmlz+sirlYKhlxczEWxfEQjqW1NwfM5KqgTe71Bw7Hr u3iBuHnEv15er7AibQXqpdSuDG5rIjATtSkPkhylV0VSREKmtYFNEjyg5i/9MhRNVhpY vjkbuTPp2yf016bv7XW3FMze7v0dQ1gx7KvALbqVAfX/xTF3QHNUeePcJxFmtyYH/R0n D63w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=36F21v/MyXM9iUucbluZKoSYuf/7DkQTziRTtiZi4G4=; fh=V75g+eVt+hanCl4nuH0A4AbaUp+JVKbqLCBINsUXEDM=; b=n0R3a7J3j6j+neHalCN2SwtJcRrs6UkG/Tw3zV3r0hkXpPel3mihZ85lb3sBhH5U+M MsyAPFa5ir99cXLg7JFEqWMtgPLOUrY15Kk+k0q2tGjhtgQMhKUq2245ywVgX5iqojdN PoF4jcx4xXwgicg7/IkhYCVcLtck4aoNPQvYIaeVowTzQZbi74eoHl4pT5GeErCQnTLQ DjNMve6qOvaCIiB77SrUgNK6LKrmTHelQgCIDZ5Onh5MfDj/1QFsVp3uPJZxTiLrcMDP Wslp3MNZ27Z0b350wr0GtonCl3dzD9OiFmnjWazlXDJDmwNTI3Tijj7bPWbK/IM3KpM8 Gh/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eKhH81aX; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-157098-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157098-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 q20-20020a1709066ad400b00a55b559860bsi4084149ejs.320.2024.04.24.07.47.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 07:47:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157098-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=eKhH81aX; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-157098-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157098-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 1DA521F26AA9 for ; Wed, 24 Apr 2024 14:40:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 457B615ECCE; Wed, 24 Apr 2024 14:40:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="eKhH81aX" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (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 E708915E80A for ; Wed, 24 Apr 2024 14:40:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713969630; cv=none; b=IrOEAoaSYYmmsSFhaTqk9ktt2SZ2sG4DWYU2aj69q0bGLqHTqpeAWWPGY3qiYmxMmwTEiIq1XwRl1/lxo8bsoNk685hBvqtHS4WKW7SQ/VmYKlQxqTnJnMdUaSZ2iftG9e7lLl7Bve5OeMkqZUPw2c3YAhbtPnq3SAugCDoIE90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713969630; c=relaxed/simple; bh=+Ij2BIpBpTyf5uLyiqoj6ydCtsETvB1fweinsnRIOwg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=WCoHW3LpZSYiRvL9WWmL3qdC6xNgsHS7qnrJGEiaJjh9q4bqtb8oYnJWCXE9oMKk2MlmU8CqXJ/NNfkpox7mZbW7MtAiA1+Ift1e46sNwmurJoO2VKIL0PW6JSnF3KJrqMPuczvZXI5VO4r9Ux/R2bQ6IfONj62nBt0rYBhC6Vw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=eKhH81aX; arc=none smtp.client-ip=192.198.163.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713969629; x=1745505629; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=+Ij2BIpBpTyf5uLyiqoj6ydCtsETvB1fweinsnRIOwg=; b=eKhH81aXRMga6y2HisFIz0GE5LnDkb+bnfxRIrEYCcJPwj5lbitopFro fzo0DplPlqnPiRt/O4TEZim7imStu0nDdVwt2cKcjPUg1qJB9SmnhYqFA QjFkthyVQowbIrxQ7FXeeK6dWVaMEKWspTVqzqqGXtW0FfbdeD7PukTqt sysJNvXAG0pzcz1tOYE7Vky3uYk1yb0A44/fi4ffti+OXRlIltzvU0pfN gBO5+lMvBdJ73hbKYwHgrQWPYjH0yOOEgNP3la9Te942yfG75jxRFOuH2 MNdjTIE4qb6LGhPf/sqExVA6qknn/zmmFrNVpjQqwwSozMQHExDSgU62a A==; X-CSE-ConnectionGUID: 9/spw81bRMqX2V32rhwIBA== X-CSE-MsgGUID: hZkLx/zZSVy/btqoZnQkZA== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="12538291" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="12538291" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 07:40:28 -0700 X-CSE-ConnectionGUID: ahwsL9KHReiR0w6KIOqlYg== X-CSE-MsgGUID: zQ5HQ6g8ST2ptkZSANoFuw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="47995143" Received: from ttiasha-mobl1.amr.corp.intel.com (HELO [10.209.122.5]) ([10.209.122.5]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 07:40:27 -0700 Message-ID: Date: Wed, 24 Apr 2024 07:40:26 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCHv10 04/18] cpu/hotplug, x86/acpi: Disable CPU offlining for ACPI MADT wakeup To: "Kirill A. Shutemov" , 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 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> Content-Language: en-US From: Dave Hansen Autocrypt: addr=dave.hansen@intel.com; keydata= xsFNBE6HMP0BEADIMA3XYkQfF3dwHlj58Yjsc4E5y5G67cfbt8dvaUq2fx1lR0K9h1bOI6fC oAiUXvGAOxPDsB/P6UEOISPpLl5IuYsSwAeZGkdQ5g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ARAQABwsFfBBgBAgAJBQJUY85qAhsMAAoJEGg1lTBwyZKw l4IQAIKHs/9po4spZDFyfDjunimEhVHqlUt7ggR1Hsl/tkvTSze8pI1P6dGp2XW6AnH1iayn yRcoyT0ZJ+Zmm4xAH1zqKjWplzqdb/dO28qk0bPso8+1oPO8oDhLm1+tY+cOvufXkBTm+whm +AyNTjaCRt6aSMnA/QHVGSJ8grrTJCoACVNhnXg/R0g90g8iV8Q+IBZyDkG0tBThaDdw1B2l asInUTeb9EiVfL/Zjdg5VWiF9LL7iS+9hTeVdR09vThQ/DhVbCNxVk+DtyBHsjOKifrVsYep WpRGBIAu3bK8eXtyvrw1igWTNs2wazJ71+0z2jMzbclKAyRHKU9JdN6Hkkgr2nPb561yjcB8 sIq1pFXKyO+nKy6SZYxOvHxCcjk2fkw6UmPU6/j/nQlj2lfOAgNVKuDLothIxzi8pndB8Jju KktE5HJqUUMXePkAYIxEQ0mMc8Po7tuXdejgPMwgP7x65xtfEqI0RuzbUioFltsp1jUaRwQZ MTsCeQDdjpgHsj+P2ZDeEKCbma4m6Ez/YWs4+zDm1X8uZDkZcfQlD9NldbKDJEXLIjYWo1PH hYepSffIWPyvBMBTW2W5FRjJ4vLRrJSUoEfJuPQ3vW9Y73foyo/qFoURHO48AinGPZ7PC7TF vUaNOTjKedrqHkaOcqB185ahG2had0xnFsDPlx5y In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/24/24 07:35, Kirill A. Shutemov wrote: >> 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. Yeah, the MADT wakeup is pretty funky, highly TDX specific, and not in use or planned to be _put_ into use anywhere else. The X86S "fix" for running in real mode does something else entirely: https://cdrdv2.intel.com/v1/dl/getContent/776648