Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4879817rdb; Tue, 12 Dec 2023 11:52:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgtIJmKcyP0Y9WeBlkT66MPoockeVD+CJTbaMSi5ZgqtAHvqKYKqb5EBZIpCdVEbWig0RU X-Received: by 2002:a17:903:41c3:b0:1d0:a720:1fd3 with SMTP id u3-20020a17090341c300b001d0a7201fd3mr3684606ple.99.1702410773985; Tue, 12 Dec 2023 11:52:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702410773; cv=pass; d=google.com; s=arc-20160816; b=WgzFmeggmGR9yuddnAoWAeSdGmnhCG/qFGt8eOySnkwHSY9lxgte5OsMrz8Ax84Szv u+ZvQaLcl0NRJpFdhdTGPAmFRej1RU/ib9CvfRzKWX2xGfSaLtcKamhS7s/vEC813b3V 2+PXNRCtbsmYXvEpfn32lpYkHVQMVJxNXd7qKWCMqKIsXKStRDK2aZWLGoWdc9FTYtN8 tpe3164lL8O/fnqeGG5wlSY/d1jiEYZGBNujJ380gCV11U92E6JvR9htfm0SsRBTEwnB F1rP/Bk86M9X7nlXOhz74iqD5LneBocsMv2UMEgAI5aUyQthyOvLAISHUtCJyWJgJ4vV Z1MA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=NCa5NqkaJeBpWPopOR5Jxf9F+fy0B3qL3L79FO1rkZ0=; fh=dPp9wc1kWWVuA6+vLG6THencQR+LGG9M730S6brVBEc=; b=gmIQBtNQy5IRCTYSrcL5iA164J23rpu+2SZMxuyqi7kAtDnCryiVq1huhw6cLlF4GO eSegVFoESJBubuPjWhRM/Y5JnGKQovBB8GYxfX9wwUDoaN4uHPBZB/dIgHZdlRjuKRZA XjtebTS1H8ymb9fKy/dB8mXIsTreYO08/GHuclqy08IB0B4Tx5Z6OES4Ra3w52eE3yhq yJkbsw1KWNjV1lsaP6P2J6H/f13yDtuxYk/mIaPKsD1sGrqrPKAn7fKJgVj/1XI9E/zZ FBFC/AxRLrJvHaP4mn9wVRJqC8/fUpMBB7R7R0Ka8wihCmX3arQhLflP4E7t8sqrm6Sp B13g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=TvQRiW1r; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id y18-20020a1709027c9200b001d04b44859esi8113246pll.269.2023.12.12.11.52.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 11:52:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=TvQRiW1r; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 22E3F80F9276; Tue, 12 Dec 2023 11:52:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377123AbjLLTw3 (ORCPT + 99 others); Tue, 12 Dec 2023 14:52:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231175AbjLLTw3 (ORCPT ); Tue, 12 Dec 2023 14:52:29 -0500 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2079.outbound.protection.outlook.com [40.107.92.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 196019A; Tue, 12 Dec 2023 11:52:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k0aLrDY3J6MGfRkstAIzF/tkNPjR9FR2WID5f5Jds6SZO3N7X2L0SW8ja7PA12PuarPUXKcSN5JjB0nRVszllwF7zBkHsU9aCtrJ8SdqxALb5pO2N0fXGVRNu4w4KGY+DriaiwGfRCISr1ljKb2jUw/40X2U4mRYK5/jDS2TfSLQBiH2J7F05suRmEn8SNYo7ubFpYbvsbQlNikpx1NApYAt2eYdOryw1Z7ggT1TeSbSxdZAxuLCCe6vLPnkuCKo6gbUx1u+8J94/oipot3subg0kXDjLvZPzD7rXEH4uI5ewUrBXsan5SL+rurJ0pVCKtXNnqmOJIJ85Z/xS0mpzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NCa5NqkaJeBpWPopOR5Jxf9F+fy0B3qL3L79FO1rkZ0=; b=A5LvHcFI+BhUomPa6sJCLXSfOpTJerHVGJPgCo3pilJ3a+Tv3A7pRdDIpUkHGvv8A34ysYAgcwtGRmiQEb3+OI6Fz6y8DT/JTto2Gbga/BdUMUFqPK8kclm/pUTiBOfL2dF8u7jB9/YpG2HWp6c3h6KyDSSx9P/u6ie7gHCw5+9cfkUZUae5nlsElAUCzREKFqYjlop1QN+MnYdtK1dlXbAhQg8XLBWzldzVl4jAf7yN2OPwDaMvR9xmOWjlMPlZ6P2InpmuZCU41fsOBmYFuJbIU5+zy1SbpTVJHBUvFkuHriGrj8+ytHErh5/b0tteRoncnZlolegRwMkF5celWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NCa5NqkaJeBpWPopOR5Jxf9F+fy0B3qL3L79FO1rkZ0=; b=TvQRiW1rCiLn1PPqVVWVsbZu1WXEwoepmDUr1PY7mb4DH468F6sDozpzplCTGNKP/uZ3KcSoDF7oOQr6sKqAv/V/jQBi68GBJGcT8vxVihIAtsDDeu/+o57A2eguwErIVSbL7tuZDI9JIiM5XLRnfXw4emHJaelwXzDSFOlda98= Received: from BYAPR11CA0078.namprd11.prod.outlook.com (2603:10b6:a03:f4::19) by DS0PR12MB7803.namprd12.prod.outlook.com (2603:10b6:8:144::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32; Tue, 12 Dec 2023 19:52:32 +0000 Received: from MWH0EPF000971E2.namprd02.prod.outlook.com (2603:10b6:a03:f4:cafe::40) by BYAPR11CA0078.outlook.office365.com (2603:10b6:a03:f4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32 via Frontend Transport; Tue, 12 Dec 2023 19:52:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by MWH0EPF000971E2.mail.protection.outlook.com (10.167.243.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7091.18 via Frontend Transport; Tue, 12 Dec 2023 19:52:31 +0000 Received: from titanite-d354host.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Tue, 12 Dec 2023 13:52:28 -0600 From: Avadhut Naik To: , CC: , , Subject: [PATCH 0/1] Tool for parsing the ACPI PHAT Table Date: Tue, 12 Dec 2023 13:52:18 -0600 Message-ID: <20231212195219.2348858-1-avadhut.naik@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWH0EPF000971E2:EE_|DS0PR12MB7803:EE_ X-MS-Office365-Filtering-Correlation-Id: 078cf8d1-51ae-42ee-0dc7-08dbfb4be0e5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bRBRcTG+0lkvLkHiaSxiCZYQCReEYqa/+vTqAldToXYIsptqsfmIoML84nJb4mqbEnrPzSYCfN3GxnXlks1K7r6AUZ851Y2u705tSAnDdxl/1rx+C38F2yz3uTbeK6EKEg+ylrakAjuYSjWfXZJ++IvA6NifPbGOmwWv0wrgM9DE/ekxFVyN4qs7PJkrbXa9QZ/cLK5q8UP3mYzR2P2QqU3Q36GIdj6+XSyfJPqqWt1qnEqBnKfEPPbswBRCpQL0Ef/6YHajXDH/xCA8XRVojwMUIOtYS715G6Cs1lRspD0GDoAjHmntZWbGgwVZ3ysT9uWZfgCSeGUkVS4u9mjogwbP+8LKeICM/A9Q29D1Uet/GWUZ+4Z08KcxZ6jHnB4ppLhyzvKDSeWh7xX7hOyWPK0co6vEeE86LCZFvcRVTyqX6N3Oob550BdRccVdsfKyFxzCLLnwLNC1JNStabL2OFmcCOLvsSvElIY77YXrbCgTd0ru9F9M0+nqzOgGiwbkct+LEZ66RZDP9FKgmTZ94L8q9DZunZYQRVCardGcAY9LrjF5WZj+FlEPSmPPlsTK73nK431zYFyTVjV8AyVfkny81k9oPrXxGcKSovIIo+sN/Y0hPlDPFmg9XZVw9pDcVEnh34tiFvCIvDpDcpFnzRHvuvG6h0AEK38xe9UESheFr5nxc1JW2ub1eZ2Yj5+FSXw3ecbKOHLViv3fI8dTNRzDk/VVq+S0FIJiybqAnaqkcbT1QMY6WP83D6xSkMk29104Va8vFInvWc4h2n78sw== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(39860400002)(346002)(376002)(136003)(396003)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(82310400011)(40470700004)(46966006)(36840700001)(40460700003)(426003)(26005)(2616005)(16526019)(1076003)(336012)(6666004)(36860700001)(5660300002)(44832011)(4326008)(47076005)(478600001)(2906002)(41300700001)(7696005)(8676002)(8936002)(450100002)(70586007)(54906003)(110136005)(70206006)(316002)(82740400003)(86362001)(81166007)(356005)(36756003)(40480700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Dec 2023 19:52:31.5877 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 078cf8d1-51ae-42ee-0dc7-08dbfb4be0e5 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000971E2.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7803 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 12 Dec 2023 11:52:51 -0800 (PST) Hi, Future AMD SOCs will support the ACPI Platform Health Assessment Table (PHAT) to export an extensible set of platform health related telemetry through Firmware Version and Firmware Health Data Records. The table will also export the Reset Reason Health Record which highlights the cause of the last system reset in case of both expected and unexpected events. Vendor-specific data capturing the underlying state of the system during reset will also be exported through the record. As such, the table, in general, provides important debugging information, supplementing the existing error reporting mechanisms on the platform viz. BERT, CPER, etc., especially when debugging unexpected resets.[1] With that end in view, we developed this tool for parsing the PHAT table on SOCs that support it. However, we were somewhat confused about existing, appropriate projects through which this tool can be shared. Any recommendations on / pointers to projects through which this tool can be shared with end users? Will personally work with the project maintainers to have this tool incorporated there. TIA! [1] ACPI specification 6.5, section 5.2.31.5 Avadhut Naik (1): parse_phat: Add support for ACPI PHAT Table parsing -- 2.34.1