From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752116AbeEKQVc (ORCPT ); Fri, 11 May 2018 12:21:32 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34421 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752047AbeEKQV1 (ORCPT ); Fri, 11 May 2018 12:21:27 -0400 X-Google-Smtp-Source: AB8JxZqSCERBlPbK2yceggxOj2ZZzdi/aeYf4cYWpI4rxsKzAF3ooFovIGgWv2avdAbFhI2xVay4Mg== From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , David Lechner , Michael Turquette , Stephen Boyd , Arnd Bergmann , Greg Kroah-Hartman , Mark Rutland , Yoshinori Sato , Rich Felker , Andy Shevchenko , Marc Zyngier , "Rafael J . Wysocki" , Peter Rosin , Jiri Slaby , Thomas Gleixner , Daniel Lezcano , Geert Uytterhoeven , Magnus Damm , Johan Hovold , Rob Herring , Frank Rowand Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arch@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 01/12] platform/early: add a new field to struct device Date: Fri, 11 May 2018 18:20:17 +0200 Message-Id: <20180511162028.20616-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180511162028.20616-1-brgl@bgdev.pl> References: <20180511162028.20616-1-brgl@bgdev.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Add a new single-bit field to struct device which will be used to indicate that a device was probed early in the boot sequence. This does not affect the size of struct device on any architecture I built on (ARM, ARM64, x86_64). Signed-off-by: Bartosz Golaszewski --- include/linux/device.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/device.h b/include/linux/device.h index 477956990f5e..bcff8b598b20 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -992,6 +992,7 @@ struct device { bool offline_disabled:1; bool offline:1; bool of_node_reused:1; + bool early:1; }; static inline struct device *kobj_to_dev(struct kobject *kobj) -- 2.17.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartosz Golaszewski Subject: [PATCH 01/12] platform/early: add a new field to struct device Date: Fri, 11 May 2018 18:20:17 +0200 Message-ID: <20180511162028.20616-2-brgl@bgdev.pl> References: <20180511162028.20616-1-brgl@bgdev.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180511162028.20616-1-brgl@bgdev.pl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Sekhar Nori , Kevin Hilman , David Lechner , Michael Turquette , Stephen Boyd , Arnd Bergmann , Greg Kroah-Hartman , Mark Rutland , Yoshinori Sato , Rich Felker , Andy Shevchenko , Marc Zyngier , "Rafael J . Wysocki" , Peter Rosin , Jiri Slaby , Thomas Gleixner , Daniel Lezcano , Geert Uytterhoeven , Magnus Damm , Johan Hovold , Rob Herring , Frank Rowand Cc: linux-arch@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski List-Id: devicetree@vger.kernel.org From: Bartosz Golaszewski Add a new single-bit field to struct device which will be used to indicate that a device was probed early in the boot sequence. This does not affect the size of struct device on any architecture I built on (ARM, ARM64, x86_64). Signed-off-by: Bartosz Golaszewski --- include/linux/device.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/device.h b/include/linux/device.h index 477956990f5e..bcff8b598b20 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -992,6 +992,7 @@ struct device { bool offline_disabled:1; bool offline:1; bool of_node_reused:1; + bool early:1; }; static inline struct device *kobj_to_dev(struct kobject *kobj) -- 2.17.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: brgl@bgdev.pl (Bartosz Golaszewski) Date: Fri, 11 May 2018 18:20:17 +0200 Subject: [PATCH 01/12] platform/early: add a new field to struct device In-Reply-To: <20180511162028.20616-1-brgl@bgdev.pl> References: <20180511162028.20616-1-brgl@bgdev.pl> Message-ID: <20180511162028.20616-2-brgl@bgdev.pl> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Bartosz Golaszewski Add a new single-bit field to struct device which will be used to indicate that a device was probed early in the boot sequence. This does not affect the size of struct device on any architecture I built on (ARM, ARM64, x86_64). Signed-off-by: Bartosz Golaszewski --- include/linux/device.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/device.h b/include/linux/device.h index 477956990f5e..bcff8b598b20 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -992,6 +992,7 @@ struct device { bool offline_disabled:1; bool offline:1; bool of_node_reused:1; + bool early:1; }; static inline struct device *kobj_to_dev(struct kobject *kobj) -- 2.17.0