Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-12 Thread AKASHI Takahiro
On Tue, Oct 12, 2021 at 03:30:26PM +0200, Heinrich Schuchardt wrote: > > > On 10/12/21 05:26, AKASHI Takahiro wrote: > > Simon, Heinrich, > > > > On Mon, Oct 11, 2021 at 10:14:02AM -0600, Simon Glass wrote: > > > Hi Heinrich, > > > > > > On Mon, 11 Oct 2021 at 09:09, Heinrich Schuchardt > >

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-12 Thread Simon Glass
Hi Takahiro, On Mon, 11 Oct 2021 at 21:26, AKASHI Takahiro wrote: > > Simon, Heinrich, > > On Mon, Oct 11, 2021 at 10:14:02AM -0600, Simon Glass wrote: > > Hi Heinrich, > > > > On Mon, 11 Oct 2021 at 09:09, Heinrich Schuchardt > > wrote: > > > > > > > > > > > > On 10/11/21 16:32, Simon Glass

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-12 Thread Heinrich Schuchardt
On 10/12/21 05:26, AKASHI Takahiro wrote: Simon, Heinrich, On Mon, Oct 11, 2021 at 10:14:02AM -0600, Simon Glass wrote: Hi Heinrich, On Mon, 11 Oct 2021 at 09:09, Heinrich Schuchardt wrote: On 10/11/21 16:32, Simon Glass wrote: Hi Heinrich, On Mon, 11 Oct 2021 at 04:07, Heinrich

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-11 Thread AKASHI Takahiro
Simon, Heinrich, On Mon, Oct 11, 2021 at 10:14:02AM -0600, Simon Glass wrote: > Hi Heinrich, > > On Mon, 11 Oct 2021 at 09:09, Heinrich Schuchardt wrote: > > > > > > > > On 10/11/21 16:32, Simon Glass wrote: > > > Hi Heinrich, > > > > > > On Mon, 11 Oct 2021 at 04:07, Heinrich Schuchardt > >

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-11 Thread Simon Glass
Hi Heinrich, On Mon, 11 Oct 2021 at 09:09, Heinrich Schuchardt wrote: > > > > On 10/11/21 16:32, Simon Glass wrote: > > Hi Heinrich, > > > > On Mon, 11 Oct 2021 at 04:07, Heinrich Schuchardt > > wrote: > >> > >> > >> > >> On 10/1/21 13:48, Peter Robinson wrote: > >>> On Fri, Oct 1, 2021 at

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-11 Thread Heinrich Schuchardt
On 10/11/21 16:32, Simon Glass wrote: Hi Heinrich, On Mon, 11 Oct 2021 at 04:07, Heinrich Schuchardt wrote: On 10/1/21 13:48, Peter Robinson wrote: On Fri, Oct 1, 2021 at 6:03 AM AKASHI Takahiro wrote: In blk_get_device_by_str(), the comment says: "Updates the partition table for

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-11 Thread Simon Glass
Hi Heinrich, On Mon, 11 Oct 2021 at 04:07, Heinrich Schuchardt wrote: > > > > On 10/1/21 13:48, Peter Robinson wrote: > > On Fri, Oct 1, 2021 at 6:03 AM AKASHI Takahiro > > wrote: > >> > >> In blk_get_device_by_str(), the comment says: "Updates the partition table > >> for the specified hw

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-11 Thread Heinrich Schuchardt
On 10/1/21 13:48, Peter Robinson wrote: On Fri, Oct 1, 2021 at 6:03 AM AKASHI Takahiro wrote: In blk_get_device_by_str(), the comment says: "Updates the partition table for the specified hw partition." Since hw partition is supported only on MMC, it makes no sense to do so for other

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-10 Thread Simon Glass
On Thu, 30 Sept 2021 at 23:02, AKASHI Takahiro wrote: > > In blk_get_device_by_str(), the comment says: "Updates the partition table > for the specified hw partition." > Since hw partition is supported only on MMC, it makes no sense to do so > for other devices. > > Signed-off-by: AKASHI Takahiro

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-03 Thread AKASHI Takahiro
Hi Peter, On Fri, Oct 01, 2021 at 12:48:24PM +0100, Peter Robinson wrote: > On Fri, Oct 1, 2021 at 6:03 AM AKASHI Takahiro > wrote: > > > > In blk_get_device_by_str(), the comment says: "Updates the partition table > > for the specified hw partition." > > Since hw partition is supported only on

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-03 Thread AKASHI Takahiro
Heinrich, On Fri, Oct 01, 2021 at 08:41:52AM +0200, Heinrich Schuchardt wrote: > > > On 10/1/21 7:01 AM, AKASHI Takahiro wrote: > > In blk_get_device_by_str(), the comment says: "Updates the partition table > > for the specified hw partition." > > Since hw partition is supported only on MMC, it

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-01 Thread Peter Robinson
On Fri, Oct 1, 2021 at 6:03 AM AKASHI Takahiro wrote: > > In blk_get_device_by_str(), the comment says: "Updates the partition table > for the specified hw partition." > Since hw partition is supported only on MMC, it makes no sense to do so > for other devices. Is it not also supported on UFS,

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-01 Thread Heinrich Schuchardt
On 10/1/21 08:41, Heinrich Schuchardt wrote: On 10/1/21 7:01 AM, AKASHI Takahiro wrote: In blk_get_device_by_str(), the comment says: "Updates the partition table for the specified hw partition." Since hw partition is supported only on MMC, it makes no sense to do so for other devices.

Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

2021-10-01 Thread Heinrich Schuchardt
On 10/1/21 7:01 AM, AKASHI Takahiro wrote: In blk_get_device_by_str(), the comment says: "Updates the partition table for the specified hw partition." Since hw partition is supported only on MMC, it makes no sense to do so for other devices. Signed-off-by: AKASHI Takahiro --- disk/part.c