Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp78059ybl; Fri, 9 Aug 2019 02:48:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxAPjRFwpUXMOq5984UaGIq0A/9FhQtR3DDKhK0mBEI3wOVO8xpOpUGaatXGGJBTHfNAf0T X-Received: by 2002:a62:cec4:: with SMTP id y187mr20322478pfg.84.1565344090821; Fri, 09 Aug 2019 02:48:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565344090; cv=pass; d=google.com; s=arc-20160816; b=Ql8YFWQKK3keeeHCqLKrDaWqI5OG98zEWBTqw/TQoJ2QKmM+Uw5OJWHpYCEXx0kiOE 8QqOUqXIcPcjFE7usmOpfjs4AuEZQ0uJjuOXar76YWEyy7cWaP/K7kJOdk9Wk18sYnMN z5evlDxM+rogeAduReMydW7nt9fqlb5+1woCCu7N/vJzoK07L1E1nIUN7p2cGLcueGSN GUHqo+eEc6kPAD0Wvc1dY/I8xkPhKC5RhsOocjTlKzlD2VaxptFQFcM4Vi3HtqwIhss5 uQU7W1qrhdY5s7RFxi0fLKFlOBkHBbq7Ratnv8H7FzbxjeYXQyKbJ/qXJ6yYEz9Jv0g7 FJag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=Hg3Gp8dptVuK+uaY9Ye8x7ZbYCrF0v/JWUmNUsOlG64=; b=UnnkB3QgAU8XAHWILOCN3e9gC7A/7YI9Fn4rR8/DX3TobHMLqVldsPIcHaHxQlM/YX Zho2wYDzpZ5RAiZCX87mQHY93fBnj8b+8PO0FlU8yBrhnG+qM0ukGptNAq1kfZIfSIkb MSgn7oLoTSOQP1JY7QLhXZUsRyWDd1WmFsARgZMILO5yz4eNcBZaWk8S7QYeOGYuUygx 5jXpZe5IuwS1Wt3e8QNwtcQug5LaeU0p/kFLddU+N5RRxaggfQf5Nd1ArIQyhmUwVoFu tsBqSX9iTrn0ylW/6tn0s6mggrJZGsjsEnMKJ8uHTdyP4rLOVQd7S0kyiXzXS+Uo46rY 5Ksg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=LfazChVs; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j7si62464068pfi.10.2019.08.09.02.47.54; Fri, 09 Aug 2019 02:48:10 -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=@nxp.com header.s=selector2 header.b=LfazChVs; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406178AbfHIJpr (ORCPT + 99 others); Fri, 9 Aug 2019 05:45:47 -0400 Received: from mail-eopbgr50057.outbound.protection.outlook.com ([40.107.5.57]:32389 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2406138AbfHIJpr (ORCPT ); Fri, 9 Aug 2019 05:45:47 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HwvhAU50FVGmkGJlGxmEfjXrhh366das8yim7aUT5TWeCPqTwUVRK15Yg/FTXKQXkmEsJfU68vp1fV1v68OqaLy01MBJX4mbUs3ToMaoiTMFfsYQpHDOnXznqAGsOvYdCEyahrjCRRPbCZpy0LeSeoWOdDAui6sKCUEOiisjSDGUlanDvO5TCTOOB1RF5U1M6rvCbJLhw69tK2esM6WDCFgN8cuTzS/f59wQyvCqH1D+i/5CkLbfUtcOZKsAqXM04MbtZoNW+K0+Y+HKTh2kLtQqPsrslRfDiVLM6J5y5hmyxLw5uSVxYGT8Zs1IAS3lpVHoymyXJ/U57Zgh3LHPhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hg3Gp8dptVuK+uaY9Ye8x7ZbYCrF0v/JWUmNUsOlG64=; b=YNlLLt5xj/UAP/6fYQrlDFDh1XuJU12PLZto+vEPpoG+cD9jPmNLWFIacN7eqAVIcdXkqoKXQJA7Jpeh9EtCBxD8Se1OOox8dAZIHrXjiHBg0D19+IzII/bI9/5kyaFWbLybn5bstZEJ156vutzSW6CuJHOHCt2wQ4dTkFyEaSt7G1fcWfdjb526UkWnfonWMFN6eCTOjpopm4sQ0+gkQu8QLOuODet5Pdyt9qY4mgRmV2ZNpWYllfgOdxp4WwgtdHwqz6Yfz7nBYzjFDNkluKSUjFfDqO0Zkw32E9k9nC1HRCREHBMN7w6CgNYT/RNKN//+h3zkHbCjeGwnmDz/tA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hg3Gp8dptVuK+uaY9Ye8x7ZbYCrF0v/JWUmNUsOlG64=; b=LfazChVs4fqY/yHq4h9uqKcMB3Cpi28fmljijeOYaihTEl1nFmqJ4JRB6qtrOIdsdGCmYNDpSgsOeSc4dwQkdRr6jYuUhAz5I1yPz7FKQLYkVHS0DlhiHX2cppeYFeQ0fPx9yVzFnyqk8UUcpSkJx1lPcXvWyzVCG+ThwapwBmQ= Received: from VI1PR0402MB2863.eurprd04.prod.outlook.com (10.175.20.18) by VI1PR0402MB3487.eurprd04.prod.outlook.com (52.134.4.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.18; Fri, 9 Aug 2019 09:45:40 +0000 Received: from VI1PR0402MB2863.eurprd04.prod.outlook.com ([fe80::7de6:ea4b:9b5d:d023]) by VI1PR0402MB2863.eurprd04.prod.outlook.com ([fe80::7de6:ea4b:9b5d:d023%7]) with mapi id 15.20.2157.020; Fri, 9 Aug 2019 09:45:40 +0000 From: Stefan-gabriel Mirea To: Will Deacon CC: "corbet@lwn.net" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "gregkh@linuxfoundation.org" , "catalin.marinas@arm.com" , "shawnguo@kernel.org" , Leo Li , "jslaby@suse.com" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-serial@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Cosmin Stefan Stoica , Larisa Ileana Grigore Subject: Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234 Thread-Topic: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234 Thread-Index: AQHVTpc0N7PGKATl60WX/HSnUpERYA== Date: Fri, 9 Aug 2019 09:45:40 +0000 Message-ID: References: <20190802194702.30249-1-stefan-gabriel.mirea@nxp.com> <20190802194702.30249-6-stefan-gabriel.mirea@nxp.com> <20190808080832.nleult5bknmzr3ze@willie-the-truck> <20190808171711.nk7ljqkugtketu4q@willie-the-truck> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=stefan-gabriel.mirea@nxp.com; x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b1ce9e63-d687-4377-7fc5-08d71cae56dd x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VI1PR0402MB3487; x-ms-traffictypediagnostic: VI1PR0402MB3487: x-ms-exchange-purlcount: 1 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 01244308DF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(346002)(136003)(366004)(39860400002)(396003)(189003)(199004)(14454004)(9686003)(66066001)(478600001)(25786009)(6246003)(66446008)(91956017)(64756008)(99286004)(966005)(66476007)(7416002)(76116006)(476003)(81156014)(446003)(486006)(52536014)(4326008)(5660300002)(229853002)(256004)(33656002)(81166006)(6916009)(8676002)(86362001)(66556008)(6436002)(66946007)(74316002)(54906003)(8936002)(53936002)(6506007)(3846002)(186003)(26005)(7696005)(6116002)(2906002)(76176011)(6306002)(102836004)(7736002)(55016002)(305945005)(53546011)(71190400001)(71200400001)(316002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB3487;H:VI1PR0402MB2863.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: VyyhMslZwBvsUnmwB6TSMV9voZEpehOg1viKRnTsBSlMEttEi66M5sogjcHRrhNeThzg5UuxOTh01aLizkypE8lSec88QvBZoLI/SLJa7eF1MQGUjuHH4raKtWsbBncL5xSvUfrPww3q8z+bGz3hVwblZY2qvuctjhxofq7LVkWMN8+6ITj7T5lp9aPSpEvweOt7dybZ7z8FzRiUF0rHHnQVEA3o6WZ8cBXWuHYf66M8wNQSWn/3lrhqgZ8Cr9tYUNlGwsjcQ2XAVZSf2S7DERRaS5+Dm+uQGx4aAIdVT2fL6t4T6YIugeNHAxxVBi89alw0PMoVZbY4B43KNfSdRqmqBM21pReMQ78Gujw3BkjShkkZBSPiNLeEbEA6kKipIc5t8xHjzNYHMWutbZHhFjMZVuZxkfWBwVNE2sY6YLs= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b1ce9e63-d687-4377-7fc5-08d71cae56dd X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Aug 2019 09:45:40.2418 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mQTYDFCG5FWbj/6dT0j0JlhWuLrK/tfyIhrltz1ZxBCa0EY/7PVgvAkHY1XrM+gcgsCUj1yFevooUHTaefHnohN++xPwd9OHH3B5rjhTQTE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3487 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/8/2019 8:17 PM, Will Deacon wrote:=0A= > On Thu, Aug 08, 2019 at 12:47:00PM +0000, Stefan-gabriel Mirea wrote:=0A= >> On 8/8/2019 11:08 AM, Will Deacon wrote:=0A= >>> On Fri, Aug 02, 2019 at 07:47:23PM +0000, Stefan-gabriel Mirea wrote:= =0A= >>>> + linflex,=0A= >>>> + Use early console provided by Freescale LinFlex = UART=0A= >>>> + serial driver for NXP S32V234 SoCs. A valid base= =0A= >>>> + address must be provided, and the serial port mu= st=0A= >>>> + already be setup and configured.=0A= >>>=0A= >>> Why isn't earlycon=3D sufficient for this?=0A= >>=0A= >> "earlycon=3D" is not actually supported. I will fix this in the next=0A= >> version by adding a /chosen/stdout-path to the dts. The compatible=0A= >> string provided to OF_EARLYCON_DECLARE will also be changed from=0A= >> "fsl,s32v234-linflexuart" to "fsl,s32-linflexuart" to match the one in= =0A= >> the device tree nodes. I missed this after importing a rename from our= =0A= >> codebase.=0A= >>=0A= >> Should I remove this addition from kernel-parameters.txt after that?=0A= > =0A= > Yes, if you can use earlycon instead, then you can drop your custom optio= n=0A= > entirely and therefore there's no need to document it either.=0A= =0A= Can you please clarify what you mean by "drop your custom option"? The=0A= "linflex" option documented in the paragraph is the name of the=0A= earlycon_id declared via "OF_EARLYCON_DECLARE(linflex, ...)". We have=0A= not done anything particular to accept it in the parameter value.=0A= =0A= We do use earlycon (e.g. "earlycon=3Dlinflex,0x40053000"), we just do not= =0A= support an empty value after "=3D", which needs to be fixed as I=0A= understand, because it does not respect the comment[1] about ARM64.=0A= =0A= Regards,=0A= Stefan=0A= =0A= [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree= /Documentation/admin-guide/kernel-parameters.txt?h=3Dv5.3-rc3#n980=0A=