Message ID | 20211210064947.73361-7-takahiro.akashi@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e04:2287:0:0:0:0 with SMTP id bl7csp2169123imb; Thu, 9 Dec 2021 22:51:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzzIJSJ9RdktBaewxBHdHUcWik+qm37ol11RsmvvgvdmCUmoC50zrffibTDl6OQ2Qm+GPWX X-Received: by 2002:a50:eb85:: with SMTP id y5mr36766805edr.173.1639119087661; Thu, 09 Dec 2021 22:51:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639119087; cv=none; d=google.com; s=arc-20160816; b=MVfTHWry3nLWZV30cXDpMEGQVzzuGEbRJqf+VMa7Mk0DUcvQXUDBHYZLZgJE8kwfI8 QHUcEGuBqAz5qf0airi1YSNbkBfT7g8m7AGb66dYYae0NbZwd8rAbo/oQvO87LVqLK8w wC20mWWMyI/Ft0oSwcR92mwHdlQrntlqnbQy5nnu381qNYjUYVO19ZuKdkYFUM5S6AlF SgyjlXkprTaR4KuSFUv3XwnysZCP0LCHyf57s+XUBRuIZJIqsBhhp4moYM3gx+2rZCAf 82aEw50ZTX9g+qpxUASiusCqbIWrRDPBXhOKJfRqhFL5S+KwazrLkBytvyYGpH+KCKVs pFyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bl8C1X+TOksXaJYBdDnrMAHxXq6nwVHHyloe9nAVxDA=; b=j5yf53+1FFCpAIiG/psoTFPMm1/NMCGMD8Rtm/d8/xN7A8ECRaW/UaGepwsAH67wT+ lZky/tcPCR3Uv+0uYX5QCgR5YGrJdYBDXoOxoMLKaqKIDo3H4OXeBkyIdhzUbQBb/Mlx QjrMxx9wc6XMzYcCwDWW2s8i/Fo8CpvUm6NXtci8ewEVpDg4OyeO7ynC5m+ztJNgGl6N 3TJo5z2/AEv4lWBDm28ZNkjQDlLLZarEJpR5ByEuZGCQaGHZdodExgLFGwzQCWBN4rma zQp8497Mtypafl1d2iEuZEDCPH2R/pgieFF2nQRmJh5iuKKeBeQX1As+UYkBjGNKU7jw xsRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vequKxCF; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id hr39si4631532ejc.598.2021.12.09.22.51.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 22:51:27 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vequKxCF; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E574C830C5; Fri, 10 Dec 2021 07:50:55 +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="vequKxCF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8EF4582054; Fri, 10 Dec 2021 07:50:42 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (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 D5BA783012 for <u-boot@lists.denx.de>; Fri, 10 Dec 2021 07:50:37 +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-pj1-x1029.google.com with SMTP id j6-20020a17090a588600b001a78a5ce46aso8788306pji.0 for <u-boot@lists.denx.de>; Thu, 09 Dec 2021 22:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bl8C1X+TOksXaJYBdDnrMAHxXq6nwVHHyloe9nAVxDA=; b=vequKxCFnJz1tBKdMetgjIdDsMGhAvpr4/DOW2ut2uJA3EL/7ttNEwoYpSYj8/85TA ohJRj9kGZqNgmd/b7LUHJOnCrK6E8nEfwx09hzIfO2SnJiyx7ZQ5sVAr4u6kNqfLz5Eb +ntQpPeRis2X3FENpmAHM/fhyTOB9k/ij0z3pc68MsUgzwcmkBra9pmbg0DRDQUXHFkL HM2Kr8ffdM59h0+fqk7nX4jd/GhgIBR/vpn5Qp5IZ/8w9oJtX+sEjyuZ1tbzz5LHlOXI F4Ck4GXDWM5hh7kkDO7X6WMCe8h3X+3lxemvlv3xa+IsvsIxOadT0g9t1hcBzEVegSoJ IW4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bl8C1X+TOksXaJYBdDnrMAHxXq6nwVHHyloe9nAVxDA=; b=CJiyA7R1E3KKd19cfciN6/D7bv+yuKpvUSwwHjv7cpuj9Kkg6jF9hJSL6helMfzmMq C6xdS8ozVCO1+wE5C055XLAqwpcAvZXysWo7XfBe/s2B8ltYlCaavcVGpFKCYWRVsjfA MsKzu7vFvGbkUf7Z/Dp8QBAD6PfxIdkYXmC5UzSjgcmDQxlAg1Fumu+9oruQJltEvD/r 1TbsMcZ546XEqqRuHIMrSYzSpuJJbBvM71am87nRXF+C9k39vvY1SeEa4bZVNFI1wwiY 5W+anjdU+d1oBIstH5URPDhccmpwhWWEfPu3m3SHwETaAx1Ulb7D8cXJEq03yxllMACQ QOsQ== X-Gm-Message-State: AOAM530Z3TqYzrX5ZueuCj0yVp2WguucpemqELxzgN1/bWx3xQJQU5np Gk4u3tl0qKyMtQKjc1dd16FzcQ== X-Received: by 2002:a17:90b:124d:: with SMTP id gx13mr21765472pjb.106.1639119036307; Thu, 09 Dec 2021 22:50:36 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c3e1:100:75dd:4e0e:4542:936e]) by smtp.gmail.com with ESMTPSA id nn4sm1639035pjb.38.2021.12.09.22.50.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 22:50:35 -0800 (PST) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: xypron.glpk@gmx.de, agraf@csgraf.de, sjg@chromium.org, ilias.apalodimas@linaro.org Cc: masami.hiramatsu@linaro.org, u-boot@lists.denx.de, AKASHI Takahiro <takahiro.akashi@linaro.org> Subject: [RFC v2 06/20] nvme: call device_probe() after scanning Date: Fri, 10 Dec 2021 15:49:33 +0900 Message-Id: <20211210064947.73361-7-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211210064947.73361-1-takahiro.akashi@linaro.org> References: <20211210064947.73361-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi_loader: more tightly integrate UEFI disks to driver model
|
expand
|
diff --git a/drivers/nvme/nvme.c b/drivers/nvme/nvme.c index 3c529a2fce22..120a0f05a591 100644 --- a/drivers/nvme/nvme.c +++ b/drivers/nvme/nvme.c @@ -910,6 +910,10 @@ static int nvme_probe(struct udevice *udev) -1, 512, 0, &ns_udev); if (ret) goto free_id; + + ret = blk_probe_or_unbind(ns_udev); + if (ret) + goto free_id; } free(id);