linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/vdso: Remove unused clockmode asm offsets
@ 2024-11-13  8:06 Thomas Weißschuh
  2024-11-13 10:20 ` Christophe Leroy
  2024-11-17 12:09 ` Michael Ellerman
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Weißschuh @ 2024-11-13  8:06 UTC (permalink / raw)
  To: Michael Ellerman, Nicholas Piggin, Christophe Leroy, Naveen N Rao,
	Madhavan Srinivasan
  Cc: linuxppc-dev, linux-kernel, Thomas Weißschuh

These offsets are not used anymore, delete them.

Fixes: c39b1dcf055d ("powerpc/vdso: Add a page for non-time data")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
This is based on powerpc/topic/vdso.
Feel free to fold this change into the original commit.
---
 arch/powerpc/kernel/asm-offsets.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
index 7b3feb6bc2103bc89ea14fbaac6937f1c97d4ff8..23733282de4d9f975aa9450b26c1049688e6663e 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -346,8 +346,6 @@ int main(void)
 #else
 	OFFSET(CFG_SYSCALL_MAP32, vdso_arch_data, syscall_map);
 #endif
-	OFFSET(VDSO_CLOCKMODE_OFFSET, vdso_arch_data, data[0].clock_mode);
-	DEFINE(VDSO_CLOCKMODE_TIMENS, VDSO_CLOCKMODE_TIMENS);
 
 #ifdef CONFIG_BUG
 	DEFINE(BUG_ENTRY_SIZE, sizeof(struct bug_entry));

---
base-commit: 0161bd38c24312853ed5ae9a425a1c41c4ac674a
change-id: 20241113-vdso-powerpc-asm-offsets-056016f80174

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh@linutronix.de>



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] powerpc/vdso: Remove unused clockmode asm offsets
  2024-11-13  8:06 [PATCH] powerpc/vdso: Remove unused clockmode asm offsets Thomas Weißschuh
@ 2024-11-13 10:20 ` Christophe Leroy
  2024-11-17 12:09 ` Michael Ellerman
  1 sibling, 0 replies; 6+ messages in thread
From: Christophe Leroy @ 2024-11-13 10:20 UTC (permalink / raw)
  To: Thomas Weißschuh, Michael Ellerman, Nicholas Piggin,
	Naveen N Rao, Madhavan Srinivasan
  Cc: linuxppc-dev, linux-kernel



Le 13/11/2024 à 09:06, Thomas Weißschuh a écrit :
> These offsets are not used anymore, delete them.
> 
> Fixes: c39b1dcf055d ("powerpc/vdso: Add a page for non-time data")
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>

Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>

> ---
> This is based on powerpc/topic/vdso.
> Feel free to fold this change into the original commit.
> ---
>   arch/powerpc/kernel/asm-offsets.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
> index 7b3feb6bc2103bc89ea14fbaac6937f1c97d4ff8..23733282de4d9f975aa9450b26c1049688e6663e 100644
> --- a/arch/powerpc/kernel/asm-offsets.c
> +++ b/arch/powerpc/kernel/asm-offsets.c
> @@ -346,8 +346,6 @@ int main(void)
>   #else
>   	OFFSET(CFG_SYSCALL_MAP32, vdso_arch_data, syscall_map);
>   #endif
> -	OFFSET(VDSO_CLOCKMODE_OFFSET, vdso_arch_data, data[0].clock_mode);
> -	DEFINE(VDSO_CLOCKMODE_TIMENS, VDSO_CLOCKMODE_TIMENS);
>   
>   #ifdef CONFIG_BUG
>   	DEFINE(BUG_ENTRY_SIZE, sizeof(struct bug_entry));
> 
> ---
> base-commit: 0161bd38c24312853ed5ae9a425a1c41c4ac674a
> change-id: 20241113-vdso-powerpc-asm-offsets-056016f80174
> 
> Best regards,


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] powerpc/vdso: Remove unused clockmode asm offsets
  2024-11-13  8:06 [PATCH] powerpc/vdso: Remove unused clockmode asm offsets Thomas Weißschuh
  2024-11-13 10:20 ` Christophe Leroy
@ 2024-11-17 12:09 ` Michael Ellerman
  2024-11-18  7:00   ` Thomas Weißschuh
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Ellerman @ 2024-11-17 12:09 UTC (permalink / raw)
  To: Michael Ellerman, Nicholas Piggin, Christophe Leroy, Naveen N Rao,
	Madhavan Srinivasan, Thomas Weißschuh
  Cc: linuxppc-dev, linux-kernel

On Wed, 13 Nov 2024 09:06:58 +0100, Thomas Weißschuh wrote:
> These offsets are not used anymore, delete them.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/vdso: Remove unused clockmode asm offsets
      https://git.kernel.org/powerpc/c/d7a82238cb8c77d4ed8cc97cd556c5f3e64bc749

cheers


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] powerpc/vdso: Remove unused clockmode asm offsets
  2024-11-17 12:09 ` Michael Ellerman
@ 2024-11-18  7:00   ` Thomas Weißschuh
  2024-11-19  3:26     ` Michael Ellerman
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Weißschuh @ 2024-11-18  7:00 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: Michael Ellerman, Nicholas Piggin, Christophe Leroy, Naveen N Rao,
	Madhavan Srinivasan, linuxppc-dev, linux-kernel

Hi Michael,

On Sun, Nov 17, 2024 at 11:09:57PM +1100, Michael Ellerman wrote:
> On Wed, 13 Nov 2024 09:06:58 +0100, Thomas Weißschuh wrote:
> > These offsets are not used anymore, delete them.
> > 
> > 
> 
> Applied to powerpc/next.
> 
> [1/1] powerpc/vdso: Remove unused clockmode asm offsets
>       https://git.kernel.org/powerpc/c/d7a82238cb8c77d4ed8cc97cd556c5f3e64bc749

Thanks!

Is there any chance to get this merged as part of topic/vdso?
My vdso rework patches for the 6.14 cycle rely on these removals.


Thomas


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] powerpc/vdso: Remove unused clockmode asm offsets
  2024-11-18  7:00   ` Thomas Weißschuh
@ 2024-11-19  3:26     ` Michael Ellerman
  2024-11-19  8:02       ` Thomas Weißschuh
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Ellerman @ 2024-11-19  3:26 UTC (permalink / raw)
  To: Thomas Weißschuh
  Cc: Michael Ellerman, Nicholas Piggin, Christophe Leroy, Naveen N Rao,
	Madhavan Srinivasan, linuxppc-dev, linux-kernel

Thomas Weißschuh <thomas.weissschuh@linutronix.de> writes:
> Hi Michael,
>
> On Sun, Nov 17, 2024 at 11:09:57PM +1100, Michael Ellerman wrote:
>> On Wed, 13 Nov 2024 09:06:58 +0100, Thomas Weißschuh wrote:
>> > These offsets are not used anymore, delete them.
>> > 
>> > 
>> 
>> Applied to powerpc/next.
>> 
>> [1/1] powerpc/vdso: Remove unused clockmode asm offsets
>>       https://git.kernel.org/powerpc/c/d7a82238cb8c77d4ed8cc97cd556c5f3e64bc749
>
> Thanks!
>
> Is there any chance to get this merged as part of topic/vdso?
 
I could apply it there, but I don't think it will be necessary, because
topic/vdso will be empty vs mainline as soon as I send my pull request
for v6.13.

> My vdso rework patches for the 6.14 cycle rely on these removals.

Assuming you rebase that series onto v6.13-rc1 or later, this commit
will be included in that base.

But let me know if I'm misunderstanding something.

cheers


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] powerpc/vdso: Remove unused clockmode asm offsets
  2024-11-19  3:26     ` Michael Ellerman
@ 2024-11-19  8:02       ` Thomas Weißschuh
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Weißschuh @ 2024-11-19  8:02 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: Michael Ellerman, Nicholas Piggin, Christophe Leroy, Naveen N Rao,
	Madhavan Srinivasan, linuxppc-dev, linux-kernel

On Tue, Nov 19, 2024 at 02:26:22PM +1100, Michael Ellerman wrote:
> Thomas Weißschuh <thomas.weissschuh@linutronix.de> writes:
> > Hi Michael,
> >
> > On Sun, Nov 17, 2024 at 11:09:57PM +1100, Michael Ellerman wrote:
> >> On Wed, 13 Nov 2024 09:06:58 +0100, Thomas Weißschuh wrote:
> >> > These offsets are not used anymore, delete them.
> >> > 
> >> > 
> >> 
> >> Applied to powerpc/next.
> >> 
> >> [1/1] powerpc/vdso: Remove unused clockmode asm offsets
> >>       https://git.kernel.org/powerpc/c/d7a82238cb8c77d4ed8cc97cd556c5f3e64bc749
> >
> > Thanks!
> >
> > Is there any chance to get this merged as part of topic/vdso?
>  
> I could apply it there, but I don't think it will be necessary, because
> topic/vdso will be empty vs mainline as soon as I send my pull request
> for v6.13.

Ah, I assumed the generic next branch wouldn't make it into 6.13 this
late in the cycle.

> > My vdso rework patches for the 6.14 cycle rely on these removals.
> 
> Assuming you rebase that series onto v6.13-rc1 or later, this commit
> will be included in that base.

Great, thanks!

> But let me know if I'm misunderstanding something.


Thanks,
Thomas


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-11-19  8:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13  8:06 [PATCH] powerpc/vdso: Remove unused clockmode asm offsets Thomas Weißschuh
2024-11-13 10:20 ` Christophe Leroy
2024-11-17 12:09 ` Michael Ellerman
2024-11-18  7:00   ` Thomas Weißschuh
2024-11-19  3:26     ` Michael Ellerman
2024-11-19  8:02       ` Thomas Weißschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).