From: Athira Rajeev <atrajeev@linux.vnet.ibm.com> To: mpe@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org, linux-perf-users@vger.kernel.org, maddy@linux.ibm.com, kjain@linux.ibm.com, disgoel@linux.ibm.com, Athira Rajeev <atrajeev@linux.vnet.ibm.com>, Naveen N Rao <naveen@kernel.org> Subject: [PATCH 2/2] powerpc/platforms/pseries: Remove unused r0 in the hcall tracing code Date: Fri, 29 Sep 2023 22:53:37 +0530 [thread overview] Message-ID: <20230929172337.7906-2-atrajeev@linux.vnet.ibm.com> (raw) In-Reply-To: <20230929172337.7906-1-atrajeev@linux.vnet.ibm.com> In the plpar_hcall trace code, currently we use r0 to store the ORed result of r4. But this value is not used subsequently in the code. Hence remove this unused save to r0 in plpar_hcall and plpar_hcall9 Suggested-by: Naveen N Rao <naveen@kernel.org> Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> --- arch/powerpc/platforms/pseries/hvCall.S | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/powerpc/platforms/pseries/hvCall.S b/arch/powerpc/platforms/pseries/hvCall.S index 2addf2ea03f0..2b0cac6fb61f 100644 --- a/arch/powerpc/platforms/pseries/hvCall.S +++ b/arch/powerpc/platforms/pseries/hvCall.S @@ -184,8 +184,6 @@ _GLOBAL_TOC(plpar_hcall) plpar_hcall_trace: HCALL_INST_PRECALL(R5) - mr r0,r4 - mr r4,r5 mr r5,r6 mr r6,r7 @@ -295,8 +293,6 @@ _GLOBAL_TOC(plpar_hcall9) plpar_hcall9_trace: HCALL_INST_PRECALL(R5) - mr r0,r4 - mr r4,r5 mr r5,r6 mr r6,r7 -- 2.39.3
WARNING: multiple messages have this Message-ID (diff)
From: Athira Rajeev <atrajeev@linux.vnet.ibm.com> To: mpe@ellerman.id.au Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>, kjain@linux.ibm.com, Naveen N Rao <naveen@kernel.org>, linux-perf-users@vger.kernel.org, maddy@linux.ibm.com, disgoel@linux.ibm.com, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 2/2] powerpc/platforms/pseries: Remove unused r0 in the hcall tracing code Date: Fri, 29 Sep 2023 22:53:37 +0530 [thread overview] Message-ID: <20230929172337.7906-2-atrajeev@linux.vnet.ibm.com> (raw) In-Reply-To: <20230929172337.7906-1-atrajeev@linux.vnet.ibm.com> In the plpar_hcall trace code, currently we use r0 to store the ORed result of r4. But this value is not used subsequently in the code. Hence remove this unused save to r0 in plpar_hcall and plpar_hcall9 Suggested-by: Naveen N Rao <naveen@kernel.org> Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> --- arch/powerpc/platforms/pseries/hvCall.S | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/powerpc/platforms/pseries/hvCall.S b/arch/powerpc/platforms/pseries/hvCall.S index 2addf2ea03f0..2b0cac6fb61f 100644 --- a/arch/powerpc/platforms/pseries/hvCall.S +++ b/arch/powerpc/platforms/pseries/hvCall.S @@ -184,8 +184,6 @@ _GLOBAL_TOC(plpar_hcall) plpar_hcall_trace: HCALL_INST_PRECALL(R5) - mr r0,r4 - mr r4,r5 mr r5,r6 mr r6,r7 @@ -295,8 +293,6 @@ _GLOBAL_TOC(plpar_hcall9) plpar_hcall9_trace: HCALL_INST_PRECALL(R5) - mr r0,r4 - mr r4,r5 mr r5,r6 mr r6,r7 -- 2.39.3
next prev parent reply other threads:[~2023-09-29 17:24 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-29 17:23 [PATCH 1/2] powerpc/platforms/pseries: Fix STK_PARAM access in the hcall tracing code Athira Rajeev 2023-09-29 17:23 ` Athira Rajeev 2023-09-29 17:23 ` Athira Rajeev [this message] 2023-09-29 17:23 ` [PATCH 2/2] powerpc/platforms/pseries: Remove unused r0 " Athira Rajeev 2023-10-15 10:00 ` [PATCH 1/2] powerpc/platforms/pseries: Fix STK_PARAM access " Michael Ellerman 2023-10-15 10:00 ` 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=20230929172337.7906-2-atrajeev@linux.vnet.ibm.com \ --to=atrajeev@linux.vnet.ibm.com \ --cc=disgoel@linux.ibm.com \ --cc=kjain@linux.ibm.com \ --cc=linux-perf-users@vger.kernel.org \ --cc=linuxppc-dev@lists.ozlabs.org \ --cc=maddy@linux.ibm.com \ --cc=mpe@ellerman.id.au \ --cc=naveen@kernel.org \ /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: linkBe 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.