Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1722293
| From | Viresh Kumar <viresh.kumar@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V3 2/8] drivers: boot_constraint: Add boot_constraints_disable kernel parameter |
| Date | 2017-08-29 12:10 +0200 |
| Message-ID | <ujLD3-1hQ-13@gated-at.bofh.it> (permalink) |
| References | <u9BEZ-1GX-3@gated-at.bofh.it> <u9BOG-1MA-9@gated-at.bofh.it> <ujIlQ-7yN-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 29-08-17, 08:37, Greg Kroah-Hartman wrote: > On Tue, Aug 01, 2017 at 02:53:43PM +0530, Viresh Kumar wrote: > > + boot_constraints_disable > > + Do not set any boot constraints for devices. > > Shouldn't that be the default? As really, that is what the situation is > today, why force everyone to always enable the disable value? And > enabling a value to disable something is usually a sign of bad naming... I will explain once again how it is getting used and then will do whatever you suggest. - Platforms that don't need boot constraints should not enable the CONFIG in the first place. Though we use the same kernel image on multiple hardware types many times. - If a platform doesn't have a platform-specific driver that adds constraints at boot, then the boot constraint core wouldn't get into picture at all and it is as good as being disabled. - And the above boot-argument (boot_constraints_disable) is used ONLY in the case where the platform driver is adding boot constraints at runtime. So, the boot-constraints are disabled by default for everyone even if the configuration is enabled. And that's why I named it the way it is right now. Do you still feel that it needs to be renamed? -- viresh
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH V3 2/8] drivers: boot_constraint: Add boot_constraints_disable kernel parameter Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-08-29 08:40 +0200
Re: [PATCH V3 2/8] drivers: boot_constraint: Add boot_constraints_disable kernel parameter Jani Nikula <jani.nikula@linux.intel.com> - 2017-08-29 08:50 +0200
Re: [PATCH V3 2/8] drivers: boot_constraint: Add boot_constraints_disable kernel parameter Viresh Kumar <viresh.kumar@linaro.org> - 2017-08-29 12:10 +0200
Re: [PATCH V3 2/8] drivers: boot_constraint: Add boot_constraints_disable kernel parameter Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-08-29 14:00 +0200
csiph-web