From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71B42C433EF for ; Fri, 3 Dec 2021 07:17:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BCD0280FF4; Fri, 3 Dec 2021 08:17:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="TmEHAdWl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 78344811A7; Fri, 3 Dec 2021 08:17:07 +0100 (CET) Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E4AD680FF3 for ; Fri, 3 Dec 2021 08:17:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pl1-x634.google.com with SMTP id v19so1485564plo.7 for ; Thu, 02 Dec 2021 23:17:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=buhnnuJrN6jq+B0+qJavvYkzmi3XNuOQFnYDVbQBiTQ=; b=TmEHAdWl53HVSx0/PGHxBklbNkMK+QetMjuXd8gEotbj0YyO3fDDL6fsxkjy9w0Y1B anH8zpqgR7puaWTGA/qEuth75HDrcEqev7HGGBzWQ0tDnxxqZpYcK4Q1CauuW45t59zm lGcO4wetU1wwyY1L6jfyBHd9AW2BOz5nygIFcFD8w3S3ptX1yHS45oHz2DSMbAI4P4SY g1s6jNE44lLaVfOv8ibGHJU1VKhpf9Ye8hIxKXzS629KuVQEeQ6PWlZXKsBDRN8boZr2 o1r2YHb8cm8jgmpMPlHYgg7YgsSTooDqyPp0OzSu5E6NSLXIrm0yjw3nyA65TYkk4KAU bXdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=buhnnuJrN6jq+B0+qJavvYkzmi3XNuOQFnYDVbQBiTQ=; b=Y7Brat0BKXqiidZuDG5bIVJDdDRPDywie8YoCuqUQFnkL6e/xhWme2/Vde9k+MNaOY 6L+veYYx6gBlFui7ckbJrnXTWj6R5cU5SkphVEkFC2pOBZIg3KJyxbHN5NOAwLdLx1nA mpnSDQiKdsNuKGAHYNYz46BMqeR4mcM7UL18wx5IjqJUsnyU8lMoHwRmzN2H7M+HfAWl ir9O07IsmNn/2Wv6/9GxGT8U9w8B9Q48z9twfTMCjDVCz4A3Bt3067+LUgBZqkwP75Oj Z54ozllk1H8oGtW1bq1vUU6ZZUM/KYK3mEXPZ4ojWg3OLjEWNUlIApWlmsEoFFbi+H87 l0ig== X-Gm-Message-State: AOAM533kSDIPYZBYj/tjP/orwdFqpdYGSmIF0CZgDskcDFN6+2dTxlVy zZVOVaLr5xGrIKUudmkzyDkIZQ== X-Google-Smtp-Source: ABdhPJyq3h6vR6CT7eXWu9kI+vThc9GLIsujnQnsv/Ma5ht+kMul1GdoFAtLUmbI/DLJe//rnye8Fw== X-Received: by 2002:a17:903:110c:b0:143:9edf:4985 with SMTP id n12-20020a170903110c00b001439edf4985mr17585851plh.15.1638515822300; Thu, 02 Dec 2021 23:17:02 -0800 (PST) Received: from laputa ([2400:4050:c3e1:100:59ee:cdb7:e187:43ff]) by smtp.gmail.com with ESMTPSA id q9sm2264878pfj.9.2021.12.02.23.16.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 23:17:01 -0800 (PST) Date: Fri, 3 Dec 2021 16:16:57 +0900 From: AKASHI Takahiro To: Heinrich Schuchardt , Simon Glass , Ilias Apalodimas , Tom Rini , U-Boot Mailing List , Alex Graf Subject: Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION Message-ID: <20211203071657.GD17147@laputa> Mail-Followup-To: AKASHI Takahiro , Heinrich Schuchardt , Simon Glass , Ilias Apalodimas , Tom Rini , U-Boot Mailing List , Alex Graf References: <20211115014319.GA38596@laputa> <938593ce-c7fb-57a2-0294-3f21354d48a0@gmx.de> <20211115235110.GA5047@laputa> <7bfe1097-bcfb-36b5-18c4-30c067d53951@gmx.de> <20211116030127.GB5047@laputa> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211116030127.GB5047@laputa> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Heinrich, On Tue, Nov 16, 2021 at 12:01:27PM +0900, AKASHI Takahiro wrote: > On Tue, Nov 16, 2021 at 01:02:55AM +0100, Heinrich Schuchardt wrote: > > On 11/16/21 00:51, AKASHI Takahiro wrote: > > > > > Is the patch good enough to include in the series? > > > > > > > > > > If not, you could reply to it with what needs doing. > > > ? I have already replied to your patch:) > > > Basically, it seems to be fine to me. > > > > > > > > Regards, > > > > > Simon > > > > > > > > > The patch is not usable as is. It assumes only GPT partioning is used. > > > @Heinrich > > > I don't get your point. Either my patch or Simon's is not specific > > > to GPT at all. > > > > > > So I'm going to start respinning my patch for a next round of discussion. > > > > A field name gpt_part_info obviously relates to GPT? > > No. > > IICU, the structure, disk_partition, is not particularly GPT-specific > as such type of data are used over various partition drivers. > In my patch series, I simply reuse "struct disk_part" as a structure > holding a partition number and partition information (= disk_partition). So do you agree that we won't have "partition-table" devices for now? -Takahiro Akashi > -Takahiro Akashi > > > Up to now this string exists only in cmd/gpt.c. > > > > Best regards > > > > Heinrich > > > > > > > > -Takahiro Akashi > > > > > > > Instead all partition table drivers need to be converted to drivers for > > > > the new uclass. > > > > > > > > Best regards > > > > > > > > Heinrich > >