From nobody Sat Feb 7 09:04:01 2026 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (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 E622B149DE5 for ; Mon, 25 Mar 2024 10:40:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711363226; cv=none; b=pWBWVJP9wQf6shK1LjJtAzpcyvWxfXCyEx2V4AiVjY2Avv6b6WaDug8oHaBiaWdCak18IlYFkSgAPfK0jBOiJhI0kT3GAY1RRZggsC2YUGH858PsEZhCVA4X1YHXrD/CsvwIQSbl20RmycwcoCI4pK3Jw545ffupY8gGtEI+b/o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711363226; c=relaxed/simple; bh=PpxJd/xhncFPluKgayPJOUtPMmc+/bHV6y/nrvp0u78=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iqwxeK1JJ6WKH3+OqfGKs77Kxixwb5kxldjHmaPVbcLivcHigVOMAM5dZ0Jn/wKXsntlHEm4QYORok6v2ZG5qfServUuVW5QdsSFhy4NiY95XnE/mYmMUQeWoQwPxC9EzePCDS6A74FByCcSPJLPKFfUrXeSxR1iB3/E/yNb0EY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.helo=mgamail.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=guLTd5yx; arc=none smtp.client-ip=192.198.163.14 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.helo=mgamail.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="guLTd5yx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711363225; x=1742899225; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PpxJd/xhncFPluKgayPJOUtPMmc+/bHV6y/nrvp0u78=; b=guLTd5yxcSCsUYZqhbDGVLstpeCeyfgG/RxqM3HmKZ3e6f5dBwjK3we/ 567ArTPvO2o0frgFifMrVllItomLz5/E4zVvMngdffix/i2T2+2S3+O5b G+GIBkV1B1VXTmIJQqm1N2BFUwSgRyqhDu1yeAYQ+w3AS/AL7nWJwZ+2W BhqbUCsllJY55r1Isv+hGtQspWXi7Cxw3vfwJCBXW3C7UYahiAPRckWfL Mtp4xZkGF1nEyeI10lcMt3E9I/RO9/0+4oeWTgOG+ScdkrRy3g9f7nt5z SfjqTRcNCzrihm4Fuu5IK1W8zF4fWU+PUWKKJh4rjT0GnSfFo8AOS5w46 g==; X-IronPort-AV: E=McAfee;i="6600,9927,11023"; a="6561488" X-IronPort-AV: E=Sophos;i="6.07,152,1708416000"; d="scan'208";a="6561488" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2024 03:40:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11023"; a="937070176" X-IronPort-AV: E=Sophos;i="6.07,152,1708416000"; d="scan'208";a="937070176" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 25 Mar 2024 03:40:17 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id C8E15112E; Mon, 25 Mar 2024 12:40:05 +0200 (EET) From: "Kirill A. Shutemov" To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org Cc: "Rafael J. Wysocki" , Peter Zijlstra , Adrian Hunter , Kuppuswamy Sathyanarayanan , 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, "Kirill A. Shutemov" Subject: [PATCHv9 17/17] ACPI: tables: Print MULTIPROC_WAKEUP when MADT is parsed Date: Mon, 25 Mar 2024 12:39:11 +0200 Message-ID: <20240325103911.2651793-18-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240325103911.2651793-1-kirill.shutemov@linux.intel.com> References: <20240325103911.2651793-1-kirill.shutemov@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Kai Huang 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 b976e5fc3fbc..9e1b01c35070 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; =20 + case ACPI_MADT_TYPE_MULTIPROC_WAKEUP: + { + struct acpi_madt_multiproc_wakeup *p =3D + (struct acpi_madt_multiproc_wakeup *)header; + u64 reset_vector =3D 0; + + if (p->version >=3D ACPI_MADT_MP_WAKEUP_VERSION_V1) + reset_vector =3D 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 =3D (struct acpi_madt_core_pic *)header; --=20 2.43.0