Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2185606rbb; Tue, 27 Feb 2024 13:31:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXr1XSzIZ/tZpSjH+OWVF0FHxuIgGbzOckIIXI2dowraMskXexyxCDH6p9/FAUKXkjF1MSqESG7i3eIaDqQIiX/iGybsjZG+mtQ9JhlnA== X-Google-Smtp-Source: AGHT+IGhpqAi4lblvLJaH370MmI/mnAfNJ+axV9AQchSA+fRNRigoCo2HcUEQu6QLBulBbBzrQoW X-Received: by 2002:a05:6808:1184:b0:3c1:8fd1:5116 with SMTP id j4-20020a056808118400b003c18fd15116mr3571115oil.47.1709069480364; Tue, 27 Feb 2024 13:31:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709069480; cv=pass; d=google.com; s=arc-20160816; b=DMAxzQoAj8JzrSZzkVE2s05qHEIc2HPOz7GWh8ts14yfwwfez4BccquS8GZ5wZjLZM yMpFupt1bQNLaq3itZvnAk/5BMWQHSEb+vA9eVjDJP48wnhM+DpRnnp/fuhE0oDazBrs 3aAu2FzZsZh8a3RRCF6P1NIKi1EPUAR+PmVnnloMGM4ICoYEfDXfA0kydkvQuJBwrdvw eZxFMYD99HgPeG+dKa9az3iWoT0xdfrOzDQ85eWYtO7O8I8tPjfSixYleCEHRV617ND6 jYswFwFOknQzj+w/zaAlOhMd6BSvIbcoRxwZiv1KR9cNodp4ujomLnUtXTijCMTFf4C0 LdGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=5LPg7ZEzOLl1tH1mFXMDSDiXTh4yfAmbekwQnFdIHjA=; fh=DfaIPJv7k2VREnpcFEFcGWb1t1Mhrg/4oykncI6AXqQ=; b=l0C2DnAllW0IeHnkjad8+88L4s1bu1EI/dLZwr4odLtXmVSDxeATcgG+fIN9+hCEoS ZuAPXeyWIzZJy4xCIGS51OyYW9DFH//PCMtSOTBs9y2jcNW/ZV6JduAMrwEhtfp0MYRJ 91K2hBIJy/7ZQfEPZuUOZcgDcQugrMzVBIIJ7W6QBSkuJgxIMhvRUnTb5Dx+Bf3HuMSd iyxT1Hn1anC3o6vmGq0AKLkamhxdYqwP+WEiSvHH5IqYp33CWKOKouGDb/KvbT2mFyQX +xvCLdbf5Wv53oxFc7k69rCmn8ZYHTivHZIaHxXa7rFPiKGpLIvGLu9Vi38o4/4tBZc+ y7LQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SlBvRJ59; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-84054-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84054-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id jc7-20020a05622a714700b0042e4e7909b0si9321903qtb.95.2024.02.27.13.31.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 13:31:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84054-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SlBvRJ59; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-84054-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84054-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8454E1C22F6D for ; Tue, 27 Feb 2024 21:31:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3669214F985; Tue, 27 Feb 2024 21:30:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SlBvRJ59" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 124B514EFE1 for ; Tue, 27 Feb 2024 21:30:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709069425; cv=none; b=UiOwYhYfT6ORS0MmbHcqBbtIJN0tvKjG1rTOSSu/NJLYKdqhYfqC5HL6jQJMRN+jpWumJGv35MCVu2WjgH3YtZS8Z5OEom5ziykIkY/lidrlX3EJprSJewgCNo2aAatixzg2XAVKJq2gWepdPOflm/Kj646dwsG7KyXTpcTfccY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709069425; c=relaxed/simple; bh=Kt1BM64JLKYhxqKzFk1QlF0sWJtyh5KPS1EkSRV/ehg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=V2vVE4KjXg+OLCj3In6AnD1Pdlg5rO9qzY7oUIhi3v2zBvdId1i3EcxvEiVgcYppeqiJN5/APkoOGxZaW8oHdo0Ja0ob5uUbuxEnmSao6lNI4Y16X6zkGQQwnDH+gsZlXdIJCHobHHqROp7hJAmrkrQpcP187yYAT56mirvdwD8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=SlBvRJ59; arc=none smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709069424; x=1740605424; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=Kt1BM64JLKYhxqKzFk1QlF0sWJtyh5KPS1EkSRV/ehg=; b=SlBvRJ594yAXrLr7dexgHBzYMSQkA6EMm7c32PyUQHuEVaxfVkJdTtEb eKK/33NSBvzZJ1lsGp4JrHMn+KlyL1VUXI5/HiW9ARBpf7RdOjag19jaM FgFTRJq27fgG0fEI1LdKb3ChdQgLF0QS3mDAKs0ORt+wiWULjCbtqvD3b uBguEaoM2ITAwpdyWKFmHvXFmP8OCE5XJIs3xguEcl4f0aAbrX1Ane5Jr tVaBdBwk6TC7ecEL95WCnqM1r+Rh9IaKGrKMGNI9GlxxpyS3Z+iqEaFPd qJ66ni0C6hl2gRXnJj/Xgr4504RSBVsI2LQPZxFh3zIwl/qKn3zXa/d3H Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="3299744" X-IronPort-AV: E=Sophos;i="6.06,188,1705392000"; d="scan'208";a="3299744" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 13:30:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,188,1705392000"; d="scan'208";a="11805368" Received: from dschro4x-mobl.amr.corp.intel.com (HELO [10.212.137.190]) ([10.212.137.190]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 13:30:22 -0800 Message-ID: Date: Tue, 27 Feb 2024 13:30:21 -0800 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: [PATCHv8 17/17] ACPI: tables: Print MULTIPROC_WAKEUP when MADT is parsed Content-Language: en-US To: "Kirill A. Shutemov" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org Cc: "Rafael J. Wysocki" , Peter Zijlstra , Adrian Hunter , 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 References: <20240227212452.3228893-1-kirill.shutemov@linux.intel.com> <20240227212452.3228893-18-kirill.shutemov@linux.intel.com> From: Kuppuswamy Sathyanarayanan In-Reply-To: <20240227212452.3228893-18-kirill.shutemov@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/27/24 1:24 PM, Kirill A. Shutemov wrote: > When MADT is parsed, print MULTIPROC_WAKEUP information: > > ACPI: MP Wakeup (version[1], mailbox[0x7fffd000], reset[0x7fffe068]) > > This debug information will be very helpful during bring up. > > Signed-off-by: Kirill A. Shutemov > Reviewed-by: Baoquan He > --- Looks good to me. Reviewed-by: Kuppuswamy Sathyanarayanan > drivers/acpi/tables.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c > index b07f7d091d13..c59a3617bca7 100644 > --- a/drivers/acpi/tables.c > +++ b/drivers/acpi/tables.c > @@ -198,6 +198,20 @@ void acpi_table_print_madt_entry(struct acpi_subtable_header *header) > } > break; > > + case ACPI_MADT_TYPE_MULTIPROC_WAKEUP: > + { > + struct acpi_madt_multiproc_wakeup *p = > + (struct acpi_madt_multiproc_wakeup *)header; > + u64 reset_vector = 0; > + > + if (p->version >= ACPI_MADT_MP_WAKEUP_VERSION_V1) > + reset_vector = p->reset_vector; > + > + pr_debug("MP Wakeup (version[%d], mailbox[%#llx], reset[%#llx])\n", > + p->version, p->mailbox_address, reset_vector); > + } > + break; > + > case ACPI_MADT_TYPE_CORE_PIC: > { > struct acpi_madt_core_pic *p = (struct acpi_madt_core_pic *)header; -- Sathyanarayanan Kuppuswamy Linux Kernel Developer