Received: by 2002:a05:7412:8d06:b0:f9:332d:97f1 with SMTP id bj6csp4982rdb; Mon, 18 Dec 2023 07:29:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFELoF0utZwt+LQ1dVUWuQhJ7JF9YGONDRmjM83VRtklZ42tZWJ+xskF0HPwDMLFBuFY8u2 X-Received: by 2002:a17:90a:304a:b0:28b:6b08:6f6 with SMTP id q10-20020a17090a304a00b0028b6b0806f6mr668198pjl.85.1702913357641; Mon, 18 Dec 2023 07:29:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702913357; cv=none; d=google.com; s=arc-20160816; b=A7e8Vc6vb78zR3XWP3GiE1kFmeyVJFiDoaq9q9AxtFCZSr3Arl0QrFVufO5FsYEU8A x34b3jA7/smXWetgqsspBE4RmTrnWpYpe+0iDGPco/ZeTQoUk+zDWsLmJ1I178unlJ9H QJ/pLdfRhxZVZ5czYzvi4g3+/ww3N7xAA06nLkZqVvMLrYNEgC2n87GG7ruAsShk5Wol BoNMg8BcFgjrapgi4nNxKeheRSPwSdNJ3vdtiaoLDoGPzDeZ3JOKdOPCi6tE6rQTpEPc jDAM1LfL5xuk7A0GKEot1zjza7l7EntWnOt65ZIwrpc168UC8fxYN/52L8dJb9CATOvL GYOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=0/0j2RP2hoDyGLLBU4oSxv5at8U1SXuH2AWoV/dVL7A=; fh=z7dP0sUsXLtnomzA6+FUC3zkdfBao0VqwDEfI89QmpM=; b=hAh3NUlybG9gR22BcP5pxBlT84zeanK+TQJCQWMWuSlznzxt9oq7no9fcT0YckfaP4 vsBTV33jH40iN07Caev1MvqhCHfA3+jCOMxQ978e8RlH8GMzOI86/03GuKQ9TY0N07t2 bPndto3/UQzG+TLel5aBeoQCx496/sSroVzhk5Didi+VOg6Xf9ViN+KS3PwB2Kd2HBSr h3DjgonoPa0tw2xTEURsYVue81Ibqj5jlIx8WAAsnM46vtosb4Y78ginXDM3rIJ5ZWWO 3LSiq+sWuYeWHC0JVkRwoxVqCdcFXPy8+5hMSnAXT1t6yAIJUw85z+1rBDsoLAGKb1Zi uh1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HohRiaUo; spf=pass (google.com: domain of linux-kernel+bounces-3922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3922-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lp18-20020a17090b4a9200b0028b1e2045ffsi7051969pjb.74.2023.12.18.07.29.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 07:29:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HohRiaUo; spf=pass (google.com: domain of linux-kernel+bounces-3922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3922-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D5C2728B5C4 for ; Mon, 18 Dec 2023 15:23:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2729B3A1C1; Mon, 18 Dec 2023 15:23:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="HohRiaUo" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF5083788A; Mon, 18 Dec 2023 15:23:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702913009; x=1734449009; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wO1eltBfVSVmXD8UanEjRjqynsVynOHtm8y/hkXYzsA=; b=HohRiaUoA5beDak/2jDVXDaWvCZuNOrmW35o+36Oo4xupbNt78SFij59 8CE/xmgMlPW3Gd+7mz384B7+yG4m+gXoc9jKkOoWLjuLaZk4fK5zgu7Hx OFnn9z3I84HcphFdi2XNbI2oroEzujuj2zTkFu6lJof+34ZL6n/jOwUOF 0GFlEJuuoOsK0anhw1yFjijD7ZCFfvv4hL3DwMx2LvWnEza63cDw+vERS uD0kEET/pfmFPYhoM+F3ylqSSH+45DHnPoNqhQrBCII7yggh4TGwlRfXc aKtJo5cdzv3t70ka1wXN2hOvlwuZ683ajr5Q2VxB8zP/KwCl0pzCEQiUM A==; X-IronPort-AV: E=McAfee;i="6600,9927,10928"; a="426654812" X-IronPort-AV: E=Sophos;i="6.04,286,1695711600"; d="scan'208";a="426654812" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2023 07:23:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10928"; a="775613837" X-IronPort-AV: E=Sophos;i="6.04,286,1695711600"; d="scan'208";a="775613837" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2023 07:23:24 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rFFSj-00000006yMZ-0NMg; Mon, 18 Dec 2023 17:23:21 +0200 Date: Mon, 18 Dec 2023 17:23:20 +0200 From: Andy Shevchenko To: Tony Lindgren Cc: Greg Kroah-Hartman , Jiri Slaby , Petr Mladek , Steven Rostedt , John Ogness , Sergey Senozhatsky , "David S . Miller" , Dhruva Gole , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [RFC PATCH v5 5/6] serial: core: Handle serial console options Message-ID: References: <20231218071020.21805-1-tony@atomide.com> <20231218071020.21805-6-tony@atomide.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231218071020.21805-6-tony@atomide.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Mon, Dec 18, 2023 at 09:09:52AM +0200, Tony Lindgren wrote: > In order to start moving the serial console quirks out of console_setup(), > let's add parsing for the quirks to the serial core layer. We can use > add_preferred_console_match() to handle the quirks. While it's technically true, the code uses serial_base_add_one_prefcon() wrapper.t grep > Note that eventually we may want to set up driver specific console quirk > handling for the serial port device drivers to use. But we need to figure > out which driver(s) need to call the quirk. So for now, we just handle the > sparc quirk directly. -- With Best Regards, Andy Shevchenko