From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.75]) by mx.groups.io with SMTP id smtpd.web12.54.1583361069677785007 for ; Wed, 04 Mar 2020 14:31:10 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@vmware.com header.s=selector2 header.b=z9FzF/Kb; spf=pass (domain: vmware.com, ip: 40.107.220.75, mailfrom: awarkentin@vmware.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WWVasO+H4i8F8o7B1abIQWGIACFxcQMp+0AVMujh/X8sqy40Ydh1ey4HN3eH3+89I35VdbNRglb9qo/1nmHyZO8L6vqOvGawefwcEqL/B8f6ZsxR4PeUA8ohxSrXaAe57SL9cvSmjFc0R9p1O9Y2qr4MPoCSqJJ+KhGR4T8C+fc8lHodOpj6PjaVlu/MF4DhSsh5Sp4lmPaCrbniAJ3R3wS5RaXa2TdEH75gqcyGO2FZN9KMi4sWpH5GjLMJ1UewKGoaWbHHDqWSobasgWwwNBBPfS5Rw5Rh8AXIU+CtWZ3dufKD5VleHUSmJp9bWKThRJ49C/eu6ZNsGBddktS56g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jCrOuGy2jDMMMgcktY1Zie2b4B5Q+3rzFOyd3sfjqhM=; b=ICKuMR5L0egCusZzckHF0SEhMA0eXjEaiTBM1gCtQQfd3fVpTBwy66FnTfPTPTvhTswcHxpEiUdBGHA0Oxq7FFjkjxjJx5AuSmQkW+cO9Psdyr6zDZAqulv2vvBN/VQPLr0b/b1tXzAX3deo+klepqF+9VKq02lJJNkmhWEWmg5FI8XZeOouhb57LxM3wC+BUGAq7ewikEvaiud71o+UI2KpDaZgJUl4wjnyePw/ZkHzNW+K8U/7LsPVqjwAvMTq0R3l7KmFqbf4VJDXebD3pGOLjeWmt5TLrHLMmSN35/DBOdtCWjpXvgNKzc7h7Dq8auiKqxvmtzB3NYvdGTUoNg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jCrOuGy2jDMMMgcktY1Zie2b4B5Q+3rzFOyd3sfjqhM=; b=z9FzF/KbKnNWZA7l0t6wIj/TBdjXEuLlqOq0skDVF382h6jA3fkFMSfYzFIXFViLwvCbDapWcuF2Hi1r5pVscV9AGqZcDtQOmYCKDU+T7Tfq1T3XrdC+0YlciGEH5dbkf8m/QAKg0o723Ra8DvqiiM543kh2Fezjwv3/T5uU9MI= Received: from BN6PR05MB3411.namprd05.prod.outlook.com (2603:10b6:405:43::23) by BN6PR05MB3316.namprd05.prod.outlook.com (2603:10b6:405:3f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.11; Wed, 4 Mar 2020 22:31:08 +0000 Received: from BN6PR05MB3411.namprd05.prod.outlook.com ([fe80::5df3:40e3:521a:7f84]) by BN6PR05MB3411.namprd05.prod.outlook.com ([fe80::5df3:40e3:521a:7f84%5]) with mapi id 15.20.2793.013; Wed, 4 Mar 2020 22:31:08 +0000 Received: from ubuntu.localdomain (24.147.160.127) by SN4PR0501CA0038.namprd05.prod.outlook.com (2603:10b6:803:41::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.5 via Frontend Transport; Wed, 4 Mar 2020 22:31:07 +0000 From: "Andrei Warkentin" To: "devel@edk2.groups.io" CC: "ard.biesheuvel@linaro.org" , "leif@nuviainc.com" , "pete@akeo.ie" , "philmd@redhat.com" Subject: [edk2-platforms][PATCH 0/2] RPi4 fixes to 3GB RAM limit logic Thread-Topic: [edk2-platforms][PATCH 0/2] RPi4 fixes to 3GB RAM limit logic Thread-Index: AQHV8nSZvJNw1hqW90OZ9QFvMupDmg== Date: Wed, 4 Mar 2020 22:31:08 +0000 Message-ID: <20200304223056.116868-1-awarkentin@vmware.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [24.147.160.127] x-clientproxiedby: SN4PR0501CA0038.namprd05.prod.outlook.com (2603:10b6:803:41::15) To BN6PR05MB3411.namprd05.prod.outlook.com (2603:10b6:405:43::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=awarkentin@vmware.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d65f197e-5db3-41c2-2f39-08d7c08bbbc9 x-ms-traffictypediagnostic: BN6PR05MB3316: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-forefront-prvs: 0332AACBC3 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(136003)(376002)(396003)(39860400002)(366004)(199004)(189003)(86362001)(66946007)(66446008)(66556008)(66476007)(52116002)(1076003)(316002)(71200400001)(64756008)(4744005)(81156014)(5660300002)(8676002)(8936002)(81166006)(54906003)(6486002)(956004)(186003)(4326008)(36756003)(16526019)(26005)(6916009)(6512007)(2906002)(478600001)(2616005)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR05MB3316;H:BN6PR05MB3411.namprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: I9dOH/ISG0ef3l+eQRkDebM0txjJJ4ntbWAZkTnLm4TqV2U2/Tmm0j2UcM5C2WkpLqPvxkLFChn1bwc92YF1/rHLgD40MFrG0PGhK5rDwTtapxdawf5MX1VV0lt+p/zzSokhPmkcHhV8RTFhCXfhzTnz6aHfQvjnF/KVAHytuwow+R+MN19XBb9VDMGUuxG1ijtkMDukm5XilAHjDGd3OrYnv8bUUVGXp2AaQj9b4mrAxn/FvpK2lYu6zlfzzK5jkRkI9umjVDSJIyp7AgsnvaULR9X9PMr5pXaQcu+PmZ+jTSyhT3CLOH69EGmYI6noe6SlAbVeT7hyCyHrf8z5DMCjL6rrQsmgyAZW0vhBPXQmynEpvzODbyRL6vNrZOywO5OED1R349o/adRmuEyPoTn0sUPQw5Mk9q1Dj0fQ6IsoertgB05JVJ1UE1/pfYLA x-ms-exchange-antispam-messagedata: KCHpvnMGizXssFVmxB4w7nrKxIvyDb7R7qbiIcL2rCQc5nb0zVOCS7DAv0jLX3sfv/vcys2SYYLWKAAlB9kkHyIwv+wCzkyAJGEsUx4jBXxVoli/C+hmTaooXFNABd2gVRVWtGyOBENL+A39DgyV2Q== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: d65f197e-5db3-41c2-2f39-08d7c08bbbc9 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2020 22:31:08.2574 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yQLUQR1N8fpCwzM7zGAArSfh3i2LBKSWHZplI2ivftG+b1/hTpvejpWl9iTXZyNRp2CmoAvND2EWqwQUvpl+Kw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR05MB3316 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear all, Here are two minor fixes to the recently checked-in runtime logic for enabling/disabling 3GB limit. It's been tested on 2GB and 4GB boards. Andrei Warkentin (2): Platform/RaspberryPi/Drivers/ConfigDxe: fix bug in 3GB RAM logic Platform/RaspberryPi/Drivers/PlatformSmbiosDxe: improve UX with 3GB limit Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 3 ++- .../Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 7 ++++++- .../Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.inf | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) --=20 2.17.1