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 X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B8D9C433E2 for ; Fri, 17 Jul 2020 14:13:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4A1122076D for ; Fri, 17 Jul 2020 14:13:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594995235; bh=0vXgDBDYlt7UxEihc32ZQjGeglsTllhEDcIkY6n/ZfU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Wc0gFYcHKCjS7OvUCca+YNsav/JQnHW+80Hxko6kXO2C78f1MJBpLj8cAH8PvY7X+ dTHsZtv5VTL//DMGqHmw9BjC/L+1ty25WkkVbXGsgM+jI6C8QeK8U7r067s2fmSTFQ zIv87mc8dIFqD8WJ1kxToqrw1vKMFdK3NnpD48fE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726629AbgGQONy (ORCPT ); Fri, 17 Jul 2020 10:13:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:58986 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbgGQONx (ORCPT ); Fri, 17 Jul 2020 10:13:53 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3E2B320717; Fri, 17 Jul 2020 14:13:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594995233; bh=0vXgDBDYlt7UxEihc32ZQjGeglsTllhEDcIkY6n/ZfU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wx38iT7WUFuCSbU+kkpm7v/fkfnbQy9OpadwXgeeR+ZAOQDbAwSWuF7abbH45xRKF gwXVFLOSvsGMkiY6lmwN67BZwbIjM/0Vc+NgIrk/pE947gZ4fiOyziNQ0i7MJwhayh iHVGoKwMXHE+W+/IMFfmncxN0GPDEy95J9Fnk118= Date: Fri, 17 Jul 2020 16:13:44 +0200 From: Greg KH To: Arnd Bergmann Cc: Geert Uytterhoeven , Linus Walleij , Anson Huang , John Stultz , Russell King , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , Catalin Marinas , Will Deacon , Bartosz Golaszewski , "oleksandr.suvorov@toradex.com" , Adam Ford , Andreas Kemnade , "hverkuil-cisco@xs4all.nl" , Bjorn Andersson , Leo Li , Vinod Koul , Linux ARM , "linux-kernel@vger.kernel.org" , "open list:GPIO SUBSYSTEM" , dl-linux-imx , Jon Corbet , Olof Johansson , Kevin Hilman Subject: Re: [PATCH 1/3] gpio: mxc: Support module build Message-ID: <20200717141344.GA2992942@kroah.com> References: <20200717121436.GA2953399@kroah.com> <20200717132101.GA2984939@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 17, 2020 at 03:54:49PM +0200, Arnd Bergmann wrote: > > And look at the driver core work for many driver subsystems to be fixed > > up just to get a single kernel image to work on multiple platforms. > > Just because older ones did it, doesn't mean it actually works today :) > > Can you give a specific example? The only problem I'm aware of for > those SoCs is drivers being outside of the mainline kernel. Clearly > having support for loadable modules helps SoC vendors because it > allows them to support a new platform with an existing binary kernel > by shipping third-party driver modules, but for stuff that is already > in mainline, we could in theory support all hardware in a single gigantic > binary kernel with no support for loadable modules at all. That did not work for many drivers for some reason, look at all the work Saravana had to do in the driver core and device tree code for it to happen correctly over the past year. thanks, greg k-h