Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2236979ybh; Mon, 9 Mar 2020 01:43:56 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsJ6eaQXl76nWaqsgthJ9yNa4UaoWwgupJcV8+Wv/cbgjypO3+l4R29xG2pqALrsMmkzXyg X-Received: by 2002:a9d:5a8a:: with SMTP id w10mr1882068oth.200.1583743436709; Mon, 09 Mar 2020 01:43:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583743436; cv=none; d=google.com; s=arc-20160816; b=Zir+M1gXio4yJ8ehxyeQVy+uhcvdJPPPhNZ3TbGBWWZpcg7D4kFsSEvUGNXUYz0QdX fbK86qweNWx7dCZ5HAwhZHgNzGz+GMp4IPrUBwYpECuosfVza44RwM4uxP10CjBA8xim Qb9PhR+wLEM4ZE0HFQ0n2NV2rm1DjWC+4LKdmoj+lKspF89+Rvrt/shyTIBDIqs1I2+K vbRAYMoy+RadssHUOceLrj6ptlb4pbVzdILYn0VerlXQgBNjhKnkLH0h4IeC7s6Y/B36 RL1By1ePC6AzX5/k2yhEQFhm1crr+tkglClDhvuwdyWPWOPVCgG3YAfXdprqqU+a+J4t N9TA== 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=3dyCaH2EW2/yhe02ff2ihoVbT2xLpKUPZBSJ5O6aTkg=; b=E/8/vf7pQ5ABn2EEJcL8/MOzHmuUQD0QWEMcwlL+zw08LigFslNwboUcTV09DFp5qN qvJLUgLg85MiBTBcoSRpInUUiEkVSfwuwyMHeSd8mzmPWHzVxgcvvhlt7izv7IQVWFWB qcU3D7zwmB2f/he02WLftt9JpR+573aJOTx8WkiAt6cbY7wPpnWnD2PAw0FV6FyO45jF GZveeBi8WeNj5gAnDOXMyqerU4QwMATK+Ipt5dg/8NtWy/BztZGYs1d17CM6IAWevjfM TPquytafJM9kHKWJwbkjQzjFN4qmgIXkcmE9MxmtPqCr+F0dDN4NrSuDCTK3gH/fOO/Q pQSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UlsaYbna; 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 n26si5756674otr.78.2020.03.09.01.43.45; Mon, 09 Mar 2020 01:43:56 -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=UlsaYbna; 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 S1726521AbgCIIn0 (ORCPT + 99 others); Mon, 9 Mar 2020 04:43:26 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38639 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725962AbgCIIn0 (ORCPT ); Mon, 9 Mar 2020 04:43:26 -0400 Received: by mail-wr1-f68.google.com with SMTP id t11so9903415wrw.5; Mon, 09 Mar 2020 01:43:25 -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=3dyCaH2EW2/yhe02ff2ihoVbT2xLpKUPZBSJ5O6aTkg=; b=UlsaYbnawVwWDoz+SC65neHjnGA3JlFL/BKjzfb3XdecPlJ2q7iXUj/m/CxgL57NwA jkWqz4tevZEOYjaAKDASvUCxSrjr2VGEDYyqmAJT+xLeUAb7y7hFIdq6vcduvAJF1RD/ AKgUtUptLfZUX1zAWluUCPjpqamMBz0lTYkk7hsggrYjyAKvtyFun7n0Tz6hgN/xRgr5 DCQovat/CwPRfdWIMRfI+WLcX7mmsXk6U+2+bu+clngAvEjOx44jOhlPftJSnReNLhVK GYm0MQIS8hdy0fIfwcdQD8cvkgSEuiH1MD+0ro5qMKUgEBdSiJvu0rCWzztJaau7ym76 sQ4g== 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=3dyCaH2EW2/yhe02ff2ihoVbT2xLpKUPZBSJ5O6aTkg=; b=I/Jk8m+gkurHPxrTMRGm/864g7Wbz2tDR9ZMFlguex/D1EbD350Na7T5ixy83sGGbn jPevE/shyO87DNMjzWtzZL8grnzdrjxZVAIrtQ05qtr9lkYCEzSaeNFFoLQZzHl5/K+l 2nFePOs96diM0OgA14ufbjdJAMZYz9J8u0KJIB7mJ6dnXBYj3Pifk0RSuC3L25LzBHuG 9us2kGxpRvrB1xYKGjHq3EBvREkMMKEZuTbaOwWSIybnG2KJbj7FLXvaRA9IPqdDyxti 41giYkZA/o6q7Z6HLEMKfNzMc7t0W0ncxXDhNyO/AwPZKYt/NjK2N4o+j7jdheJs1SuD K9Qg== X-Gm-Message-State: ANhLgQ2sD+1sDYKv3Tcd3mF9Z6pzWhnlmc9N0YlapdfvgwvVD4KyiMiM OQ4OOYqvGDGeSgI3rvEWKQL1omOUDooTlHlw7LW1vw== X-Received: by 2002:adf:fac3:: with SMTP id a3mr19960796wrs.370.1583743404409; Mon, 09 Mar 2020 01:43:24 -0700 (PDT) MIME-Version: 1.0 References: <20200305103228.9686-1-zhang.lyra@gmail.com> <20200305103228.9686-2-zhang.lyra@gmail.com> In-Reply-To: From: Chunyan Zhang Date: Mon, 9 Mar 2020 16:42:48 +0800 Message-ID: Subject: Re: [PATCH 2/2] tty: serial: make SERIAL_SPRD not depend on ARCH_SPRD 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 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:01, Geert Uytterhoeven wrote: > > Hi Chunyan, > > On Mon, Mar 9, 2020 at 2:18 AM Chunyan Zhang wrote: > > On Fri, 6 Mar 2020 at 20:41, Geert Uytterhoeven wrote: > > > On Thu, Mar 5, 2020 at 11:33 AM Chunyan Zhang wrote: > > > > From: Chunyan Zhang > > > > > > > > Remove the dependency with ARCH_SPRD from sprd serial/console Kconfig-s, > > > > since we want them can be built-in when ARCH_SPRD is set as 'm'. > > > > > > Why would you want a serial driver for a specific platform to be builtin, > > > while all other platform support is modular? > > > > Oh, that's not this patch means. > > > > We just want serial driver can be builtin for any platform, so it > > What would be the benefit of the user to be able to have the SPRD serial > driver built-in on any platform? AFAIU, it supports only Spreadtrum > platforms. Right, it does support Spreadtrum platforms only indeed. Like I said on the replay to patch 1/2, simply because I want serial driver can be builtin all the time, no matter ARCH_SPRD is m or y. Regards, Chunyan > > > should not depend on a config which can be set as 'm' (i.e. ARCH_SPRD) > > , otherwise if the config was set as 'm', the serial driver can't be > > selected as 'y' then. > > I ask about that as a reply to PATCH 1/2. > > > That's what I mean. > > > > > --- a/drivers/tty/serial/Kconfig > > > > +++ b/drivers/tty/serial/Kconfig > > > > @@ -1452,7 +1452,6 @@ config SERIAL_MEN_Z135 > > > > > > > > config SERIAL_SPRD > > > > tristate "Support for Spreadtrum serial" > > > > - depends on ARCH_SPRD > > > > select SERIAL_CORE > > > > help > > > > This enables the driver for the Spreadtrum's serial. > > 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