Re: Re2: [PATCH] spi:fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-08-15 Thread Mark Brown
On Wed, Aug 15, 2018 at 05:28:56PM +0300, Kirill Kapranov wrote: > On 08/14/2018 05:18 PM, Mark Brown wrote: > > Is this something that's actually happened for you? > Yes, I observed it. OK, that's useful to know - it differentiates between a nice to have fix and something that should be sent to

Re2: [PATCH] spi:fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-08-15 Thread Kirill Kapranov
On 08/14/2018 05:18 PM, Mark Brown wrote: > Is this something that's actually happened for you? Yes, I observed it. Background: The platform: fitlet2 [1] , CPU Intel(R) Celeron(R) CPU J3455 @ 1.50GHz. On an extension board there are three SPI master controllers "Intel Corporation Atom/Celeron/P

Re: [PATCH] spi:fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-08-14 Thread Mark Brown
On Mon, Aug 13, 2018 at 07:48:10PM +0300, Kirill Kapranov wrote: > On systems where some controllers get a dynamic ID assigned and some have > a fixed number (e.g. from ACPI tables), the current implementation might > run into an IDR collision: in case of a fixed bus number is gotten by a > driver

[PATCH] spi:fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-08-13 Thread Kirill Kapranov
On systems where some controllers get a dynamic ID assigned and some have a fixed number (e.g. from ACPI tables), the current implementation might run into an IDR collision: in case of a fixed bus number is gotten by a driver (but not marked busy in IDR tree) and a driver with dynamic bus number ge