Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2230556ybh; Mon, 9 Mar 2020 01:33:51 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvZkcXm5cNre4GD8dLAV1GXLebytX9QsvozJyUWGKl+k0uJQtKBMnGLPYamuAlCCIbkifXN X-Received: by 2002:aca:c54d:: with SMTP id v74mr669514oif.50.1583742831727; Mon, 09 Mar 2020 01:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583742831; cv=none; d=google.com; s=arc-20160816; b=FGfCAXK88kJGcgA/nWH7PSY3vCGf80Wrd8tnEGJD5Hwmrf0lUBGJF9SFhQJPFAtq2g 4TUjrJUlsJZVAzkLimmvFlWmqjWITlFgY1II1Fpoefxd8I8nGqmgadNs0sPWpvQDsrC5 13E3ETY+drBxfuACcfOvcEjSXSpLUynKJlsAXqWUfcBAIUZXPdXjogJpGZDfi6A07bAz 3n7PHiWmTGSxwY1hZqxNBuo0z7UbmRVnhFIhLSR3uJaA9uNqKO7OizIZzjs5i7xLL6Rb 51z59U8kjprlAy2f+R9lhFSTOFnW1o6R+9VPPz07vhk4SoXpsJJkS2U7henUMvzuL3dy Sovg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=af2cfZjf9x1S9FZ9MDXkYOztGP6qP0GOneEhB/eEIC0=; b=ytP+6dKf3DXSAc2AePJcG1X8kjXyWWF7Xuwsvc3Z6iwFMQRss8G3RTseA5rQ2Y8XR0 9uYEmfBNZkg/cbSV/LGcqXc3cFYsSzoONaMdlMwUXYg1desfkyRWz80UK3B0Wm0VMtBL gkY3t4K+xLPiPSxHEa9x3/wKQkAQ9nSTd97AP/cN4p82WFuvt2AlwKLTq4v9Hlp4lAyo BecfpEqZb2ZBfLtRPr+sGIgNNH+D/siNhOVNWHVentxVcNBdwGka2zME6TIfhBuaBHa+ a74WcAKpWghGkfgiA2Rk224Hrn75+iyuknBt/HkRPvWy2AOGOzX7Zf9nW15hKwSOYoR2 81wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Avi03q8c; 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 sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v22si1464710oiv.55.2020.03.09.01.33.40; Mon, 09 Mar 2020 01:33:51 -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=@gmail.com header.s=20161025 header.b=Avi03q8c; 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 sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726551AbgCIIcq (ORCPT + 99 others); Mon, 9 Mar 2020 04:32:46 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34521 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726533AbgCIIcp (ORCPT ); Mon, 9 Mar 2020 04:32:45 -0400 Received: by mail-wr1-f67.google.com with SMTP id z15so9881756wrl.1; Mon, 09 Mar 2020 01:32:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=af2cfZjf9x1S9FZ9MDXkYOztGP6qP0GOneEhB/eEIC0=; b=Avi03q8clgrFOrP5q3tRQewNL0Fw0MR443djbetfTNlO/BnS3HlkfETHL3Tu63qtNv gvsi9LD2DzFzpVf0OPveF87+GFgPH4S16hoDLA+KSBIhEpn+v56HrnhqkgWcnzwpcvs0 xzcKX1XCRmZUfGbbDPLo5wyOzbQ6H8f6Ieo8y4XmMs+tN1NWsU8gvW4yOLLK39rBcji8 yqan3UVUJ9K/wW4TknQtHZ5r/iuBzOqAxVNMQHHG8VtjKlnfOv0OHlqVW595w/AWK7rP K2D6GjaTeqgQ6o99g8I6aOPQ/Jbc/HVZlJ24l+VrsYYumIbiXLL69FiR7dwrVhrCGWsC kPKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=af2cfZjf9x1S9FZ9MDXkYOztGP6qP0GOneEhB/eEIC0=; b=VYSlpNIpbYAHLoBXH8xo4ZEkAfJLL5mMqJPMOzLrc1ESKzVfkWR5a+fafBD0RL6Sh7 06nUmTPz4c55lpQJTcWPOstMmrlPjtbh/l+ElrLu9eCVWIQNF1di/1e66kOcGUxNCf4Y M95ShbbJgPPOINe//wf8f1gWM8akl/0yNswkVu//WtipLZNEQ1lZ7LtkASiEQ69lfFe1 x9WZxU+Eg6ZxTox+RqpdgMw4i/Leu9TJgAxc7jN76q9zdzTWnfChjOHKPMniYVBlkzI4 Ot7Gh7Qk5VWaBMJZIWNPILPEBO8Zu1FVGACmPHYZix4r2CBh3VL9VZp086hYOUHVrX5j YD2g== X-Gm-Message-State: ANhLgQ3AsJhxXh1DWLyz+SV+p2SKcUyaWPShI/LTHwWyqk2L/MIpCRsH Aw1bvCjGsrp0arfY/lc4QkIbMiSzJz1ZlUrX/RY= X-Received: by 2002:adf:e408:: with SMTP id g8mr20764712wrm.198.1583742761475; Mon, 09 Mar 2020 01:32:41 -0700 (PDT) MIME-Version: 1.0 References: <20200305103228.9686-1-zhang.lyra@gmail.com> In-Reply-To: From: Chunyan Zhang Date: Mon, 9 Mar 2020 16:32:04 +0800 Message-ID: Subject: Re: [PATCH 1/2] arm64: change ARCH_SPRD Kconfig to tristate To: Geert Uytterhoeven Cc: Greg Kroah-Hartman , Catalin Marinas , Will Deacon , Jiri Slaby , Linux Kernel Mailing List , Chunyan Zhang , "open list:SERIAL DRIVERS" , Baolin Wang , Orson Zhai , Linux ARM , kernel-team@android.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On Mon, 9 Mar 2020 at 16:03, Geert Uytterhoeven wrote: > > Hi Chunyan. > > On Thu, Mar 5, 2020 at 11:33 AM Chunyan Zhang wrote: > > From: Chunyan Zhang > > > > The default value of Kconfig for almost all sprd drivers are the same with > > ARCH_SPRD, making these drivers built as modules as default would be easier > > if we can set ARCH_SPRD as 'm', so this patch change ARCH_SPRD to tristate. > > > > Signed-off-by: Chunyan Zhang > > Can you actually boot a kernel on a Spreadtrum platform when all platform > and driver support is modular? Yes, even if all drivers are modular. But I hope serial can be builtin, then I can have a console to see kernel output before loading modules. Also, this's what Google GKI [1] asked :) Regards, Chunyan [1] https://arstechnica.com/gadgets/2019/11/google-outlines-plans-for-mainline-linux-kernel-support-in-android/ > > > +++ b/arch/arm64/Kconfig.platforms > > @@ -249,7 +249,7 @@ config ARCH_TEGRA > > This enables support for the NVIDIA Tegra SoC family. > > > > config ARCH_SPRD > > - bool "Spreadtrum SoC platform" > > + tristate "Spreadtrum SoC platform" > > help > > Support for Spreadtrum ARM based SoCs > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds