From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id C7C477803CD for ; Tue, 30 Jul 2024 15:08:30 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=/Ly8L5Zj6Ww4UbCaiDYanoU/7I6g6+AyUbyevei0dn0=; c=relaxed/simple; d=groups.io; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1722352110; v=1; b=vkBLFSGvxTP35maIkMc1FYFLGOnmN0z2OE5wxKFGs/sLou1VkQIkgImzr4zmhzIv1Z2sBBAT fRTxS0AS8YjOJipcTRRqKdovJ1ak2rYQ5lJOf+B3GElLSppaV1/7tytqCCWyhn80nhXtOpxO87V hMKVHyEiA71FTGzmRhgPdEpu3fIS3UvFEgQ+zIsCWlvQ6HW/tgtoM/UyRQ9anM7A4Qrx1TGpuyL gNdwdLChMaGcKB2DELGBhqZ7NN48mCe+Fztp7Z/0qCj4KS5U6yJBuK2CsNR/5ljY5U1BFCLfYmh /1cnmCZ/ZuU+owD9PHe6/KiAKWWXIeJJRoG+W+xkgIwLw== X-Received: by 127.0.0.2 with SMTP id OZfYYY7687511xJlsDWHeJq0; Tue, 30 Jul 2024 08:08:29 -0700 X-Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) by mx.groups.io with SMTP id smtpd.web10.54710.1722255751408164719 for ; Mon, 29 Jul 2024 05:22:31 -0700 X-Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-428077f91a9so9794095e9.1 for ; Mon, 29 Jul 2024 05:22:31 -0700 (PDT) X-Gm-Message-State: u7ElhN3kQUJjwZFbowH7cSYRx7686176AA= X-Google-Smtp-Source: AGHT+IHuCOc4BWuDxPMZyg2AdqYf1YMiQAXe6u7tAYnTt/Eh4/cVTLL7c2yBLn0mYvgsJs9Dal5aesdu X-Received: from palermo.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:118a]) (user=ardb job=sendgmr) by 2002:a05:600c:4e54:b0:426:6771:f768 with SMTP id 5b1f17b1804b1-42812002614mr3219765e9.2.1722255749433; Mon, 29 Jul 2024 05:22:29 -0700 (PDT) Date: Mon, 29 Jul 2024 14:22:12 +0200 In-Reply-To: <20240729122215.400402-1-ardb+git@google.com> Mime-Version: 1.0 References: <20240729122215.400402-1-ardb+git@google.com> Message-ID: <20240729122215.400402-3-ardb+git@google.com> Subject: [edk2-devel] [PATCH RFC edk2-platforms 2/5] Platform AARCH64: Remove bogus references to MPCore stack From: "Ard Biesheuvel via groups.io" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Rebecca Cran , Nhi Pham , Chuong Tran , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 30 Jul 2024 08:08:18 -0700 Resent-From: ardb+git@google.com Reply-To: devel@edk2.groups.io,ardb+git@google.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=vkBLFSGv; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io From: Ard Biesheuvel Remove references to the MPCore stack from platforms that do not use the MPCore SEC implementations to begin with. Signed-off-by: Ard Biesheuvel --- Platform/ARM/Morello/MorelloPlatform.dsc.inc | 2 -- Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 2 -- Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 2 -- Platform/ARM/N1Sdp/N1SdpPlatform.dsc | 2 -- Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc | 2 -- Platform/LeMaker/CelloBoard/CelloBoard.dsc | 2 -- Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc | 2 -- 7 files changed, 14 deletions(-) diff --git a/Platform/ARM/Morello/MorelloPlatform.dsc.inc b/Platform/ARM/Morello/MorelloPlatform.dsc.inc index d2f885d1c10f..5407185e853c 100644 --- a/Platform/ARM/Morello/MorelloPlatform.dsc.inc +++ b/Platform/ARM/Morello/MorelloPlatform.dsc.inc @@ -75,10 +75,8 @@ [PcdsFeatureFlag.common] [PcdsFixedAtBuild.common] gArmTokenSpaceGuid.PcdVFPEnabled|1 - # Stacks for MPCores in Normal World gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x80000000 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x40000 - gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x0 # System Memory (2GB - 16MB) gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000 diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc index a793e96f8b0f..87dcfbc4ce32 100644 --- a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc +++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc @@ -134,10 +134,8 @@ [PcdsFixedAtBuild.common] gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x01400000 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x01400000 - # Stacks for MPCores in Normal World gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x80000000 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x40000 - gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x0 # ACPI Table Version gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20 diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc index 5a1fdb8bfa1f..1778f69ca6a3 100644 --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc @@ -354,10 +354,8 @@ [PcdsFixedAtBuild.common] # Number of configured cores gArmPlatformTokenSpaceGuid.PcdCoreCount|$(NUM_CORES) - # Stacks for MPCores in Normal World gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x8001680000 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x10000 - gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x800 # Declare system memory base gArmTokenSpaceGuid.PcdSystemMemoryBase|0x8000000000 diff --git a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc b/Platform/ARM/N1Sdp/N1SdpPlatform.dsc index b14ece1b8f61..63e885320651 100644 --- a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc +++ b/Platform/ARM/N1Sdp/N1SdpPlatform.dsc @@ -104,10 +104,8 @@ [PcdsFixedAtBuild.common] gArmN1SdpTokenSpaceGuid.PcdRamDiskBase|0x88000000 gArmN1SdpTokenSpaceGuid.PcdRamDiskSize|0x18000000 - # Stacks for MPCores in Normal World gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x80000000 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x40000 - gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x0 # System Memory (2GB) - Reserved Secure Memory (16MB) gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000 diff --git a/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc b/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc index 60556f6661c4..e1e85b4f2ec2 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc +++ b/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc @@ -132,11 +132,9 @@ [PcdsFixedAtBuild.common] gArmTokenSpaceGuid.PcdVFPEnabled|1 - # Stacks for MPCores in Normal World # Non-Trusted SRAM gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x2E000000 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000 - gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x0 # System Memory # When RME is supported by the FVP the top 64MB of DRAM1 (i.e. at the top diff --git a/Platform/LeMaker/CelloBoard/CelloBoard.dsc b/Platform/LeMaker/CelloBoard/CelloBoard.dsc index 7b791d1635e9..5f6f42a3bf53 100644 --- a/Platform/LeMaker/CelloBoard/CelloBoard.dsc +++ b/Platform/LeMaker/CelloBoard/CelloBoard.dsc @@ -344,10 +344,8 @@ [PcdsFixedAtBuild.common] # Number of configured cores gArmPlatformTokenSpaceGuid.PcdCoreCount|$(NUM_CORES) - # Stacks for MPCores in Normal World gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x8001680000 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x10000 - gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x800 # Declare system memory base gArmTokenSpaceGuid.PcdSystemMemoryBase|0x8000000000 diff --git a/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc b/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc index 843d18bc746b..adae7e71d3bf 100644 --- a/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc +++ b/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc @@ -342,10 +342,8 @@ [PcdsFixedAtBuild.common] # Number of configured cores gArmPlatformTokenSpaceGuid.PcdCoreCount|$(NUM_CORES) - # Stacks for MPCores in Normal World gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x8001680000 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x10000 - gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x800 # Declare system memory base gArmTokenSpaceGuid.PcdSystemMemoryBase|0x8000000000 -- 2.46.0.rc1.232.g9752f9e123-goog -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120111): https://edk2.groups.io/g/devel/message/120111 Mute This Topic: https://groups.io/mt/107628985/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-