Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2638344pxb; Mon, 18 Apr 2022 05:19:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrgMq/LbBHn5TI8D/jB7RZoXvms33Va07tkH7REtdRYBcbDN++8jgdqRhGX1VEK9TRGbuI X-Received: by 2002:a17:90a:bb10:b0:1cb:57fa:309 with SMTP id u16-20020a17090abb1000b001cb57fa0309mr12803327pjr.191.1650284363330; Mon, 18 Apr 2022 05:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650284363; cv=none; d=google.com; s=arc-20160816; b=kH24Z5rCH/vR6kg3ajmCIm7HoYU7syXkIFysGOv0yzWYl/hZ84tZhNcVtYNTcZQhjV /vqlgAjHdjvcXHikpPVUos0FeBBgXbJClFK4sd7gUSO68Ev2x6qG/kLIUnf/VbqS8AZl MyCeM2DFosLInsaOGPMWWBsFvOOpoOLJ8L/f2wqN5g59IAa5LXrQ7Om6yI3ZYJh4A4gc 6Czf5kcSqX1Mu4ts5yhhH+Unn4bel+C66HcsVrJIneyusmHeCrnOrRzp04h1s6HRfrXl ZvDvZtT6BPlm6MLlgWPtjPDfK+uAcSuKZwsE7iw/VD23wlp7H1vaar5lWXcRx9bXXXd9 nSYA== 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=o3uD/vcFHfFtaL5CfORuyNTw+Yke/4BbC871qG9nVCk=; b=xr1LribeXnkJ6PdT+5znVuBrhi7uIVqtAPxCHDCoQO95N3bPo7HJAD+VJR4f4SqvBv KrRTpv7H1CxrFb6ho1HYmF66lz7NBxm/BsR0/RTtPgCm/dTxpn3uvNc6bRflNkHIL6JQ wF6EIEvIux3MgiLFKzP6ApprtwX9APyOwsjZ5PrCcXeA6J/5t6itfhG5+VXRW1cvBfdG JkpPaCff99qmu2/FbVx9e7NuHCfydHHeqZTT3+Yz4L3dEdexhLKuIsFQUhyRc77HFxr2 66Px6ttn+OWvuGgaj5Oce07fXHzJ3STU3Pvr+ljXQheAwnnF1d6o2cwkKhUjaOSOthBB uthQ== 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 y6-20020a17090322c600b00158f7a7d59asi4175688plg.78.2022.04.18.05.19.08; Mon, 18 Apr 2022 05:19:23 -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 S235323AbiDQXFr (ORCPT + 99 others); Sun, 17 Apr 2022 19:05:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235349AbiDQXFo (ORCPT ); Sun, 17 Apr 2022 19:05:44 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9963918B14; Sun, 17 Apr 2022 16:03:01 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 04C069200B3; Mon, 18 Apr 2022 01:03:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id F40D492009C; Mon, 18 Apr 2022 00:03:00 +0100 (BST) Date: Mon, 18 Apr 2022 00:03:00 +0100 (BST) From: "Maciej W. Rozycki" To: Greg Kroah-Hartman cc: Jiri Slaby , Andy Shevchenko , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND][PATCH v3 1/2] serial: 8250: Fold EndRun device support into OxSemi Tornado code In-Reply-To: Message-ID: References: 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,T_SCC_BODY_TEXT_LINE 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 Fri, 15 Apr 2022, Greg Kroah-Hartman wrote: > > Remove redundant code then and factor out OxSemi Tornado device > > detection. Also correct the baud base like with commit 6cbe45d8ac93 > > ("serial: 8250: Correct the clock for OxSemi PCIe devices") for the > > value of 3906250 rather than 4000000, obtained by dividing the 62.5MHz > > clock input by the default oversampling rate of 16. Finally move the > > EndRun vendor:device ID to . > > That's a lot of different things happening all the same commit. Please > break this out into one-patch-per-logical-change as is required. The baud base fix is completely swallowed by the next change for EndRun devices, but I guess someone may want to backport it on its own, however unlikely. I have posted v4 then with this change split off (and the other removed) as per your request. I have also reconsidered the changes made in 2/2 and split it into three, so that drivers/tty/serial/8250/8250_port.c updates are separate and self-contained. In the course of the respin, I have realised exporting the ICR access helpers caused a code generation regression, so I have removed the inline function specifier so as to let the compiler choose whether to inline the functions or not. I have also realised that the change to the console restorer is actually a fix for a preexisting bug in handling of the AFE bit, so I have annotated the change accordingly. Thank you for your review. Maciej