From patchwork Tue Jul 12 16:19:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 71871 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp560090qga; Tue, 12 Jul 2016 09:21:00 -0700 (PDT) X-Received: by 10.66.76.226 with SMTP id n2mr5417026paw.17.1468340459930; Tue, 12 Jul 2016 09:20:59 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fd4si4722720pab.31.2016.07.12.09.20.59; Tue, 12 Jul 2016 09:20:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933462AbcGLQU3 (ORCPT + 30 others); Tue, 12 Jul 2016 12:20:29 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:38670 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932306AbcGLQUZ (ORCPT ); Tue, 12 Jul 2016 12:20:25 -0400 Received: by mail-wm0-f48.google.com with SMTP id o80so32101374wme.1 for ; Tue, 12 Jul 2016 09:20:24 -0700 (PDT) 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; bh=a7hi49PdbH1Gw/7CBRiZ0gldPiXuFOaHVgCCLLUOIr8=; b=ZVjWAB2udqghkbC/r56EqYQODEszUu73j4d6wQzYrOgb48RszNMK/39EtP4Wroa46v joYuROZChI8UIrB7EfudwmIFoZ4bFvFCpN+IzfMZiL4t5mN0bAeDNqXjXlucQNWCUV/4 4i0fir2GM/PHu4KkUfQDc1XLyy85EA1CkvO4g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=a7hi49PdbH1Gw/7CBRiZ0gldPiXuFOaHVgCCLLUOIr8=; b=cO1mOkg8dOlVrwrcAp+Ek8AittsBRsoJYKO9YuCS0urxC7mtYAbow7Q416+nd5ltMo S3GM/I4hBGD+H3JwAf5LIYRWrI0ieTnNAjFgunu56TZDLj2MsABqTp9e6i09sGgkk6fn WpjM1y+MTa/nXnxMqKuXTMr4EsutaKD3yvzwUH00iPvmy14s4oHjBWOkmYxNgMeCIvZ6 yMDlwEpqiAsg1xHQHuHNUe7bnqtazwOBLRAOhi4etAP6EkFlXT1HfRRc+le+loeVlyZs jWK/g93mDtRJTfpP/VhZWvv8jbsNqb/ulgCCuUod6RmpeNYpHK6ckAOvUCTAXljB+ZMm MWFg== X-Gm-Message-State: ALyK8tIC96kx5XX7TqlFb2yslujqU8qSfdTnN//hBNkye7xL2Bgor1yCoQ/xrNfcnPKyjG9Q X-Received: by 10.28.4.77 with SMTP id 74mr4741086wme.84.1468340423899; Tue, 12 Jul 2016 09:20:23 -0700 (PDT) Received: from localhost.localdomain (host81-129-170-195.range81-129.btcentralplus.com. [81.129.170.195]) by smtp.gmail.com with ESMTPSA id e16sm7338489wma.12.2016.07.12.09.20.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jul 2016 09:20:23 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, maxime.coquelin@st.com, patrice.chotard@st.com, gregkh@linuxfoundation.org, arnd@arndb.de, peter.griffin@linaro.org, Lee Jones Subject: [PATCH 2/2] init/main: Trigger re-execution of deferred deferred probe()s Date: Tue, 12 Jul 2016 17:19:27 +0100 Message-Id: <20160712161927.7521-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160712161927.7521-1-lee.jones@linaro.org> References: <20160712161927.7521-1-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some devices require files from rootfs. Ensure they are given a chance to re-probe() now that the rootfs is mounted. Tested-by: Peter Griffin Signed-off-by: Lee Jones --- init/main.c | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/init/main.c b/init/main.c index 4c17fda..0b905a1 100644 --- a/init/main.c +++ b/init/main.c @@ -1035,6 +1035,7 @@ static noinline void __init kernel_init_freeable(void) * and default modules */ + deferred_probe_trigger(); integrity_load_keys(); load_default_modules(); }