From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.45]) by mx.groups.io with SMTP id smtpd.web10.820.1621363074185839766 for ; Tue, 18 May 2021 11:37:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nvidia.com header.s=selector2 header.b=YKG0BdOn; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.220.45, mailfrom: ashishsingha@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oHn1ivk5+TPPPZCGNyz2c7LPQpTA8hcnvsmMsBMNG0f6zNcj7JabXVHtdsXs4NN0ldKNyN8AJ5voouw4Rrm49S8HbOhcst05WHOVL88esDp+SvqwYW2i1DYL3ygWyscqLD043R6pOPvHcXd4bQ78WbDyW+xguYb1hL/+va/0Ftyg4f2T95sUQGdEi6hfk0ZbJNtKSbUs/YDIjhJ28xZFlNOjFvFFW/wKiAB7tijsm9w3GPAB+RLMjleZAlT3ZA4A3LyDsBRpC+IspLE93utbIccz4EVViKsBLPA1kwMXW9BsAOQg3piE3gx+bND7y5hVFJO8/d4wuw2gKt+PydI4CQ== 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-SenderADCheck; bh=JYT8KKmCC1vbrHD2rS7b6qrjsdUHzqpyrMG94ynr/mc=; b=lqIQNqymQQsCrobFcH7do8dRHquLjAsBOHeRzI7H4JDR8gGozMFwEwU5sZIjsFakpZLHdsKlzVkQQPLK4W3/gdxseli0JvNSuQZ/O//aITEcWiozUSLMh35+7k+5RaPwxpT6d9WCMdrDQMOc1Kye/gtGA1w3iI7UUqI5NJn3CHQTJ4tDSs987LR6puBpG48KZFyhcznpkPUgvhkSut62U0J9BLmnOiCh0fDBmPRnpoD+IBOyH/tD3K2elIVqGhkctsa91JxTPZ/6mhMMohY4LgGgb+lj48e5oO2CpRcgD//c7Fxp+eDGREvKZspyLm4ItcBawMzyno+yPZguy0B+4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.35) smtp.rcpttodomain=byosoft.com.cn smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JYT8KKmCC1vbrHD2rS7b6qrjsdUHzqpyrMG94ynr/mc=; b=YKG0BdOnMgozgKjaZLjBv/fAQNXScdO8oA3YXYCNk/cP2RFYF5pW6vboaxN4HQBOYpkhGKf9Cn96h/z6wTuR1qNpZ0hTQmQOSCOWPmYujQ1ITyOvz3dm1eSbNABPiBKjgF+GyAwG3Miri9FwmJHgvShsZQlf4/qcs0uGxKR+hqZNKQCKmeiHzT6rjWJEvrmugCr4MiKfEZjaH0wQ3L0p0xFG6HhLAkkDXO+RHSbXvcWpc34ugBFkkKuM2bZpyn6Fg5Vuos8pbGOm1jMwhEIkr7YmYBqvGHFQlJD37fnyd7LoqhjXBI61Scms8fGSUjhr5bc8tH7ISC4gFVQ4UFfAqg== Received: from DM6PR08CA0037.namprd08.prod.outlook.com (2603:10b6:5:1e0::11) by BN9PR12MB5081.namprd12.prod.outlook.com (2603:10b6:408:132::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Tue, 18 May 2021 18:37:53 +0000 Received: from DM6NAM11FT039.eop-nam11.prod.protection.outlook.com (2603:10b6:5:1e0:cafe::32) by DM6PR08CA0037.outlook.office365.com (2603:10b6:5:1e0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.32 via Frontend Transport; Tue, 18 May 2021 18:37:53 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.35) smtp.mailfrom=nvidia.com; byosoft.com.cn; dkim=none (message not signed) header.d=none;byosoft.com.cn; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.35 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.35; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.35) by DM6NAM11FT039.mail.protection.outlook.com (10.13.172.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4129.25 via Frontend Transport; Tue, 18 May 2021 18:37:51 +0000 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 18 May 2021 18:37:50 +0000 Received: from ashishsingha-lnx.nvidia.com (172.20.145.6) by mail.nvidia.com (172.20.187.15) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 18 May 2021 11:37:50 -0700 From: "Ashish Singhal" To: , , , CC: Ashish Singhal Subject: [PATCH 1/1] MdePkg: Update DBG2 and SPCR header with NVIDIA 16550 Subtype Date: Tue, 18 May 2021 12:37:39 -0600 Message-ID: <08963a74b28d8b119cdbf0b52aef45190847fb39.1621362650.git.ashishsingha@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-NVConfidentiality: public Return-Path: ashishsingha@nvidia.com MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 283c533b-4a16-4bc2-14d4-08d91a2c0b1f X-MS-TrafficTypeDiagnostic: BN9PR12MB5081: X-Microsoft-Antispam-PRVS: X-MS-Exchange-Transport-Forked: True X-MS-Oob-TLC-OOBClassifiers: OLM:1303; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: B2k0YZ/V9hvZOvCvMtq0nEEEsLFXWmnfMkimvc6ERH9kM1MvJGGmhM1eaKjmTLh8Ua6dMAWD+VSVcPZnNUdnG4UVVeYKae9sQVkS5RX5ES0bPL80KXLgvYJSNGznMPi93+qfBiwa4TreEtFWA+Bxl7ZOrmIkViabT/uByybMynw88u2COavWKMptu80JaHVafO4UOZgWsfy1J1iLbGExT+lwyUN6ebp0CXR3/rdlrMRcPfJ2Hj81gvJY0Y4dvAgIx6M8iCnwFVlsZLwKrkxjS0mHiP/jeTNSvBk43loRETEHSaJv6BKJtR6HSrb09akhAF71YO1qxPhvarHTyc3I+M5mQs79pjMHvRetCi1T3lNONt3EczaVtrn7b3aXFg4C1tkykJVQwmLdcZRX7EcNIkRuiBSrUNG2FQBlRG5rR4be33p3/c9+tq6LjfW28WJtQj5muqanUDeAOa7dDIG9utGclz+vJC4duw9NFqmS4qF/zRwZxeay9AKM1eQgzLhfVswVqjg3V0av9XM82GxCvY1Q4eCGi1TLOKciVrT18OBktWzF/b1X524L6cN/47xergcgVDuuTsLDIH/dXs75WTKyCHepg8mKCmCx8GPUDRIKoXdcR00mFJ/9ZUOISSNfzi5XpJUQ5ZovgAreSgG4As5q0bgBSRKpWL8mS6Wwges= X-Forefront-Antispam-Report: CIP:216.228.112.35;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:schybrid02.nvidia.com;CAT:NONE;SFS:(4636009)(346002)(39860400002)(396003)(136003)(376002)(36840700001)(46966006)(5660300002)(107886003)(4326008)(36756003)(70586007)(478600001)(426003)(2616005)(186003)(6666004)(110136005)(47076005)(19627235002)(2906002)(82740400003)(82310400003)(8676002)(8936002)(316002)(26005)(7636003)(86362001)(70206006)(356005)(336012)(83380400001)(36906005)(36860700001)(7696005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2021 18:37:51.5946 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 283c533b-4a16-4bc2-14d4-08d91a2c0b1f X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.112.35];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT039.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5081 Content-Type: text/plain Add macros for NVIDIA 16550 UART specific debug port subtype in both DBG2 as well as SPCR header file. Signed-off-by: Ashish Singhal --- MdePkg/Include/IndustryStandard/DebugPort2Table.h | 1 + .../IndustryStandard/SerialPortConsoleRedirectionTable.h | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/DebugPort2Table.h b/MdePkg/Include/IndustryStandard/DebugPort2Table.h index 3faa30b76a..6a6fd2590e 100644 --- a/MdePkg/Include/IndustryStandard/DebugPort2Table.h +++ b/MdePkg/Include/IndustryStandard/DebugPort2Table.h @@ -43,6 +43,7 @@ typedef struct { #define EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_FULL_16550 0x0000 #define EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_16550_SUBSET_COMPATIBLE_WITH_MS_DBGP_SPEC 0x0001 #define EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_PL011_UART 0x0003 +#define EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_NVIDIA_16550_UART 0x0005 #define EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART_2X 0x000d #define EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART 0x000e #define EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_DCC 0x000f diff --git a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h index 2066c7895e..ba19567f52 100644 --- a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h +++ b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h @@ -80,6 +80,11 @@ typedef struct { /// #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_ARM_PL011_UART 0x03 +/// +/// NVIDIA 16550 UART +/// +#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_NVIDIA_16550_UART 0x05 + /// /// ARM SBSA Generic UART (2.x) supporting 32-bit only accesses [deprecated] /// -- 2.17.1