From patchwork Wed Oct 11 10:15:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115535 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574341qgn; Wed, 11 Oct 2017 03:16:05 -0700 (PDT) X-Received: by 10.98.158.202 with SMTP id f71mr398779pfk.175.1507716965535; Wed, 11 Oct 2017 03:16:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716965; cv=none; d=google.com; s=arc-20160816; b=sy/Hj5vMgIIk38mTTlIxTz68nH1GB8Jtf171jOMHujK+rjzYNNzr1t6p9SbjG+s35K MAOBEue245eBmB/MSdCCrwZoxuJciG3gAGh1EwjH6AcZTI2olahkPXAatm2wKdpd9TMm k3oGRvWuT4sxkgHuVDsZGKvSG4zyWGnT1tYMFmR4jsyKvYPfZTIzgBmG6wlROJacnh9Z C/0xqz9ml0ySmyYirzp2Q28GYiBHJW2XS6RoGcLCTyZP3wtFMguGaT2KH2x214yjYUEw wa7fhF+W8gtVJWEXBs3kF7/nV3A62HL40CdH2gtI+sVfZbIQTKe6JQ1a1gSor9IYPRO1 iH4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=RsL87CTB6sovNHhNbfKU1g+bwY9e64Z09MLF/JcBHiI=; b=JhF61w8vMJG5q1mn/7xdVriBNOWZ5hdghOQo5FkL3SlNlkFlj+PnzbhwmH9xXJ69QF ETf0xpZvRFgCBcopTq+lm7zkjuLs2ws/isl/xydvdFhdqL8Thx/MEYWQQ/gO0fSSbAnT +UR5AHbk7JAnjnLkLJ3lWVKRdtpO6H/BB0GLCeU2jbpagydV7Jcxr4KQcEfDbO12WFnS vsSx2V4PbjJQZMpSqUMQl1tAdceSb8mgA23yQNvGHgW7Ak4Gh9zjtcvbLRFEBkNanpo0 P549Gh+gb8nrDTgaCNfsZyZIgS0/4eVMxcfHXLGy8fhu+Kt6SeJ34LZxXmXbeMonN6OF BVgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=XcRnYAD6; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id f17si6225397pgn.596.2017.10.11.03.16.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=XcRnYAD6; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 242C721F3C190; Wed, 11 Oct 2017 03:12:34 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::22c; helo=mail-lf0-x22c.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 17FDC21F3C18B for ; Wed, 11 Oct 2017 03:12:32 -0700 (PDT) Received: by mail-lf0-x22c.google.com with SMTP id g70so1494982lfl.3 for ; Wed, 11 Oct 2017 03:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dDbcHj9oSEcsWj6JvTpjYMEqhFOEBf+iGfpOKk8RSzo=; b=XcRnYAD6nHExswqVvSsiCYT526DV7B5czpCOO3T1ZUPHS1gcF9lqle3qrGNdgcqnUo fqlVzM/hHuzeYvmfJHKLPjt4OFBDylUM+QAgvYC/4puv1Yu34XMbsGVAHwvH3cvMlhYS qwdk0i9Pe6p2pVlUtIONP0QIFyozQwGgaz/ZnHs/VtMySgHCle7hZerwx9RD8jRF5Jyc 5bUZRVDjsdR0NhjdkGUiC6WW1+gr/k6xG5Mlah6gayTAPmoPgegLqG63boOzDGoEKL0n n/M2aifkBzSE4aZVBvwf2kR4CvpR5/SoyhWPJbte8bWLvi9OM/cyzsCIWZ4mMiqKWhdr bVPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dDbcHj9oSEcsWj6JvTpjYMEqhFOEBf+iGfpOKk8RSzo=; b=SnY7uolArvrY3mAHpfhMwGpuB0lABbL8gNIlB2X5He3cmBqMe+zcKIr0tftvsuyBjM tkuQOg8hPrK8mS6J23UoZaAi3sM6Vdwzg1LB/LsC0CZHybLSJVMBKmoaLXZmMpblyYOS RQmCDcTvL1pPk7beEHZyevHxRQefVxp+MBUCnbN5RTG35xa0IXhrb5o+iSCynEmclIVw 9ML1hBNp/4BG1ryJTk6psfwQU41up53V/LrnMSjaB8naaGTjc+9P1YeoClSTNc1f+muK o5goFa46CiWrUS4s0y3s+oJJmyY3XlznX3lC4CTPbXjsDWxTYUF9ShedFAOBnKcTYhrx uTlQ== X-Gm-Message-State: AMCzsaW5G72qzj+0GnedgSMCGrvW+Uf5sHPc/wIkcOjinS9rA04P6Q4m VBJUwGde6n/7/qIq4BvTRs4Q5++11v8= X-Google-Smtp-Source: AOwi7QA1hnXD9jEnjUnGBu+FNnCqxCIYoDJH41LkTwxvjtD7n3BRhPSL0WYZMGhtYAViyQcP8GQUPA== X-Received: by 10.25.228.1 with SMTP id b1mr5995978lfh.23.1507716960239; Wed, 11 Oct 2017 03:16:00 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.15.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:15:59 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:29 +0200 Message-Id: <1507716939-31798-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 02/12] Marvell/Armada: Switch to dynamic PCDs X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel For full functionality, including HII forms wired to non-volatile UEFI variables, we need dynamic PCDs as well. So let's enable those. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Armada.dsc.inc | 10 +++++++--- Platform/Marvell/Armada/Armada70x0.fdf | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Armada/Armada.dsc.inc index 417bb0c..433892e 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -67,8 +67,7 @@ UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf - # Assume everything is fixed at build. do not use runtime PCD feature - PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf @@ -150,6 +149,7 @@ PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [LibraryClasses.common.SEC, LibraryClasses.common.PEIM] MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf @@ -368,10 +368,14 @@ # DXE MdeModulePkg/Core/Dxe/DxeMain.inf { - PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf } + MdeModulePkg/Universal/PCD/Dxe/Pcd.inf { + + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + } + # Architectural Protocols DXE ArmPkg/Drivers/CpuDxe/CpuDxe.inf ArmPkg/Drivers/ArmGic/ArmGicDxe.inf diff --git a/Platform/Marvell/Armada/Armada70x0.fdf b/Platform/Marvell/Armada/Armada70x0.fdf index 763d76a..b3d1c60 100644 --- a/Platform/Marvell/Armada/Armada70x0.fdf +++ b/Platform/Marvell/Armada/Armada70x0.fdf @@ -95,6 +95,7 @@ FvNameGuid = 5eda4200-2c5f-43cb-9da3-0baf74b1b30c INF Platform/Marvell/Armada/Drivers/PlatInitDxe/PlatInitDxe.inf # PI DXE Drivers producing Architectural Protocols (EFI Services) + INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf From patchwork Wed Oct 11 10:15:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115536 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574375qgn; Wed, 11 Oct 2017 03:16:08 -0700 (PDT) X-Received: by 10.84.217.206 with SMTP id d14mr14691394plj.62.1507716968277; Wed, 11 Oct 2017 03:16:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716968; cv=none; d=google.com; s=arc-20160816; b=YanUiWQ9RnOEiTd0wEzidE2ah7/zPWJj8LVpd2k0n+EN68kJ5l4Bb2k8CrdFiw1m8C yVkKsA3A7RnO+aLB1dDkKeemyja5Hvuvo2hY3u5JTeGspBO3aGDSeXGu7fzoZUm1bGfF edkVLJXf8XiNaG0/6oMrizn0wQMj/w5+QKM05vBgm2MZJNTcjyFdkkL+JoXn2oW5lX3M CfjMj3kQg8YWfLyIw3MlsNMm/FIdCDjcdutHn0HIPlGD2poEEu0M/xtTGGVB/I5D4Jeq F1yOuOYVBXKBtlgeeRlnctZBjhltm8/963Se38ns578j3CUO/iVcz3uPR2zTUqPyjqOT dXbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=QIsREHWoH4k2yXcwZbIXuDSNdSMaQ4AH+BEpTWZHSxI=; b=oSHDxBNuohsv/i7pV8i5lgZ4x5vleqnnCamimvgvAL6+C6rp95nrsWZZ/tCuUSbNMw 8Gw2sxZsvScN93nfRHlMkdhKuIKCZN90LqNrlgrmKfAvG8mj+SRDKYjcA70yc9iRcUAo IJQADk50b3fX7ZgWDfLqthhX4a08i4XgOqm73DI7kEiCkj5p8UPkdyrhNBqpFKYT7RsL Xrj9PwVIQ+Mi+ckqfKaV0Kwh56FlpI4EBwMm4DXdEefTNPB5kiHgObVxp3Y9g50ilC8L L7MnwhXfU3lEsLXckEMzSl5VDw5mWcNtZ7bFmB5ZoTognWzCHx5qAN4tq7Be+palDj0k 3kWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=mAWd+FG7; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id j64si2230518pfe.155.2017.10.11.03.16.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=mAWd+FG7; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 5DB1021FC7475; Wed, 11 Oct 2017 03:12:36 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::236; helo=mail-lf0-x236.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2B74A21EA15D8 for ; Wed, 11 Oct 2017 03:12:35 -0700 (PDT) Received: by mail-lf0-x236.google.com with SMTP id a16so1499884lfk.0 for ; Wed, 11 Oct 2017 03:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4kB0WtZ99414zik4Tx61FAcKtHMMNOTx33aTZ2ghG5s=; b=mAWd+FG7Z/Wu4ZNG+g3+Xu9/pDzqHl16tbQF7gDPJx/tfLjtDnlZTmsuvFgjSV5Kle wLRPQELdc71+oOudaXyDomhuP8k3A3Hu7ATBXUyY3bpBVGR8LmNl9n3jnYKC30tOIb8h u7KrdwVhvsn0WDsEl5jb39gfCio5IPPos+MGfuFK+hfo7pFB2+YC8kU/oOxswIClhUFm Bd0RuaUdl5gjjXOkhE9s4pmJhhfeksSDrNRQqYDuh22fzBLcILkAjLlIjEEbVCEpibSn wL1UzWXY1fL2GZ+9+ffWCrsRfbtoKvkd6amjd1E2vndxcRP8hj2Tva1NvGZoBINtbIlw m4eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4kB0WtZ99414zik4Tx61FAcKtHMMNOTx33aTZ2ghG5s=; b=i/9m6osgObJ6Gv2UYKKLqM4qIGVgoyWiSBdsXXuLzOajAKvK9B8U4PzMF1gwOzJFdj ClYSnJZJROT272OVICDzZaIleX/qO0yhOT3gbeUzlE2yVtZ4UyYy6BUl+Psm8QykXDXK DXF6bxw5gdbYI6e+zvXNJj5KrUGB3ga7UwsfOH9qKzaXJEdEIuquxUBFhegQZHVdINVp gDgjixcyKFSskiFuORokaFWcZEI5Cam2mQ9VmHgqi3idoM5uAzOh6tJhgOCFw1r/wZlO wEjvY/XDFOk5jMOp65v9BKgdzFc/4exzB3uvAnLZxQIIM9+d/P6SJtkygZYdnvpN7xbx CgKQ== X-Gm-Message-State: AMCzsaVvb2zcmTF2n1DW0tssBX8kN0kVn9w7yq5ehlbxYybxztrE4tvJ Vy6tYuTErc//KDH6SmcoscheAxbfNfI= X-Google-Smtp-Source: AOwi7QBA/8zAFXVigvHCnJ8ktLO/T6DM9GqZSsh3ZHkzoQoTkOhoKCogl3FLa/yBqbUB38ePohA/hA== X-Received: by 10.25.77.75 with SMTP id a72mr5784686lfb.262.1507716962558; Wed, 11 Oct 2017 03:16:02 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.16.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:16:01 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:30 +0200 Message-Id: <1507716939-31798-4-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 03/12] Marvell/Armada: Armada70x0Lib: Terminate call stack list at entry X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel To avoid dereferencing junk when walking the call stack in exception handlers (which may prevent us from getting a full backtrace), set the frame pointer to 0x0 when first entering UEFI. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Library/Armada70x0Lib/AArch64/ArmPlatformHelper.S | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Marvell/Armada/Library/Armada70x0Lib/AArch64/ArmPlatformHelper.S b/Platform/Marvell/Armada/Library/Armada70x0Lib/AArch64/ArmPlatformHelper.S index 9265636..72f8cfc 100644 --- a/Platform/Marvell/Armada/Library/Armada70x0Lib/AArch64/ArmPlatformHelper.S +++ b/Platform/Marvell/Armada/Library/Armada70x0Lib/AArch64/ArmPlatformHelper.S @@ -16,6 +16,7 @@ #include ASM_FUNC(ArmPlatformPeiBootAction) + mov x29, xzr ret //UINTN From patchwork Wed Oct 11 10:15:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115537 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574420qgn; Wed, 11 Oct 2017 03:16:11 -0700 (PDT) X-Received: by 10.98.54.194 with SMTP id d185mr16525024pfa.70.1507716971619; Wed, 11 Oct 2017 03:16:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716971; cv=none; d=google.com; s=arc-20160816; b=RNzhHVPwwq9221CP5JyXF5J0yfhswStqHECIho0rZe/1Ig4DgWBgylOWBhaESsbl2/ 1jFzpxugMgAqkxFOsbBl92AMgeEfDnEeENvd6Mm9aZXJLAh4/PueIQJmiDHUQ3y7RzoR 5FebbMXVj5xF87NZy6ORc8T9n9BSfVObAKjPVd8Ckjq987C9ymz0cpWtxzL8R/8nww52 nMLGdwufUsHpUecphJWKHYIj80OWIBMgO8g9lgQd19sVsu7nbw3sDFQ7HvP1MOvMCRGe ojntNBmdjInL6XWRX6wFRnnAnzjI8WNPkcB95sGVLCQ+rEPYGEIyYPJQTM9BRfpTHpGh 8h+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=RqW7bcxFhOaJ2wBzjtbtywiayQ+5VfamPg5srDtqYLQ=; b=Z/Zv9gFIszSuyvEvaPV9lB/RXaSj/Csjtp20pBRoXm1osNEwajPYi7vuzUUyBptQ9O V51w2EcPb0pQb039xYje3gdo4/JIpUuZS6c1QxINSzQ/IO0BEaiy0IJip9KPAj+ejVQg 2NXI3pXd8GlXdnpMoLY9fEIPph/00p68ITW77uKPq0ACBABif3OhmdWMoXke9iKS1na8 Lng6ncMv6N/cFgL4I8flq5aHoICHfpjiR+n/pAt8NbMaP8UEOeOIet9bn8MZYaRWt3Zr jLL3IQqKPO7Nc6Ku1/q6b804QVuRssWQ0B5M424zJd6uHseDysT3klqIqNzZHGBvk0OS PSBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=xsHNMkeT; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id e9si9973071pgn.786.2017.10.11.03.16.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=xsHNMkeT; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 99AE721FC7487; Wed, 11 Oct 2017 03:12:38 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::22e; helo=mail-lf0-x22e.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 803EF21EA15DA for ; Wed, 11 Oct 2017 03:12:36 -0700 (PDT) Received: by mail-lf0-x22e.google.com with SMTP id c82so1485827lfc.6 for ; Wed, 11 Oct 2017 03:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9ZrWZyQ5ZafqO4LV0B47zKmpbv4zRwnmPrs2dc1FoKE=; b=xsHNMkeT4bxUaOrAgehZi57XBvwJ8Z7sp0DTeyQHrqRuWygShIlzHLyws05c6mF4sM pabuWyr5g0nibhSyVbfJTefl2Em6gqFxTbjctsfb5LMj4JkGKQiMdkTS8WSeO/6SV698 woXL40a9eDc0p2Wmy0kUv8i/Yt9+5BCToIds8kA+bdmvbdtIE4H5JC2IYfMbk5/JWMl8 f3YgMT/yTss0yRydyhlCPDg+z6HyhKt9yAQX1ZNVa6aTeBPzpTtMtMbr9vuGWr8QyRnF F0RNHR6Y71KkzdCCysKZQpis2qgFXPlwW79ktpPmMq+rAYkvOF2jHQwqBEW1nzH3SaaJ Rajg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9ZrWZyQ5ZafqO4LV0B47zKmpbv4zRwnmPrs2dc1FoKE=; b=R1cBF14dwNT+J9qqOckCLVZrD9wuolseM2fPBDjN8nXu8LiP8hZGWzT8xmIskMWg6T XacDKuNjm40aoKZC0VckV1FMckkzsOYr50NnBAdHF0ZhPA7ruWNOaAGdy2e2/m72rgB8 o8kk/DTtGnIVsI1JbbEB9fy0PQEv1wsFYEOTxUaCPTj5162kbfhH0zR1Tsc1m1btR9VM b45EUMhcECMXK6PM4uvI6EplGc5Q66EWUtstCuIDSU6+KJtBNZ04GFB19itJifnE5RVL 7eK+vxwKy4GCnlVWSum7lF6kqEV87J2K3h7o4SBbVYwFcQmDpig/0hcvLCADK6cWxow1 hZ4g== X-Gm-Message-State: AMCzsaX3smg0mUKGvGtnbKNDkxDC36xN0MCMeqV/MhVBKnpgwzXAGwr3 PxAgz8PPGNbA0JY+NuTDEVby6VTOkNA= X-Google-Smtp-Source: AOwi7QDgn/HGCnLtu6zSlaTJR+drDGblvqPXWli/IdndJ5CSu4/rhTmBL7nom9KCXYSVy92CCfIaCQ== X-Received: by 10.25.80.68 with SMTP id z4mr5859102lfj.112.1507716963851; Wed, 11 Oct 2017 03:16:03 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.16.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:16:03 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:31 +0200 Message-Id: <1507716939-31798-5-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 04/12] Marvell/Armada: Use 4k/64k aligned sections for DXE/DXE-rt modules X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel Enable strict memory protection at boot time and under the OS, by using 4 KB section alignment for DXE_DRIVER, UEFI_DRIVER and UEFI_APPLICATION modules, and 64 KB alignment for DXE_RUNTIME_DRIVER modules. Note that the latter is mandated by the UEFI spec. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Armada.dsc.inc | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Armada/Armada.dsc.inc index 433892e..1b4e713 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -486,6 +486,12 @@ gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000 } +[BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION] + GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 + +[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] + GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x10000 + ################################################################################ # # Defines - platform description macros From patchwork Wed Oct 11 10:15:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115538 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574454qgn; Wed, 11 Oct 2017 03:16:14 -0700 (PDT) X-Received: by 10.159.195.67 with SMTP id z3mr14779904pln.9.1507716974839; Wed, 11 Oct 2017 03:16:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716974; cv=none; d=google.com; s=arc-20160816; b=Uo7wRDpl6z9lvTOWWRBdXABq653d8m3Ws0IZ46K5//zQV5ypaNX6Ecb728upnVAtLk oR2uhrLV59RsKuPxhyYCXNMiqmI27aM4g+3iqCd3ldhjpJ8HuMA+TXl+ehfqmSGD71k7 yPUnQAO5/GEnXwptyabFmhAoGDi21FTtTF4fMoWtGjfjMs87gsQMv3MMd1jx9t8NZYDW zxEzM5PsaUDrhW6DEfnZoQwr1AA/pltyaw0ZU4wuf0hWT1wU9iStAD8OH6WIO/nVOb1f xS7mOo4zgkIdlnQ44cPfiV0+yLye0uXbUyNG7SU08keFZliIYOZvHJlPIxPJxRaA4wCS q/OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=eRkM4XbrUuMEouwESCrATev0Jk6VGe0QeNjRxmRHTdo=; b=ZQ2F5KOT2BwhByDGM22vo+rGn+u+tNEi4TO8Xj/JMS9A7fAClUKXNnurGBepH7lcXB 7PSjB+BTyHoQo9Hbpbe7nOYYf6vlvqfYIcVyFbu9kwKZA6Ivw/eJ+adOEB18UcMptYuf Bh8QsLUr6/zRHisFaNUGIWImhboEgWz40629FY5OF13ezuokakVE9sPvFTou7iphTKbW XudTA9+gXt92klsuXbIeXznwo6/62n2F5J0Cg+84AxRQmI8VA6uCz++XnGuzGm32bEEt lF4kvWWYlvNgfHUyxufULW0To+fCrEzEEBa4WSBUX1NGWhBl9dNtGAnFRj0Ay1eYm/Zw jOrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=EbJVVZQz; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id f24si10878091pfk.415.2017.10.11.03.16.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=EbJVVZQz; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id D4D7C21F3C181; Wed, 11 Oct 2017 03:12:39 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::232; helo=mail-lf0-x232.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E5B2A21EA15DA for ; Wed, 11 Oct 2017 03:12:37 -0700 (PDT) Received: by mail-lf0-x232.google.com with SMTP id r129so1488644lff.8 for ; Wed, 11 Oct 2017 03:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ERF9HvlYQnMbUGuFfMQwRjWyGHd1d9LCnLFZMee85d8=; b=EbJVVZQzTcC2oFWixgi9s5MjTvDXR5/r1uBE32/5f+U8dfTH3irVAE5cZsV39NmUur mKAyd/0QEYkM4EIXQI5SKjpCn1OFmJ3v6FbBohCJJkaYUuHByZZqT1zJyYPvG1ObJMjY 942+z4e8m8RLWlcVb7TnWqrScfod1/LQpgLK1DbLpDuTVvamnFldLYRX7XsT62PzeIcM 2oSaRzxK3XwU7wcT33iiCyUXVQnUTrokEKy6h3EHeU1CeYViHMaRR4jZTeeNSPLxsqD+ jnJegcJoQToINMziMpRLrHx+IyzBmsf93PuFyGxtig8D/hF1SYikoOcIQeODf2CIrHIP 0JgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ERF9HvlYQnMbUGuFfMQwRjWyGHd1d9LCnLFZMee85d8=; b=ErlWWqO4lyInqj56snBhm1+O5QjazQwaZwBP0Fa13w1khqKbAJU6n9kb/Tbd18Qjqp QbmZVDxwYQipOsJiiYfvRz8g+fltRXotc1eV8X1qlHI8a1TSwO5H69MCJOIjurpP4OaN hFCn8F0qvRSIVBI/ve7unX/+7ZX1pSCgMoyaC9/KMVLjmV9qOxIX6vDWnf6zhSW8OuZN z799ce/XqQZo+KyBlE6b/44d3fQN+NrcByR1hq8pn9mA8Y9OwdEexB783XL5/WKu/sjR ODX8KuI44OL1BJ1DS+2+5t9QiciuIjtRp324zjRhsJuz+O3mRjKK4qXrAFMDoK0o3yRZ BRAQ== X-Gm-Message-State: AMCzsaWSAD0HWTv2CCBUJTFnRmG3Kujn1eJ82fmBpkr8JpXW6qlDhhtS GtoOkvDrER5qoBHaGeTupUf8oWydws8= X-Google-Smtp-Source: AOwi7QBSdYGalVjHXZ7Z665cg6pxZWw9xOozZWpsv5F5W81otRkX/+EIjT0JqCCujtm1LEKPWnNOww== X-Received: by 10.25.167.85 with SMTP id q82mr2539972lfe.171.1507716965114; Wed, 11 Oct 2017 03:16:05 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.16.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:16:04 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:32 +0200 Message-Id: <1507716939-31798-6-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 05/12] Marvell/Armada: Switch to generic BDS X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel Switch from the Intel BDS to the generic BDS, which is preferred for ARM platforms given that it is completely legacy free. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Armada.dsc.inc | 19 ++++++++++++++++--- Platform/Marvell/Armada/Armada70x0.fdf | 3 ++- 2 files changed, 18 insertions(+), 4 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Armada/Armada.dsc.inc index 1b4e713..e920461 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -126,8 +126,9 @@ # BDS Libraries CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf - GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf - PlatformBdsLib|ArmPlatformPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf + BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf + FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf + PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf @@ -350,6 +351,12 @@ # Shell. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE + # GUID of the generic BDS UiApp + gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 } + + # use the 'TTYTERM' terminal type for optimal compatibility with Linux terminal emulators + gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4 + # ARM Pcds gArmTokenSpaceGuid.PcdSystemMemoryBase|0 gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000 @@ -459,7 +466,13 @@ MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf - IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf + MdeModulePkg/Universal/BdsDxe/BdsDxe.inf + MdeModulePkg/Application/UiApp/UiApp.inf { + + NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf + NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf + NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf + } # UEFI application (Shell Embedded Boot Loader) ShellPkg/Application/Shell/Shell.inf { diff --git a/Platform/Marvell/Armada/Armada70x0.fdf b/Platform/Marvell/Armada/Armada70x0.fdf index b3d1c60..999b968 100644 --- a/Platform/Marvell/Armada/Armada70x0.fdf +++ b/Platform/Marvell/Armada/Armada70x0.fdf @@ -175,7 +175,8 @@ FvNameGuid = 5eda4200-2c5f-43cb-9da3-0baf74b1b30c INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf - INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf + INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf + INF MdeModulePkg/Application/UiApp/UiApp.inf # PEI phase firmware volume From patchwork Wed Oct 11 10:15:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115539 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574497qgn; Wed, 11 Oct 2017 03:16:17 -0700 (PDT) X-Received: by 10.99.143.88 with SMTP id r24mr14790673pgn.224.1507716977819; Wed, 11 Oct 2017 03:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716977; cv=none; d=google.com; s=arc-20160816; b=wYnK9Z7ydtp837gsqW2psVNwk3cl6kQVl3UpDX4VQRnxb6I3ZprTJxx5qMHD5w33ST JDw/njnPXXCwdxBj14On1zpxc0Cv2LuZnIhz6wkTdWuZb046gNUcS8ilXVTYGn/YBXQ4 uHQ6hbMivWaDCiWhzdOVz4kERo0/WUMbKPgVCIZ9s9OpIEzV0z+7jAHkTY6fWBebLFzJ H7WGXHkb5EA+MZDdG8VczMSqSbrEB3uwuKeBLPeHJ3tW1AJ7Kb55auFOzLgJJTPyf+ZN 9X7YuJECs1eW8XE09Nnx7qe+syp+mHdn2F5qa7MF4QOPURBdsTv72Lwyw+bvD+ci4hnA veTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=ONq5yg4R3EFR6KsIW8mg/dNYPUj+w7+NsCoPec86x7o=; b=cY6HZwYA18nuSr8OdJAav1Sds9cvUETCcO9ZSQRU+gfEygDk3SWrcLGllZSpPseDjr KU8UnrwwhLBhvYwH3sAqmZ0FQKjlWhIJfSMP+7blhEa78c/RdCuu9/OLz/VypCB5Tlm2 UUOawS9u+FZGcVGh/oNFMigIzSd4xFMaOJun/24HaiAMoYF/OrjC5SYpH98WAwjW2er6 8l/df+9MTq1b5i0yAseAHw4Xdfq+FRPWhoCbR03/de+95TuS5h0OT8eSdVnlejGgMM6d j85BYtvMkmt7hSSKAjYFe64hILq37MmwxqzEt9ybM2PCQ9QZownY1IESJCOTEBwK7kJZ mVvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=e6rThK2i; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id z187si6419060pgb.341.2017.10.11.03.16.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=e6rThK2i; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 28E6221FCA260; Wed, 11 Oct 2017 03:12:42 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::235; helo=mail-lf0-x235.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 27B2B21FC7499 for ; Wed, 11 Oct 2017 03:12:39 -0700 (PDT) Received: by mail-lf0-x235.google.com with SMTP id c82so1485961lfc.6 for ; Wed, 11 Oct 2017 03:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=m8KAWlp6LUs9N3IPV6VxeR82nLZy7w1MQHPTJtwxjjM=; b=e6rThK2isDoRixk/H1n7SUBQCt1D78zkuk/wRPiStgPj2D7lDNs3BpsXa5TvIEHluG odzPZeActlEVUSURu1TL0He0Cnif9TtjkYVlgrfPOWJIvveFCctMBm5LIelRMUcZNL2t LlhpaLCziB+3wnH8LIYivDcvGHfXZbhbitp+Xftm0MMEzrZcPvVoOTf+NQCpkSXjyR0R 47dsXALrIs7T2zqnkfNW2QEZJNQPJH76fzi4VE307pyxoVM+itmc4lQrJxOlKtsBRTNO dCaHSidnRQ34wRR9JIeRBn4IsFWrjfVwpfC9vnx/2emFNPSxVRcO+Q8JNYU6qoFGoSjH I89Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=m8KAWlp6LUs9N3IPV6VxeR82nLZy7w1MQHPTJtwxjjM=; b=SOMNbCYspl9Bq7hmORQldnkWfoqLwxeYIe/iUWbE+oFwgXh6dK5a2p7/v7OgBG6o5J ldStwzcXGq6pHRAI22ev5q1LHB2KeyI9CDW5oiJEquuQCRO9A7Vqamh6ru32IVm7awxk mlN/RIpzw8qSEBJvsugTH74fC4yvE+qzabFaOT+N9CP/1wSpuYHzryFGoOP89TpW3oQs vznJXeItNcvtetf6xZcP87glck4va+Lb+RZsvvNlOnwunu8sOzB228to54RxtNwlGPQ1 IPvVnns/gp/xEyP5k+sNEHssmB8gLmVfnNPwk4xmc3VP6oSMYoF5b8sGJmhZeYHPUuea RHgA== X-Gm-Message-State: AMCzsaUUfygN0B8c9VopgEO1ciksRi/MSgYNWg0SxtjXt2JvkVr0piey Rf9x0D6n+FHIR2GjZXAzzPEPBNiKd9I= X-Google-Smtp-Source: AOwi7QBlixr5LE+npaumS3BHjlV6O9WoosVtdOb0w3eldRrJWC9OdNIKPqpqHej4p14lZmpiBWgJDw== X-Received: by 10.25.149.131 with SMTP id x125mr5872916lfd.231.1507716966491; Wed, 11 Oct 2017 03:16:06 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.16.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:16:05 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:33 +0200 Message-Id: <1507716939-31798-7-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 06/12] Marvell/Armada: Re-enable driver model diagnostics PCDs X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel For some reason, one of the early ARM platforms disabled all the diagnostics related to the UEFI driver model, resulting in the output of UEFI shell utilities such as 'devices' or 'drivers' to become completely useless. Armada's shared .DSC include file inherited this for no good reason, so let's revert it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Armada.dsc.inc | 4 ---- 1 file changed, 4 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Armada/Armada.dsc.inc index e920461..5071bd5 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -207,10 +207,6 @@ ################################################################################ [PcdsFeatureFlag.common] - gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE - gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE - gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE - gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE # # Control what commands are supported from the UI From patchwork Wed Oct 11 10:15:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115540 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574544qgn; Wed, 11 Oct 2017 03:16:21 -0700 (PDT) X-Received: by 10.84.129.72 with SMTP id 66mr14650978plb.102.1507716980964; Wed, 11 Oct 2017 03:16:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716980; cv=none; d=google.com; s=arc-20160816; b=jxi+GcdgXA8iggPhe/QFRPwXQ1bvamiiRikjGq4alkAAFp/DeZM3VnBPJt9d5fMF7p Y14xKBJdnA9acxmXV3Fa8TEirucexKthn2JSKlGob8wWq2P3/oul/iMHVG1FAYEEZtS8 fOYasbXpZJ97ont0DZIHYM7Ewi6m8bv8boMBbq2kTMh2XRtbDQpwO83b4CihqVJHDTFx RmFw6blOqi9tqJfFQRgR/1JSV5te211uxoxGcWoB8XtvVyIGlxg3wdDKy44h8lH82Jom F1subY0/EPSqtRd9X0WkSXnnMpZkbd4NXKvE9A2+RGm0S0mJJwPIfKpjAKvZcmiGMREc JrRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=ZU1n1+lA9oE+w2pY0+O5rcA+QM//7WLxuPQL4X/713I=; b=b5XqdCl9uOYsTkl2Y6VhJvtg3DICQ24dqwbolJZ7VvfhKVtbY1W1wUA5f2wHg/yFvE jPsefBNW3ynuQClF5v4/qDvsdO1JeZuhsABd2U8Nn4iZooAFoDcwy5ppFe9jIsh5uo5P uxtszsGWfj6/EanPZZfufRe0dZOJrDldcP3hEfdGlEkiYDdb8gHB2W4XU3U8QqqZ9xO+ FZBuBGVL3yvH9xyvOS7HLqEbubO1xKF1mxQM5SwzVgaYTRNSrqj8cp6K64H6ejp4TE9i ruzfc9/QewQyPDZmeU+wvzk1cfdBXO2rKp/yaw40okVGgx2/6qkcBTgzYlnnHWR4Wyr+ pXcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=LcHESo4U; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id o28si6205582pgn.180.2017.10.11.03.16.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=LcHESo4U; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 6A29D21FCA264; Wed, 11 Oct 2017 03:12:42 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::22b; helo=mail-lf0-x22b.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6857E21EA15DA for ; Wed, 11 Oct 2017 03:12:40 -0700 (PDT) Received: by mail-lf0-x22b.google.com with SMTP id n69so1496620lfn.2 for ; Wed, 11 Oct 2017 03:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TtztnqOEA+dqX1b9tOWUSOVeM+ZgsPTKBfHC+zwyRTs=; b=LcHESo4UO02gTdv7/0KXMVloz4s7svt5Oni6UnWluj+Jih7qR2+HfxrSa0gZlWDl+u imB8vHAIF0ZsDu/+/bkuXmEhBey0qLW+AaN6mWUHD9DgTYK7VRwiYmj3RN/jlQdL0wgI Hpzl56SfSgrGjeYY3T7yi96tXj7Cf7NsvztR97oo3FitWJzqTobAKA5PXn++pOqFBkBV L7H73nblpDWKw+CpKU9BI2sZJgVZlWl/Cv0YRfm8V34dW+ozseTTvJOSCWlHbO/Eh1sK YYk91f2Bvt96BQoZlPjq9xACFvSdG5oCS06mK5IyutQKmHvOBPVoxFpGSTpJoUNU+35d 6hfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TtztnqOEA+dqX1b9tOWUSOVeM+ZgsPTKBfHC+zwyRTs=; b=UrOKxpDhKmyszbTXChC32AVlUMFqLRyvEsDbPLePPiLLRFNZq5DEIpRQMwJvnMOTOP yx1WR+zhwpR3Cb2mSIkrUqKvF7oTckUTf1nRvqxjYAFkc/s5xf2iQoNe5AyNb065EF46 Kc2Xztr/trMAxd6YEm4rdxvJKaPPWCtL/5wnA6YwwMLDHl1e2DtPPjeCRcB05SowV1jj coktMvilVu5RU1C87lrgG+3N3lszSTgdt5smHG7cDkqDFs2nCAIL/aXrjgTUVuVfBRW/ OKfKkF5Cx9apIkmU8X7LUuMZWD1M3FhADa5OacAj7si0stEXvWJ8Y19042Wicm6MgZ/U ZyWg== X-Gm-Message-State: AMCzsaVdloD4WCXEL5eh18c/V6VktJnAeBdWpJVB78rCBc4P+1oTCvrQ oHL2EUL01jTg3JpjvowBU3SSSTJEgFg= X-Google-Smtp-Source: AOwi7QBCci67uWsO99V00Gm9Y6nAuWrcvwdszkcWqQetl/yzuunc5v5GZ2AWgMidozx1ZCP30X1zqg== X-Received: by 10.25.145.88 with SMTP id y24mr3045651lfj.5.1507716967738; Wed, 11 Oct 2017 03:16:07 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.16.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:16:07 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:34 +0200 Message-Id: <1507716939-31798-8-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 07/12] Marvell/Armada: Ensure GICC frames adjacency X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel The GIC architecture mandates that the CPU interface, which consists of 2 consecutive 4 KB frames, can be mapped using separate mappings. Since this is problematic on 64 KB pages, the MMU-400 aliases each frame 16 times, and the two consecutive frames can be found at offset 0xf000. Therefore use the last alias from the first series of aliases as the base address, so that the first frame from the second series becomes directly adjacent, whilst remaining covered by a separate 64KB page. This patch is intended to expose correct GICC alias via MADT, once ACPI support is added. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas --- Platform/Marvell/Armada/Armada.dsc.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Armada/Armada.dsc.inc index 5071bd5..bd2336f 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -263,7 +263,14 @@ # ARM Generic Interrupt Controller gArmTokenSpaceGuid.PcdGicDistributorBase|0xF0210000 - gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xF0220000 + + # + # NOTE: the GIC architecture mandates that the CPU interface, which consists + # of 2 consecutive 4 KB frames, can be mapped using separate mappings. + # Since this is problematic on 64 KB pages, the MMU-400 aliases each frame + # 16 times, and the two consecutive frames can be found at offset 0xf000 + # + gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xF022F000 # ARM Architectural Timer Support gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|25000000 From patchwork Wed Oct 11 10:15:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115541 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574601qgn; Wed, 11 Oct 2017 03:16:24 -0700 (PDT) X-Received: by 10.159.235.151 with SMTP id f23mr706482plr.384.1507716983954; Wed, 11 Oct 2017 03:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716983; cv=none; d=google.com; s=arc-20160816; b=EdJBvLJ5jAIa+coBQ0JKBKoQ2hrSOjjiSSbSmKlnbICoz+gTHMrSZuZ39FlPqRbwZB TVG4hoCk15mk2Sm/DUb6Acplf3cKOg7JK+JK6ZGf2vyuMMjV2j0yJUs0MV5BJlHqjAti 6GOdR3BmmgUY0e2qhf5r92tTaXs14GIWxpXTjhHOBZOlF7mpCLKgEtPpRSME8QgldBe0 j+TohYyg6h+ecAH3nOeHbL7Hv54qmb6fRbUl+HFTB9Nbia0QE5fP/CmRxxNtBm1KzAfZ QOmiJqFRzn1v5SJ1ixk4yWxteLOMVMQ+bUZWFSWGyxAPY/+ZaC9NhLRWxAqQWrvW3gPg aX6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Tn8v0GcrrdirxNXJ5KSJGWVhYgraXalvRXhJW92hw34=; b=yq0h3h2qQmnhtB2WO3hhlQst9PXeXy8Gt99FgeamLvxQZ2a3j8f4CVC3DdjJpaM0gq 4/V1Wu1dbMzdsJ1BbqSmYn2UJpw3PaI4sT0KHyPwGduzzn6HK088eKzW9ahdscO8wO0E ZD3aYTQbytVbZRmhNUrYvvQJx1Q0yZvjFibfNsyEYOeqySbkKTVwYXEinfJ6vVFPbfxS 6+oI6MdSMhs3sfc0Z7Gs7Ni+CHab7655j7HfWQYftBhRNcDGW5GAhhsgtgyZUMPeeuyt ZBGtGJz0dFutRim/IVWk2P0m+sfCFMMNFnv2a5GX4lVMys1xFqSuUHBQbGCe0SYagobG xeEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=g5+RRJ+V; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id m12si9424248pln.482.2017.10.11.03.16.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=g5+RRJ+V; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id ADE8D21FCA269; Wed, 11 Oct 2017 03:12:43 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::234; helo=mail-lf0-x234.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C933521FC749B for ; Wed, 11 Oct 2017 03:12:41 -0700 (PDT) Received: by mail-lf0-x234.google.com with SMTP id b190so1483776lfg.9 for ; Wed, 11 Oct 2017 03:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cqOqsdTHi7f2ZH4BL8++104Hl0ZT235eMVz9wpp88c4=; b=g5+RRJ+VEbR/KvY07NMsmXw/iL6m9lBvlA846vMmMzmUQiENz55r8Cd7jef0U1ZWM4 ka5vvvWbetBeQgDS/1SLbtQi+xsrHM7KbdB04xC9ecxjbAWlXR/zu4tioHIK/Den5xUh kmLGfKfRHXJ5nKCkIW4JyrRL9Izh7nf61N9R8ele4Jw1JznQzK9IxfkvSRga/RWq0WtN tc8ZEnA+4RQRGqRv343c3QtBjAsTyxH8rRobzI5NfBS8x0qZs8vJTf8lgtEPJZPVFc1x W5nGw4eNI6R1U87s6/PteUtTn+tguhGUz04t+ft9ufWAIed0+ZUFzKnpRcHnsNcHq1mn vmgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cqOqsdTHi7f2ZH4BL8++104Hl0ZT235eMVz9wpp88c4=; b=ZplrIuYi+Yo4QQL8VlG8hTRMHd+bHguQYeRd6Y9MPdshc0Q4H5AeHIo5dhhyPgl+Lw XbkOIfLjl0nJ3GZXUjNhBxs3oRHCgPMGJ6PRE7/n5f7z8YFNoPX7BSfCUv8ehdlJSD+j G5/1oeIRsIbgbciKNgKYPnGpjk1JfeIOW1RL8OYd3XxRtYtROfHdEOfngvlR65FjpBue 8zerp8mlME2003acC7RHsdDcfmUPQAM+CTiSwwIzCY26N3D4favXoVSw6e2ot+aOS1tA Y/yPEfSmsxQFgOAs8gXk9LcJLMbwi9kpb8fOOlRavjGWDUNuHW6Ja4ScqQomLzX6LnV2 lstw== X-Gm-Message-State: AMCzsaXbGx3TQxm3K6C6QEWUBPXVarVx6kP+2xtr9hEIkpIjT1CgRqc0 PwRhFiEpid394HXrFDbe5JjjWqL4VDw= X-Google-Smtp-Source: AOwi7QBPvVgjdKClSOxFTaixbq0bY5hvl4QdxzKmYZmeC5ge7sTS2t7/VBlDpoYC2zc2oPnqEZbvUw== X-Received: by 10.25.156.66 with SMTP id f63mr5985798lfe.194.1507716969155; Wed, 11 Oct 2017 03:16:09 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.16.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:16:08 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:35 +0200 Message-Id: <1507716939-31798-9-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 08/12] Marvell/Armada: Disable PerformanceLibrary X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel Remove the gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask setting so it reverts to its default of 0, and disables performance profiling. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Armada.dsc.inc | 1 - 1 file changed, 1 deletion(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Armada/Armada.dsc.inc index bd2336f..b718c60 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -251,7 +251,6 @@ gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF - gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1 From patchwork Wed Oct 11 10:15:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115542 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574636qgn; Wed, 11 Oct 2017 03:16:27 -0700 (PDT) X-Received: by 10.98.152.74 with SMTP id q71mr15859548pfd.291.1507716987028; Wed, 11 Oct 2017 03:16:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716987; cv=none; d=google.com; s=arc-20160816; b=n+4S+UdbICiYMuDpySDfV+NUw7zmSDx2IT0i7JpT9oymh4Jozx69ib9VRhbnViiWaY 1l3Qqrf9D/vS1PrraCzA8AFiX33uVG7qXra9VMriapcEn1KzFVYuE/HAa2ATLojo/gKt YyhXwK75NSdTW/2QSfm9wBmDKY8R+cnGekrZXZq9YJfYTcQqn03i9HBhXh0yqUSq1pfN zUYn3x9rvrkH9xUuhFA/oOav3DldNTe4Up+ne/enchgTYH4LwSHiGAAcIGoC9T/a1s0y f5qz1T03jgwRAWBNoCQFHIvz6o8S/JMminjF0T8MQNfrC/YmYVdrLC+mlp+Fg7rmyfAD wgfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=OksYRECPrzWOIiWs/3uPWl00HrnnjChtw17UHiYEE9M=; b=NPOSQvKjUqMW6nEToXGByzbpVGXVRJvNKYaZ7FyZ+MfYuRBA9YnUHwtnYPu/ND9kqK AQFVk3be+1ZDUh1eb8Gdz23qOdJQ/LfX6/H831e1t/KqIH59SCBL0udzDTmWu7nhCHig LruByZR3ykcuAiBlYU+YsJxYpd2hOTYiF1o5Ey7OK69NYQdhM5T6evjx9Z4b0Y7oB5v8 x/wR0yRSK7xkfzVDUSayvWgNLYm9eqdDegjLwze1ptYdBA08hyOSumJ2bFR+Ypw/+5ay cjIPHp+LDoLzNMG7wCmdoQ3LW0m5rWu8vwNVTVxJhIHFBu/RE1u93VqHZ1NZGujurw21 xOvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=JwvilVQt; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id b184si9740069pgc.721.2017.10.11.03.16.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=JwvilVQt; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id F274321FCA26C; Wed, 11 Oct 2017 03:12:44 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::22a; helo=mail-lf0-x22a.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2685B21FCA267 for ; Wed, 11 Oct 2017 03:12:43 -0700 (PDT) Received: by mail-lf0-x22a.google.com with SMTP id a16so1500245lfk.0 for ; Wed, 11 Oct 2017 03:16:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EuvaJb6WbBALFDBu5fNnp1n9u3rNea3sjT2zvkgbmhw=; b=JwvilVQtiXbcZSfHvbQ8CHa/UL1hV9nQHzjv6fhf4SyNBgGnq0n/vKus2/gJcy2G8v 7yKEXGTe0Dzpszmixn/cSUpeXDdyACWMwEFl6bTFlhH3/juHHNsA85DkWf3R3vuvivEM HVI/aRAIptpubgf4zr+DXsPQygBXBf/or+L9H6QfRGjp6TUq1RyjtmtCeCnaLsR3137F Q50/eYIwPwcavUlADg7UbRMD6pYqPPs/riteH004cKgaSZT28tJht0ZXSZrcFVOfowHh i6H4wwKH2x3+RbA4rEEvO51iibd6v5wProrDjDa0+OJ7MPbRheFaBHH5nFKz45hm5nYw QX6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EuvaJb6WbBALFDBu5fNnp1n9u3rNea3sjT2zvkgbmhw=; b=kPd6Sd5uqpBslT6I8ZosQWNN4/WbP0+21blPILC8/xa48ZA80aZc59OZcv/3/E3xkm sks0OQx2OgFC0+0ejVMYEvSeKtHev8K9l/ekOtgUcJHKDFR+ONT8M/wNTwkhz1HlmCc9 cewn8kS3FZwpC4fCpbWCd1Rfpe6/gEXOAglnZQJ+4dPW33rJlNx144kLuI2YAb+o4Ezy bjmatxhY274MlfOrgdfyawQ+kq4ONBwIVsKQhbBRu7UFanqdTsV3gx89FGEaNAgSwlDj Y26K3dPaIk7nJI0IOe4/MRcvPIiBzs/YoJySwwoE7vMl1ObYIsvvCEZeInvFS7wVnfPc WU1w== X-Gm-Message-State: AMCzsaWRb4HSTkyM0cZeKqWwOOBfHxTvY10Ps6S53ACkOkqkp5Eyvh8P s8RtgcRTo6jNv4Xx9qdGJWNgEZ4IIbY= X-Google-Smtp-Source: AOwi7QDJ+LZnunoabI88sHJy+XRvVpXZKvAZBWX5piPeGjywp7yPadkiy93TXsYqdAMO54JTCzJcfA== X-Received: by 10.25.212.213 with SMTP id l204mr6551481lfg.59.1507716970455; Wed, 11 Oct 2017 03:16:10 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.16.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:16:09 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:36 +0200 Message-Id: <1507716939-31798-10-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 09/12] Marvell/Armada: Switch to unicore PrePi X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel There is no point in using the MPCore PrePi, given that only the primary core will enter UEFI at EL2, and the secondaries will be held in EL3 until summoned by the OS. So use the unicore flavour instead. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Armada.dsc.inc | 2 +- Platform/Marvell/Armada/Armada70x0.fdf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Armada/Armada.dsc.inc index b718c60..5a5fde9 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -372,7 +372,7 @@ [Components.common] # PEI Phase modules - ArmPlatformPkg/PrePi/PeiMPCore.inf + ArmPlatformPkg/PrePi/PeiUniCore.inf # DXE MdeModulePkg/Core/Dxe/DxeMain.inf { diff --git a/Platform/Marvell/Armada/Armada70x0.fdf b/Platform/Marvell/Armada/Armada70x0.fdf index 999b968..2c3efe0 100644 --- a/Platform/Marvell/Armada/Armada70x0.fdf +++ b/Platform/Marvell/Armada/Armada70x0.fdf @@ -199,7 +199,7 @@ READ_STATUS = TRUE READ_LOCK_CAP = TRUE READ_LOCK_STATUS = TRUE - INF ArmPlatformPkg/PrePi/PeiMPCore.inf + INF ArmPlatformPkg/PrePi/PeiUniCore.inf FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 { SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { From patchwork Wed Oct 11 10:15:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115543 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574677qgn; Wed, 11 Oct 2017 03:16:30 -0700 (PDT) X-Received: by 10.99.120.204 with SMTP id t195mr14869429pgc.244.1507716990046; Wed, 11 Oct 2017 03:16:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716990; cv=none; d=google.com; s=arc-20160816; b=YOQYi/0FhSGu5TMF28o51h8peGRUMg715gLlMe2McSk4tbC6VWl6SzD49w0ZVTyDzI IWQB9OUnakNv3lW6wyK93bu21Si09GIbaVE6lPDmFoZdjNEUEGxkxblpN+UFGIEidVta qh3BqWNAnthM9Wnzx7zKzYGb8YUnIdtZCcmvnRhhWqsCrQFGi4WCbiFDGHoglB+UIe2/ fSkjpuJhNgNdf1SAq6ls1NZlvRh5YyrtQB9zu2LpvoJJTTMxCGHSVb/oKxbs65Y3e6y5 WYhSj6VUApAmwmdFzIWbYic4xb7Lr0MT8/aGG5h1z+u/nuZOJF9YG+Bly0Mjf6+O6YyR y1kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=n5JQJ+GQBUmBhR5RK+BgMt/wAnAsbvjxtCecLv5iQb4=; b=xFPkrySFsz6TyVnVHwV5DeaDPBitFUn+KXwMuk9ArYTN+RbxVf3SczH0suGcgiOQur uf28HfsROqd6tsebiF5WkcuC8kh5kwxiO+AWDdUPOvSrkFf9f44w6W8UtSY+aWKUALZt neAPWzGnOlIABQalmCTySgD14l+/5PqMs+1YHAb6VFhknNADhRuNqbexwvXfbzFNxgtY YQ25p21/R/hVZKUBcxU7WA0evlgKwGug17K5aUaNjd7xy46vq/qGk3DpObjbKix3lt04 CMcVZYsLA1RqgKdmRGjWfbwtSur4fRqLMslQiPuYv2QZ8Ar54TikC7gxoBfZR8YlqjXB PMRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=o/iRPDuN; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id s18si9708089pgq.333.2017.10.11.03.16.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=o/iRPDuN; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 3CC6E21FCA270; Wed, 11 Oct 2017 03:12:47 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::22d; helo=mail-lf0-x22d.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 01C8C21FCA26D for ; Wed, 11 Oct 2017 03:12:45 -0700 (PDT) Received: by mail-lf0-x22d.google.com with SMTP id a16so1500348lfk.0 for ; Wed, 11 Oct 2017 03:16:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=POj5weXKwfA+/p7iQaRlOOoa7CzAGD191BV9H6yL8b0=; b=o/iRPDuNZNeBGqE53GWyZAajaA1LBBCib/8Otw3SW8glpoVMzdbuodzZjRTlKELSku oqWgsBzSlMvsXOpCM8ldrSx16Jd0XIfLU2yIHJWHv8GD0at2jt7yzotOsYtR3Qd+meAW 7eI83Wx6sQLPkMC0V72c4jIMJrSazRdS0/cN0YB95x7PNmqB5pC04ftZsFWfARb0z2wm 0nv0+uzrY1yUQPiwZNh1PNYQ298du++4XlPrUlX3YwJYct3cIdw0dA5Xv94SFpliyToy yXjf+NLcWF/3RozKVGu4om3zu41oqCCBHhAQdIi4CHSPl6zZicsERdluq4cHb3C6Qh1m OFDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=POj5weXKwfA+/p7iQaRlOOoa7CzAGD191BV9H6yL8b0=; b=AeCxSWfs98OsyjQU7LhNMWJzezcfXJ5Q9mVT1GGcd7wNqt63F+Cw3FxBMdLk+Q83ld F/qX0t7xx6YX1wsAnRW8Y20E/eYFLq9lsRzHV5b301oqbkFWBZAO1imbsELJHpgUcTlw rtyWlp0zKeD3Zlvt2+Kkltjq2huS0dlTlP+fQ9fCv8TMhJypowElYvJPQdFh2kusNQGO jZl481oBcZ2yq1jrKwrnce82vvo6SdE/RNScyXa/Svum8Tsg8AmTtx3bnaHODRde48Er vK1ohjFlumWxHHBS7S7xb4Dtt7WXiwtr25BEbeURp3i43BSGCKPclBW4WjScFVXPLMLw Rx/Q== X-Gm-Message-State: AMCzsaUKh1E1whjL7cwn73bzaalR8aj+D0lT7wj5Z3WrY5cbnWUb7s83 zJYBRuXvYydPjJTYlUMiOog5wjdusdI= X-Google-Smtp-Source: AOwi7QA/5RqRhaJYcGxLJElcME6kkytZ/aEbKl9+u0n3RXZBjrP9HYGDUpWZ6oP1kbGNAcYw/wk8rg== X-Received: by 10.25.161.208 with SMTP id k199mr6039665lfe.110.1507716972254; Wed, 11 Oct 2017 03:16:12 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.16.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:16:11 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:37 +0200 Message-Id: <1507716939-31798-11-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 10/12] Marvell/Armada: Remove outdated SEC alignment override X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel The FDFs no longer require explicit alignment for sections containing aligned objects, so change it to 'Auto' and FIXED (which allows some padding to be removed), and remove some other cruft while at it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas --- Platform/Marvell/Armada/Armada70x0.fdf | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Marvell/Armada/Armada70x0.fdf b/Platform/Marvell/Armada/Armada70x0.fdf index 2c3efe0..3f0471d 100644 --- a/Platform/Marvell/Armada/Armada70x0.fdf +++ b/Platform/Marvell/Armada/Armada70x0.fdf @@ -235,16 +235,9 @@ READ_LOCK_STATUS = TRUE # ############################################################################ -[Rule.ARM.SEC] - FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED { - TE TE Align = 32 $(INF_OUTPUT)/$(MODULE_NAME).efi - } - -# The AArch64 Vector Table requires a 2K alignment that is not supported by the FDF specification. -# It is the reason 4K is used instead of 2K for the module alignment. [Rule.AARCH64.SEC] - FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED { - TE TE Align = 4K $(INF_OUTPUT)/$(MODULE_NAME).efi + FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED FIXED { + TE TE Align = Auto $(INF_OUTPUT)/$(MODULE_NAME).efi } [Rule.Common.PEI_CORE] From patchwork Wed Oct 11 10:15:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115544 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574726qgn; Wed, 11 Oct 2017 03:16:33 -0700 (PDT) X-Received: by 10.98.36.135 with SMTP id k7mr6780653pfk.63.1507716993279; Wed, 11 Oct 2017 03:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716993; cv=none; d=google.com; s=arc-20160816; b=SKNz+vPbAQqBJoLn+2xMJrfUoIXFmU6IiuhXLtb5jcPVLWRaB/Pyng+H3A971cE3j2 OfOUJwxb2kbIt8JVYU+klCd1F929AMDfDJC3I2QM2ucVXgd4b6WwYQMx3S3FT+xKtTE7 q4bspa3LBmTUY+jvE6TPggMQQODm10qPPQ1NK7IIDv+GPFWmi5Wb41tlurNxL3B6sZih X3D7q998kJTQf1i7bxg5IuwFxQWLnbn7gzsLyg+oY9vTRzHrU9qoI0NVogZNepBqegXJ +Gm6K1A4QcYmv1wWL3WiRcjNgeCXlOb19j0RjfWudbP/HoM2Li8b7pW48ootYBKXWPRn jVqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=q7k8Y+MJGtpI4pBrL3Nm04OxPltEWop8imUc7kiq0rc=; b=ybhmo6o7loUHkT+oKOUoznL8f3uScDiPG3AwC1puM4DTUqCv6DCt8E+fy1+PDdur5w zRwHhdthYSiNXhQJVbi/3fpdHqRXQdUV+RuAp55hPdMAmOF0PvL6GoRami2CAW7iOBGN icYh9AeVbnrdpvXhyBlmkBBsTqz9Z3hNM2ciAOEEVhrO3ZE+OlPGEgSzsJCWysQxewuk sdBAyFjZ7cKGudCD5UKXJDF7Yw2Jds+ZW4sH4WfMWTXMXHKbKDN7qEgf+f8nFtpkXjuQ T5dJpgJQVNQXImZnqpre+17+l9Jg4PJAht1SrWajb4PTrLYotZryKK0fshFZ9w1qtzm0 vAcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=QgPXkKGu; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id g15si9697269pgu.288.2017.10.11.03.16.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=QgPXkKGu; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 7437121FCA276; Wed, 11 Oct 2017 03:12:48 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::22d; helo=mail-lf0-x22d.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4959F21FCA267 for ; Wed, 11 Oct 2017 03:12:46 -0700 (PDT) Received: by mail-lf0-x22d.google.com with SMTP id a69so1496732lfe.5 for ; Wed, 11 Oct 2017 03:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2I4C8QdJzwenrvW5qaKaiovMdUK5FyBcx+NH68kf6gk=; b=QgPXkKGuyrfDjrUOGH0r6ECh3SWksaxvWYgDCWhOHyDNu849MZMc+0vkOYA6co+su1 8jPrW8bih2Ipx1AYUk8+my3rBaJXNg39x5MGV/C3C/u4VECSzV1+wjJ8JttQoGsSP3jT Wvvah4cY3AJU3bByaNT609Ctnx5he+3Iz51i/fkZxqNnzo31qtnH9ZnAZPO5C0OYjNGB yy89ZVC11jLRdiokcRDLu63hypLMxYH2teQzrW4ve2eq+9VJNYkqkv7FCBDz+berzfE6 LdvXYczX3cxxG3E24Owl1e3nDXMLRb30T8eiL2G9w5jX8baOatnMJeILU4JZoI1MRD0/ 04Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2I4C8QdJzwenrvW5qaKaiovMdUK5FyBcx+NH68kf6gk=; b=oHnTUMFvm7UlkPHa2QOVnezQ1HQMWqXwi5eIw3k7Z4KMHiO8BjUPM8BfcKLnRmgvN8 TvuAFltvnuf0YGiXEUIaTSdRBFtqqj4tZ2WIHEufqBmYAfKJAPUhADgDpH80+iHsOFmT hPOVGs7kgtxL4h4ygCgC+xLCjVpO7Co0xd7ejtTYURCYZjKRpWNyWq2cBN1KORU4j4XV 5WXgY6rEcT4q93lNVwP1ls5v/qyNU+i/cYjpfYBT+y8aV/ER5G83rradUpDmxc21Oynl uAJXueqV9ShUEfjgjKsk7YCJtYZEZNg5UWEoWJBTrwCHVCvPxyu6CgkuxfNI3pChygFi AL6Q== X-Gm-Message-State: AMCzsaV8bqZqjmUSBkbxNcUbJRdVhtqBVjarSXj8otj0ItL5LB2/n13T BdyH/4JI7YHLvwqa8GoWgf0E5K0MisU= X-Google-Smtp-Source: AOwi7QBjHDaEJ3O2qBmUk7fD1hqehLW9C6DTrK2G741lhHJdVdidXjhsBS1OMcRSpwBR/irsnV7uIg== X-Received: by 10.25.90.81 with SMTP id o78mr6009154lfb.80.1507716973694; Wed, 11 Oct 2017 03:16:13 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.16.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:16:12 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:38 +0200 Message-Id: <1507716939-31798-12-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 11/12] Marvell/Armada: Add the UefiPxeBcDxe driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel This driver allows automatic booting via the network. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Armada.dsc.inc | 1 + Platform/Marvell/Armada/Armada70x0.fdf | 1 + 2 files changed, 2 insertions(+) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Armada/Armada.dsc.inc index 5a5fde9..1aa485c 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -412,6 +412,7 @@ MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf + MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf Platform/Marvell/Drivers/Net/MvMdioDxe/MvMdioDxe.inf Platform/Marvell/Drivers/Net/Phy/MvPhyDxe/MvPhyDxe.inf Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.inf diff --git a/Platform/Marvell/Armada/Armada70x0.fdf b/Platform/Marvell/Armada/Armada70x0.fdf index 3f0471d..933c3ed 100644 --- a/Platform/Marvell/Armada/Armada70x0.fdf +++ b/Platform/Marvell/Armada/Armada70x0.fdf @@ -125,6 +125,7 @@ FvNameGuid = 5eda4200-2c5f-43cb-9da3-0baf74b1b30c INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf + INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf INF Platform/Marvell/Drivers/Net/MvMdioDxe/MvMdioDxe.inf INF Platform/Marvell/Drivers/Net/Phy/MvPhyDxe/MvPhyDxe.inf INF Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.inf