Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1318991pxy; Fri, 23 Apr 2021 05:35:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8q+7yCrFDWJ+E8TjpcOa0NETDAIl3X0nbSqcLrd7g/u85McUPKXeqcWeO9fKb40ydwzV+ X-Received: by 2002:a17:906:578a:: with SMTP id k10mr3995717ejq.425.1619181331214; Fri, 23 Apr 2021 05:35:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619181331; cv=none; d=google.com; s=arc-20160816; b=XYYfDcAPbay8eAIhVCjHtIQF4AzsNjL5wOBwOYU6n8YdsXbTD//NZ2O/Je0suDS7pm pEj06LgBvkGxsocL110UOHsXNEQsxRpG7FWxfK8BCPE5HeE8hbZR951gj34nQoHjFO/a iEXgCqs/isoRTe5UqnuJMca2anB/CIJLUl5OVJ9tr13tG/iYoKBfeJuXr0Ovq1QrPtzS 9lOolOIe6FDMIlI6vUYVOgoQmxO1PgpdfghyQVXzVHzcAku/5opGvnrz2C+jiocKTc3Q QWTwrurjgOz3raTzr/x56RVlvbLP7qPzu2J1irSMhqzXdTxk2wDnMXWH5/RdnMX0qozC 4Btg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=CnDAq/wf30SK+v97SSEfI5TLrb0FjfVhYtu1LvUj2FE=; b=KELn8fr44102N7r33/V1RBHOWsSksNtkfW3NGdc7Mr3GRxvyhrHt4qsjcWqoyZDamc BpBhSLqOthnIXcKgXNNAj6qhD5ns+gltQuIV0iBauGrL1cnf4hS9UVUZTqBCY2hB0DT6 dDIkjjTbJFdUjnw1CFzq744EFIE2cfubff2ob8d//w3R7gWCBHcGjUNgK4M1tdPRdGiy Ee3R0ldhLaQJE2kGs9ajH+ZrlS7dQOu82CRVa1GAwh/8XdKjI53lu/wQB5K97cFoJx4s 6/y8tglskNGBCKoxyXrs/mf8acxfyupLHwae1JIxZnOaVbu/JFs24wYuxySTOkxTbaNa 7aYA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 21si5042390ejv.432.2021.04.23.05.35.07; Fri, 23 Apr 2021 05:35: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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242319AbhDWMem (ORCPT + 99 others); Fri, 23 Apr 2021 08:34:42 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:45571 "EHLO mail-wr1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230305AbhDWMel (ORCPT ); Fri, 23 Apr 2021 08:34:41 -0400 Received: by mail-wr1-f41.google.com with SMTP id h4so39202711wrt.12; Fri, 23 Apr 2021 05:34:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CnDAq/wf30SK+v97SSEfI5TLrb0FjfVhYtu1LvUj2FE=; b=X7bfQCEqzkwawL/12PZGy254e06IWzH40f9gk4X7gq4PWp9ceSqwp/5Wf0aN9ONEC1 gB22zmYWFEmGoNm2KCr0dmD77Zc0yK8giFkMcDBrbUUzsXawookM2qQYbOtqMyqfhnkE IGeFLS1yE2QB07EyvZn5AjiP042Xh/yMT64/qfNmsDVQf/JbhOEXNpY4qcfiIAQnsApZ 46rdDhaMU3kTFpEvDYbYCVDakl1mHM/XMdS/+eqUWNFkprrytTogHM3oCx26zButF02i M5VE4/FedTf9zFY8kyJ6vwqbHfxBZBQtmVH/pMgrn7sVwJGuNe/0GgCwGLAM0/2LF+tc K8TA== X-Gm-Message-State: AOAM530yiqD0RjwJ/EEV5vW8eg5Jj9NRenBE3BjuX/eMv6TxVKd8zZPP LtdR/IY2MW6X6pzMEG7HCjXY0+Gt2SVhFzB5JTM= X-Received: by 2002:adf:9d81:: with SMTP id p1mr4606469wre.247.1619181244219; Fri, 23 Apr 2021 05:34:04 -0700 (PDT) MIME-Version: 1.0 References: <20210422214708.716164-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20210422214708.716164-2-sathyanarayanan.kuppuswamy@linux.intel.com> In-Reply-To: <20210422214708.716164-2-sathyanarayanan.kuppuswamy@linux.intel.com> From: "Rafael J. Wysocki" Date: Fri, 23 Apr 2021 14:33:53 +0200 Message-ID: Subject: Re: [PATCH v2 1/3] ACPICA: ACPI 6.4: MADT: add Multiprocessor Wakeup Mailbox Structure To: Kuppuswamy Sathyanarayanan , Erik Kaneda Cc: Rafael J Wysocki , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Peter Zijlstra , Len Brown , Robert Moore , ACPI Devel Maling List , "open list:ACPI COMPONENT ARCHITECTURE (ACPICA)" , Linux Kernel Mailing List , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 22, 2021 at 11:47 PM Kuppuswamy Sathyanarayanan wrote: > > ACPICA commit f1ee04207a212f6c519441e7e25397649ebc4cea > > Add Multiprocessor Wakeup Mailbox Structure definition. It is useful > in parsing MADT Wake table. > > Link: https://github.com/acpica/acpica/commit/f1ee0420 > Signed-off-by: Kuppuswamy Sathyanarayanan I'm expecting to receive this patch from Erik at one point, so I'm guessing that it's been added to this series for reference. > --- > include/acpi/actbl2.h | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h > index b2362600b9ff..7dce422f6119 100644 > --- a/include/acpi/actbl2.h > +++ b/include/acpi/actbl2.h > @@ -733,6 +733,20 @@ struct acpi_madt_multiproc_wakeup { > u64 base_address; > }; > > +#define ACPI_MULTIPROC_WAKEUP_MB_OS_SIZE 2032 > +#define ACPI_MULTIPROC_WAKEUP_MB_FIRMWARE_SIZE 2048 > + > +struct acpi_madt_multiproc_wakeup_mailbox { > + u16 command; > + u16 reserved; /* reserved - must be zero */ > + u32 apic_id; > + u64 wakeup_vector; > + u8 reserved_os[ACPI_MULTIPROC_WAKEUP_MB_OS_SIZE]; /* reserved for OS use */ > + u8 reserved_firmware[ACPI_MULTIPROC_WAKEUP_MB_FIRMWARE_SIZE]; /* reserved for firmware use */ > +}; > + > +#define ACPI_MP_WAKE_COMMAND_WAKEUP 1 > + > /* > * Common flags fields for MADT subtables > */ > -- > 2.25.1 >