/linux/arch/powerpc/include/asm/ |
H A D | sstep.h | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
H A D | head-64.h | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
H A D | asm-prototypes.h | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
H A D | setup.h | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
H A D | ptrace.h | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
H A D | exception-64s.h | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
H A D | ppc_asm.h | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
/linux/arch/powerpc/kernel/ |
H A D | dt_cpu_ftrs.c | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
H A D | signal.c | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
H A D | cputable.c | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
H A D | setup_64.c | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
H A D | exceptions-64s.S | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
H A D | process.c | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
/linux/arch/powerpc/lib/ |
H A D | sstep.c | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | setup.c | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|
/linux/arch/powerpc/xmon/ |
H A D | xmon.c | diff 7fa95f9adaee7e5cbb195d3359741120829e488b Thu Jun 11 10:12:03 CEST 2020 Nicholas Piggin <npiggin@gmail.com> powerpc/64s: system call support for scv/rfscv instructions
Add support for the scv instruction on POWER9 and later CPUs.
For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno.
rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR.
getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com
|