Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp827879rwb; Wed, 26 Jul 2023 03:39:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlE+GU53nnPnc9aj8JlLpch62s/1/nRBS/JxktXLy9v3j8znCQjKml/wKeNmcnQt9ToHUAaZ X-Received: by 2002:a17:906:845a:b0:969:7739:2eb7 with SMTP id e26-20020a170906845a00b0096977392eb7mr1298589ejy.4.1690367969533; Wed, 26 Jul 2023 03:39:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690367969; cv=none; d=google.com; s=arc-20160816; b=PRcZOaP7ftZl9a9ChNUP6OK+W0l7q4/6gX8VTJkYPMB2NNHBiptUJJU9swOdE42VaW 2+H9JK0M80oKD+5tkp472H+wgryfaW9i7w5H/W6awmA6tbDsxPv4Sm6yVFD+7GZ6KXg3 vrJSyAxXcX3RESs77AJyQvxCabMnZmW8UDZsTxiEQbnTR5HcefirSt48RDyN5xerx/iZ WRi/1/2dQ0SFhEO8MBu1CqR7B8KNjKNg5xYIXYNgQSxq5jz++U10761MIFNjPUrFF6yk 7AoNJjKmn/JF6eD9Sxs5/Fn0y7gvx65jgQJmpDvRX5OfxppyiKTol629z8g5kcTnDwgU hCUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:date:from; bh=gr2Ali5KTUsEFdLgSTg8ryTDxPrjGhdWy8BlLeLy+/s=; fh=4VZtytLUsS5MSTxAl1aOj9dUQooNLgaen9S2fNuDZJw=; b=H3TnrOvE5DXWNCfcZ2Dw6FXFyIkafzpy1Pt7xMS4XckcdQuB0a9+RtuuZeVI/gQ7mg IN1+teD5n2jntW4rIXrzkzWorxvUv/LZpY9Rj1yygWPu5BnQTT8cmWUNSKJGsONo6bkU DRyZ0ZjK10L3KvuiFTTfduc0Iq0Nn6g5W+D8NMNQIgtoh+PnZ8safKaZawUo+W2RIjo+ Lv8YB35NE7lNF3af7L/GByE+hE4n3IFgX0Or0/lmrVbvEU+/f9TCnbCa5c/jfGHZajXw JIt3Tv1/6yuWO4TiuEci2Z8GqqiCFRl48c8Fp+uV+DsWQPsoOgQazY+oWJRlFBjbhrYz J0hw== 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q18-20020a17090622d200b0099bc39cf3fdsi780142eja.848.2023.07.26.03.39.03; Wed, 26 Jul 2023 03:39:29 -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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233897AbjGZKcg (ORCPT + 99 others); Wed, 26 Jul 2023 06:32:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233913AbjGZKcb (ORCPT ); Wed, 26 Jul 2023 06:32:31 -0400 Received: from fgw21-7.mail.saunalahti.fi (fgw21-7.mail.saunalahti.fi [62.142.5.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43DFB2137 for ; Wed, 26 Jul 2023 03:32:26 -0700 (PDT) Received: from localhost (88-113-24-87.elisa-laajakaista.fi [88.113.24.87]) by fgw21.mail.saunalahti.fi (Halon) with ESMTP id b562e7a9-2b9f-11ee-abf4-005056bdd08f; Wed, 26 Jul 2023 13:32:24 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Wed, 26 Jul 2023 13:32:23 +0300 To: andy.shevchenko@gmail.com Cc: =?iso-8859-1?Q?Rodr=EDguez_Barbarin=2C_Jos=E9?= Javier , "gregkh@linuxfoundation.org" , "jirislaby@kernel.org" , "morbidrsa@gmail.com" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "jth@kernel.org" , =?iso-8859-1?B?U2FuanXhbiBHYXJj7WEs?= Jorge Subject: Re: [PATCH 3/3] 8250_men_mcb: Make UART config auto configurable Message-ID: References: <20230705131423.30552-1-josejavier.rodriguez@duagon.com> <20230705131423.30552-4-josejavier.rodriguez@duagon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, Jul 26, 2023 at 11:44:46AM +0300, andy.shevchenko@gmail.com kirjoitti: > Wed, Jul 05, 2023 at 01:15:14PM +0000, Rodr?guez Barbarin, Jos? Javier kirjoitti: > > The UART ports created by this driver were not usable out of > > the box, so let the configuration be handled by the 8250 UART > > subsystem. This makes the implementation simpler and the UART > > port more usable. > > > > The 8250 UART subsystem will take care of requesting the memory > > resources, but the driver needs to first read the register where > > the num ports is set, so a request of the resource is needed > > before registering the UART port. > > I see this is already pending to the next cylce, but > formally I would like to NAK this change as explained > in reply to cover letter why. Okay, after a bit of digging it seems not so bad as I was thinking initially. The IRQ test requires specific flag which seems is not set in this case. This removes my main worries. -- With Best Regards, Andy Shevchenko