From: Michael Ellerman <mpe@ellerman.id.au>
To: Shrikanth Hegde <sshegde@linux.ibm.com>, nathanl@linux.ibm.com
Cc: naveen.n.rao@linux.ibm.com, tyreld@linux.ibm.com,
linuxppc-dev@lists.ozlabs.org, mahesh@linux.ibm.com,
npiggin@gmail.com
Subject: Re: [PATCH v2 0/2] powerpc/pseries: Fixes for lparstat boot reports
Date: Tue, 30 Apr 2024 13:54:52 +1000 [thread overview]
Message-ID: <87cyq7ec8j.fsf@mail.lhotse> (raw)
In-Reply-To: <cabc8249-4ef4-4d57-afb4-93b95120a51e@linux.ibm.com>
Shrikanth Hegde <sshegde@linux.ibm.com> writes:
> On 4/12/24 2:50 PM, Shrikanth Hegde wrote:
>> Currently lparstat reports which shows since LPAR boot are wrong for
>> some fields. There is a need for storing the PIC(Pool Idle Count) at
>> boot for accurate reporting. PATCH 1 Does that.
>>
>> While there, it was noticed that hcall return value is long and both
>> h_get_ppp and h_get_mpp could set the uninitialized values if the hcall
>> fails. PATCH 2 does that.
>>
>> v1 -> v2:
>> - Nathan pointed out the issues surrounding the h_pic call. Addressed
>> those.
>> - Added a pr_debug if h_pic fails during lparcfg_init
>> - If h_pic fails while reading lparcfg, related files are not exported.
>> - Added failure checks for h_get_mpp, h_get_ppp calls as well.
>>
>> v1: https://lore.kernel.org/all/20240405101340.149171-1-sshegde@linux.ibm.com/
>>
>> Shrikanth Hegde (2):
>> powerpc/pseries: Add pool idle time at LPAR boot
>> powerpc/pseries: Add fail related checks for h_get_mpp and h_get_ppp
>>
>> arch/powerpc/include/asm/hvcall.h | 2 +-
>> arch/powerpc/platforms/pseries/lpar.c | 6 ++--
>> arch/powerpc/platforms/pseries/lparcfg.c | 45 +++++++++++++++++-------
>> 3 files changed, 37 insertions(+), 16 deletions(-)
>>
>> --
>> 2.39.3
>>
>
> Ping.
>
> Michael, Nathan, Naveen
> Any comments on these patches?
Looks fine. I have it in next-test, will probably go into next tomorrow.
cheers
next prev parent reply other threads:[~2024-04-30 3:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-12 9:20 [PATCH v2 0/2] powerpc/pseries: Fixes for lparstat boot reports Shrikanth Hegde
2024-04-12 9:20 ` [PATCH v2 1/2] powerpc/pseries: Add pool idle time at LPAR boot Shrikanth Hegde
2024-04-12 9:20 ` [PATCH v2 2/2] powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp Shrikanth Hegde
2024-08-15 19:53 ` Michal Suchánek
2024-08-16 17:03 ` Shrikanth Hegde
2024-04-29 5:55 ` [PATCH v2 0/2] powerpc/pseries: Fixes for lparstat boot reports Shrikanth Hegde
2024-04-30 3:54 ` Michael Ellerman [this message]
2024-05-03 10:41 ` Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cyq7ec8j.fsf@mail.lhotse \
--to=mpe@ellerman.id.au \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mahesh@linux.ibm.com \
--cc=nathanl@linux.ibm.com \
--cc=naveen.n.rao@linux.ibm.com \
--cc=npiggin@gmail.com \
--cc=sshegde@linux.ibm.com \
--cc=tyreld@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).