linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Moving Marvell Dove platform defaults to ARMv7
@ 2011-04-03  7:13 Konstantin Porotchkin
  2011-04-05 13:00 ` saeed bishara
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Porotchkin @ 2011-04-03  7:13 UTC (permalink / raw)
  To: linux-arm-kernel

Disabled legacy support for ARMv6 archtecture on Dove platform.
Latest Dove HW uses only ARMv7 model.

Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
---
 arch/arm/Kconfig                |    2 +-
 arch/arm/configs/dove_defconfig |   12 +-----------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 599e163..e9d9a4f 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -463,7 +463,7 @@ config ARCH_IXP4XX
 
 config ARCH_DOVE
 	bool "Marvell Dove"
-	select CPU_V6K
+	select CPU_V7
 	select PCI
 	select ARCH_REQUIRE_GPIOLIB
 	select GENERIC_CLOCKEVENTS
diff --git a/arch/arm/configs/dove_defconfig b/arch/arm/configs/dove_defconfig
index 54bf5ee..40db34c 100644
--- a/arch/arm/configs/dove_defconfig
+++ b/arch/arm/configs/dove_defconfig
@@ -8,8 +8,6 @@ CONFIG_MODULE_UNLOAD=y
 # CONFIG_BLK_DEV_BSG is not set
 CONFIG_ARCH_DOVE=y
 CONFIG_MACH_DOVE_DB=y
-CONFIG_CPU_V6=y
-CONFIG_CPU_32v6K=y
 CONFIG_NO_HZ=y
 CONFIG_HIGH_RES_TIMERS=y
 CONFIG_AEABI=y
@@ -44,7 +42,6 @@ CONFIG_MTD_UBI=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_COUNT=1
-# CONFIG_MISC_DEVICES is not set
 # CONFIG_SCSI_PROC_FS is not set
 CONFIG_BLK_DEV_SD=y
 # CONFIG_SCSI_LOWLEVEL is not set
@@ -59,12 +56,12 @@ CONFIG_INPUT_EVDEV=y
 # CONFIG_KEYBOARD_ATKBD is not set
 # CONFIG_MOUSE_PS2 is not set
 # CONFIG_SERIO is not set
+CONFIG_LEGACY_PTY_COUNT=16
 # CONFIG_DEVKMEM is not set
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 # CONFIG_SERIAL_8250_PCI is not set
 CONFIG_SERIAL_8250_RUNTIME_UARTS=2
-CONFIG_LEGACY_PTY_COUNT=16
 # CONFIG_HW_RANDOM is not set
 CONFIG_I2C=y
 CONFIG_I2C_CHARDEV=y
@@ -72,12 +69,10 @@ CONFIG_I2C_MV64XXX=y
 CONFIG_SPI=y
 CONFIG_SPI_ORION=y
 # CONFIG_HWMON is not set
-# CONFIG_VGA_CONSOLE is not set
 CONFIG_USB=y
 CONFIG_USB_DEVICEFS=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_ROOT_HUB_TT=y
-CONFIG_USB_EHCI_TT_NEWSCHED=y
 CONFIG_USB_STORAGE=y
 CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_MV=y
@@ -86,7 +81,6 @@ CONFIG_MV_XOR=y
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_INOTIFY=y
 CONFIG_ISO9660_FS=y
 CONFIG_JOLIET=y
 CONFIG_UDF_FS=m
@@ -110,23 +104,19 @@ CONFIG_DEBUG_KERNEL=y
 CONFIG_TIMER_STATS=y
 # CONFIG_DEBUG_BUGVERBOSE is not set
 CONFIG_DEBUG_INFO=y
-# CONFIG_RCU_CPU_STALL_DETECTOR is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
 CONFIG_DEBUG_USER=y
 CONFIG_DEBUG_ERRORS=y
 CONFIG_CRYPTO_NULL=y
-CONFIG_CRYPTO_CBC=y
 CONFIG_CRYPTO_ECB=m
 CONFIG_CRYPTO_PCBC=m
 CONFIG_CRYPTO_HMAC=y
 CONFIG_CRYPTO_MD4=y
-CONFIG_CRYPTO_MD5=y
 CONFIG_CRYPTO_SHA1=y
 CONFIG_CRYPTO_SHA256=y
 CONFIG_CRYPTO_SHA512=y
 CONFIG_CRYPTO_AES=y
 CONFIG_CRYPTO_BLOWFISH=y
-CONFIG_CRYPTO_DES=y
 CONFIG_CRYPTO_TEA=y
 CONFIG_CRYPTO_TWOFISH=y
 CONFIG_CRYPTO_DEFLATE=y
-- 
1.7.4.1

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

* [PATCH] Moving Marvell Dove platform defaults to ARMv7
  2011-04-03  7:13 [PATCH] Moving Marvell Dove platform defaults to ARMv7 Konstantin Porotchkin
@ 2011-04-05 13:00 ` saeed bishara
  2011-04-05 18:55   ` Nicolas Pitre
  0 siblings, 1 reply; 5+ messages in thread
From: saeed bishara @ 2011-04-05 13:00 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Apr 3, 2011 at 10:13 AM, Konstantin Porotchkin
<kostap@marvell.com> wrote:
> Disabled legacy support for ARMv6 archtecture on Dove platform.
> Latest Dove HW uses only ARMv7 model.
>
> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
> ---
> ?arch/arm/Kconfig ? ? ? ? ? ? ? ?| ? ?2 +-
> ?arch/arm/configs/dove_defconfig | ? 12 +-----------
> ?2 files changed, 2 insertions(+), 12 deletions(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 599e163..e9d9a4f 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -463,7 +463,7 @@ config ARCH_IXP4XX
>
> ?config ARCH_DOVE
> ? ? ? ?bool "Marvell Dove"
> - ? ? ? select CPU_V6K
> + ? ? ? select CPU_V7
> ? ? ? ?select PCI
> ? ? ? ?select ARCH_REQUIRE_GPIOLIB
> ? ? ? ?select GENERIC_CLOCKEVENTS
> diff --git a/arch/arm/configs/dove_defconfig b/arch/arm/configs/dove_defconfig
> index 54bf5ee..40db34c 100644
> --- a/arch/arm/configs/dove_defconfig
> +++ b/arch/arm/configs/dove_defconfig
> @@ -8,8 +8,6 @@ CONFIG_MODULE_UNLOAD=y
> ?# CONFIG_BLK_DEV_BSG is not set
> ?CONFIG_ARCH_DOVE=y
> ?CONFIG_MACH_DOVE_DB=y
> -CONFIG_CPU_V6=y
> -CONFIG_CPU_32v6K=y
> ?CONFIG_NO_HZ=y
> ?CONFIG_HIGH_RES_TIMERS=y
> ?CONFIG_AEABI=y
> @@ -44,7 +42,6 @@ CONFIG_MTD_UBI=y
> ?CONFIG_BLK_DEV_LOOP=y
> ?CONFIG_BLK_DEV_RAM=y
> ?CONFIG_BLK_DEV_RAM_COUNT=1
> -# CONFIG_MISC_DEVICES is not set
> ?# CONFIG_SCSI_PROC_FS is not set
> ?CONFIG_BLK_DEV_SD=y
> ?# CONFIG_SCSI_LOWLEVEL is not set
> @@ -59,12 +56,12 @@ CONFIG_INPUT_EVDEV=y
> ?# CONFIG_KEYBOARD_ATKBD is not set
> ?# CONFIG_MOUSE_PS2 is not set
> ?# CONFIG_SERIO is not set
> +CONFIG_LEGACY_PTY_COUNT=16
> ?# CONFIG_DEVKMEM is not set
> ?CONFIG_SERIAL_8250=y
> ?CONFIG_SERIAL_8250_CONSOLE=y
> ?# CONFIG_SERIAL_8250_PCI is not set
> ?CONFIG_SERIAL_8250_RUNTIME_UARTS=2
> -CONFIG_LEGACY_PTY_COUNT=16
> ?# CONFIG_HW_RANDOM is not set
> ?CONFIG_I2C=y
> ?CONFIG_I2C_CHARDEV=y
> @@ -72,12 +69,10 @@ CONFIG_I2C_MV64XXX=y
> ?CONFIG_SPI=y
> ?CONFIG_SPI_ORION=y
> ?# CONFIG_HWMON is not set
> -# CONFIG_VGA_CONSOLE is not set
> ?CONFIG_USB=y
> ?CONFIG_USB_DEVICEFS=y
> ?CONFIG_USB_EHCI_HCD=y
> ?CONFIG_USB_EHCI_ROOT_HUB_TT=y
> -CONFIG_USB_EHCI_TT_NEWSCHED=y
> ?CONFIG_USB_STORAGE=y
> ?CONFIG_RTC_CLASS=y
> ?CONFIG_RTC_DRV_MV=y
> @@ -86,7 +81,6 @@ CONFIG_MV_XOR=y
> ?CONFIG_EXT2_FS=y
> ?CONFIG_EXT3_FS=y
> ?# CONFIG_EXT3_FS_XATTR is not set
> -CONFIG_INOTIFY=y
> ?CONFIG_ISO9660_FS=y
> ?CONFIG_JOLIET=y
> ?CONFIG_UDF_FS=m
> @@ -110,23 +104,19 @@ CONFIG_DEBUG_KERNEL=y
> ?CONFIG_TIMER_STATS=y
> ?# CONFIG_DEBUG_BUGVERBOSE is not set
> ?CONFIG_DEBUG_INFO=y
> -# CONFIG_RCU_CPU_STALL_DETECTOR is not set
> ?CONFIG_SYSCTL_SYSCALL_CHECK=y
> ?CONFIG_DEBUG_USER=y
> ?CONFIG_DEBUG_ERRORS=y
> ?CONFIG_CRYPTO_NULL=y
> -CONFIG_CRYPTO_CBC=y
> ?CONFIG_CRYPTO_ECB=m
> ?CONFIG_CRYPTO_PCBC=m
> ?CONFIG_CRYPTO_HMAC=y
> ?CONFIG_CRYPTO_MD4=y
> -CONFIG_CRYPTO_MD5=y
> ?CONFIG_CRYPTO_SHA1=y
> ?CONFIG_CRYPTO_SHA256=y
> ?CONFIG_CRYPTO_SHA512=y
> ?CONFIG_CRYPTO_AES=y
> ?CONFIG_CRYPTO_BLOWFISH=y
> -CONFIG_CRYPTO_DES=y
> ?CONFIG_CRYPTO_TEA=y
> ?CONFIG_CRYPTO_TWOFISH=y
> ?CONFIG_CRYPTO_DEFLATE=y
> --
> 1.7.4.1
>
Acked.
Nico, can you please merge for 2.6.40?
saeed

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

* [PATCH] Moving Marvell Dove platform defaults to ARMv7
  2011-04-05 13:00 ` saeed bishara
@ 2011-04-05 18:55   ` Nicolas Pitre
  2011-04-06  8:22     ` saeed bishara
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Pitre @ 2011-04-05 18:55 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, 5 Apr 2011, saeed bishara wrote:

> On Sun, Apr 3, 2011 at 10:13 AM, Konstantin Porotchkin
> <kostap@marvell.com> wrote:
> > Disabled legacy support for ARMv6 archtecture on Dove platform.
> > Latest Dove HW uses only ARMv7 model.

What about older Dove hardware?  That's all I have for testing.

> > --- a/arch/arm/configs/dove_defconfig
> > +++ b/arch/arm/configs/dove_defconfig
[...]
> > -# CONFIG_MISC_DEVICES is not set
> > +CONFIG_LEGACY_PTY_COUNT=16
> > -CONFIG_LEGACY_PTY_COUNT=16
> > -# CONFIG_VGA_CONSOLE is not set
> > -CONFIG_USB_EHCI_TT_NEWSCHED=y
> > -CONFIG_INOTIFY=y
> > -# CONFIG_RCU_CPU_STALL_DETECTOR is not set
> > -CONFIG_CRYPTO_CBC=y
> > -CONFIG_CRYPTO_MD5=y
> > -CONFIG_CRYPTO_DES=y

Those changes above are unrelated to the reason for this patch.  Please 
remove.


Nicolas

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

* [PATCH] Moving Marvell Dove platform defaults to ARMv7
  2011-04-05 18:55   ` Nicolas Pitre
@ 2011-04-06  8:22     ` saeed bishara
  2011-04-06 13:05       ` Nicolas Pitre
  0 siblings, 1 reply; 5+ messages in thread
From: saeed bishara @ 2011-04-06  8:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Apr 5, 2011 at 9:55 PM, Nicolas Pitre <nico@fluxnic.net> wrote:
> On Tue, 5 Apr 2011, saeed bishara wrote:
>
>> On Sun, Apr 3, 2011 at 10:13 AM, Konstantin Porotchkin
>> <kostap@marvell.com> wrote:
>> > Disabled legacy support for ARMv6 archtecture on Dove platform.
>> > Latest Dove HW uses only ARMv7 model.
>
> What about older Dove hardware? ?That's all I have for testing.
1. you can configure it to v7 mode by setting dip switch #6 of SW2 to off.
SW2 dip switch group is the middle one out of 3 that located near the DRAM DIMM.
2. but, we are going to drop support for the old boards when we add
mpp configuration, I'll check if we can send you new board.
>
>> > --- a/arch/arm/configs/dove_defconfig
>> > +++ b/arch/arm/configs/dove_defconfig
> [...]
>> > -# CONFIG_MISC_DEVICES is not set
>> > +CONFIG_LEGACY_PTY_COUNT=16
>> > -CONFIG_LEGACY_PTY_COUNT=16
>> > -# CONFIG_VGA_CONSOLE is not set
>> > -CONFIG_USB_EHCI_TT_NEWSCHED=y
>> > -CONFIG_INOTIFY=y
>> > -# CONFIG_RCU_CPU_STALL_DETECTOR is not set
>> > -CONFIG_CRYPTO_CBC=y
>> > -CONFIG_CRYPTO_MD5=y
>> > -CONFIG_CRYPTO_DES=y
>
> Those changes above are unrelated to the reason for this patch. ?Please
> remove.
should we prepare a separate patch that syncs the dove_defconfig with
latest kernel?

>
>
> Nicolas
>

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

* [PATCH] Moving Marvell Dove platform defaults to ARMv7
  2011-04-06  8:22     ` saeed bishara
@ 2011-04-06 13:05       ` Nicolas Pitre
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Pitre @ 2011-04-06 13:05 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, 6 Apr 2011, saeed bishara wrote:

> On Tue, Apr 5, 2011 at 9:55 PM, Nicolas Pitre <nico@fluxnic.net> wrote:
> >> > --- a/arch/arm/configs/dove_defconfig
> >> > +++ b/arch/arm/configs/dove_defconfig
> > [...]
> >> > -# CONFIG_MISC_DEVICES is not set
> >> > +CONFIG_LEGACY_PTY_COUNT=16
> >> > -CONFIG_LEGACY_PTY_COUNT=16
> >> > -# CONFIG_VGA_CONSOLE is not set
> >> > -CONFIG_USB_EHCI_TT_NEWSCHED=y
> >> > -CONFIG_INOTIFY=y
> >> > -# CONFIG_RCU_CPU_STALL_DETECTOR is not set
> >> > -CONFIG_CRYPTO_CBC=y
> >> > -CONFIG_CRYPTO_MD5=y
> >> > -CONFIG_CRYPTO_DES=y
> >
> > Those changes above are unrelated to the reason for this patch. ?Please
> > remove.
> should we prepare a separate patch that syncs the dove_defconfig with
> latest kernel?

That would be preferable.  Only the removal of the CONFIG_ARMV6K items 
are relevant for this patch.


Nicolas

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

end of thread, other threads:[~2011-04-06 13:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-03  7:13 [PATCH] Moving Marvell Dove platform defaults to ARMv7 Konstantin Porotchkin
2011-04-05 13:00 ` saeed bishara
2011-04-05 18:55   ` Nicolas Pitre
2011-04-06  8:22     ` saeed bishara
2011-04-06 13:05       ` Nicolas Pitre

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).