Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2266303rwb; Mon, 19 Sep 2022 02:20:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM65O7/ptrTd27Wz3N6DVA4k5xCsoBRZJjLEvXs87eXaXkHO48wcFCSs5GpK5+s7pPNw2Rd8 X-Received: by 2002:a65:464a:0:b0:434:883:ea21 with SMTP id k10-20020a65464a000000b004340883ea21mr15497120pgr.152.1663579227414; Mon, 19 Sep 2022 02:20:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663579227; cv=none; d=google.com; s=arc-20160816; b=Lq8aU/AlZKWsxtAwUUrexMikwbaZqWpzKX1flHoR7Iw5H8CrD9QolpjltGqbAa5xf5 5yeKRG5TC4InwU59xeKCFapqC4WwZ82R/obFbp859/F8vs7ruJ6SXMN9U6ttxUODvbRV bi/GeGaIbiAp3wqSibPA7GLGeL2+W9MnfZmk3Z1pFCs63M5uB3wgAEHItz+qUwafPicz LL6OCxLlHysG5baVsPiMLV7w0Xs6i/l41/R3YcmcFV26uVs2htlSigkuuEK0H88AfwXw gFLzIW2tXKyofC2uO9erYsJueEVhZtJmKddOb9kxu7yLeuhf3JOL0KKtqjac13OG4ucy 1m7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=5rT+uoku+GmFrek9SA6iGI91YlBEtaApmsRJEJD6INE=; b=nGBp+pDO0iCOP1j//sb6cnmVmMTSudjxR7rL8R1H1aJF9kgKe173gQre3687HefzZG safExXvUlfD9GLGxCcFh2C5kWxC3xASO//Q6r4L5pPygn/91EsedDxrxi3xTSKJgAkHE 2aZuEkc2cVMMhSwnCd1vHyKqBjMoXRVkFDnvu6dufXDIRY9oCmNU/4ePuv2TUCK46A14 Hvp9NyMq3gvEbPgXPMMkXWdFqVbKCsHyKrhCac9JCRkWjaYEFiiG93UIRXkWGI60Utd9 P2l8qmVl8a2YzAcnX5RnyJM3LUrzBMnKPP2CP2M2VSgRBbPqsnjL/OdANnNJtwuATjL+ N55w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l10-20020a170902eb0a00b00176e095c2f1si26644381plb.512.2022.09.19.02.20.15; Mon, 19 Sep 2022 02:20:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229813AbiISIXJ (ORCPT + 99 others); Mon, 19 Sep 2022 04:23:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbiISIXH (ORCPT ); Mon, 19 Sep 2022 04:23:07 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F2D725FE2; Mon, 19 Sep 2022 01:23:06 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id BC24892009C; Mon, 19 Sep 2022 10:23:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id B61FD92009B; Mon, 19 Sep 2022 09:23:05 +0100 (BST) Date: Mon, 19 Sep 2022 09:23:05 +0100 (BST) From: "Maciej W. Rozycki" To: Jiri Slaby cc: Greg Kroah-Hartman , Josh Triplett , Anders Blomdell , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 2/2] serial: 8250: Request full 16550A feature probing for OxSemi PCIe devices In-Reply-To: <7785ca40-2f4d-a0a8-2ada-ca5fb941b6a2@kernel.org> Message-ID: References: <7785ca40-2f4d-a0a8-2ada-ca5fb941b6a2@kernel.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 Sep 2022, Jiri Slaby wrote: > > linux-serial-8250-oxsemi-efr.diff > > Index: linux-macro/drivers/tty/serial/8250/8250_pci.c > > =================================================================== > > --- linux-macro.orig/drivers/tty/serial/8250/8250_pci.c > > +++ linux-macro/drivers/tty/serial/8250/8250_pci.c > > @@ -1232,6 +1232,10 @@ static void pci_oxsemi_tornado_set_mctrl > > serial8250_do_set_mctrl(port, mctrl); > > } > > +/* > > + * We require EFR features for clock programming, so set UPF_FULL_PROBE > > + * for full probing regardless of CONFIG_SERIAL_8250_16550A_VARIANTS > > setting. > > + */ > > It'd make more sense to me to move this comment right before the line you add > below. I favour the style where what a function does is documented above it, but I won't insist on it if having a comment within is what we prefer here. Maciej