From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 868687803D8 for ; Thu, 19 Oct 2023 12:14:37 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=IID8B69x+8GYSqPag/fPgg5oTxwBRll50Xs7HW/+o7s=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20140610; t=1697717676; v=1; b=SdtL2yRmGLAeWTVIGAirtvUQnyD9+T1Y1tT5ENt5srSpb0n7Mg+qtRTpuJ5bwL1t83Bz7GJ8 jEmS/rvxKZdWkpLd7u7PfcIMbsskas+u9d7QTH5Kov4L089CJ8htOFIPctjTxhZgPSmkEjlrUIz N2WD6gR9HcScmBzbtFBAOau8= X-Received: by 127.0.0.2 with SMTP id nbS7YY7687511xhFeR8HqjJp; Thu, 19 Oct 2023 05:14:36 -0700 X-Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web11.25784.1697717675689442560 for ; Thu, 19 Oct 2023 05:14:35 -0700 X-Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6bd73395bceso554729b3a.0 for ; Thu, 19 Oct 2023 05:14:35 -0700 (PDT) X-Gm-Message-State: dRFhMtD9xtJnnemobhp7FpvWx7686176AA= X-Google-Smtp-Source: AGHT+IEGXPq4W6h0T76rNkOOu0JNH7Di4LTonIF7K/djy9NTKH2+ZjJreKhpYmftDbPQRVvjEANLvQ== X-Received: by 2002:a05:6a00:9393:b0:6be:c6f7:f9fd with SMTP id ka19-20020a056a00939300b006bec6f7f9fdmr2775729pfb.11.1697717674987; Thu, 19 Oct 2023 05:14:34 -0700 (PDT) X-Received: from sunil-laptop ([2409:4071:6e8b:3a98:dd76:4e82:7da6:44ab]) by smtp.gmail.com with ESMTPSA id f28-20020aa7969c000000b00692cac7a065sm4989260pfk.151.2023.10.19.05.14.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 05:14:34 -0700 (PDT) Date: Thu, 19 Oct 2023 17:44:28 +0530 From: "Sunil V L" To: John Chew Cc: devel@edk2.groups.io Subject: Re: [edk2-devel] [PATCH v1 5/6] StarFive/JH7110Pkg: Implement boot services memory allocation driver Message-ID: References: <20231019025921.1593-1-yuinyee.chew@starfivetech.com> <20231019025921.1593-5-yuinyee.chew@starfivetech.com> MIME-Version: 1.0 In-Reply-To: <20231019025921.1593-5-yuinyee.chew@starfivetech.com> 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 Reply-To: devel@edk2.groups.io,sunilvl@ventanamicro.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=SdtL2yRm; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Thu, Oct 19, 2023 at 10:59:20AM +0800, John Chew wrote: > Some DXE drivers such as MMC's DMA can only work with 32-bit addressing. > So, EfiBootServicesData need to set within 32-bit range only. > > This is achieved by setting all EfiConventionalMemory to > EfiBootServicesData before any memory allocations in the early stage of > DXE. > Hi John, I think this is a fragile workaround. Why not MMC driver allocate 32-bit memory using EFI API? Thanks, Sunil -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109801): https://edk2.groups.io/g/devel/message/109801 Mute This Topic: https://groups.io/mt/102053685/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-