On Wed, May 28, 2025 at 01:30:52PM +0530, Mukesh Kumar Chaurasiya wrote:
> fixing a typo where iff is supposed to be if.
>
I just realized its if and only if. Please ignore.
> Signed-off-by: Mukesh Kumar Chaurasiya
> ---
> arch/powerpc/kernel/exceptions-64s.S | 2 +-
>
fixing a typo where iff is supposed to be if.
Signed-off-by: Mukesh Kumar Chaurasiya
---
arch/powerpc/kernel/exceptions-64s.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/exceptions-64s.S
b/arch/powerpc/kernel/exceptions-64s.S
index b7229430ca94
On Tue, Apr 29, 2025 at 11:41:09AM +0530, Shrikanth Hegde wrote:
>
>
> On 4/28/25 20:52, Mukesh Kumar Chaurasiya wrote:
> > Enable the syscall entry and exit path from generic framework.
> >
> > Signed-off-by: Mukesh Kumar Chaurasiya
>
> Hi Mukesh. Thanks
On Fri, Apr 25, 2025 at 02:46:43PM -0300, Arnaldo Carvalho de Melo wrote:
> On Fri, Apr 25, 2025 at 08:19:02PM +0530, Athira Rajeev wrote:
> > > On 14 Apr 2025, at 7:08 AM, Madhavan Srinivasan
> > > wrote:
> > > On 4/7/25 5:38 PM, Venkat Rao Bagalkote wrote:
> > >> On 07/04/25 12:10 am, Athira Ra
On Mon, Apr 28, 2025 at 08:52:20PM +0530, Mukesh Kumar Chaurasiya wrote:
Few corrections in the commit message:
> This is a syscall only implementation of generic entry/exit framework
> for framework for ppc. IRQ handling is not done in this RFC.
>
s/framework for framework/framework
&g
Enable the syscall entry and exit path from generic framework.
Signed-off-by: Mukesh Kumar Chaurasiya
---
arch/powerpc/Kconfig| 1 +
arch/powerpc/kernel/interrupt.c | 46 +++
arch/powerpc/kernel/ptrace/ptrace.c | 103
arch/powerpc/kernel
Introducing following functions for syscall exit
- arch_exit_to_user_mode_work
- arch_exit_to_user_mode_work_prepare
Signed-off-by: Mukesh Kumar Chaurasiya
---
arch/powerpc/include/asm/entry-common.h | 51 +++
arch/powerpc/include/asm/interrupt.h| 82
In case of signal being processed we want to restore the GPRS. To save the state
of whether we need to restore the registers or not a flag is introduced so that
we can save the state for that cpu in case we want to save the register state.
Signed-off-by: Mukesh Kumar Chaurasiya
---
arch/powerpc
Introduce arch_enter_from_user_mode required by syscall entry.
Signed-off-by: Mukesh Kumar Chaurasiya
---
arch/powerpc/include/asm/entry-common.h | 96 +
arch/powerpc/include/asm/interrupt.h| 23 ++
arch/powerpc/kernel/interrupt.c | 22 --
3 files
Enabling build with generic entry/exit framework for powerpc
architecture requires few necessary steps. This patch just takes care
of the preparation.
Signed-off-by: Mukesh Kumar Chaurasiya
---
arch/powerpc/include/asm/entry-common.h | 11 +++
arch/powerpc/include/asm/stacktrace.h
Renaming arch_irq_disabled_regs to regs_irqs_disabled to be used
commonly in generic entry exit framework and ppc arch code.
Signed-off-by: Mukesh Kumar Chaurasiya
---
arch/powerpc/include/asm/hw_irq.h| 4 ++--
arch/powerpc/include/asm/interrupt.h | 12 ++--
arch/powerpc/kernel
|
| ops/sec| 1,10,61,579 | 1,16,77,086|
That's ~5% degradation as of now.
Mukesh Kumar Chaurasiya (6):
powerpc: rename arch_irq_disabled_regs
powerpc: Prepare to build with genreic entry/exit framework
powerpc: introduce arch_enter_from_user_mode
po
On Thu, Apr 17, 2025 at 01:02:05PM +0200, Michal Suchánek wrote:
> On Thu, Apr 17, 2025 at 11:37:09AM +0530, Mukesh Kumar Chaurasiya wrote:
> > On Fri, Mar 07, 2025 at 10:20:52AM +0100, Michal Suchanek wrote:
> > > Similar to x86 the ppc boot code does not build with GCC 15.
>
gt; Misbah Anjum N (1):
> arch/powerpc: Remove redundant typedef for bool
>
> arch/powerpc/boot/types.h | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Mukesh Kumar Chaurasiya
> --
> 2.49.0
>
On Fri, Mar 07, 2025 at 10:20:52AM +0100, Michal Suchanek wrote:
> Similar to x86 the ppc boot code does not build with GCC 15.
>
> Copy the fix from
> commit ee2ab467bddf ("x86/boot: Use '-std=gnu11' to fix build with GCC 15")
>
> Signed-off-by: Michal Suchanek
> ---
> arch/powerpc/boot/Makefi
ls/lib/perf/cpumap.c
> +++ b/tools/lib/perf/cpumap.c
> @@ -398,7 +398,7 @@ bool perf_cpu_map__is_subset(const struct perf_cpu_map
> *a, const struct perf_cpu
> int perf_cpu_map__merge(struct perf_cpu_map **orig, struct perf_cpu_map
> *other)
> {
> struct perf_cpu *tmp_cpus;
> - int tmp_len;
> + unsigned int tmp_len;
> int i, j, k;
> struct perf_cpu_map *merged;
>
LGTM
Reviewed-by: Mukesh Kumar Chaurasiya
> --
> 2.43.5
>
> +++ b/arch/powerpc/configs/ppc64_defconfig
> @@ -57,7 +57,7 @@ CONFIG_CPU_FREQ_GOV_POWERSAVE=y
> CONFIG_CPU_FREQ_GOV_USERSPACE=y
> CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
> CONFIG_CPU_FREQ_PMAC64=y
> -CONFIG_HZ_100=y
> +CONFIG_HZ_1000=y
> CONFIG_PPC_TRANSACTIONAL_MEM=y
> CONFIG_KEXEC=y
> CONFIG_KEXEC_FILE=y
> --
> 2.47.0
>
LGTM
Reviewed-by: Mukesh Kumar Chaurasiya
On Tue, Mar 11, 2025 at 03:50:42PM -0700, Haren Myneni wrote:
> The RTAS call can be normal where retrieves the data form the
> hypervisor once or sequence based RTAS call which has to
> issue multiple times until the complete data is obtained. For
> some of these sequence RTAS calls, the OS should
Currently this cannot lookup symbol beyond 64 characters in some cases
like "ls", "lp" and "t"
Fix this by using KSYM_NAME_LEN instead of fixed 64 characters
Signed-off-by: Mukesh Kumar Chaurasiya
---
arch/powerpc/xmon/xmon.c | 6 +++---
1 file changed
On Thu, Oct 24, 2024 at 10:42:12AM +0530, Mukesh Kumar Chaurasiya wrote:
> On Thu, Oct 24, 2024 at 12:00:53PM +1100, Michael Ellerman wrote:
> > Mukesh Kumar Chaurasiya writes:
> > > Currently xmon cannot lookup symbol beyond 64 characters in some cases.
> >
> >
On Thu, Oct 24, 2024 at 12:00:53PM +1100, Michael Ellerman wrote:
> Mukesh Kumar Chaurasiya writes:
> > Currently xmon cannot lookup symbol beyond 64 characters in some cases.
>
> Can you mention which commands? It looks like it's "ls" and "lp".
Sure
Currently xmon cannot lookup symbol beyond 64 characters in some cases.
Fix this by using KSYM_NAME_LEN instead of fixed 64 characters.
Signed-off-by: Mukesh Kumar Chaurasiya
---
arch/powerpc/xmon/xmon.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc
22 matches
Mail list logo