All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sourabh Jain <sourabhjain@linux.ibm.com>
To: Harsh Prateek Bora <harsh.prateek.bora@gmail.com>,
	Vaibhav Jain <vaibhav@linux.ibm.com>
Cc: Shivang Upadhyay <shivangu@linux.ibm.com>,
	qemu-devel@nongnu.org, qemu-ppc@nongnu.org,
	hbathini@linux.ibm.com, Aditya Gupta <adityag@linux.ibm.com>,
	Harsh Prateek Bora <harshpb@linux.ibm.com>,
	rathc@linux.ibm.com, Nicholas Piggin <npiggin@gmail.com>,
	mahesh@linux.ibm.com
Subject: Re: [PATCH 0/3] hw/ppc: reorg PowerPC RAS code for better maintainability
Date: Tue, 18 Aug 2026 13:57:51 +0530	[thread overview]
Message-ID: <9d89c00f-77d1-4bf7-991c-306ebef681e5@linux.ibm.com> (raw)
In-Reply-To: <CAEuJdmrKCJs_acaeJUu=WNif_hHnq1N5yikgiu7GoBcWjnxLTA@mail.gmail.com>



On 15/07/26 20:22, Harsh Prateek Bora wrote:
> On Wed, 15 Jul, 2026, 8: 10 pm Vaibhav Jain, 
> <vaibhav@ linux. ibm. com> wrote: Hi Shivang, Thanks for the patches. 
> My review comments below: Shivang Upadhyay <shivangu@ linux. ibm. com> 
> writes: > Extracting RAS related code from spapr_rtas. c,
> 
>
>
> On Wed, 15 Jul, 2026, 8:10 pm Vaibhav Jain, <vaibhav@linux.ibm.com> wrote:
>
>     Hi Shivang,
>
>     Thanks for the patches. My review comments below:
>
>     Shivang Upadhyay <shivangu@linux.ibm.com> writes:
>
>     > Extracting RAS related code from spapr_rtas.c, to a newly
>     created spapr_rtas_ras.c
>     > and carving out a MAINTAINERS entry dedicated to PowerPC RAS.
>     This will cover RAS
>     > related functionalities for PowerPC platforms.
>     For a refactor-only change, this patch is adding 44 new lines to the
>     codebase which feels a bit heavy.
>
>     Just moving code from one file to a new file will reset the git blame
>     history of the code making future reviews difficult.
>
>     Such movement also makes code optimization difficult for compiler.
>
>     IMHO such code movement should only be done when:
>
>     * Its accompanied with patches for adding or fixing a functionality.
>     Or
>     * It clearly improves performance
>     Or
>     * Results in significant reduction in LOC
>
>     Since these patches doesnt seem to fit to any of the above criteria I
>     suggest you to reconsider these patches.
>
>
> I think the goal here is to ensure right people get notified to review 
> RAS related code changes. Other option would be to keep entire 
> spapr_rtas.c file listed under RAS and let it have non RAS related 
> code also and do the split later when it's bloated enough to be 
> considered for split. Open to suggestions.
>
> Aditya, Sourabh, thoughts?

Yes, I think we can drop the code rearrangement done in 1/3 for now. 
And, as you said,
to bring the right people into the review, we can still consider the 2nd 
and 3rd patches.


- Sourabh Jain

>
>
>
>     >
>     > Also adding myself as a reviewer, to help share the review workload.
>     >
>     Thanks for volunteering as a reviwer for this code. Having more help
>     with reviews is always good :-)
>
>     > Shivang Upadhyay (3):
>     >   hw/ppc: move RAS-specific RTAS handlers to spapr_rtas_ras.c
>     >   MAINTAINERS: add dedicated PowerPC RAS section
>     >   MAINTAINERS: add self as reviewer for PowerPC RAS
>     >
>     >  MAINTAINERS             |  33 +++---
>     >  hw/ppc/meson.build      |   1 +
>     >  hw/ppc/spapr_rtas.c     | 189 --------------------------------
>     >  hw/ppc/spapr_rtas_ras.c | 232
>     ++++++++++++++++++++++++++++++++++++++++
>     >  4 files changed, 249 insertions(+), 206 deletions(-)
>     >  create mode 100644 hw/ppc/spapr_rtas_ras.c
>     >
>     > --
>     > 2.54.0
>     >
>     >
>
>     -- 
>     Cheers
>     ~ Vaibhav
>



      reply	other threads:[~2026-08-18  8:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-14 16:47 [PATCH 0/3] hw/ppc: reorg PowerPC RAS code for better maintainability Shivang Upadhyay
2026-07-14 16:47 ` [PATCH 1/3] hw/ppc: move RAS-specific RTAS handlers to spapr_rtas_ras.c Shivang Upadhyay
2026-07-16  4:44   ` Sourabh Jain
2026-07-14 16:47 ` [PATCH 2/3] MAINTAINERS: add dedicated PowerPC RAS section Shivang Upadhyay
2026-08-18  5:48   ` Aditya Gupta
2026-08-18  8:33   ` Sourabh Jain
2026-07-14 16:47 ` [PATCH 3/3] MAINTAINERS: add self as reviewer for PowerPC RAS Shivang Upadhyay
2026-08-18  5:49   ` Aditya Gupta
2026-07-15 14:39 ` [PATCH 0/3] hw/ppc: reorg PowerPC RAS code for better maintainability Vaibhav Jain
2026-07-15 14:52   ` Harsh Prateek Bora
2026-08-18  8:27     ` Sourabh Jain [this message]

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=9d89c00f-77d1-4bf7-991c-306ebef681e5@linux.ibm.com \
    --to=sourabhjain@linux.ibm.com \
    --cc=adityag@linux.ibm.com \
    --cc=harsh.prateek.bora@gmail.com \
    --cc=harshpb@linux.ibm.com \
    --cc=hbathini@linux.ibm.com \
    --cc=mahesh@linux.ibm.com \
    --cc=npiggin@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=rathc@linux.ibm.com \
    --cc=shivangu@linux.ibm.com \
    --cc=vaibhav@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.