Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-12-15 Thread Ulf Hansson
On Tue, 15 Dec 2020 at 09:19, Geert Uytterhoeven wrote: > > Hi Ulf, > > On Mon, Dec 14, 2020 at 9:23 PM Ulf Hansson wrote: > > On Tue, 8 Dec 2020 at 08:32, Geert Uytterhoeven > > wrote: > > > On Mon, Dec 7, 2020 at 11:15 PM Doug Anderson > > > wrote: > > > > On Mon, Dec 7, 2020 at 1:55 PM

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-12-15 Thread Geert Uytterhoeven
Hi Ulf, On Mon, Dec 14, 2020 at 9:23 PM Ulf Hansson wrote: > On Tue, 8 Dec 2020 at 08:32, Geert Uytterhoeven wrote: > > On Mon, Dec 7, 2020 at 11:15 PM Doug Anderson wrote: > > > On Mon, Dec 7, 2020 at 1:55 PM Arnd Bergmann wrote: > > > > On Mon, Dec 7, 2020 at 9:23 PM Geert Uytterhoeven > >

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-12-14 Thread Ulf Hansson
On Tue, 8 Dec 2020 at 08:32, Geert Uytterhoeven wrote: > > Hi Doug, > > On Mon, Dec 7, 2020 at 11:15 PM Doug Anderson wrote: > > On Mon, Dec 7, 2020 at 1:55 PM Arnd Bergmann wrote: > > > On Mon, Dec 7, 2020 at 9:23 PM Geert Uytterhoeven > > > wrote: > > > > On Tue, Dec 1, 2020 at 3:06 PM Arnd

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-12-07 Thread Geert Uytterhoeven
Hi Doug, On Mon, Dec 7, 2020 at 11:15 PM Doug Anderson wrote: > On Mon, Dec 7, 2020 at 1:55 PM Arnd Bergmann wrote: > > On Mon, Dec 7, 2020 at 9:23 PM Geert Uytterhoeven > > wrote: > > > On Tue, Dec 1, 2020 at 3:06 PM Arnd Bergmann wrote: > > > > On Tue, Dec 1, 2020 at 12:39 PM Ulf Hansson

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-12-07 Thread Doug Anderson
Hi, On Mon, Dec 7, 2020 at 1:55 PM Arnd Bergmann wrote: > > On Mon, Dec 7, 2020 at 9:23 PM Geert Uytterhoeven > wrote: > > On Tue, Dec 1, 2020 at 3:06 PM Arnd Bergmann wrote: > > > On Tue, Dec 1, 2020 at 12:39 PM Ulf Hansson > > > wrote: > > > > So, I think we have two options. If people

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-12-07 Thread Geert Uytterhoeven
CC devicetree On Tue, Dec 1, 2020 at 3:06 PM Arnd Bergmann wrote: > On Tue, Dec 1, 2020 at 12:39 PM Ulf Hansson wrote: > > So, I think we have two options. If people are willing to move to > > "disk labels" or to patch their DTBs with mmc aliases, things can stay > > as is. Otherwise, we can

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-12-05 Thread Pavel Machek
Hi! > > On Fri, Nov 27, 2020 at 12:51 PM Arnd Bergmann wrote: > > > > > > - Some DT patches for the Rockchip RK3399 platform, > > >in particular fixing the MMC device ordering that > > >recently became nondeterministic with async probe. > > > > Uhhuh. > > > > I didn't realize this MMC

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-12-01 Thread Ulf Hansson
On Mon, 30 Nov 2020 at 19:23, Linus Torvalds wrote: > > On Mon, Nov 30, 2020 at 10:11 AM Doug Anderson wrote: > > > > So I guess the answer here is: strive very hard but you don't have to > > guarantee that every corner case is covered? > > Yes. Covering every possible theoretical case is

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-30 Thread Russell King - ARM Linux admin
On Mon, Nov 30, 2020 at 10:22:58AM -0800, Linus Torvalds wrote: > > I guess the question is: why is static assignment of numbers not an > > acceptable solution to the problem? It gives us the desired fixed > > numbers and automatically avoids all weird probe ordering / dependency > > problems. >

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-30 Thread Russell King - ARM Linux admin
On Mon, Nov 30, 2020 at 10:15:29AM -0800, Linus Torvalds wrote: > On Mon, Nov 30, 2020 at 10:05 AM Russell King - ARM Linux admin > wrote: > > > > If you think that /dev/sda for example is always the machine's internal > > HDD, that is wrong. > > Yes. See the whole part about > > "Note that it

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-30 Thread Linus Torvalds
On Mon, Nov 30, 2020 at 10:11 AM Doug Anderson wrote: > > So I guess the answer here is: strive very hard but you don't have to > guarantee that every corner case is covered? Yes. Covering every possible theoretical case is basically impossible. I mean, it can be something like "the firmware

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-30 Thread Linus Torvalds
On Mon, Nov 30, 2020 at 10:05 AM Russell King - ARM Linux admin wrote: > > If you think that /dev/sda for example is always the machine's internal > HDD, that is wrong. Yes. See the whole part about "Note that it really is only the internal devices that matter. Once you start plugging in an

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-30 Thread Doug Anderson
Hi, On Mon, Nov 30, 2020 at 9:44 AM Linus Torvalds wrote: > > So basically, the way the async probing works for say SCSI is that we > have multiple "layers of asynchroniety". We have the usual "init calls > done asynchronously", but then within the init calls themselves you > can start sub-scans

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-30 Thread Russell King - ARM Linux admin
On Mon, Nov 30, 2020 at 09:44:03AM -0800, Linus Torvalds wrote: > On Mon, Nov 30, 2020 at 9:04 AM Doug Anderson wrote: > > > > Without static assignment, maybe we could do numbering of MMC devices > > in some type of a pre-probe routine? Is that what you're suggesting? > > Yes. > > So

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-30 Thread Linus Torvalds
On Mon, Nov 30, 2020 at 9:04 AM Doug Anderson wrote: > > Without static assignment, maybe we could do numbering of MMC devices > in some type of a pre-probe routine? Is that what you're suggesting? Yes. So basically, the way the async probing works for say SCSI is that we have multiple "layers

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-30 Thread Dmitry Torokhov
Hi Linus, On Fri, Nov 27, 2020 at 3:02 PM Linus Torvalds wrote: > > On Fri, Nov 27, 2020 at 12:51 PM Arnd Bergmann wrote: > > > > - Some DT patches for the Rockchip RK3399 platform, > >in particular fixing the MMC device ordering that > >recently became nondeterministic with async

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-30 Thread Doug Anderson
Hi, On Fri, Nov 27, 2020 at 2:56 PM Linus Torvalds wrote: > > On Fri, Nov 27, 2020 at 12:51 PM Arnd Bergmann wrote: > > > > - Some DT patches for the Rockchip RK3399 platform, > >in particular fixing the MMC device ordering that > >recently became nondeterministic with async probe. > >

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-27 Thread Linus Torvalds
On Fri, Nov 27, 2020 at 12:51 PM Arnd Bergmann wrote: > > - Some DT patches for the Rockchip RK3399 platform, >in particular fixing the MMC device ordering that >recently became nondeterministic with async probe. Uhhuh. I didn't realize this MMC breakage happened. That's just an MMC