Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1oMC4z-00065h-UL for mharc-grub-devel@gnu.org; Thu, 11 Aug 2022 13:34:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMC4u-00063o-Ns for grub-devel@gnu.org; Thu, 11 Aug 2022 13:34:41 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:7244) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMC4s-0003dn-LN for grub-devel@gnu.org; Thu, 11 Aug 2022 13:34:40 -0400 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27BHEGPX038455; Thu, 11 Aug 2022 17:33:34 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=oBNKGDA8gqmPEW2tvuW40zAfZlhOTccPODmdhnvg+UTwidyuYc/XFVk+XQLkMTXeVzSE bKE4WHjn3K7+6EMVxYTsUbZgMEG04wRG4qWYay1Dz60gVVgt4mVXGf+9MqkZxJhXjrjM XsiUuvR0udZMvgwrmNGW58zq4DLM+JIKC8FidNPZ5Gvx1itm/EOmFQu1jHhmHsduC5EG Gw9TY6AmZHCUKXCXhRfLYS2RpFjXbqfYUUG2/xbIPSdmaI0ZWgf4rAETRpzDKbQsiEiu 1lOAB3VMyz6oSoUz3BsTFiti5b3KyFEDBifIt6lcZIDhbwOHw9NiRy5/Yitdcqq1t0xW JQ== Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3hw6010g04-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Aug 2022 17:33:34 +0000 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 27BH4nZr014591; Thu, 11 Aug 2022 17:33:33 GMT Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by ppma05wdc.us.ibm.com with ESMTP id 3hvcmrfn62-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Aug 2022 17:33:32 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 27BHXVVW36897216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Aug 2022 17:33:32 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DB492BE051; Thu, 11 Aug 2022 17:33:31 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0901CBE04F; Thu, 11 Aug 2022 17:33:30 +0000 (GMT) Received: from li-a164bb4c-3059-11b2-a85c-f2835233ac47.ibm.com.com (unknown [9.211.95.36]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 11 Aug 2022 17:33:30 +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:33:12 -0300 Message-Id: <20220811173318.1147780-1-diegodo@linux.vnet.ibm.com> X-Mailer: git-send-email 2.31.1 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: NLXmHOerrdED-l-T-aIWwzQJUPWM0REc X-Proofpoint-ORIG-GUID: NLXmHOerrdED-l-T-aIWwzQJUPWM0REc 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 bulkscore=0 priorityscore=1501 malwarescore=0 phishscore=0 mlxscore=0 clxscore=1011 impostorscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 adultscore=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:34:42 -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