Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDCD9C433F5 for ; Wed, 1 Dec 2021 15:57:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350986AbhLAQAi (ORCPT ); Wed, 1 Dec 2021 11:00:38 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:2964 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351230AbhLAQAh (ORCPT ); Wed, 1 Dec 2021 11:00:37 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1B1FrS5T023365; Wed, 1 Dec 2021 15:57:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=4kqsN37tthTsACC+urbO3N/4rEnX08amATB56h6JiRo=; b=cBB5jf3yOAdPC40qaCg2RGwmRvg/xhg/K8mNA1QmxlFhuBju7Wwp++mkusPqv7RBzO5B KvLwD2Qmgpop6qfNtFdZjgSVhgF1Mh5EqKJ3jMZJxQqsGSeicebl9nHryywV5j0R+P4a FHf5t8Fx6fAvHkWvpe5qpKeh8R91CKr1Ie+Rfil3qf0Ntdic+pl0NGVJgJ7Ar8yE+wKP Gb37Zwp2HTfboaz2cNIMV+RVMqoiuPL1I54jvoEmEzAMKyJns9uQJRUFtWHTlvuJC48N krhR+F0+wYoe2MjWAEh47Rfdi2GeS79JBma6gSa9LkcULYoonxLHop3cMHfn/WaLBuaV Eg== Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 3cpc2yg1sy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Dec 2021 15:57:11 +0000 Received: from pps.filterd (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 1B1FXK5G014135; Wed, 1 Dec 2021 15:57:10 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma03fra.de.ibm.com with ESMTP id 3ckcaa1qp0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Dec 2021 15:57:10 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1B1Fv6sG22806910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 1 Dec 2021 15:57:06 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B4012A4051; Wed, 1 Dec 2021 15:57:06 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8F419A4053; Wed, 1 Dec 2021 15:57:06 +0000 (GMT) Received: from [9.145.175.48] (unknown [9.145.175.48]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 1 Dec 2021 15:57:06 +0000 (GMT) Message-ID: <60df1f67-dc37-f891-3c83-aba5a15bdddc@linux.ibm.com> Date: Wed, 1 Dec 2021 16:57:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH] powerpc/pseries: read the lpar name from the firmware Content-Language: en-US To: Nathan Lynch , linuxppc-dev@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org References: <20211201144826.45342-1-ldufour@linux.ibm.com> <87h7bsny0a.fsf@linux.ibm.com> From: Laurent Dufour In-Reply-To: <87h7bsny0a.fsf@linux.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: xbk255KHP_umlFlTlkhhAZr7-roTM3EL X-Proofpoint-ORIG-GUID: xbk255KHP_umlFlTlkhhAZr7-roTM3EL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-30_10,2021-12-01_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 bulkscore=0 mlxlogscore=999 clxscore=1015 spamscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2112010088 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/12/2021, 16:30:29, Nathan Lynch wrote: > Laurent Dufour writes: >> The LPAR name may be changed after the LPAR has been started in the HMC. >> In that case lparstat command is not reporting the updated value because it >> reads it from the device tree which is read at boot time. > Could lparstat be changed to make the appropriate get-system-parameter > call via librtas, avoiding a kernel change? You're right, I could do that directly in lparstat without changes in the kernel. Thanks, Laurent.