From patchwork Mon Feb 24 14:09:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Menzel X-Patchwork-Id: 11400549 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 00DB514D5 for ; Mon, 24 Feb 2020 14:09:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D41C92072D for ; Mon, 24 Feb 2020 14:09:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727479AbgBXOJW (ORCPT ); Mon, 24 Feb 2020 09:09:22 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:45295 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727451AbgBXOJW (ORCPT ); Mon, 24 Feb 2020 09:09:22 -0500 Received: from hypnotoad.molgen.mpg.de (hypnotoad.molgen.mpg.de [141.14.18.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 736FE20643C40; Mon, 24 Feb 2020 15:09:18 +0100 (CET) To: David Airlie , Daniel Vetter , Hans de Goede , Jens Axboe , Christoph Hellwig , Keith Busch , Sagi Grimberg , LKML Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-ide@vger.kernel.org, linux-nvme@lists.infradead.org, LKML From: Paul Menzel Subject: [PATCH] Initialize ATA before graphics Message-ID: <041f4abd-f894-b990-b320-bf0aab4242f2@molgen.mpg.de> Date: Mon, 24 Feb 2020 15:09:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org From: Arjan van de Ven Date: Thu, 2 Jun 2016 23:36:32 -0500 ATA init is the long pole in the boot process, and its asynchronous. Move the graphics init after it, so that ATA and graphics initialize in parallel. Signed-off-by: Paul Menzel --- 1. Taken from Clear Linux: https://github.com/clearlinux-pkgs/linux/commits/master/0110-Initialize-ata-before-graphics.patch 2. Arjan, can you please add your Signed-off-by line? drivers/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/Makefile b/drivers/Makefile index aaef17c..d08f3a3 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -58,15 +58,8 @@ obj-y += char/ # iommu/ comes before gpu as gpu are using iommu controllers obj-y += iommu/ -# gpu/ comes after char for AGP vs DRM startup and after iommu -obj-y += gpu/ - obj-$(CONFIG_CONNECTOR) += connector/ -# i810fb and intelfb depend on char/agp/ -obj-$(CONFIG_FB_I810) += video/fbdev/i810/ -obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/ - obj-$(CONFIG_PARPORT) += parport/ obj-$(CONFIG_NVM) += lightnvm/ obj-y += base/ block/ misc/ mfd/ nfc/ @@ -79,6 +72,14 @@ obj-$(CONFIG_IDE) += ide/ obj-y += scsi/ obj-y += nvme/ obj-$(CONFIG_ATA) += ata/ + +# gpu/ comes after char for AGP vs DRM startup and after iommu +obj-y += gpu/ + +# i810fb and intelfb depend on char/agp/ +obj-$(CONFIG_FB_I810) += video/fbdev/i810/ +obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/ + obj-$(CONFIG_TARGET_CORE) += target/ obj-$(CONFIG_MTD) += mtd/ obj-$(CONFIG_SPI) += spi/