From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1m6cEP-0001Hz-7G for mharc-grub-devel@gnu.org; Thu, 22 Jul 2021 13:11:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6cEN-0001EZ-8A for grub-devel@gnu.org; Thu, 22 Jul 2021 13:11:31 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:3432) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6cEL-0007X0-6e for grub-devel@gnu.org; Thu, 22 Jul 2021 13:11:31 -0400 Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16MH6F7x142373; Thu, 22 Jul 2021 13:11:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=mCB7qg3I6aYYHHc6Ev+v2+ZIYq2KFSvodZKt9B5Dmxo=; b=jt6Y8Eg/xl5oZfVbnnK5O1seGAX96gMELDT8v7sCUg4lgofK0+KZdJrYus2qGaqNidR+ fq6Ckb5na807QkbVbEZzL2coRQrgA06PDmrD7DhUjYnPiUB6eoSHHIf9mNYTHIo55RU0 CxYRte3Y5rssNkSYRUVWl2Oar2nBpjjOoYuC24181iPLR2FW84XEUbxEGOUlv3zu6RZE +JWU/WLQYOhsF+Uy4K6pgf7+UL3TsKXceq1/tt4Zz1pNZ0V0b8piZF53Qt2dHSMOfwzx dygzDIsyWDqy+NAPzW50E7lEIo8Ot0OauEPs9K/db0fRyFFVmUqPntyBBWIno6B2YnR1 kA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 39yca9s93s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Jul 2021 13:11:21 -0400 Received: from m0127361.ppops.net (m0127361.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 16MH6GHD142416; Thu, 22 Jul 2021 13:11:20 -0400 Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com with ESMTP id 39yca9s928-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Jul 2021 13:11:20 -0400 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 16MH7aLC032015; Thu, 22 Jul 2021 17:11:18 GMT Received: from b03cxnp07027.gho.boulder.ibm.com (b03cxnp07027.gho.boulder.ibm.com [9.17.130.14]) by ppma02dal.us.ibm.com with ESMTP id 39vuk80n7v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Jul 2021 17:11:17 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp07027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 16MHBGP520513256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 22 Jul 2021 17:11:16 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8FBD4C606C; Thu, 22 Jul 2021 17:11:16 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C0C10C6062; Thu, 22 Jul 2021 17:11:15 +0000 (GMT) Received: from [9.47.158.152] (unknown [9.47.158.152]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 22 Jul 2021 17:11:15 +0000 (GMT) Subject: Re: [PATCH v2 02/22] ieee1275: claim more memory To: Daniel Kiper , Patrick Steinhardt Cc: Daniel Axtens , grub-devel@gnu.org, rashmica.g@gmail.com, alastair@d-silva.org, nayna@linux.ibm.com, chris.coulson@canonical.com, hanson.char@gmail.com, hchar@amazon.com, javierm@redhat.com, leif@nuviainc.com, phcoder@gmail.com, pjones@redhat.com, pmenzel@molgen.mpg.de, xnox@ubuntu.com References: <20210630084031.2663622-1-dja@axtens.net> <20210630084031.2663622-3-dja@axtens.net> <20210715215104.dgcfefezytxq6exe@tomti.i.net-space.pl> <20210721144532.y4lutwqg5mwr3dko@tomti.i.net-space.pl> From: Stefan Berger Message-ID: <69df0696-06e1-9165-c357-a367992be202@linux.ibm.com> Date: Thu, 22 Jul 2021 13:11:15 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 In-Reply-To: <20210721144532.y4lutwqg5mwr3dko@tomti.i.net-space.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-GUID: z2MGcp0NWuxaf5ILN7SZKoz1RhPcvbNo X-Proofpoint-ORIG-GUID: MyPOkeewa5wzeJsFmg9Vj25gRv2-t_l- Content-Transfer-Encoding: 8bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-22_12:2021-07-22, 2021-07-22 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 adultscore=0 mlxlogscore=999 clxscore=1015 malwarescore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107220114 Received-SPF: pass client-ip=148.163.158.5; envelope-from=stefanb@linux.ibm.com; helo=mx0b-001b2d01.pphosted.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.203, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2021 17:11:31 -0000 On 7/21/21 10:45 AM, Daniel Kiper wrote: > On Fri, Jul 16, 2021 at 05:59:20AM +0200, Patrick Steinhardt wrote: >> >> I think that my [1] should solve the issue generically. Instead of >> bumping any of the static limits we have in place, we just drop them >> altogether in favor of dynamically requesting additional EFI regions >> whenever we realize that the currently mapped regions cannot satisfy our >> needs. Like this, we can lower the initially requested regions, but >> scale them to the specific needs if need be. >> >> I had planned to revisit this patch series much earlier, but somehow I >> didn't yet find the time. Any comments on my approach would be welcome >> though, and if we agree that this may be a viable route to go down then >> I'd be happy to further pursue it. > Patrick, thanks a lot! I will take a look at the [1] patchset next week. > > Daniel A., Stefan, may I ask you to take a look at the [1] too and tell > us how it will work in your cases? > > Daniel > > [1] https://lists.gnu.org/archive/html/grub-devel/2020-06/msg00009.html I tried to apply these patches now. 2/3 and 3/3 need forward porting. The file grub-core/kern/efi/mm.c that they touch is EFI-specific and not even compiled when building for/on [IBM IEEE1275] PowerPC, so I don't see how they would help on that platform.   Stefan