Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6461787pxb; Tue, 15 Feb 2022 03:01:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfRY/B0CCJj6kXB/ei5PCCZ5r0vsFqt4NrPWBrDnpOzrrFQ7/hdL8LOV2n/nRfarIQC2qc X-Received: by 2002:a17:90a:197:: with SMTP id 23mr3688701pjc.3.1644922897179; Tue, 15 Feb 2022 03:01:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644922897; cv=none; d=google.com; s=arc-20160816; b=hquXqqsniUs3+5kyqyAr9wfuS29EjBWiIgJemCxTTCEthYRGK1p4Y9p642QvfkYJJA KpRjaGmGjgCOwW6gHpUbjjrhxh2ox0gqJEMnUG4m7GBaYyfsKWTgWy2I/NcWIpijK8fc kz37vJulwoS5qvsxHj0byAFrGBkc/4/G6T4kCAnqYqA+4elPeur2xg1K69lk6wbG4SSL 42NWnzDEDoc7lnysk1I/HMgJm9f/AX9CjTKomk/Bcuvq0E8p3ustLoCr11u8MzWtiK40 ctRINH0OLLTWmBdG74Y+5IrPxNb50LNaQM2FY1OM+L86MyP8Bg69iLlA1qQhAC3RgtvW FGLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=75btnjFfjvunyumZNiLsTYwrw7sC/0eREDSmTF/t7uM=; b=o6ZaJWQwVaAmmiMsgDiK0mOzUHYPp15Q8NUGjiUDzemxqzLiZglvSTCnpHxSeHNRXi +07F/l1RBP0d4wiqif8cedaJg5zxyLuaHVTpuGMuO5e8N1vy1jvr1Pn8mnoiIsiCmhYa YF7HJeyNSrsNRQLyZM829xvuo7yD3lUnrI/UrVohFNCVJQmepHvXWNsUWTIQt3r8WBhD L1pBCHNDzwpzkKMt8aGEgeYnPDZPo1Jpp6giOJxivOrtr9Jy/+jw6T5ZcdiqZ7WOEg6+ kujHf39gDkCKoSGcNc1X1zeboLT4sfUikmyH6J0pQ0jt1ExUneDsBSnc/aBFCmNzXe/4 qgRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8si2417655pgp.91.2022.02.15.03.01.23; Tue, 15 Feb 2022 03:01:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234085AbiBOFam (ORCPT + 99 others); Tue, 15 Feb 2022 00:30:42 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234102AbiBOFa3 (ORCPT ); Tue, 15 Feb 2022 00:30:29 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44A1C128DF0 for ; Mon, 14 Feb 2022 21:30:17 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4JyV6G39sKz4y4j; Tue, 15 Feb 2022 16:30:14 +1100 (AEDT) From: Michael Ellerman To: Laurent Dufour , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: Nathan Lynch , tyreld@linux.ibm.com In-Reply-To: <20220106161339.74656-1-ldufour@linux.ibm.com> References: <20220106161339.74656-1-ldufour@linux.ibm.com> Subject: Re: [PATCH v5] powerpc/pseries: read the lpar name from the firmware Message-Id: <164490278732.270256.5912946204648546254.b4-ty@ellerman.id.au> Date: Tue, 15 Feb 2022 16:26:27 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 Jan 2022 17:13:39 +0100, Laurent Dufour wrote: > 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. > > However this value could be read from RTAS. > > Adding this value in the /proc/powerpc/lparcfg output allows to read the > updated value. > > [...] Applied to powerpc/next. [1/1] powerpc/pseries: read the lpar name from the firmware https://git.kernel.org/powerpc/c/eddaa9a402758d379520f6511fb61e89990698aa cheers