Skip to contentSkip to conversation

ARM: imx_v6_v7_defconfig: Remove CONFIG_ARM_UNWIND

PATCH In review Otavio Salvador 3 participants 8 messages Nov 25, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ARM: imx_v6_v7_defconfig: Remove CONFIG_ARM_UNWIND

The setting is removed when running a savedefconfig using the current setting set. It is being applied in preparation to some patches making changes to this defconfig.

---

 arch/arm/configs/imx_v6_v7_defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/configs/imx_v6_v7_defconfig +0 -1
index aa02d18f44d1..0c887a059df3 100644
@@ -445,4 +445,3 @@ CONFIG_MAGIC_SYSRQ=y
 CONFIG_PROVE_LOCKING=y
 # CONFIG_DEBUG_BUGVERBOSE is not set
 # CONFIG_FTRACE is not set
-# CONFIG_ARM_UNWIND is not set
Signature · 1 line
2.19.1
#1 lore raw

PATCH 2/3 ARM: imx_v6_v7_defconfig: Enable BT_BNEP

From: Andreas M?ller <[email protected]>

This is necessary to support network over bluetooth:

| Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: kernel lacks bnep-protocol support | Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: System does not support network plugin

---

 arch/arm/configs/imx_v6_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/imx_v6_v7_defconfig +1 -0
index 0c887a059df3..22ad2d7a1cf2 100644
@@ -81,6 +81,7 @@ CONFIG_NETFILTER=y
 CONFIG_CAN=y
 CONFIG_CAN_FLEXCAN=y
 CONFIG_BT=y
+CONFIG_BT_BNEP=m
 CONFIG_BT_HCIUART=y
 CONFIG_BT_HCIUART_LL=y
 CONFIG_CFG80211=y
Signature · 1 line
2.19.1
#3 lore raw

PATCH 3/3 ARM: imx_v6_v7_defconfig: Enable USB_ANNOUNCE_NEW_DEVICES

In reply to Otavio Salvador

From: Andreas M?ller <[email protected]>

This is very helpful debugging USB issues.

---

 arch/arm/configs/imx_v6_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/imx_v6_v7_defconfig +1 -0
index 22ad2d7a1cf2..d339913845fa 100644
@@ -305,6 +305,7 @@ CONFIG_SND_SOC_WM8962=y
 CONFIG_SND_SIMPLE_CARD=y
 CONFIG_HID_MULTITOUCH=y
 CONFIG_USB=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_MXC=y
 CONFIG_USB_STORAGE=y
Signature · 1 line
2.19.1
reviewer Reviewed-by on v1 1/3
#5 lore raw
In reply to Otavio Salvador

Hi Otavio,

Quoted 3 lines · Otavio Salvador

The setting is removed when running a savedefconfig using the current setting set. It is being applied in preparation to some

"setting set" is a bit confusing.

Quoted 1 line

patches making changes to this defconfig.

It would be good to mention that CONFIG_ARM_UNWIND is still selected automatically.

Otherwise it may give the impression that such functionality is being removed.

You could reword the commit log to something like this:

CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but it is still selected by the Kconfig logic.
This is done in preparation to making further changes to this defconfig cleaner.

With the reworded commit log:

reviewer Reviewed-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] ARM: imx_v6_v7_defconfig: Enable BT_BNEP

In reply to Otavio Salvador
Quoted 10 lines · Otavio Salvador

From: Andreas M?ller <[email protected]>

This is necessary to support network over bluetooth:

| Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: kernel lacks bnep-protocol support | Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: System does not support network plugin

#6 lore raw
In reply to Fabio Estevam

Hello Fabio,

Quoted 12 lines · Fabio Estevam
Quoted 3 lines · Otavio Salvador

The setting is removed when running a savedefconfig using the current setting set. It is being applied in preparation to some

"setting set" is a bit confusing.

Quoted 1 line

patches making changes to this defconfig.

It would be good to mention that CONFIG_ARM_UNWIND is still selected automatically.

Quoted 7 lines

Otherwise it may give the impression that such functionality is being removed.

You could reword the commit log to something like this:

CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but it is still selected by the Kconfig logic.
This is done in preparation to making further changes to this defconfig cleaner.

In fact, was removed and now selected.

I changed the commit log as:

ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but selected by the Kconfig logic. This is done in preparation to making further changes to this defconfig cleaner.

Do you agree?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750
reviewer
#7 lore raw

Hi Otavio,

Quoted 1 line · Otavio Salvador

In fact, was removed and now selected.

Yes, correct. In 4.20-rc1 this option is automatically selected.

Quoted 9 lines

I changed the commit log as:

ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but selected by the Kconfig logic. This is done in preparation to making further changes to this defconfig cleaner.

Do you agree?

Looks good to me, thanks.