From: Florian Fainelli <f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Scott Branden <sbranden-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>,
Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
Cc: arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
arnd-r2nGTMty4D4@public.gmane.org,
mporter-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
bcm-xK7y4jjYLqYh9ZMKESR00Q@public.gmane.org,
bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w@public.gmane.org,
jdzheng-dY08KVG/lbpWk0Htik3J/w@public.gmane.org,
rjui-dY08KVG/lbpWk0Htik3J/w@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [GIT PULL] Broadcom Cygnus SoC defconfig changes
Date: Sun, 09 Nov 2014 11:24:34 -0800 [thread overview]
Message-ID: <545FBF72.10202@gmail.com> (raw)
In-Reply-To: <545EFF6E.7000309-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
On 11/08/14 21:45, Scott Branden wrote:
> Hi Olof,
>
> Thanks for the comments. Please see my questions inline before we
> determine what needs to be done for the defconfig patchset.
>
> On 14-11-08 04:13 PM, Olof Johansson wrote:
>> On Thu, Oct 30, 2014 at 12:50:09PM -0700, Florian Fainelli wrote:
>>> The following changes since commit
>>> f114040e3ea6e07372334ade75d1ee0775c355e1:
>>>
>>> Linux 3.18-rc1 (2014-10-19 18:08:38 -0700)
>>>
>>> are available in the git repository at:
>>>
>>> http://github.com/brcm/linux.git
>>> tags/arm-soc/for-3.18/cygnus-defconfig-v9
>>>
>>> for you to fetch changes up to aa0204801143ee2d47e9e8dd5f39cdddd5613b4b:
>>>
>>> ARM: multi_v7_defconfig: Enable Broadcom Cygnus (2014-10-30
>>> 11:01:35 -0700)
>>
>> Hi Florian,
>>
>> Apologies for the delay in dealing with this pull request.
>>
>>> ----------------------------------------------------------------
>>> This patchset contains initial support for Broadcom's Cygnus SoC
>>> based on our
>>> iProc architecture. Initial support is minimal and includes just the
>>> mach
>>> platform code, clock driver, and a basic device tree configuration.
>>> Peripheral
>>> drivers will be submitted soon, as will device tree configurations
>>> for other
>>> Cygnus board variants.
>>>
>>> These are the defconfig parts of the changes
>>>
>>> ----------------------------------------------------------------
>>> Jonathan Richardson (1):
>>> ARM: cygnus defconfig : Initial defconfig for Broadcom Cygnus SoC
>>>
>>> Ray Jui (1):
>>> ARM: multi_v7_defconfig: Enable Broadcom Cygnus
>>>
>>> Scott Branden (1):
>>> ARM: bcm_defconfig/multi_v7_defconfig: remove one level of
>>> menu from Kconfig
>>>
>>> arch/arm/configs/bcm_cygnus_defconfig | 237
>>> ++++++++++++++++++++++++++++++++++
>>> arch/arm/configs/bcm_defconfig | 3 +-
>>> arch/arm/configs/multi_v7_defconfig | 21 ++-
>>
>> Please send multi_v7_defconfig updates as a patch instead of including in
>> a merge request. We ask for this because it's a file that many
>> maintainers
>> touch and it's easy that we get lots of conflicts otherwise.
> OK, easy to do. Are there other files that we need to be aware of that
> have these different requirements to merge as well?
>
>>
>> As far as the bcm_cygnus_defconfig: Since new platforms are multiplatform
>> enabled by default, we normally only prefer to have one defconfig per
>> vendor.
>> We've made exceptions in cases where the families are very different,
>> but in
>> general one defconfig per vendor should be sufficient.
>>
>> I.e. please enable the cygnus options in bcm_defconfig instead of
>> adding a new
>> one.
>
> Hi Olof, we can do this. But this makes bcm_defconfig unusable for us
> in a product and is not a simple configuration to start from for our
> customers. bcm_defconfig is a different SoC family based around the
> Kona architecture. bcm_defconfig won't be what we build and test on
> Cygnus at all. There is a script in scripts/kconfig/mergeconfig.pl that
> allows you to merge config files together if you wish to have a kernel
> support multiple SoCs. I see the same problem with multi_v7_defconfig
> but even worse. It isn't a configuration we will ever use. Its only
> purpose seems to be to enable our drivers in the that build just in case
> somebody else happens to break something in the build.
The defconfigs shipped in the mainline kernel only serve the purpose of
building as many drivers/subsystems as possible and making sure they
work well together from a general distribution perspective like
Debian/Ubuntu/OE... That does not mean this is your configuration
template for a downstream kernel with only a specific set of SoCs to
support.
>
> As it stands, multi_v7_defconfig boots noticably slower than
> bcm_cygnus_defconfig. And, the kernel is larger than we want. And, the
> kconfigs are more complicated than we need for our boards. I also
> notice some of the other SoCs families enabled automatically turn on a
> lot of features we don't want on.
Right, you are also very likely to see code blow away that has been
enabled as part of the multi_v7_defconfig, but actually assumes that it
will only run on a a particular family of SoCs, of course, all of this
is good to fix to improve the multiplatform kernel, but does not
necessarily impact you directly.
>
> Perhaps most of the multi_v7_defconfig merge issue you are facing could
> be solved if you used the mergconfig.pl script to merge multiple
> defconfigs together?
>
> What we wish to do is have a config file that only supports the Cygnus
> family of SoCs. This allows others to easily see what applies to Cygnus
> without being confused by other configurations. And, if somebody wishes
> to use scripts/kconfig/mergeconfig.pl to merge different SoC support
> together they are free to do so.
>
> So, we can do as you ask to get this upstreamed. But it really serves
> little purpose for us other than verifying things build.
>
> Where do we upstream the defconfig that we actually use? Or is this
> just not done and everyone keeps everything locally and has to continue
> to maintain it there?
FWIW, this is typically what we do for the brcmstb_defconfig, it is just
present in our downstream kernel, but we do use the multi_v7_defconfig
when testing upstream.
--
Florian
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-11-09 19:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 19:50 [GIT PULL] Broadcom Cygnus SoC defconfig changes Florian Fainelli
[not found] ` <1414698612-26216-1-git-send-email-f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-10-30 19:50 ` [GIT PULL] Broadcom Cygnus SoC Device Tree changes Florian Fainelli
[not found] ` <1414698612-26216-2-git-send-email-f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-11-09 0:25 ` Olof Johansson
[not found] ` <20141109002501.GC11947-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2014-11-10 18:36 ` Olof Johansson
2014-10-30 19:50 ` [GIT PULL] Broadcom Cygnus SoC MAINTAINERS changes Florian Fainelli
2014-10-30 19:50 ` [GIT PULL] Broadcom Cygnus SoC platforms changes Florian Fainelli
[not found] ` <1414698612-26216-4-git-send-email-f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-11-09 0:28 ` Olof Johansson
[not found] ` <20141109002846.GD11947-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2014-11-09 0:33 ` Olof Johansson
2014-11-09 0:13 ` [GIT PULL] Broadcom Cygnus SoC defconfig changes Olof Johansson
[not found] ` <20141109001302.GB11947-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2014-11-09 5:45 ` Scott Branden
[not found] ` <545EFF6E.7000309-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2014-11-09 19:24 ` Florian Fainelli [this message]
[not found] ` <545FBF72.10202-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-11-10 5:36 ` Scott Branden
[not found] ` <54604EE1.4020303-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2014-11-10 6:21 ` Olof Johansson
2014-11-12 6:29 ` Florian Fainelli
[not found] ` <CAGVrzcbQG7qZNOoocgpbV=pf3Jv9mwAfsb=Eq2tiFfMa_pAPZQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-12 17:25 ` Olof Johansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=545FBF72.10202@gmail.com \
--to=f.fainelli-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=arnd-r2nGTMty4D4@public.gmane.org \
--cc=bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
--cc=bcm-xK7y4jjYLqYh9ZMKESR00Q@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=jdzheng-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=mporter-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
--cc=rjui-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
--cc=sbranden-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).