Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1973267ybh; Fri, 17 Jul 2020 06:22:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2jcMNeDoL31XeFYTYo/gIvQF2Q6d2sIDo8ecr9eLD/fmhkgOoBFYNPRDHiW8LwZqmYtkm X-Received: by 2002:a17:906:fa9b:: with SMTP id lt27mr8011452ejb.365.1594992164857; Fri, 17 Jul 2020 06:22:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594992164; cv=none; d=google.com; s=arc-20160816; b=mJASuF9g4++vdUWo1J0b+L/Zf3VEpRiNSvVuDj3a7j3FNek4rsssl+oOrdbhwK30Vk Q2mK4SoWhSGFAhgvc8Ke6c8R9g0B4hCSzCX+4E7/bcm+6f/jxYmFE+ZQ0iPFFanG4zjr ObHt+TNEFmiP0iwZauSc6VZN5CWMCLWgVL3+wJicoZbA/JwRJTF5d0gWrTYhgbRI2S9a 3THsbGgxUmgRP/LX5+OKV82QAVjXMPU6jJ6dA2LskGpu4wL9EFz2GxLabY8lJI9o/pv5 SJh7tqXAOGDNaceGmxestfsGsX9Aq5obrzzNQwjhlPQNzlYGqPtquybpV4aq1iuLB6vg VF0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=aG3ngmaFc/qaPSxJTY2fwW2xd1x9LJZbArrxRPL8oh8=; b=arCm5a4voqcWezSWgkrbZ5JQQteWOXGhdBRpYxx4ZTTlDrwKTw24HEaUYOAOAGaa8j +GDeqvzQiBSYEzVisLJMJU+CJFw9T7KsYoVprjIKX9tOLz2iHk4WX4MOmg7GLIz3qKY8 /j3RAJxUhX83kx4yFtsUY3s68VZ7qm81qcOd0iydL5xGs7msQfwqVlL5BiyGb8Hn0kMf oRLY2kHYNV7qYdjmYOHIjzTy/BlUXcDiWKLI8nNKPVQ1gh/0BybWrnvu5in1tS+/APAt kayHyNtDsXUm/rInaYuANST9NAJeIp+PdWz0Kvkqf2d8dGv8tZk6Z9UBx4DGSbMH48S2 K58w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yQngermH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v16si5439050edw.426.2020.07.17.06.22.22; Fri, 17 Jul 2020 06:22:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yQngermH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726852AbgGQNVM (ORCPT + 99 others); Fri, 17 Jul 2020 09:21:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:47942 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbgGQNVL (ORCPT ); Fri, 17 Jul 2020 09:21:11 -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 9DD8F2064B; Fri, 17 Jul 2020 13:21:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594992071; bh=7S1J9y8itEN5wvEhbpYW+BZkO1zoG1KjirrP9G0+mZY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yQngermH9mwpKC/FUGsAks4v6MfDXijifC+rDmR27Bt6uhDtFOYjJ2KSY5xs7PeLr RfxRmMNyPT6WW1A8tPdegeS76iTpyS6LyOD1PJPCiz7Jnu+WKTl78eVBCrY3ZKe49Z 0DU/8yLX/miSAt6IDhdsQd3CEUqZzadR49zfo1Nw= Date: Fri, 17 Jul 2020 15:21:01 +0200 From: Greg KH To: Geert Uytterhoeven Cc: 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 , Arnd Bergmann , Olof Johansson , Kevin Hilman Subject: Re: [PATCH 1/3] gpio: mxc: Support module build Message-ID: <20200717132101.GA2984939@kroah.com> References: <1594164323-14920-1-git-send-email-Anson.Huang@nxp.com> <20200717121436.GA2953399@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 02:27:43PM +0200, Geert Uytterhoeven wrote: > Hi Greg, > > On Fri, Jul 17, 2020 at 2:14 PM Greg KH wrote: > > Android is just finally pushing vendors to get their code upstream, > > which is a good thing to see. And building things as a module is an > > even better thing as now it is finally allowing arm64 systems to be > > built to support more than one specific hardware platform at runtime. > > Can you please stop spreading this FUD? For many many SoCs today, this is not true. Their drivers are required to be built in and will not work as modules, as we are seeing the patches try to fix. > As I said before, Arm64 kernels have supported more than one specific > hardware platform at runtime from the beginning of the arm64 port > (assumed the needed platform support has been enabled in the kernel > config, of course). > Even most arm32 kernels support this, since the introduction of the > CONFIG_ARCH_MULTIPLATFORM option. In fact every recently > introduced arm32 platform is usually v7, and must conform to this. > The sole exceptions are very old platforms, and the v4/v5/v6/v7 split > due to architectural issues (the latter still support clusters of > platforms in a single kernel). I think the confusion here is that this really does not work well, if at all, on most "high end" SoC chips due to the collection of different things all of the vendors ship to their customers. This is the work that is trying to be fixed up here. 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 :) thanks, greg k-h