Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Alexandre Belloni
On 07/02/2018 at 16:47:00 +0100, Alexandre Belloni wrote: > > >> > I really don't think anyone is using that but I don't really know much > > >> > about x86 and the specification this may be part of. > > >> > > > >> > I see the info may be used in drivers/video/fbdev/ and > > >> >

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Alexandre Belloni
On 07/02/2018 at 16:47:00 +0100, Alexandre Belloni wrote: > > >> > I really don't think anyone is using that but I don't really know much > > >> > about x86 and the specification this may be part of. > > >> > > > >> > I see the info may be used in drivers/video/fbdev/ and > > >> >

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Alexandre Belloni
On 07/02/2018 at 15:00:04 +0100, Arnd Bergmann wrote: > On Wed, Feb 7, 2018 at 1:48 PM, Alexandre Belloni > wrote: > > On 07/02/2018 at 11:33:55 +0100, Arnd Bergmann wrote: > >> On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni > > >> >> $ cat /proc/driver/nvram >

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Alexandre Belloni
On 07/02/2018 at 15:00:04 +0100, Arnd Bergmann wrote: > On Wed, Feb 7, 2018 at 1:48 PM, Alexandre Belloni > wrote: > > On 07/02/2018 at 11:33:55 +0100, Arnd Bergmann wrote: > >> On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni > > >> >> $ cat /proc/driver/nvram > >> >> Checksum status: valid >

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Arnd Bergmann
On Wed, Feb 7, 2018 at 1:48 PM, Alexandre Belloni wrote: > On 07/02/2018 at 11:33:55 +0100, Arnd Bergmann wrote: >> On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni >> >> $ cat /proc/driver/nvram >> >> Checksum status: valid >> >> # floppies : 0 >> >> Floppy 0

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Arnd Bergmann
On Wed, Feb 7, 2018 at 1:48 PM, Alexandre Belloni wrote: > On 07/02/2018 at 11:33:55 +0100, Arnd Bergmann wrote: >> On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni >> >> $ cat /proc/driver/nvram >> >> Checksum status: valid >> >> # floppies : 0 >> >> Floppy 0 type : none >> >> Floppy 1

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Alexandre Belloni
On 07/02/2018 at 11:33:55 +0100, Arnd Bergmann wrote: > On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni > wrote: > > On 06/02/2018 at 23:55:02 +0100, Arnd Bergmann wrote: > >> * arch/arm/kernel/time.c has this code > >> > >> #if defined(CONFIG_RTC_DRV_CMOS) ||

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Alexandre Belloni
On 07/02/2018 at 11:33:55 +0100, Arnd Bergmann wrote: > On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni > wrote: > > On 06/02/2018 at 23:55:02 +0100, Arnd Bergmann wrote: > >> * arch/arm/kernel/time.c has this code > >> > >> #if defined(CONFIG_RTC_DRV_CMOS) ||

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Arnd Bergmann
On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni wrote: > On 06/02/2018 at 23:55:02 +0100, Arnd Bergmann wrote: >> * arch/arm/kernel/time.c has this code >> >> #if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE) || \ >> defined(CONFIG_NVRAM)

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Arnd Bergmann
On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni wrote: > On 06/02/2018 at 23:55:02 +0100, Arnd Bergmann wrote: >> * arch/arm/kernel/time.c has this code >> >> #if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE) || \ >> defined(CONFIG_NVRAM) ||

Re: [PATCH] char: nvram: disable on ARM

2018-02-06 Thread Alexandre Belloni
On 06/02/2018 at 23:55:02 +0100, Arnd Bergmann wrote: > * arch/arm/kernel/time.c has this code > > #if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE) || \ > defined(CONFIG_NVRAM) || defined(CONFIG_NVRAM_MODULE) > /* this needs a better home */ > DEFINE_SPINLOCK(rtc_lock);

Re: [PATCH] char: nvram: disable on ARM

2018-02-06 Thread Alexandre Belloni
On 06/02/2018 at 23:55:02 +0100, Arnd Bergmann wrote: > * arch/arm/kernel/time.c has this code > > #if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE) || \ > defined(CONFIG_NVRAM) || defined(CONFIG_NVRAM_MODULE) > /* this needs a better home */ > DEFINE_SPINLOCK(rtc_lock);

Re: [PATCH] char: nvram: disable on ARM

2018-02-06 Thread Arnd Bergmann
On Tue, Feb 6, 2018 at 11:05 PM, Alexandre Belloni wrote: > /dev/nvram was never meant to be used alongside the RTC CMOS driver from > drivers/rtc as it already expose the NVRAM through another interface.. > Anyway, the last defconfig to enable it properly was

Re: [PATCH] char: nvram: disable on ARM

2018-02-06 Thread Arnd Bergmann
On Tue, Feb 6, 2018 at 11:05 PM, Alexandre Belloni wrote: > /dev/nvram was never meant to be used alongside the RTC CMOS driver from > drivers/rtc as it already expose the NVRAM through another interface.. > Anyway, the last defconfig to enable it properly was removed in 2010 so > prevent ARM

[PATCH] char: nvram: disable on ARM

2018-02-06 Thread Alexandre Belloni
/dev/nvram was never meant to be used alongside the RTC CMOS driver from drivers/rtc as it already expose the NVRAM through another interface.. Anyway, the last defconfig to enable it properly was removed in 2010 so prevent ARM users from selecting it. Signed-off-by: Alexandre Belloni

[PATCH] char: nvram: disable on ARM

2018-02-06 Thread Alexandre Belloni
/dev/nvram was never meant to be used alongside the RTC CMOS driver from drivers/rtc as it already expose the NVRAM through another interface.. Anyway, the last defconfig to enable it properly was removed in 2010 so prevent ARM users from selecting it. Signed-off-by: Alexandre Belloni ---