From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=104.47.37.58; helo=nam02-cy1-obe.outbound.protection.outlook.com; envelope-from=meenakshi.aggarwal@nxp.com; receiver=edk2-devel@lists.01.org Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0058.outbound.protection.outlook.com [104.47.37.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 06A2B222CB302 for ; Thu, 21 Dec 2017 22:24:05 -0800 (PST) Received: from CY4PR03CA0086.namprd03.prod.outlook.com (10.171.242.155) by DM5PR03MB2699.namprd03.prod.outlook.com (10.168.197.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.15; Fri, 22 Dec 2017 06:28:54 +0000 Received: from BY2FFO11OLC016.protection.gbl (2a01:111:f400:7c0c::175) by CY4PR03CA0086.outlook.office365.com (2603:10b6:910:4d::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.345.14 via Frontend Transport; Fri, 22 Dec 2017 06:28:54 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC016.mail.protection.outlook.com (10.1.15.61) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.302.6 via Frontend Transport; Fri, 22 Dec 2017 06:28:39 +0000 Received: from uefi-OptiPlex-790.ap.freescale.net (uefi-OptiPlex-790.ap.freescale.net [10.232.132.78]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBM6ScAO029665; Thu, 21 Dec 2017 23:28:51 -0700 From: Meenakshi Aggarwal To: , , , Date: Fri, 22 Dec 2017 17:46:44 +0530 Message-ID: <1513945005-30002-4-git-send-email-meenakshi.aggarwal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1513945005-30002-1-git-send-email-meenakshi.aggarwal@nxp.com> References: <1513945005-30002-1-git-send-email-meenakshi.aggarwal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131583977199561776; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(39380400002)(376002)(39860400002)(346002)(396003)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(2201001)(4326008)(76176011)(105606002)(53936002)(498600001)(85426001)(51416003)(5660300001)(106466001)(2906002)(68736007)(81166006)(59450400001)(81156014)(15188155005)(8676002)(8936002)(356003)(50226002)(305945005)(16799955002)(53376002)(6666003)(575784001)(54906003)(97736004)(86362001)(36756003)(50466002)(104016004)(316002)(8656006)(2950100002)(77096006)(47776003)(966005)(48376002)(6306002)(16586007)(110136005)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2699; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC016; 1:WSkh9T9LKWrow01NePN4Ht3qdy1P72zKY9azgqwl4hVU27IEwvz+UM1IikASBgPZKHyHMZ7jx/qE31pNYtpLZAqu+Zw+Zrxh+qT4WOVsout27vC695p24xkv4gLdHCNj MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bb1bee5f-0f01-4c0b-ec30-08d549053d93 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4628075)(201703131517081)(2017052603307); SRVR:DM5PR03MB2699; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2699; 3:4RKpbM/E4SWhxhzsxtYjtjbwp/ZnfR27znC6Uaq+VyfEcgODOTRg5fFwtUwp7iu1kigjG4eAStVXuNR1aX+zzE3OGDvdEpLcgfDiljIR+C6MYGdMVwTZy2RmVLFa3mSQkSRIvFBgxCefzb+VvCuTRDAiNTmoZZAQe+2euSv5KmcMm5Z4Dl7yBzspHQ99lL+JLMDEngTAIIX+5hA+xgLM0v9mDGlQSVqnAmopt+jECMEKz16Gfpq9/9EstcJIuTO5E+AwpG+TzP5PIGVmGxKfCm6QTWRFukthCopoSLdKGdvd/EpcsVPwGWPEqq0H+YUZwwzpQQS32OJZQRNMQn6abBNL8qQI7xoxkEC8dlDueiE=; 25:7NTb+TLDlmE4mjf9D+qHFr6aBVy2XlL7g40rI7yoQIZwe1O2Qsv9T9cQY171K3RkP0NG9ygTxKQAhJEqmBybtPjwKxqDdRFS0lNdwmZITjVpFvlPmawWgc4RBPjMDhBrrrF0E6Wz1+NxhxhD1WbcQzFXxL4exkNJ7XBQjUXvC70duFYOr7IUpkqpY+rpWGCxVBHcfELOs7oYFan9UKJpP8giE3kgwcsxuuq/XoocEDP9cLHD1W+ZZb7IuPmsLO7LSFnxoTga5e/t/CSs66/YXsa8uLrpQrusYfg5SXKJ1AS7PiFBVqkTaXGCblrHcm8naeJwUQdWX8cPcoAy98BnHA== X-MS-TrafficTypeDiagnostic: DM5PR03MB2699: X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2699; 31:nZAfvJEJqaAJqHD+lQvzvNkGRa7bt3YRfIl94fbZJxmmkmXIsaUdTsS7vugX++A+lqv19HZY2UW85FwzYrxoioA7IO1nZVnnQxw8VWPFUUdeiYievsG2qujPTAeq/N865ha+YPbNX/7gxKqxu3OFnfFYfgRlbX4bBPhWK8lCpEqF6LhKyuBxygIAapzNuz8gmH3af9JJmLNs0n9tY1U6qE8YaK6b0dnRM/CeOznOaTk=; 4:ch55FK/saWwOrlu7QZvaSJ0LIJyBT+FKeQGeV9wpLhEe+/Y7lRpRoZPhSxq+iISAckuP9psAhTFbBDCdDevBOEwtxc2/+CH3U9IZFd5ug5YN+lxGMC8NQGKq67HSjG3+/3Ut5VwBgUW89lc1nhqXLFIIwd10sOh4qGeWgLrKNs3DgofIFOX40dK5D8Xh/A5ml1s5U7PcmfKSm4lPR7FcL70381RPn+CorN2jdfUik5+9yGeOFRlH074BUWXHjdnhDq5OUEoT5d8NUhh+3eO4ryFoVsvCQk8QZhQZvZJfVJIqsAsBDeMymEa/Ujvl2euF X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(3231023)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123559100)(20161123565025)(20161123563025)(20161123556025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(201708071742011); SRVR:DM5PR03MB2699; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:DM5PR03MB2699; X-Forefront-PRVS: 05299D545B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB2699; 23:BKLmOEnjPIBIBr93Umk66HEncKla4Gl3DfMXKPmkH?= =?us-ascii?Q?msKxm3HKKNBx//8pJTbuy+vyetmBGUcr25Gl/DPRS3kTiU7bu256FU0nMnrU?= =?us-ascii?Q?0EZs7LKaPvIidc1qG6qG28hKLKS4f4pSel+kgt1rOCEMuyX/VhaG14noCLDp?= =?us-ascii?Q?tpENozD9GX/9uDwoJaXpJPI84HW17IPos9VNs0L7TE6QtVlS1ojd6udZHrii?= =?us-ascii?Q?NV4epthy1hbAQTYrQKY4dnnJhy36ON7WPKdsdo8gVl6we40H59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+ya7arK5R7ghvTbT4vang+f41cS3wC9JzZ6BNj7WnGYbe SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2017 06:28:39.7689 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bb1bee5f-0f01-4c0b-ec30-08d549053d93 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2699 Subject: [PATCH edk2-platforms 3/3] SATA : Added SATA controller initialization driver. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2017 06:24:06 -0000 Content-Type: text/plain Add driver to initialize SATA controller and apply any platform specific errata. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Meenakshi Aggarwal --- Platform/NXP/Drivers/SataInitDxe/SataInit.c | 122 +++++++++++++++++++++++ Platform/NXP/Drivers/SataInitDxe/SataInit.h | 32 ++++++ Platform/NXP/Drivers/SataInitDxe/SataInitDxe.inf | 43 ++++++++ Platform/NXP/NxpQoriqLs.dec | 5 + Platform/NXP/NxpQoriqLs.dsc | 6 ++ 5 files changed, 208 insertions(+) create mode 100644 Platform/NXP/Drivers/SataInitDxe/SataInit.c create mode 100644 Platform/NXP/Drivers/SataInitDxe/SataInit.h create mode 100644 Platform/NXP/Drivers/SataInitDxe/SataInitDxe.inf diff --git a/Platform/NXP/Drivers/SataInitDxe/SataInit.c b/Platform/NXP/Drivers/SataInitDxe/SataInit.c new file mode 100644 index 0000000..4bda242 --- /dev/null +++ b/Platform/NXP/Drivers/SataInitDxe/SataInit.c @@ -0,0 +1,122 @@ +/** @file + This driver module performs initialization of SATA controller + + Copyright 2017 NXP + + This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + + **/ + +#include +#include +#include +#include + +#include "SataInit.h" + +/** + Write AHCI Operation register. + + @param PciIo The PCI IO protocol instance. + @param Offset The operation register offset. + @param Data The data used to write down. + +**/ +VOID +EFIAPI +AhciWriteReg ( + IN EFI_PCI_IO_PROTOCOL *PciIo, + IN UINT32 Offset, + IN UINT32 Data + ) +{ + ASSERT (PciIo != NULL); + + PciIo->Mem.Write ( + PciIo, + EfiPciIoWidthUint32, + AHCI_BAR_INDEX, + (UINT64) Offset, + 1, + &Data + ); + + return; +} + +/** + The Entry Point of module. It follows the standard UEFI driver model. + + @param[in] ImageHandle The firmware allocated handle for the EFI image. + @param[in] SystemTable A pointer to the EFI System Table. + + @retval EFI_SUCCESS The entry point is executed successfully. + @retval other Some error occurs when executing this entry point. + +**/ +EFI_STATUS +EFIAPI +InitializeSataController ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) +{ + EFI_STATUS Status; + EFI_PCI_IO_PROTOCOL *PciIo; + + // + // Impact : The SATA controller does not detect some hard drives reliably with + // the default SerDes register setting. + // Workaround : write value 0x80104e20 to 0x1eb1300 (serdes 2) + // + if (PcdGetBool (PcdSataErratumA010554)) { + BeMmioWrite32 ((UINTN)SERDES2_SATA_ERRATA, 0x80104e20); + } + + // + // Impact : Device may see false CRC errors causing unreliable SATA operation. + // Workaround : write 0x80000000 to the address 0x20140520 (dcsr). + // + if (PcdGetBool (PcdSataErratumA010635)) { + BeMmioWrite32 ((UINTN)DCSR_SATA_ERRATA, 0x80000000); + } + + // + // Locate PCI I/O Protocol + // + Status = gBS->LocateProtocol (&gEfiPciIoProtocolGuid, NULL, (VOID **)&PciIo); + + if (EFI_ERROR (Status)) { + DEBUG ((DEBUG_ERROR, "Sata controller is not able to find PCI Emulation 0x%x\n", + Status)); + return Status; + } + + // + // configuring Physical Control Layer parameters for Port 0 + // + AhciWriteReg (PciIo, SATA_PPCFG, PORT_PHYSICAL); + + // + // This register controls the configuration of the + // Transport Layer for Port 0 + // Errata Description : The default Rx watermark value may be insufficient for some + // hard drives and result in a false CRC or internal errors. + // Workaround: Change PTC[RXWM] field at offset 0xC8 to 0x29. Do not change + // the other reserved fields of the register. + // + + if (PcdGetBool (PcdSataErratumA009185)) { + AhciWriteReg (PciIo, SATA_PTC, PORT_RXWM); + } else { + AhciWriteReg (PciIo, SATA_PTC, PORT_TRANSPORT); + } + + return Status; +} diff --git a/Platform/NXP/Drivers/SataInitDxe/SataInit.h b/Platform/NXP/Drivers/SataInitDxe/SataInit.h new file mode 100644 index 0000000..401173d --- /dev/null +++ b/Platform/NXP/Drivers/SataInitDxe/SataInit.h @@ -0,0 +1,32 @@ +/** @file + Header file for Sata Controller initialization driver. + + Copyright 2017 NXP + + This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + + **/ + +#ifndef _SATA_INIT_H_ +#define _SATA_INIT_H_ + + +#define AHCI_BAR_INDEX 0x05 + +#define SATA_PPCFG 0xA8 +#define SATA_PTC 0xC8 + +#define PORT_PHYSICAL 0xA003FFFE +#define PORT_TRANSPORT 0x08000025 +#define PORT_RXWM 0x08000029 + +#define DCSR_SATA_ERRATA 0x20140520 +#define SERDES2_SATA_ERRATA 0x01eb1300 + +#endif diff --git a/Platform/NXP/Drivers/SataInitDxe/SataInitDxe.inf b/Platform/NXP/Drivers/SataInitDxe/SataInitDxe.inf new file mode 100644 index 0000000..d06480f --- /dev/null +++ b/Platform/NXP/Drivers/SataInitDxe/SataInitDxe.inf @@ -0,0 +1,43 @@ +## @file +# Component description file for the Sata Controller initialization driver +# +# Copyright 2017 NXP +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +## + +[Defines] + INF_VERSION = 0x0001000A + BASE_NAME = SataInit + FILE_GUID = 021722D8-522B-4079-852A-FE44C2C13F49 + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = InitializeSataController + +[Sources] + SataInit.c + +[Packages] + MdePkg/MdePkg.dec + Platform/NXP/NxpQoriqLs.dec + +[LibraryClasses] + BeIoLib + DebugLib + UefiBootServicesTableLib + UefiDriverEntryPoint + +[FixedPcd] + gNxpQoriqLsTokenSpaceGuid.PcdSataErratumA009185 + gNxpQoriqLsTokenSpaceGuid.PcdSataErratumA010554 + gNxpQoriqLsTokenSpaceGuid.PcdSataErratumA010635 + +[Protocols] + gEfiPciIoProtocolGuid diff --git a/Platform/NXP/NxpQoriqLs.dec b/Platform/NXP/NxpQoriqLs.dec index f43ccf0..bf4a086 100644 --- a/Platform/NXP/NxpQoriqLs.dec +++ b/Platform/NXP/NxpQoriqLs.dec @@ -82,6 +82,8 @@ gNxpQoriqLsTokenSpaceGuid.PcdCcsrBaseAddr|0x01000000|UINT64|0x0000012D gNxpQoriqLsTokenSpaceGuid.PcdCcsrSize|0x0F000000|UINT64|0x0000012E gNxpQoriqLsTokenSpaceGuid.PcdDramMemSize|0x0|UINT64|0x0000012F + gNxpQoriqLsTokenSpaceGuid.PcdDcsrBaseAddr|0x0|UINT64|0x00000130 + gNxpQoriqLsTokenSpaceGuid.PcdDcsrSize|0x0|UINT64|0x00000131 # # DSPI Pcds @@ -155,6 +157,9 @@ gNxpQoriqLsTokenSpaceGuid.PcdErratumA008514|FALSE|BOOLEAN|0x00000275 gNxpQoriqLsTokenSpaceGuid.PcdErratumA008336|FALSE|BOOLEAN|0x00000276 gNxpQoriqLsTokenSpaceGuid.PcdSataErratumA009185|FALSE|BOOLEAN|0x00000277 + gNxpQoriqLsTokenSpaceGuid.PcdSataErratumA010554|FALSE|BOOLEAN|0x00000278 + gNxpQoriqLsTokenSpaceGuid.PcdSataErratumA010635|FALSE|BOOLEAN|0x00000279 + gNxpQoriqLsTokenSpaceGuid.PcdSataErratumA008402|FALSE|BOOLEAN|0x0000027A # # Test PCDs diff --git a/Platform/NXP/NxpQoriqLs.dsc b/Platform/NXP/NxpQoriqLs.dsc index 9b450fa..6efa2a4 100644 --- a/Platform/NXP/NxpQoriqLs.dsc +++ b/Platform/NXP/NxpQoriqLs.dsc @@ -334,6 +334,12 @@ } # + # ATA Driver + # + MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf + MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf + + # # Architectural Protocols # ArmPkg/Drivers/CpuDxe/CpuDxe.inf -- 1.9.1