All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] m68k/defconfig: amcore board defconfig tuning
@ 2017-01-03 23:27 Angelo Dureghello
  2017-01-09  5:43 ` Greg Ungerer
  0 siblings, 1 reply; 4+ messages in thread
From: Angelo Dureghello @ 2017-01-03 23:27 UTC (permalink / raw)
  To: linux-m68k; +Cc: gregungerer, Angelo Dureghello

Signed-off-by: Angelo Dureghello <angelo@sysam.it>
---
 arch/m68k/configs/amcore_defconfig | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/arch/m68k/configs/amcore_defconfig b/arch/m68k/configs/amcore_defconfig
index f108dd1..131b410 100644
--- a/arch/m68k/configs/amcore_defconfig
+++ b/arch/m68k/configs/amcore_defconfig
@@ -1,19 +1,20 @@
-CONFIG_LOCALVERSION="amcore-001"
+CONFIG_LOCALVERSION="amcore-002"
 CONFIG_DEFAULT_HOSTNAME="amcore"
 CONFIG_SYSVIPC=y
 # CONFIG_FHANDLE is not set
 # CONFIG_USELIB is not set
 CONFIG_LOG_BUF_SHIFT=14
-CONFIG_NAMESPACES=y
 CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 # CONFIG_AIO is not set
 # CONFIG_ADVISE_SYSCALLS is not set
 # CONFIG_MEMBARRIER is not set
 CONFIG_EMBEDDED=y
 # CONFIG_VM_EVENT_COUNTERS is not set
+# CONFIG_SLUB_DEBUG is not set
 # CONFIG_COMPAT_BRK is not set
 # CONFIG_LBDAF is not set
 # CONFIG_BLK_DEV_BSG is not set
+# CONFIG_IOSCHED_CFQ is not set
 # CONFIG_MMU is not set
 CONFIG_M5307=y
 CONFIG_AMCORE=y
@@ -27,13 +28,14 @@ CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
 CONFIG_INET=y
+CONFIG_SYN_COOKIES=y
 # CONFIG_INET_XFRM_MODE_TRANSPORT is not set
 # CONFIG_INET_XFRM_MODE_TUNNEL is not set
 # CONFIG_INET_XFRM_MODE_BEET is not set
 # CONFIG_IPV6 is not set
 # CONFIG_WIRELESS is not set
 # CONFIG_UEVENT_HELPER is not set
-CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
+# CONFIG_FW_LOADER is not set
 # CONFIG_ALLOW_DEV_COREDUMP is not set
 CONFIG_CONNECTOR=y
 CONFIG_MTD=y
@@ -53,6 +55,7 @@ CONFIG_MTD_UCLINUX=y
 CONFIG_MTD_PLATRAM=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_NETDEVICES=y
+# CONFIG_NET_VENDOR_AMAZON is not set
 # CONFIG_NET_VENDOR_ARC is not set
 # CONFIG_NET_CADENCE is not set
 # CONFIG_NET_VENDOR_BROADCOM is not set
@@ -89,14 +92,12 @@ CONFIG_I2C=y
 CONFIG_I2C_CHARDEV=y
 # CONFIG_I2C_HELPER_AUTO is not set
 CONFIG_I2C_IMX=y
-CONFIG_PPS=y
+CONFIG_GPIO_SYSFS=y
 # CONFIG_HWMON is not set
 # CONFIG_USB_SUPPORT is not set
 CONFIG_RTC_CLASS=y
 # CONFIG_RTC_SYSTOHC is not set
 CONFIG_RTC_DRV_DS1307=y
-CONFIG_EXT2_FS=y
-CONFIG_EXT2_FS_XATTR=y
 # CONFIG_FILE_LOCKING is not set
 # CONFIG_DNOTIFY is not set
 # CONFIG_INOTIFY_USER is not set
@@ -108,6 +109,7 @@ CONFIG_ROMFS_BACKED_BY_BOTH=y
 # CONFIG_NETWORK_FILESYSTEMS is not set
 CONFIG_PRINTK_TIME=y
 # CONFIG_ENABLE_WARN_DEPRECATED is not set
+# CONFIG_ENABLE_MUST_CHECK is not set
 # CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
 CONFIG_PANIC_ON_OOPS=y
 # CONFIG_SCHED_DEBUG is not set
-- 
2.8.1

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

* Re: [PATCH] m68k/defconfig: amcore board defconfig tuning
  2017-01-03 23:27 [PATCH] m68k/defconfig: amcore board defconfig tuning Angelo Dureghello
@ 2017-01-09  5:43 ` Greg Ungerer
  2017-01-09  9:38   ` Angelo Dureghello
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Ungerer @ 2017-01-09  5:43 UTC (permalink / raw)
  To: Angelo Dureghello, linux-m68k

Hi Angelo,

On 04/01/17 09:27, Angelo Dureghello wrote:
> Signed-off-by: Angelo Dureghello <angelo@sysam.it>
> ---
>  arch/m68k/configs/amcore_defconfig | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)

No problem with the change.
But can you provide more information in the log message?
What tuning are the changes achieving?

Thanks
Greg


 
> diff --git a/arch/m68k/configs/amcore_defconfig b/arch/m68k/configs/amcore_defconfig
> index f108dd1..131b410 100644
> --- a/arch/m68k/configs/amcore_defconfig
> +++ b/arch/m68k/configs/amcore_defconfig
> @@ -1,19 +1,20 @@
> -CONFIG_LOCALVERSION="amcore-001"
> +CONFIG_LOCALVERSION="amcore-002"
>  CONFIG_DEFAULT_HOSTNAME="amcore"
>  CONFIG_SYSVIPC=y
>  # CONFIG_FHANDLE is not set
>  # CONFIG_USELIB is not set
>  CONFIG_LOG_BUF_SHIFT=14
> -CONFIG_NAMESPACES=y
>  CONFIG_CC_OPTIMIZE_FOR_SIZE=y
>  # CONFIG_AIO is not set
>  # CONFIG_ADVISE_SYSCALLS is not set
>  # CONFIG_MEMBARRIER is not set
>  CONFIG_EMBEDDED=y
>  # CONFIG_VM_EVENT_COUNTERS is not set
> +# CONFIG_SLUB_DEBUG is not set
>  # CONFIG_COMPAT_BRK is not set
>  # CONFIG_LBDAF is not set
>  # CONFIG_BLK_DEV_BSG is not set
> +# CONFIG_IOSCHED_CFQ is not set
>  # CONFIG_MMU is not set
>  CONFIG_M5307=y
>  CONFIG_AMCORE=y
> @@ -27,13 +28,14 @@ CONFIG_NET=y
>  CONFIG_PACKET=y
>  CONFIG_UNIX=y
>  CONFIG_INET=y
> +CONFIG_SYN_COOKIES=y
>  # CONFIG_INET_XFRM_MODE_TRANSPORT is not set
>  # CONFIG_INET_XFRM_MODE_TUNNEL is not set
>  # CONFIG_INET_XFRM_MODE_BEET is not set
>  # CONFIG_IPV6 is not set
>  # CONFIG_WIRELESS is not set
>  # CONFIG_UEVENT_HELPER is not set
> -CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
> +# CONFIG_FW_LOADER is not set
>  # CONFIG_ALLOW_DEV_COREDUMP is not set
>  CONFIG_CONNECTOR=y
>  CONFIG_MTD=y
> @@ -53,6 +55,7 @@ CONFIG_MTD_UCLINUX=y
>  CONFIG_MTD_PLATRAM=y
>  CONFIG_BLK_DEV_RAM=y
>  CONFIG_NETDEVICES=y
> +# CONFIG_NET_VENDOR_AMAZON is not set
>  # CONFIG_NET_VENDOR_ARC is not set
>  # CONFIG_NET_CADENCE is not set
>  # CONFIG_NET_VENDOR_BROADCOM is not set
> @@ -89,14 +92,12 @@ CONFIG_I2C=y
>  CONFIG_I2C_CHARDEV=y
>  # CONFIG_I2C_HELPER_AUTO is not set
>  CONFIG_I2C_IMX=y
> -CONFIG_PPS=y
> +CONFIG_GPIO_SYSFS=y
>  # CONFIG_HWMON is not set
>  # CONFIG_USB_SUPPORT is not set
>  CONFIG_RTC_CLASS=y
>  # CONFIG_RTC_SYSTOHC is not set
>  CONFIG_RTC_DRV_DS1307=y
> -CONFIG_EXT2_FS=y
> -CONFIG_EXT2_FS_XATTR=y
>  # CONFIG_FILE_LOCKING is not set
>  # CONFIG_DNOTIFY is not set
>  # CONFIG_INOTIFY_USER is not set
> @@ -108,6 +109,7 @@ CONFIG_ROMFS_BACKED_BY_BOTH=y
>  # CONFIG_NETWORK_FILESYSTEMS is not set
>  CONFIG_PRINTK_TIME=y
>  # CONFIG_ENABLE_WARN_DEPRECATED is not set
> +# CONFIG_ENABLE_MUST_CHECK is not set
>  # CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
>  CONFIG_PANIC_ON_OOPS=y
>  # CONFIG_SCHED_DEBUG is not set
> 

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

* Re: [PATCH] m68k/defconfig: amcore board defconfig tuning
  2017-01-09  5:43 ` Greg Ungerer
@ 2017-01-09  9:38   ` Angelo Dureghello
  2017-01-09 12:04     ` Greg Ungerer
  0 siblings, 1 reply; 4+ messages in thread
From: Angelo Dureghello @ 2017-01-09  9:38 UTC (permalink / raw)
  To: Greg Ungerer, linux-m68k

Hi Greg,


On 09/01/2017 06:43, Greg Ungerer wrote:
> Hi Angelo,
>
> On 04/01/17 09:27, Angelo Dureghello wrote:
>> Signed-off-by: Angelo Dureghello <angelo@sysam.it>
>> ---
>>  arch/m68k/configs/amcore_defconfig | 14 ++++++++------
>>  1 file changed, 8 insertions(+), 6 deletions(-)
>
> No problem with the change.
> But can you provide more information in the log message?
> What tuning are the changes achieving?

well, the change was driven mainly since i couldn't have
tcp accept working with recent mainline kernels until i enabled
CONFIG_SYN_COOKIES. With CONFIG_SYN_COOKIES tcp accept works
again, will try to go deeper a bit on this since i believe
tcp accepts should work also without CONFIG_SYN_COOKIES.

I also had the chance to "diet" a bit kernel size and enable
sysfs gpio.

I'll resend v2 later.

>
> Thanks
> Greg
>
>

Thanks,
Regards,
angelo dureghello

>
>> diff --git a/arch/m68k/configs/amcore_defconfig b/arch/m68k/configs/amcore_defconfig
>> index f108dd1..131b410 100644
>> --- a/arch/m68k/configs/amcore_defconfig
>> +++ b/arch/m68k/configs/amcore_defconfig
>> @@ -1,19 +1,20 @@
>> -CONFIG_LOCALVERSION="amcore-001"
>> +CONFIG_LOCALVERSION="amcore-002"
>>  CONFIG_DEFAULT_HOSTNAME="amcore"
>>  CONFIG_SYSVIPC=y
>>  # CONFIG_FHANDLE is not set
>>  # CONFIG_USELIB is not set
>>  CONFIG_LOG_BUF_SHIFT=14
>> -CONFIG_NAMESPACES=y
>>  CONFIG_CC_OPTIMIZE_FOR_SIZE=y
>>  # CONFIG_AIO is not set
>>  # CONFIG_ADVISE_SYSCALLS is not set
>>  # CONFIG_MEMBARRIER is not set
>>  CONFIG_EMBEDDED=y
>>  # CONFIG_VM_EVENT_COUNTERS is not set
>> +# CONFIG_SLUB_DEBUG is not set
>>  # CONFIG_COMPAT_BRK is not set
>>  # CONFIG_LBDAF is not set
>>  # CONFIG_BLK_DEV_BSG is not set
>> +# CONFIG_IOSCHED_CFQ is not set
>>  # CONFIG_MMU is not set
>>  CONFIG_M5307=y
>>  CONFIG_AMCORE=y
>> @@ -27,13 +28,14 @@ CONFIG_NET=y
>>  CONFIG_PACKET=y
>>  CONFIG_UNIX=y
>>  CONFIG_INET=y
>> +CONFIG_SYN_COOKIES=y
>>  # CONFIG_INET_XFRM_MODE_TRANSPORT is not set
>>  # CONFIG_INET_XFRM_MODE_TUNNEL is not set
>>  # CONFIG_INET_XFRM_MODE_BEET is not set
>>  # CONFIG_IPV6 is not set
>>  # CONFIG_WIRELESS is not set
>>  # CONFIG_UEVENT_HELPER is not set
>> -CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
>> +# CONFIG_FW_LOADER is not set
>>  # CONFIG_ALLOW_DEV_COREDUMP is not set
>>  CONFIG_CONNECTOR=y
>>  CONFIG_MTD=y
>> @@ -53,6 +55,7 @@ CONFIG_MTD_UCLINUX=y
>>  CONFIG_MTD_PLATRAM=y
>>  CONFIG_BLK_DEV_RAM=y
>>  CONFIG_NETDEVICES=y
>> +# CONFIG_NET_VENDOR_AMAZON is not set
>>  # CONFIG_NET_VENDOR_ARC is not set
>>  # CONFIG_NET_CADENCE is not set
>>  # CONFIG_NET_VENDOR_BROADCOM is not set
>> @@ -89,14 +92,12 @@ CONFIG_I2C=y
>>  CONFIG_I2C_CHARDEV=y
>>  # CONFIG_I2C_HELPER_AUTO is not set
>>  CONFIG_I2C_IMX=y
>> -CONFIG_PPS=y
>> +CONFIG_GPIO_SYSFS=y
>>  # CONFIG_HWMON is not set
>>  # CONFIG_USB_SUPPORT is not set
>>  CONFIG_RTC_CLASS=y
>>  # CONFIG_RTC_SYSTOHC is not set
>>  CONFIG_RTC_DRV_DS1307=y
>> -CONFIG_EXT2_FS=y
>> -CONFIG_EXT2_FS_XATTR=y
>>  # CONFIG_FILE_LOCKING is not set
>>  # CONFIG_DNOTIFY is not set
>>  # CONFIG_INOTIFY_USER is not set
>> @@ -108,6 +109,7 @@ CONFIG_ROMFS_BACKED_BY_BOTH=y
>>  # CONFIG_NETWORK_FILESYSTEMS is not set
>>  CONFIG_PRINTK_TIME=y
>>  # CONFIG_ENABLE_WARN_DEPRECATED is not set
>> +# CONFIG_ENABLE_MUST_CHECK is not set
>>  # CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
>>  CONFIG_PANIC_ON_OOPS=y
>>  # CONFIG_SCHED_DEBUG is not set
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

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

* Re: [PATCH] m68k/defconfig: amcore board defconfig tuning
  2017-01-09  9:38   ` Angelo Dureghello
@ 2017-01-09 12:04     ` Greg Ungerer
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Ungerer @ 2017-01-09 12:04 UTC (permalink / raw)
  To: Angelo Dureghello, linux-m68k

Hi Angelo,

On 09/01/17 19:38, Angelo Dureghello wrote:
> On 09/01/2017 06:43, Greg Ungerer wrote:
>> Hi Angelo,
>>
>> On 04/01/17 09:27, Angelo Dureghello wrote:
>>> Signed-off-by: Angelo Dureghello <angelo@sysam.it>
>>> ---
>>>  arch/m68k/configs/amcore_defconfig | 14 ++++++++------
>>>  1 file changed, 8 insertions(+), 6 deletions(-)
>>
>> No problem with the change.
>> But can you provide more information in the log message?
>> What tuning are the changes achieving?
>
> well, the change was driven mainly since i couldn't have
> tcp accept working with recent mainline kernels until i enabled
> CONFIG_SYN_COOKIES. With CONFIG_SYN_COOKIES tcp accept works
> again, will try to go deeper a bit on this since i believe
> tcp accepts should work also without CONFIG_SYN_COOKIES.
>
> I also had the chance to "diet" a bit kernel size and enable
> sysfs gpio.

Thats perfect, that is the sort of information I want to
see in the commit message.


> I'll resend v2 later.

Thanks.

Regards
Greg



>>> diff --git a/arch/m68k/configs/amcore_defconfig
>>> b/arch/m68k/configs/amcore_defconfig
>>> index f108dd1..131b410 100644
>>> --- a/arch/m68k/configs/amcore_defconfig
>>> +++ b/arch/m68k/configs/amcore_defconfig
>>> @@ -1,19 +1,20 @@
>>> -CONFIG_LOCALVERSION="amcore-001"
>>> +CONFIG_LOCALVERSION="amcore-002"
>>>  CONFIG_DEFAULT_HOSTNAME="amcore"
>>>  CONFIG_SYSVIPC=y
>>>  # CONFIG_FHANDLE is not set
>>>  # CONFIG_USELIB is not set
>>>  CONFIG_LOG_BUF_SHIFT=14
>>> -CONFIG_NAMESPACES=y
>>>  CONFIG_CC_OPTIMIZE_FOR_SIZE=y
>>>  # CONFIG_AIO is not set
>>>  # CONFIG_ADVISE_SYSCALLS is not set
>>>  # CONFIG_MEMBARRIER is not set
>>>  CONFIG_EMBEDDED=y
>>>  # CONFIG_VM_EVENT_COUNTERS is not set
>>> +# CONFIG_SLUB_DEBUG is not set
>>>  # CONFIG_COMPAT_BRK is not set
>>>  # CONFIG_LBDAF is not set
>>>  # CONFIG_BLK_DEV_BSG is not set
>>> +# CONFIG_IOSCHED_CFQ is not set
>>>  # CONFIG_MMU is not set
>>>  CONFIG_M5307=y
>>>  CONFIG_AMCORE=y
>>> @@ -27,13 +28,14 @@ CONFIG_NET=y
>>>  CONFIG_PACKET=y
>>>  CONFIG_UNIX=y
>>>  CONFIG_INET=y
>>> +CONFIG_SYN_COOKIES=y
>>>  # CONFIG_INET_XFRM_MODE_TRANSPORT is not set
>>>  # CONFIG_INET_XFRM_MODE_TUNNEL is not set
>>>  # CONFIG_INET_XFRM_MODE_BEET is not set
>>>  # CONFIG_IPV6 is not set
>>>  # CONFIG_WIRELESS is not set
>>>  # CONFIG_UEVENT_HELPER is not set
>>> -CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
>>> +# CONFIG_FW_LOADER is not set
>>>  # CONFIG_ALLOW_DEV_COREDUMP is not set
>>>  CONFIG_CONNECTOR=y
>>>  CONFIG_MTD=y
>>> @@ -53,6 +55,7 @@ CONFIG_MTD_UCLINUX=y
>>>  CONFIG_MTD_PLATRAM=y
>>>  CONFIG_BLK_DEV_RAM=y
>>>  CONFIG_NETDEVICES=y
>>> +# CONFIG_NET_VENDOR_AMAZON is not set
>>>  # CONFIG_NET_VENDOR_ARC is not set
>>>  # CONFIG_NET_CADENCE is not set
>>>  # CONFIG_NET_VENDOR_BROADCOM is not set
>>> @@ -89,14 +92,12 @@ CONFIG_I2C=y
>>>  CONFIG_I2C_CHARDEV=y
>>>  # CONFIG_I2C_HELPER_AUTO is not set
>>>  CONFIG_I2C_IMX=y
>>> -CONFIG_PPS=y
>>> +CONFIG_GPIO_SYSFS=y
>>>  # CONFIG_HWMON is not set
>>>  # CONFIG_USB_SUPPORT is not set
>>>  CONFIG_RTC_CLASS=y
>>>  # CONFIG_RTC_SYSTOHC is not set
>>>  CONFIG_RTC_DRV_DS1307=y
>>> -CONFIG_EXT2_FS=y
>>> -CONFIG_EXT2_FS_XATTR=y
>>>  # CONFIG_FILE_LOCKING is not set
>>>  # CONFIG_DNOTIFY is not set
>>>  # CONFIG_INOTIFY_USER is not set
>>> @@ -108,6 +109,7 @@ CONFIG_ROMFS_BACKED_BY_BOTH=y
>>>  # CONFIG_NETWORK_FILESYSTEMS is not set
>>>  CONFIG_PRINTK_TIME=y
>>>  # CONFIG_ENABLE_WARN_DEPRECATED is not set
>>> +# CONFIG_ENABLE_MUST_CHECK is not set
>>>  # CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
>>>  CONFIG_PANIC_ON_OOPS=y
>>>  # CONFIG_SCHED_DEBUG is not set
>>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>

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

end of thread, other threads:[~2017-01-09 12:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-03 23:27 [PATCH] m68k/defconfig: amcore board defconfig tuning Angelo Dureghello
2017-01-09  5:43 ` Greg Ungerer
2017-01-09  9:38   ` Angelo Dureghello
2017-01-09 12:04     ` Greg Ungerer

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.