On 01/04/2020 14:10, Sebastian Huber wrote: > On 01/04/2020 14:09, Christian Mauderer wrote: > >> On 01/04/2020 11:55, Sebastian Huber wrote: >>> On 01/04/2020 11:45, Christian Mauderer wrote: >>>> The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it. >>>> If a MMC device has multiple hardware partitions (like eMMC which >>>> typically has at least one boot partition) the >>>> rtems_bsd_mmcsd_attach_worker would try to acquire the bus multiple >>>> times. This doesn't work. >>>> >>>> Doing it right would mean to acquire and release the bus for each >>>> access which would have an performance impact. Beneath that it would >>>> mean that partition switching has to be supported by the RTEMS code too. >>>> >>>> There is currently no known use case where the access would be >>>> necessary. Therefore this patch prefers the performance and just avoids >>>> all further hardware partitions. >>> Looks good. >>> >> Should we apply it only to master or to 5-freebsd-12 too? The problem >> affects both so I would suggest to apply it to both branches. > Both branches please.
Thanks. I pushed it. -- -------------------------------------------- embedded brains GmbH Herr Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email: christian.maude...@embedded-brains.de Phone: +49-89-18 94 741 - 18 Fax: +49-89-18 94 741 - 08 PGP: Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel