Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2773798pxj; Mon, 10 May 2021 10:24:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzW0OTUTN6Cs1WQbRI2vGzGorTuxhVWzULFKHzMawICkk5Kx/kFt66IatTJTLhDWnoXW0j X-Received: by 2002:aa7:d0c9:: with SMTP id u9mr30510377edo.43.1620667454497; Mon, 10 May 2021 10:24:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620667454; cv=none; d=google.com; s=arc-20160816; b=jzN4hhECYVJE1C+i0J1UDmE7rpy5nFrqRJmdoRMXrG41NoyPb9km6+N7ByhjB5IXAt Gk6kVtx3vO9GeL/kBsuumgv+aHkU8WrBokJPMM6KZMLYrLPkJzFzHdDPl0JZD2dW7sxJ PGU65QD4Mfn6wSJISYe2/zkJpHlk+/dMUKt+TkPIaXdEz0LQZKUNsDiVoQdX/DBOqdF4 JWgZ4baAqhbEtdTwN8ZDPpk4p2pnG43Ij9RemmAM6XN3mt2a6xBPia/CeQmy0w76NWpV 8RZ1tmHBq6e9ezIOw0SyXIEpNSrMTYIW9VYCC2ZDUR96MignqVKAAGJzjeRDP1wrDqA4 s3xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=X5MijjHv3hdGXA0rEq1acQCfagtN4eq59UBCk2GuHfQ=; b=yA9s1Lg62R92MrBZp9I4on1eli1XIYF6xEpbkWuRfVLflIYCDJUJm1QxWgQmgyyC8Z E3BtVliF7uBrYwO4R+8STDgoFEoApHZOZyE66GqV0PZMRbeaXGQkx3AgxoeE9Obyl+wV h8AnyG/C6eWRd2VHRcamAx6f5xXcB18C2gNl9h3XHfikVSauL8cyu82XrCCutGsrxc0G QXJQJNowgSpOb+sqiGRlZ8CKnAtkG4GPDV08VivuQezR4nrsfGLHReHHovwQMwaVZ1I/ ejXif0OSM4YmVmeYEvPZkpXklv/mCcGOkHeWsiwxHhAHrlUbGdcgvPGGrXS1iVBL3+uV mhpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y13si12925500edc.322.2021.05.10.10.23.50; Mon, 10 May 2021 10:24:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232670AbhEJRXr (ORCPT + 99 others); Mon, 10 May 2021 13:23:47 -0400 Received: from mga02.intel.com ([134.134.136.20]:29432 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231381AbhEJRXo (ORCPT ); Mon, 10 May 2021 13:23:44 -0400 IronPort-SDR: cTZIc3Dy8vCfZOSHClJhgvQEwgslemH6yffgZXYF+jtqB4+lIz5287ItzpN9zonT9XpK3oKOfL 2REb5A88CPXQ== X-IronPort-AV: E=McAfee;i="6200,9189,9980"; a="186380052" X-IronPort-AV: E=Sophos;i="5.82,287,1613462400"; d="scan'208";a="186380052" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2021 10:22:38 -0700 IronPort-SDR: yeBh7/THipK27vGT9BNdOezKYbGpTBar79hWpMunY4quKozgF+1gaCutIBcxq2EY/oBWAm8oku W9DaNfmASv+g== X-IronPort-AV: E=Sophos;i="5.82,287,1613462400"; d="scan'208";a="536492536" Received: from tassilo.jf.intel.com ([10.54.74.11]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2021 10:22:38 -0700 Date: Mon, 10 May 2021 10:22:37 -0700 From: Andi Kleen To: "Kuppuswamy, Sathyanarayanan" Cc: "Rafael J. Wysocki" , Rafael J Wysocki , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Peter Zijlstra , Len Brown , Robert Moore , Erik Kaneda , ACPI Devel Maling List , "open list:ACPI COMPONENT ARCHITECTURE (ACPICA)" , Linux Kernel Mailing List , the arch/x86 maintainers , Sean Christopherson Subject: Re: [PATCH v3 3/3] x86/acpi, x86/boot: Add multiprocessor wake-up support Message-ID: <20210510172237.GU4032392@tassilo.jf.intel.com> References: <20210426023941.729334-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20210426023941.729334-4-sathyanarayanan.kuppuswamy@linux.intel.com> <97e14cdc-ea98-18b8-0c89-db52440a7716@linux.intel.com> <4fa40e7a-bcb2-db0f-8dc5-28728b14377d@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4fa40e7a-bcb2-db0f-8dc5-28728b14377d@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 10, 2021 at 10:10:24AM -0700, Kuppuswamy, Sathyanarayanan wrote: > > > On 5/10/21 9:55 AM, Rafael J. Wysocki wrote: > > I'm not sure how my comment regarding the fact that for a given CPU > > this function is only usable once has been addressed. > > > > While it may not be a practical concern in the use case that you are > > after (TDX), this is a generic mechanism and it needs to cover other > > possible usage scenarios. > > For the same CPU, if we try to use mailbox again, firmware will not > respond to it. So the command will timeout and return error. Right because the firmware code doesn't run anymore. The only possibility would be for Linux to put back some code that spins and waits again, but that would be quite pointless and wasteful. -Andi