Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2764854pxj; Mon, 10 May 2021 10:12:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLZMINdgodmLCAErVvutcSomC1S44YF+xFChFykYmXjNN88V45wqWj2ZXTbqV5P9H1R6E8 X-Received: by 2002:a05:6602:3426:: with SMTP id n38mr5657712ioz.3.1620666751933; Mon, 10 May 2021 10:12:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620666751; cv=none; d=google.com; s=arc-20160816; b=lHLF/3xetaokibqcbOyzrqqwPx4gCsv9anAq1VmTpM2uRrTjwAIXD9PqfLJJaBEiTG 72wkEzzjjciNbtzzKJB0aYOpSh4h369TcKnFklYkyEOGd0L1yYaLt6+a5wxv7/jkfJnu VTf4fw5LvXL7YZVY2no9pfpo30Zd9AYYCvF6LR80AgPFZ4sAmlePhdY1/YaW7cJQL5Fr Z3MmhW9bEYV/X0IX+afQXPkIaTIUZrOwZAwscn2xybn0CCbY23SNTEnevUq0xa5EKvcl zUnxWgK0DY836TwBr4EjTzW4V34sld3LkN0Zclme3vQgmdtKIILte6DrEfxp8u6TgTSq k7sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=yL9NlTDmbg7g7WcdHJpZUxfoyvUp9dRYv9qH9vRSaIs=; b=HOQ7oKCfJgp3RKRLdZPnVbUYtTFJ1lc+cPAHGyDSA47la6S2HZiSE4OyVjtnqUXy2q YpXYMyya4cHpxgZop1q9UVMV3Gp9wRxnAE/3HRgMWThI0cU0tokJITRQo5cVl7QX4bdg A3Vn0d65kghIyHjAdc45oSr9Cw60zy/5b2StrmkqFSN5ttXiECiWBVjSot/gxFdlylJF Zm3Th+QSRKPqDRaa3syGUFYbrzCbwwY2WsNIrM4dBlxFiPfP4VH1beChVHZG03VaECUF zKHZ9UZRj1LKtK0w7C0hr8IFbeX0q8qY473OW3UieNr4glwz+/MwTDQRw+Bsq8R0V/fP /gkg== 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 c6si19689570iot.35.2021.05.10.10.12.19; Mon, 10 May 2021 10:12:31 -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 S232373AbhEJRLf (ORCPT + 99 others); Mon, 10 May 2021 13:11:35 -0400 Received: from mga03.intel.com ([134.134.136.65]:31005 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232257AbhEJRLe (ORCPT ); Mon, 10 May 2021 13:11:34 -0400 IronPort-SDR: hwnvxmIjXvMcycRLP/vUibeRrQ7ZfHhpigzQvdU8DEBKnsxyP/64vSK59whlQ7qAs1VU5ZWu3J AkvWel+ySOUQ== X-IronPort-AV: E=McAfee;i="6200,9189,9980"; a="199293560" X-IronPort-AV: E=Sophos;i="5.82,287,1613462400"; d="scan'208";a="199293560" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2021 10:10:29 -0700 IronPort-SDR: MpzzGUG81YEdtnulXS6mm5YxyVMl3ny2tOSrfCyNZe8SoV+AYDtSsxrIvuLO6c5oF6WSPUUJB4 epuDP1jMX2Rg== X-IronPort-AV: E=Sophos;i="5.82,287,1613462400"; d="scan'208";a="391989907" Received: from kmlaurix-mobl3.amr.corp.intel.com (HELO skuppusw-mobl5.amr.corp.intel.com) ([10.212.3.156]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2021 10:10:27 -0700 Subject: Re: [PATCH v3 3/3] x86/acpi, x86/boot: Add multiprocessor wake-up support To: "Rafael J. Wysocki" Cc: 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 , Andi Kleen 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> From: "Kuppuswamy, Sathyanarayanan" Message-ID: <4fa40e7a-bcb2-db0f-8dc5-28728b14377d@linux.intel.com> Date: Mon, 10 May 2021 10:10:24 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Sathyanarayanan Kuppuswamy Linux Kernel Developer