Re: [PATCH v2 19/23] firmware: add debug facility to emulate forcing sysfs fallback

2017-11-30 Thread Luis R. Rodriguez
On Thu, Nov 30, 2017 at 09:35:16PM +0100, Luis R. Rodriguez wrote: > On Wed, Nov 29, 2017 at 11:28:04AM +0100, Greg KH wrote: > > On Mon, Nov 20, 2017 at 10:24:05AM -0800, Luis R. Rodriguez wrote: > > > diff --git a/drivers/base/firmware_debug.c b/drivers/base/firmware_debug.c > > > new file mode 1

Re: [PATCH v2 19/23] firmware: add debug facility to emulate forcing sysfs fallback

2017-11-30 Thread Luis R. Rodriguez
On Wed, Nov 29, 2017 at 11:28:04AM +0100, Greg KH wrote: > On Mon, Nov 20, 2017 at 10:24:05AM -0800, Luis R. Rodriguez wrote: > > diff --git a/drivers/base/firmware_debug.c b/drivers/base/firmware_debug.c > > new file mode 100644 > > index ..f2817eb6f480 > > --- /dev/null > > +++ b/driv

Re: [PATCH v2 19/23] firmware: add debug facility to emulate forcing sysfs fallback

2017-11-29 Thread Greg KH
On Mon, Nov 20, 2017 at 10:24:05AM -0800, Luis R. Rodriguez wrote: > The CONFIG_FW_LOADER_USER_HELPER_FALLBACK kernel config is not > enabled my major distros, however its known to be enabled on > some Android kernels. Testing the firmware API properly then > means to test at least two different ke

[PATCH v2 19/23] firmware: add debug facility to emulate forcing sysfs fallback

2017-11-20 Thread Luis R. Rodriguez
The CONFIG_FW_LOADER_USER_HELPER_FALLBACK kernel config is not enabled my major distros, however its known to be enabled on some Android kernels. Testing the firmware API properly then means to test at least two different kernel configurations. Since CONFIG_FW_LOADER_USER_HELPER_FALLBACK only does