Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1oMCBV-0004qg-7M for mharc-grub-devel@gnu.org; Thu, 11 Aug 2022 13:41:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMCBO-0004nQ-S4 for grub-devel@gnu.org; Thu, 11 Aug 2022 13:41:23 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:16910) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMCBL-0004hX-AR for grub-devel@gnu.org; Thu, 11 Aug 2022 13:41:20 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27BHRlFX032365; Thu, 11 Aug 2022 17:41:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : mime-version; s=pp1; bh=Yp3yTiAMplC6RwBN2Qj81sdL4wRipW01srmpPq3+kgw=; b=qtP0Ir4CAgcDJPruQikHTI1FT7AZy3umY+zIq1DrGeuXVnlcxu/dlMUpgapxnrxaa7Z8 AuWQ61xy+5X37PDDxeKFizFenGTfJnLaQx/9imTbexbrQclYy5TNIQ9+Rd8pBXYgAdoh TA3kubO/0Nux9qNF+5i5jDkSPRc296F81clVAgHnhzeifdQEHITOk0MN+Tvr2e4MJj90 bG7JKKMRj5nacJeDVIKGyGIp88igWeVbDMz9i+C5tcmsLiFd6ppbg3DTQrmA4RR/qFXJ X7++HbFGLcS3sWj8JWgcs3KSItt1z+Em1awTeq4y/58HtYFn0m2yvWbN99Zh0vjd3ZrX XA== Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3hw66m8db4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Aug 2022 17:41:16 +0000 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 27BHZL7c032498; Thu, 11 Aug 2022 17:41:16 GMT Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by ppma03dal.us.ibm.com with ESMTP id 3huwvkqbfn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Aug 2022 17:41:16 +0000 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 27BHfFJk4391540 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Aug 2022 17:41:15 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 26909AC05E; Thu, 11 Aug 2022 17:41:15 +0000 (GMT) Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1289DAC05B; Thu, 11 Aug 2022 17:41:14 +0000 (GMT) Received: from li-a164bb4c-3059-11b2-a85c-f2835233ac47.ibm.com.com (unknown [9.211.95.36]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP; Thu, 11 Aug 2022 17:41:13 +0000 (GMT) From: Diego Domingos To: grub-devel@gnu.org Cc: stefanb@linux.ibm.com, dja@axtens.net Subject: [PATCH 0/6] Dynamic allocation of memory regions and IBM vTPM v2 Date: Thu, 11 Aug 2022 14:40:58 -0300 Message-Id: <20220811174104.1148447-1-diegodo@linux.vnet.ibm.com> X-Mailer: git-send-email 2.31.1 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: NgtCY_J3T_ej_CMBjnlcn19cijh_r2A2 X-Proofpoint-ORIG-GUID: NgtCY_J3T_ej_CMBjnlcn19cijh_r2A2 Content-Transfer-Encoding: 8bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-11_11,2022-08-11_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=999 malwarescore=0 bulkscore=0 adultscore=0 phishscore=0 priorityscore=1501 clxscore=1015 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208110057 Received-SPF: none client-ip=148.163.156.1; envelope-from=diegodo@linux.vnet.ibm.com; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2022 17:41:23 -0000 Hello, This is an addition to the series sent from Daniel Axtens (https://lists.gnu.org/archive/html/grub-devel/2022-04/msg00064.html). Patch 'ieee1275: request memory with ibm,client-architecture-support' implements vectors 1-4 of client-architecture-support negotiation However, during some tests, we found this can be a problem if: - we have more than 64 CPUs - Hardware Management Console (HMC) is configured to minimum of CPUs >64 (for example, min of 200 CPUs) - Grub needs to request memory. If vector 5 is not implemented, Power Hypervisor will consider the default value for vector 5 and 64 will bet set as the maximum number of CPUs supported by the OS, causing the machine to fail to init. Today we support 256 CPUs (max) on Power, so we need to implement vector 5 and set the MAX CPUs bits to this value. The patches 11-15 aren't merged to the grub tree yet, so I'm sending those patches again together with my patch to implement vector 5 on top of them. The patches 11-15 contains the following: Daniel Axtens (4): ieee1275: request memory with ibm,client-architecture-support ieee1275: drop len -= 1 quirk in heap_init ieee1275: support runtime memory claiming [RFC] Add memtool module with memory allocation stress-test Stefan Berger (1): ibmvtpm: Add support for trusted boot using a vTPM 2.0