mbox

[GIT,PULL] STM32 defconfig updates for v4.6 #1

Message ID 56D6C623.8030908@gmail.com
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/mcoquelin/stm32.git

Message

Maxime Coquelin March 2, 2016, 10:53 a.m. UTC
Hi Olof, Arnd and Kevin,

Please consider this first round of STM32 defconfig updates for v4.6:

The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d:

   Linux 4.5-rc1 (2016-01-24 13:06:47 -0800)

are available in the git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/mcoquelin/stm32.git 
tags/stm32-defconfig-for-v4.6-1

for you to fetch changes up to 9fe5bf92c30a89631eb1fafe0d9b18e2ba331ebb:

   ARM: configs: Add new config fragment to change RAM start point 
(2016-02-17 17:31:30 +0100)

----------------------------------------------------------------
Highlights:
-----------
  - Enable GPIO led driver in stm32_defconfig
  - Introduce a config fragment to override RAM base address

----------------------------------------------------------------
Lee Jones (1):
       ARM: configs: Add new config fragment to change RAM start point

Maxime Coquelin (1):
       ARM: config: Enable GPIO Led driver in stm32_defconfig

  arch/arm/configs/dram_0x00000000.config | 1 +
  arch/arm/configs/stm32_defconfig        | 1 +
  2 files changed, 2 insertions(+)
  create mode 100644 arch/arm/configs/dram_0x00000000.config

Comments

Arnd Bergmann March 2, 2016, 10:21 p.m. UTC | #1
On Wednesday 02 March 2016 11:53:23 Maxime Coquelin wrote:
> Highlights:
> -----------
>   - Enable GPIO led driver in stm32_defconfig
>   - Introduce a config fragment to override RAM base address
> 

Our first config fragment ;-)

Merged into next/defconfig, thanks!

	Arnd
Maxime Coquelin March 3, 2016, 8:59 a.m. UTC | #2
2016-03-02 23:21 GMT+01:00 Arnd Bergmann <arnd@arndb.de>:
> On Wednesday 02 March 2016 11:53:23 Maxime Coquelin wrote:
>> Highlights:
>> -----------
>>   - Enable GPIO led driver in stm32_defconfig
>>   - Introduce a config fragment to override RAM base address
>>
>
> Our first config fragment ;-)

Yes! Out of curiosity, did you see the question I asked you about fragments?
See "Re: [PATCH v3 4/4] ARM: STM32: Enable Ethernet in stm32_defconfig".
(https://lkml.org/lkml/2016/3/1/474)

This is not urgent, it can wait for after the merge window, but I will
be happy to have your view on this.

Thanks!
Maxime
Arnd Bergmann March 3, 2016, 10:33 a.m. UTC | #3
On Thursday 03 March 2016 09:59:35 Maxime Coquelin wrote:
> 2016-03-02 23:21 GMT+01:00 Arnd Bergmann <arnd@arndb.de>:
> > On Wednesday 02 March 2016 11:53:23 Maxime Coquelin wrote:
> >> Highlights:
> >> -----------
> >>   - Enable GPIO led driver in stm32_defconfig
> >>   - Introduce a config fragment to override RAM base address
> >>
> >
> > Our first config fragment 
> 
> Yes! Out of curiosity, did you see the question I asked you about fragments?
> See "Re: [PATCH v3 4/4] ARM: STM32: Enable Ethernet in stm32_defconfig".
> (https://lkml.org/lkml/2016/3/1/474)
> 
> This is not urgent, it can wait for after the merge window, but I will
> be happy to have your view on this.
> 

No, I missed that. Generally, I'd say we should limit the use of Kconfig
fragments to more fundamental settings, it should not replace the
manual configuration that users apply to pick the set of drivers
they want. In the end there is not much difference between someone
locally turning on CONFIG_INET when they need it, or using a fragment
that does the same.

Please just pick one default here (ethernet and ipv4 both enabled or
both disabled) that makes sense for most users, and have the others
change it manually.

	Arnd
Maxime Coquelin March 3, 2016, 1:09 p.m. UTC | #4
2016-03-03 11:33 GMT+01:00 Arnd Bergmann <arnd@arndb.de>:
> On Thursday 03 March 2016 09:59:35 Maxime Coquelin wrote:
>> 2016-03-02 23:21 GMT+01:00 Arnd Bergmann <arnd@arndb.de>:
>> > On Wednesday 02 March 2016 11:53:23 Maxime Coquelin wrote:
>> >> Highlights:
>> >> -----------
>> >>   - Enable GPIO led driver in stm32_defconfig
>> >>   - Introduce a config fragment to override RAM base address
>> >>
>> >
>> > Our first config fragment
>>
>> Yes! Out of curiosity, did you see the question I asked you about fragments?
>> See "Re: [PATCH v3 4/4] ARM: STM32: Enable Ethernet in stm32_defconfig".
>> (https://lkml.org/lkml/2016/3/1/474)
>>
>> This is not urgent, it can wait for after the merge window, but I will
>> be happy to have your view on this.
>>
>
> No, I missed that. Generally, I'd say we should limit the use of Kconfig
> fragments to more fundamental settings, it should not replace the
> manual configuration that users apply to pick the set of drivers
> they want. In the end there is not much difference between someone
> locally turning on CONFIG_INET when they need it, or using a fragment
> that does the same.
>
> Please just pick one default here (ethernet and ipv4 both enabled or
> both disabled) that makes sense for most users, and have the others
> change it manually.

Ok, I understand your point. In this case, I think having a fragment
for Ethernet
might not be a good idea because of the quantity of possible combinations.

Thanks,
Maxime