From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4864:20::143; helo=mail-lf1-x143.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) (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 86FAC211B5A34 for ; Mon, 28 Jan 2019 01:45:39 -0800 (PST) Received: by mail-lf1-x143.google.com with SMTP id a8so11330829lfk.5 for ; Mon, 28 Jan 2019 01:45:39 -0800 (PST) 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; bh=DxuQIePpNqTFKwluMQSB9d2RiFUDsPj4kR6UXUdDZ1g=; b=W5Fv4m+XjprQavU6U6m7kF/1t46Q5ngHpgWiDRWPYQzmYVfOnRxsWu/1+yZOybkgRt /Bb+M1uE3b4+SNtBFDGA32VMOcBzJ6l1eE2GDAWXpz4jLfET27j55fhUDSqzZssUC07D sBFBXuviSvG/dGcYJca59+ck3H3NdxNKSq+OBMyd8rSFKJdcPh9BW6AenAhQm/oOGNet aS+N0ot2C62GoF3hxkqe9BX6ADC6xRWm1ZUYokfXxkckZGioc5wG3BNyDEZ/Z4br75DW nOedfTYkPiU7H/iJz2NBNdcLFsOKxPR7hrvdt3ibLWFlgOyfsiN9Yl2QpcCS0mGiifc4 gAxA== 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; bh=DxuQIePpNqTFKwluMQSB9d2RiFUDsPj4kR6UXUdDZ1g=; b=lCyPwUPoGG5XUYPtRUlZkWGXRsiE9fKScROrBvy1K+a5KaaSwC5RwVIlLq3SLyP6W1 BcyYGCZmL0ijhyLvu4pqxwQeVr13FSFIT1RC0Tm233kixZ8SIj7amuL1TB6ohE2jwYBW itYENhXbn/J4UbrMy/HckeU18jcl6AZkCHsxG3r86N0jTEU0RAjK7QWs7SqhPng/CLj/ mThsnPBOWtxQA8nS5USj8wy/gvRrbCoK9R/oJ4GvO7b3awghQnLarNZ6gQcg8A0RPRvj ySKnF+RqTPPu6YvpufwKEEoZfsL2ZCMW7HEONPGnbdWMYwK+t/tMryEKAW3i4B58vrgd OyTA== X-Gm-Message-State: AJcUukdbv36lZL6vOw+U2ofnySYfDjRlb7ZFUp37m7RzEMRJ+xg9G6JV jJ19xNhUpoYUzyYWYoixlCT3vHVRNrY= X-Google-Smtp-Source: ALg8bN6ZTg4eWUq+EZePWvsNsUn5D9VrnvBJ/TMU35xh7VBah58+90q+p4xiqK9yu5d302eIp/Y37Q== X-Received: by 2002:ac2:554b:: with SMTP id l11mr15689387lfk.92.1548668736764; Mon, 28 Jan 2019 01:45:36 -0800 (PST) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 10sm2895213ljr.4.2019.01.28.01.45.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Jan 2019 01:45:35 -0800 (PST) From: Marcin Wojtas To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, mw@semihalf.com, jsd@semihalf.com, jaz@semihalf.com, kostap@marvell.com Date: Mon, 28 Jan 2019 10:45:10 +0100 Message-Id: <1548668715-15042-1-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 Subject: [platforms: PATCH v3 0/5] Armada7k8k memory handling update X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 X-List-Received-Date: Mon, 28 Jan 2019 09:45:39 -0000 Hi, The third version of the patchset moves the new common header for Marvell SMC ID's to the IndustryStandard directory. What is more important, now 3 regions (described by new PCDs) are reserved separately. For that purpose a preparation patch was added, which extract existing reservation code into a new subroutine. More details can be found in the changelog below and the commit messages. Patches are available in the github: https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/dram-upstream-r20190128 I'm looking forward to the comments and remarks. Best regards, Marcin Changelog: v2 -> v3 * 1/5 - New patch - extract memory reservation to a separate routine * 2/2 - Add new PCDs and reserve 3 regions (ARM-TF, PEI stack, OP-TEE) separately - Update commit message accordingly * 3/5 - Move MvSmc.h to Include/IndustryStandard * 4,5/5 - Add Leif's RB v1 -> v2: * 1/4 - Improve commit log - mention single area size and new PEI stack base * 2/4 (new patch) - Add common header for Marvell SMC ID's * 3/4 - Add function description comment - Define and use ARMADA7K8K_AP806_INDEX - Change function argument to EFI_PHYSICAL_ADDRESS * 4/4 - Move new SMC ID to MvSmc.h - Include ArmadaSoCDescLib.h directly (instead indirectly via BoardDesc.h) - Remove ARMADA7K8K_AP806_INDEX macro Grzegorz Jaszczyk (2): Marvell/Library: ArmadaSoCDescLib: Add North Bridge description Marvell/Armada7k8k: Read DRAM settings from ARM-TF Marcin Wojtas (3): Marvell/Armada7k8k: Refactor reserving memory regions Marvell/Armada7k8k: Shift PEI stack base and extend memory reservation Marvell/Library: Introduce common header for the SMC ID's Silicon/Marvell/Marvell.dec | 8 +- Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 16 ++- Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLib.inf | 3 + Silicon/Marvell/Armada7k8k/Library/Armada7k8kMemoryInitPeiLib/Armada7k8kMemoryInitPeiLib.inf | 8 +- Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLibMem.h | 25 ----- Silicon/Marvell/Armada7k8k/Library/Armada7k8kSoCDescLib/Armada7k8kSoCDescLib.h | 6 ++ Silicon/Marvell/Include/IndustryStandard/MvSmc.h | 24 +++++ Silicon/Marvell/Include/Library/ArmadaSoCDescLib.h | 28 +++++ Silicon/Marvell/Library/ComPhyLib/ComPhySipSvc.h | 8 +- Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLibMem.c | 60 ++++------- Silicon/Marvell/Armada7k8k/Library/Armada7k8kMemoryInitPeiLib/Armada7k8kMemoryInitPeiLib.c | 107 +++++++++++++------- Silicon/Marvell/Armada7k8k/Library/Armada7k8kSoCDescLib/Armada7k8kSoCDescLib.c | 34 +++++++ Silicon/Marvell/Library/ComPhyLib/ComPhyCp110.c | 14 +-- 13 files changed, 220 insertions(+), 121 deletions(-) create mode 100644 Silicon/Marvell/Include/IndustryStandard/MvSmc.h -- 2.7.4