All of lore.kernel.org
 help / color / mirror / Atom feed
* arm version of generic VDSO?
@ 2019-10-24 12:34 Arnd Bergmann
  2019-10-24 12:47 ` Vincenzo Frascino
  0 siblings, 1 reply; 7+ messages in thread
From: Arnd Bergmann @ 2019-10-24 12:34 UTC (permalink / raw)
  To: Vincenzo Frascino, y2038 Mailman List, Linux ARM

Hi Vinvenzo,

I'm looking through some of the remaining y2038 work, and noticed
that arch/arm64 has the new generic vdso implementation, but arch/arm
does.

Do you patches for using the same code on arch/arm?

       Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: arm version of generic VDSO?
  2019-10-24 12:34 arm version of generic VDSO? Arnd Bergmann
@ 2019-10-24 12:47 ` Vincenzo Frascino
  2019-10-25 19:17   ` Russell King - ARM Linux admin
  0 siblings, 1 reply; 7+ messages in thread
From: Vincenzo Frascino @ 2019-10-24 12:47 UTC (permalink / raw)
  To: Arnd Bergmann, y2038 Mailman List, Linux ARM

Hi Arnd,

On 10/24/19 1:34 PM, Arnd Bergmann wrote:
> Hi Vinvenzo,
> 
> I'm looking through some of the remaining y2038 work, and noticed
> that arch/arm64 has the new generic vdso implementation, but arch/arm
> does.
> 

This is correct, arch/arm does not have support for the generic vDSO library.

> Do you patches for using the same code on arch/arm?
> 

The patches were send for review together with the arm64 ones and the rest of
the architectures supported but they did not get merged yet and I do not know why.

>        Arnd
> 

-- 
Regards,
Vincenzo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: arm version of generic VDSO?
  2019-10-24 12:47 ` Vincenzo Frascino
@ 2019-10-25 19:17   ` Russell King - ARM Linux admin
  2019-10-25 19:28     ` Russell King - ARM Linux admin
  0 siblings, 1 reply; 7+ messages in thread
From: Russell King - ARM Linux admin @ 2019-10-25 19:17 UTC (permalink / raw)
  To: Vincenzo Frascino; +Cc: y2038 Mailman List, Linux ARM, Arnd Bergmann

On Thu, Oct 24, 2019 at 01:47:24PM +0100, Vincenzo Frascino wrote:
> Hi Arnd,
> 
> On 10/24/19 1:34 PM, Arnd Bergmann wrote:
> > Hi Vinvenzo,
> > 
> > I'm looking through some of the remaining y2038 work, and noticed
> > that arch/arm64 has the new generic vdso implementation, but arch/arm
> > does.
> > 
> 
> This is correct, arch/arm does not have support for the generic vDSO library.
> 
> > Do you patches for using the same code on arch/arm?
> > 
> 
> The patches were send for review together with the arm64 ones and the rest of
> the architectures supported but they did not get merged yet and I do not know why.

I think you've forgotten, you didn't read the email from the patch
system, or the "Regression in 5.3-rc1 and later" email thread on the
mailing lists.

  https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=8868/1
  https://lore.kernel.org/lkml/faaa3843-09a6-1a21-3448-072eeed1ea00@googlemail.com/

Basically, I couldn't merge for the last merge window without causing
a regression, so it's delayed until the next merge window.

Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: arm version of generic VDSO?
  2019-10-25 19:17   ` Russell King - ARM Linux admin
@ 2019-10-25 19:28     ` Russell King - ARM Linux admin
  2019-10-25 19:33       ` Arnd Bergmann
  2019-10-28  8:55       ` Vincenzo Frascino
  0 siblings, 2 replies; 7+ messages in thread
From: Russell King - ARM Linux admin @ 2019-10-25 19:28 UTC (permalink / raw)
  To: Vincenzo Frascino; +Cc: y2038 Mailman List, Arnd Bergmann, Linux ARM

On Fri, Oct 25, 2019 at 08:17:36PM +0100, Russell King - ARM Linux admin wrote:
> On Thu, Oct 24, 2019 at 01:47:24PM +0100, Vincenzo Frascino wrote:
> > Hi Arnd,
> > 
> > On 10/24/19 1:34 PM, Arnd Bergmann wrote:
> > > Hi Vinvenzo,
> > > 
> > > I'm looking through some of the remaining y2038 work, and noticed
> > > that arch/arm64 has the new generic vdso implementation, but arch/arm
> > > does.
> > > 
> > 
> > This is correct, arch/arm does not have support for the generic vDSO library.
> > 
> > > Do you patches for using the same code on arch/arm?
> > > 
> > 
> > The patches were send for review together with the arm64 ones and the rest of
> > the architectures supported but they did not get merged yet and I do not know why.
> 
> I think you've forgotten, you didn't read the email from the patch
> system, or the "Regression in 5.3-rc1 and later" email thread on the
> mailing lists.
> 
>   https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=8868/1
>   https://lore.kernel.org/lkml/faaa3843-09a6-1a21-3448-072eeed1ea00@googlemail.com/
> 
> Basically, I couldn't merge for the last merge window without causing
> a regression, so it's delayed until the next merge window.

Okay, having discussed with Arnd what the current situation is, he
points out that he needs an additional patch to solve some further
build issues with the generic VDSO patches - caused by the Kconfig
changes in your first patch.

I'd rather that gets fixed up before I apply the patches, rather
than applying a set of patches and a fix on top.

Please re-spin with Arnd's Kconfig changes included.

Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: arm version of generic VDSO?
  2019-10-25 19:28     ` Russell King - ARM Linux admin
@ 2019-10-25 19:33       ` Arnd Bergmann
  2019-10-28  8:56         ` Vincenzo Frascino
  2019-10-28  8:55       ` Vincenzo Frascino
  1 sibling, 1 reply; 7+ messages in thread
From: Arnd Bergmann @ 2019-10-25 19:33 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: y2038 Mailman List, Vincenzo Frascino, Linux ARM

On Fri, Oct 25, 2019 at 9:28 PM Russell King - ARM Linux admin
<linux@armlinux.org.uk> wrote:
>
> On Fri, Oct 25, 2019 at 08:17:36PM +0100, Russell King - ARM Linux admin wrote:
> > On Thu, Oct 24, 2019 at 01:47:24PM +0100, Vincenzo Frascino wrote:
>
> Okay, having discussed with Arnd what the current situation is, he
> points out that he needs an additional patch to solve some further
> build issues with the generic VDSO patches - caused by the Kconfig
> changes in your first patch.
>
> I'd rather that gets fixed up before I apply the patches, rather
> than applying a set of patches and a fix on top.
>
> Please re-spin with Arnd's Kconfig changes included.

For reference, this is the change I needed to get randconfig builds working
in configurations that did not enable CONFIG_VDSO:

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 32184065ceda..776ac0f4ef0e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -60,8 +60,6 @@ config ARM
        select GENERIC_SMP_IDLE_THREAD
        select GENERIC_STRNCPY_FROM_USER
        select GENERIC_STRNLEN_USER
-       select GENERIC_GETTIMEOFDAY
-       select GENERIC_VDSO_32
        select HANDLE_DOMAIN_IRQ
        select HARDIRQS_SW_RESEND
        select HAVE_ARCH_AUDITSYSCALL if AEABI && !OABI_COMPAT
@@ -112,7 +110,6 @@ config ARM
        select HAVE_SYSCALL_TRACEPOINTS
        select HAVE_UID16
        select HAVE_VIRT_CPU_ACCOUNTING_GEN
-       select HAVE_GENERIC_VDSO if AEABI
        select IRQ_FORCED_THREADING
        select MODULES_USE_ELF_REL
        select NEED_DMA_MAP_STATE
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index 608a1f6414c2..dce67c6834a8 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -896,7 +896,10 @@ config VDSO
        bool "Enable VDSO for acceleration of some system calls"
        depends on AEABI && MMU && CPU_V7
        default y if ARM_ARCH_TIMER
+       select HAVE_GENERIC_VDSO
        select GENERIC_TIME_VSYSCALL
+       select GENERIC_VDSO_32
+       select GENERIC_GETTIMEOFDAY
        help
          Place in the process address space an ELF shared object
          providing fast implementations of gettimeofday and

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: arm version of generic VDSO?
  2019-10-25 19:28     ` Russell King - ARM Linux admin
  2019-10-25 19:33       ` Arnd Bergmann
@ 2019-10-28  8:55       ` Vincenzo Frascino
  1 sibling, 0 replies; 7+ messages in thread
From: Vincenzo Frascino @ 2019-10-28  8:55 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: y2038 Mailman List, Arnd Bergmann, Linux ARM

Hi Russell,

On 10/25/19 8:28 PM, Russell King - ARM Linux admin wrote:
> On Fri, Oct 25, 2019 at 08:17:36PM +0100, Russell King - ARM Linux admin wrote:
>> On Thu, Oct 24, 2019 at 01:47:24PM +0100, Vincenzo Frascino wrote:
>>> Hi Arnd,
>>>
>>> On 10/24/19 1:34 PM, Arnd Bergmann wrote:
>>>> Hi Vinvenzo,
>>>>
>>>> I'm looking through some of the remaining y2038 work, and noticed
>>>> that arch/arm64 has the new generic vdso implementation, but arch/arm
>>>> does.
>>>>
>>>
>>> This is correct, arch/arm does not have support for the generic vDSO library.
>>>
>>>> Do you patches for using the same code on arch/arm?
>>>>
>>>
>>> The patches were send for review together with the arm64 ones and the rest of
>>> the architectures supported but they did not get merged yet and I do not know why.
>>
>> I think you've forgotten, you didn't read the email from the patch
>> system, or the "Regression in 5.3-rc1 and later" email thread on the
>> mailing lists.
>>
>>   https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=8868/1
>>   https://lore.kernel.org/lkml/faaa3843-09a6-1a21-3448-072eeed1ea00@googlemail.com/
>>
>> Basically, I couldn't merge for the last merge window without causing
>> a regression, so it's delayed until the next merge window.
> 
> Okay, having discussed with Arnd what the current situation is, he
> points out that he needs an additional patch to solve some further
> build issues with the generic VDSO patches - caused by the Kconfig
> changes in your first patch.
> 
> I'd rather that gets fixed up before I apply the patches, rather
> than applying a set of patches and a fix on top.
> 
> Please re-spin with Arnd's Kconfig changes included.
> 

No problem, I will re-spin the patches.

> Thanks.
> 

-- 
Regards,
Vincenzo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: arm version of generic VDSO?
  2019-10-25 19:33       ` Arnd Bergmann
@ 2019-10-28  8:56         ` Vincenzo Frascino
  0 siblings, 0 replies; 7+ messages in thread
From: Vincenzo Frascino @ 2019-10-28  8:56 UTC (permalink / raw)
  To: Arnd Bergmann, Russell King - ARM Linux admin
  Cc: y2038 Mailman List, Linux ARM

Hi Arnd,

On 10/25/19 8:33 PM, Arnd Bergmann wrote:
> On Fri, Oct 25, 2019 at 9:28 PM Russell King - ARM Linux admin
> <linux@armlinux.org.uk> wrote:
>>
>> On Fri, Oct 25, 2019 at 08:17:36PM +0100, Russell King - ARM Linux admin wrote:
>>> On Thu, Oct 24, 2019 at 01:47:24PM +0100, Vincenzo Frascino wrote:
>>
>> Okay, having discussed with Arnd what the current situation is, he
>> points out that he needs an additional patch to solve some further
>> build issues with the generic VDSO patches - caused by the Kconfig
>> changes in your first patch.
>>
>> I'd rather that gets fixed up before I apply the patches, rather
>> than applying a set of patches and a fix on top.
>>
>> Please re-spin with Arnd's Kconfig changes included.
> 
> For reference, this is the change I needed to get randconfig builds working
> in configurations that did not enable CONFIG_VDSO:
Thanks for this.

-- 
Regards,
Vincenzo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-10-28  8:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-24 12:34 arm version of generic VDSO? Arnd Bergmann
2019-10-24 12:47 ` Vincenzo Frascino
2019-10-25 19:17   ` Russell King - ARM Linux admin
2019-10-25 19:28     ` Russell King - ARM Linux admin
2019-10-25 19:33       ` Arnd Bergmann
2019-10-28  8:56         ` Vincenzo Frascino
2019-10-28  8:55       ` Vincenzo Frascino

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.