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 BBBBAC433F5 for ; Mon, 13 Dec 2021 12:52:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6143C83777; Mon, 13 Dec 2021 13:52:12 +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="ZA1muQeK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 580158375B; Mon, 13 Dec 2021 13:51:59 +0100 (CET) Received: from mail-vk1-xa2a.google.com (mail-vk1-xa2a.google.com [IPv6:2607:f8b0:4864:20::a2a]) (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 27B8782F8E for ; Mon, 13 Dec 2021 13:51:54 +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-xa2a.google.com with SMTP id s1so10295719vks.9 for ; Mon, 13 Dec 2021 04:51:54 -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=0dGQI6xivRBgT1p8yXLz7e/tkOCwM6KcZopI9c360QY=; b=ZA1muQeKi9UOusBjs1TlxLyQANO+DESyiShUFlnlbRM38te0hLoa/KTf/0D/he+A2O B+oEWsaWeeruf/8P2QcNLSbttm92WyJJ9578Q3M0Y2HougqTavme5UCMUQHqNJzuCWRu wp45SezYjPwADGKmNxgXGGOxbvs7t/tSJl7mQ= 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=0dGQI6xivRBgT1p8yXLz7e/tkOCwM6KcZopI9c360QY=; b=3JLq0TiuT5FZOWnkBpJqBMyET8UMN1HoJdManHPYexUvHYB3sw8KBJnSSEwuEfyzpx prG/fja7gQkW2hsqzEKzF5VKImvH8bgmEivDcmpuIVrSUdZK7yJ3UAKqOHCHI6B6Xx4F lKriqaVKzCT+e4Nv2yb57b2QY4pJVPn5RFJsJN10agJuU862y8b+OC/YHv0cp4a+klm0 wbJaDKavrY7GbOazKV0yPyPHDOvq+j7wFYNE4YuPBHBiCyFgyALfSdQe01VlnyCQcy/n cDfxdbVTZ7WOR7IkeeVPePTGgA5yVcxuRgCbk+66iYTDV5KI4XjTWlFnMBiqZhrgSN38 l4+g== X-Gm-Message-State: AOAM532Nb8fTei0kECqeqGv6SndXxshBbRKPYJb16mLr6r8uYFL+cnIh 7Ee9c79iHjHM9FLjvGEo5XUw8ZcxEFeL2lSmFLw/IA== X-Google-Smtp-Source: ABdhPJwVI7IkxeicfO8D2HoFgLakr1r0Bl8W/01WTHx4ej+4nGcZz8n0Mn9AWsyDd1K5ybFBDq/XgtGf1FKMWmgF0mo= X-Received: by 2002:a05:6122:d11:: with SMTP id az17mr31674810vkb.22.1639399912730; Mon, 13 Dec 2021 04:51:52 -0800 (PST) MIME-Version: 1.0 References: <20211210064947.73361-1-takahiro.akashi@linaro.org> <20211210064947.73361-8-takahiro.akashi@linaro.org> In-Reply-To: <20211210064947.73361-8-takahiro.akashi@linaro.org> From: Simon Glass Date: Mon, 13 Dec 2021 05:51:41 -0700 Message-ID: Subject: Re: [RFC v2 07/20] sata: call device_probe() after scanning 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 Fri, 10 Dec 2021 at 00:25, AKASHI Takahiro wrote: > > Every time a sata bus/port is scanned and a new device is detected, > we want to call device_probe() as it will give us a chance to run > additional post-processings for some purposes. > > In particular, support for creating partitions on a device will be added. > > Signed-off-by: AKASHI Takahiro > --- > drivers/ata/dwc_ahsata.c | 5 +++++ > drivers/ata/fsl_sata.c | 11 +++++++++++ > drivers/ata/sata_mv.c | 5 +++++ > drivers/ata/sata_sil.c | 12 ++++++++++++ > 4 files changed, 33 insertions(+) Reviewed-by: Simon Glass