mbox series

[0/3] arm64: ftrace: fixes

Message ID 20220614080944.1349146-1-mark.rutland@arm.com (mailing list archive)
Headers show
Series arm64: ftrace: fixes | expand

Message

Mark Rutland June 14, 2022, 8:09 a.m. UTC
This series contains a few fixes for the arm64 ftrace code. The first
two patches fix latent issues which have been around for a while, and
the last patch is a cleanup for rework merged in v5.19-rc1. I'd like to
build atop these for v5.20, so it'd be great if these could be queued as
fixes for v5.19-rc*, that'd be great.

These were all found by inspection while I was working on reviewing
other code in this area.

Thanks,
Mark.

Mark Rutland (3):
  arm64: ftrace: fix branch range checks
  arm64: ftrace: consistently handle PLTs.
  arm64: ftrace: remove redundant label

 arch/arm64/kernel/entry-ftrace.S |   1 -
 arch/arm64/kernel/ftrace.c       | 137 +++++++++++++++----------------
 2 files changed, 66 insertions(+), 72 deletions(-)

Comments

Ard Biesheuvel June 14, 2022, 9:17 a.m. UTC | #1
On Tue, 14 Jun 2022 at 10:09, Mark Rutland <mark.rutland@arm.com> wrote:
>
> This series contains a few fixes for the arm64 ftrace code. The first
> two patches fix latent issues which have been around for a while, and
> the last patch is a cleanup for rework merged in v5.19-rc1. I'd like to
> build atop these for v5.20, so it'd be great if these could be queued as
> fixes for v5.19-rc*, that'd be great.
>
> These were all found by inspection while I was working on reviewing
> other code in this area.
>
> Thanks,
> Mark.
>
> Mark Rutland (3):
>   arm64: ftrace: fix branch range checks
>   arm64: ftrace: consistently handle PLTs.
>   arm64: ftrace: remove redundant label
>

For the series,

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Chengming Zhou June 15, 2022, 10:07 a.m. UTC | #2
On 2022/6/14 16:09, Mark Rutland wrote:
> This series contains a few fixes for the arm64 ftrace code. The first
> two patches fix latent issues which have been around for a while, and
> the last patch is a cleanup for rework merged in v5.19-rc1. I'd like to
> build atop these for v5.20, so it'd be great if these could be queued as
> fixes for v5.19-rc*, that'd be great.
> 
> These were all found by inspection while I was working on reviewing
> other code in this area.
> 
> Thanks,
> Mark.
> 
> Mark Rutland (3):
>   arm64: ftrace: fix branch range checks
>   arm64: ftrace: consistently handle PLTs.
>   arm64: ftrace: remove redundant label
> 
>  arch/arm64/kernel/entry-ftrace.S |   1 -
>  arch/arm64/kernel/ftrace.c       | 137 +++++++++++++++----------------
>  2 files changed, 66 insertions(+), 72 deletions(-)
> 

Hi, for the series,

Reviewed-by: Chengming Zhou <zhouchengming@bytedance.com>

Thanks.
Ivan T. Ivanov June 15, 2022, 2:27 p.m. UTC | #3
On 06-14 09:09, Mark Rutland wrote:
> 
> This series contains a few fixes for the arm64 ftrace code. The first
> two patches fix latent issues which have been around for a while, and
> the last patch is a cleanup for rework merged in v5.19-rc1. I'd like to
> build atop these for v5.20, so it'd be great if these could be queued as
> fixes for v5.19-rc*, that'd be great.
> 
> These were all found by inspection while I was working on reviewing
> other code in this area.
> 
> Thanks,
> Mark.
> 
> Mark Rutland (3):
>   arm64: ftrace: fix branch range checks
>   arm64: ftrace: consistently handle PLTs.
>   arm64: ftrace: remove redundant label
> 

 If this helps.

 Tested-by: "Ivan T. Ivanov" <iivanov@suse.de>

 Regards,
 Ivan
Catalin Marinas June 15, 2022, 3:43 p.m. UTC | #4
On Tue, 14 Jun 2022 09:09:41 +0100, Mark Rutland wrote:
> This series contains a few fixes for the arm64 ftrace code. The first
> two patches fix latent issues which have been around for a while, and
> the last patch is a cleanup for rework merged in v5.19-rc1. I'd like to
> build atop these for v5.20, so it'd be great if these could be queued as
> fixes for v5.19-rc*, that'd be great.
> 
> These were all found by inspection while I was working on reviewing
> other code in this area.
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/3] arm64: ftrace: fix branch range checks
      https://git.kernel.org/arm64/c/3eefdf9d1e40
[2/3] arm64: ftrace: consistently handle PLTs.
      https://git.kernel.org/arm64/c/a6253579977e
[3/3] arm64: ftrace: remove redundant label
      https://git.kernel.org/arm64/c/0d8116ccd83b