> -----Original Message----- > From: Avri Altman > Sent: Tuesday, May 23, 2017 12:21 PM > To: 'Linus Walleij' <[email protected]>; [email protected]; Ulf > Hansson <[email protected]>; Adrian Hunter > <[email protected]> > Cc: [email protected]; Jens Axboe <[email protected]>; Christoph > Hellwig <[email protected]>; Arnd Bergmann <[email protected]>; Bartlomiej > Zolnierkiewicz <[email protected]>; Paolo Valente > <[email protected]> > Subject: RE: [PATCH 5/5] mmc: block: move multi-ioctl() to use block layer > > > > > -----Original Message----- > > From: [email protected] [mailto:linux-mmc- > > [email protected]] On Behalf Of Linus Walleij > > Sent: Wednesday, May 10, 2017 11:24 AM > > To: [email protected]; Ulf Hansson <[email protected]>; > > Adrian Hunter <[email protected]> > > Cc: [email protected]; Jens Axboe <[email protected]>; > > Christoph Hellwig <[email protected]>; Arnd Bergmann <[email protected]>; > > Bartlomiej Zolnierkiewicz <[email protected]>; Paolo Valente > > <[email protected]>; Linus Walleij <[email protected]> > > Subject: [PATCH 5/5] mmc: block: move multi-ioctl() to use block layer > > > > This switches also the multiple-command ioctl() call to issue all > > ioctl()s through the block layer instead of going directly to the device. > > > > We extend the passed argument with an argument count and loop over all > > passed commands in the ioctl() issue function called from the block layer. > > > > By doing this we are again loosening the grip on the big host lock, > > since two calls to mmc_get_card()/mmc_put_card() are removed. > > > > Signed-off-by: Linus Walleij <[email protected]> > Tested-by: Avri Altman <[email protected]>
Few more words - we used mmc_utils to run ffu (field firmware update) that uses multi-ioctl. We used Intel NUC with SanDisk storage - this way we could verify that indeed our fw is updated properly. Cheers, Avri
