From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4915DC433ED for ; Mon, 10 May 2021 17:10:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 19415613CA for ; Mon, 10 May 2021 17:10:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232356AbhEJRLf (ORCPT ); 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-acpi@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