From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pX47n-0003ws-Dg for mharc-grub-devel@gnu.org; Tue, 28 Feb 2023 12:50:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pX47l-0003wi-7L for grub-devel@gnu.org; Tue, 28 Feb 2023 12:50:49 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pX47j-0003fI-4s for grub-devel@gnu.org; Tue, 28 Feb 2023 12:50:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1677606645; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=752FZWMFskTTkY13OI4iuQj7q/9N/Ny4fXf2Eq5BK/s=; b=bSO8UYhOcqzP+u20oyS9dVfoUcSy7YExNgBy0Dd7Ypv6SUnZD6M7L+JxlDc5Dh4Re9+oXs Nx8mjEmMlijGSJBjPelluljLu3iC5tgQoR7lAIvjD7QqaO2mOKXVQ/TGENh9tWOf2ZRAce JOerjPP+ZlhVSonmJo3CfREny+WWU5o= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-507-y7tW2ngNMaSUhFK7YH62GA-1; Tue, 28 Feb 2023 12:50:44 -0500 X-MC-Unique: y7tW2ngNMaSUhFK7YH62GA-1 Received: by mail-qk1-f197.google.com with SMTP id pc36-20020a05620a842400b00742c715894bso2625617qkn.21 for ; Tue, 28 Feb 2023 09:50:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=752FZWMFskTTkY13OI4iuQj7q/9N/Ny4fXf2Eq5BK/s=; b=sC+2zjAgGBzU8f3UXoOhwb3AcgUOPZLJJRUq5PqZ9QKv0drlNkQ6IDuzrkouGI81CW R+E3RcOW4OxrPF2l00UjKrx1DPdLpRJrdo5TpI4LqUHjInUhKCX9DGf7woeA7T3j8wzx AOAeEOjkWmRBtJTgGKYZfISm7MeX/XrVNlL1ZoOy54NXPHvsoJfEJyA3axkGSBiWZcD2 tIsPPCDtGOi1+xAXqSmTb+stS+6nM/tiZYNKTiFTQmsBdMOOnT7vdd2uesW04vXxQYfi Yg31aaxutCsOg7uUujydP/k3bm2+KyayuJm6NLdJLM+3sxHiW6EARPLaB8lHZc5NYpk6 3XfA== X-Gm-Message-State: AO0yUKVi7hyj4GHAL1lHBzTbJkc1rXqcwhtVAkWr7am9QlhSRzr4yluo MR4HHhR2Nh92wvRXsER+xlYYRmLvQ8C5mRyusrI8Ifi5ephjQ2vH4SxKWnHgbQ/utdG/s9Kuf2V smzLB+IaResk= X-Received: by 2002:ac8:5948:0:b0:3b9:bc8c:c212 with SMTP id 8-20020ac85948000000b003b9bc8cc212mr23885078qtz.29.1677606643771; Tue, 28 Feb 2023 09:50:43 -0800 (PST) X-Google-Smtp-Source: AK7set9RHu5Q9GjZklZVnE0pInWHaeRIEKoO/9YNH1+zHqmMHAAXr8FczD2+bD19QUgHC1mHD3y5eA== X-Received: by 2002:ac8:5948:0:b0:3b9:bc8c:c212 with SMTP id 8-20020ac85948000000b003b9bc8cc212mr23885047qtz.29.1677606643433; Tue, 28 Feb 2023 09:50:43 -0800 (PST) Received: from localhost ([2600:4040:5204:6800:da7c:a2cd:3b13:a673]) by smtp.gmail.com with ESMTPSA id h10-20020ac8776a000000b003b9b8ec742csm6841973qtu.14.2023.02.28.09.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 09:50:42 -0800 (PST) From: Robbie Harwood To: Stefan Berger , grub-devel@gnu.org, dkiper@net-space.pl Cc: development@efficientek.com, dja@axtens.net, sudhakar@linux.ibm.com, nasastry@in.ibm.com, avnish@imap.linux.ibm.com, Stefan Berger Subject: Re: [PATCH v4 0/6] Dynamic allocation of memory regions and IBM vTPM 2.0 In-Reply-To: <20230206150325.3756840-1-stefanb@linux.ibm.com> References: <20230206150325.3756840-1-stefanb@linux.ibm.com> Date: Tue, 28 Feb 2023 12:50:39 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=170.10.129.124; envelope-from=rharwood@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2023 17:50:49 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Berger writes: > Hello, > > This is an addition to the series sent from Daniel Axtens=20 > (https://lists.gnu.org/archive/html/grub-devel/2022-04/msg00064.html). > > Patch 'ieee1275: request memory with ibm,client-architecture-support'=20 > 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=20 > example, min of 200 CPUs) > - Grub needs to request memory. > > If vector 5 is not implemented, Power Hypervisor will consider the defaul= t=20 > 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. > > Add an IBM/ieee1275 vTPM 2.0 driver that requires the preceeding memory > patches due to the grub's TPM subsystem needing large chunks of memory for > hashing of files such as initrd and kernel. > > Stefan For the series: Reviewed-by: Robbie Harwood Be well, =2D-Robbie --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEA5qc6hnelQjDaHWqJTL5F2qVpEIFAmP+Pu8UHHJoYXJ3b29k QHJlZGhhdC5jb20ACgkQJTL5F2qVpEK7dQ//XBwUYLyt/1MUK7k15RstZGjvxK48 /0lZv2c/0Q1SrNsgnZ1CUyyapAWA2zQhqqmhlLGmGfNq/1LaVugEM/DKHBBgsJQS aDbyhu1CzrLCVrsf7dmB3Qy5uDpYGrbhwzBpxhtQBugJ5X0Hl9A5kfHmOS1y7sEm arr8P3HNkI20cRCdElLG8RJcHNHQTOPqt6XwSIJPbPAa2rJpXOm2yPHxCsvciQo+ SNBT/GreWzEHr0JQyADfm3iM7kvd7ipoHS3ECpiea04wlRVou1jEuxdxIHkkGsZS WaERtWaAi4+sFWzkCcsIST6PvWEipRb/FXYve1wZsfN3WoDU67a9cDMnLQQ18XFH 6+z8LMMZ8ktVA2Gnw82a7PymAU7T1ZB25eqi51fgr4mQ/c7v3Uu+/qzFnhlsK4rp F5AJR04uJXsjY9WQWfhMIgriq7h+c1lz+4qiXsWC5Zgd3RFDO23OcsXql2XwUFkw RqqTQ6tI1rmx1BQERdI1ROsuPnPGLrlw4Ffm9YOUhWuZju+yvOd+ZFqXt9cO+ZyL 5c+muuOmGCqMGdktFUVS1M5V5PngrS8J8r6Y15Al8JU/5Rf1nCD2xZ6O/STEABd9 Atu707wcbzgLMutz0kE8FVJn+AhQAH/F0g9WxhiIy8v6nZxCrbYlwDQEib0cy5Sp Tfy+boJsP4lIpHM= =z6ZU -----END PGP SIGNATURE----- --=-=-=--