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 449AFC433EF for ; Mon, 13 Dec 2021 12:53:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 16AC983791; Mon, 13 Dec 2021 13:53:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="D4Wq66si"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 03FC382F5E; Mon, 13 Dec 2021 13:52:16 +0100 (CET) Received: from mail-vk1-xa33.google.com (mail-vk1-xa33.google.com [IPv6:2607:f8b0:4864:20::a33]) (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 7A1B783772 for ; Mon, 13 Dec 2021 13:52:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-vk1-xa33.google.com with SMTP id q21so10311918vkn.2 for ; Mon, 13 Dec 2021 04:52:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jZc6QiqzlSVaebUEpC24rWTsMWJTa/67Mk5y4tmaVkE=; b=D4Wq66sihoJ+esPl6JjC83XIO8nuch2+X8ntR9YvrFRPaYoomFDXszHqNzL64Gb6hp YWDlGmKebOkeZQgRsNUkmqHrInaD+joKJqH7UcIW4afx8zMG60uojDVJiI/8Z82TjhDc XW+NVbO2y5AtSlwE7Sj359dwY9eVqdMYnFuMk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jZc6QiqzlSVaebUEpC24rWTsMWJTa/67Mk5y4tmaVkE=; b=FjOyO0n3bUDGPb8bqGNLjKUnFYSb2pYgaDDfWdVGKnt1qb7CGHrSByg8ut50B0Szk8 qVVaCTF4Ncoz2QgVBG0E151Ks+h4B5516P85sofuzxRz3VEKAWZ1LD9pddJ8KkgEHmDU ymDpOrmiCPopY+VIBumceYjJCQjgWN66KanjwHU7vQKUx5FVvogy45NPd1tbx5/wNAcP E1wIEs5FfgqKWgiJvoWTcsH8WatQx8G7Kbg6HWDRA3oyRhXHG4zM1Ofsa5qBu9PV1V6a Qp1Ep+Kh1gPv0YfIy8IM7Gma3KP0rmeZzLJFmYLB0v7A44kdLUQYBrS4oStYPH9zs4CP pyqg== X-Gm-Message-State: AOAM530npKlP6GZ6JDxYsnykqvrMjSJla+M63MKiR4R0H/GRqpBwhqH3 2EoX5wMZvJv1vCslAXNP5spU4nvrS/uFgEhAEgED+46NhQs= X-Google-Smtp-Source: ABdhPJzG74C6wJfUjkQBzzgq26kVyBoYuDlkark+BmNB/TvpFPh329CJTWRK+6a4QslSiUJnteDuiRT3fMoim3Mc+qA= X-Received: by 2002:a05:6122:64b:: with SMTP id h11mr30715738vkp.16.1639399919785; Mon, 13 Dec 2021 04:51:59 -0800 (PST) MIME-Version: 1.0 References: <20211210064947.73361-1-takahiro.akashi@linaro.org> <20211210064947.73361-15-takahiro.akashi@linaro.org> In-Reply-To: <20211210064947.73361-15-takahiro.akashi@linaro.org> From: Simon Glass Date: Mon, 13 Dec 2021 05:51:47 -0700 Message-ID: Subject: Re: [RFC v2 14/20] dm: blk: add a device-probe hook for scanning disk partitions To: AKASHI Takahiro Cc: xypron.glpk@gmx.de, agraf@csgraf.de, ilias.apalodimas@linaro.org, masami.hiramatsu@linaro.org, u-boot@lists.denx.de Content-Type: text/plain; charset="UTF-8" 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 On Thu, 9 Dec 2021 at 23:59, AKASHI Takahiro wrote: > > Now that all the block device drivers have enable a probe hook, we will > call part_create_block_devices() to enumerate all the partitions and > create associated udevices when a block device is detected. > > Signed-off-by: AKASHI Takahiro > --- > drivers/block/blk-uclass.c | 4 ++++ > 1 file changed, 4 insertions(+) Reviewed-by: Simon Glass