Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp939530pxp; Wed, 16 Mar 2022 22:01:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtrvK5Ds2UMfHB0GeKmwuu/k2455G+g6NDoRZqqZ4IWcd2qxZhqbrddt15t9N6ct4ljKrh X-Received: by 2002:a17:902:6b06:b0:153:f0cf:7bbc with SMTP id o6-20020a1709026b0600b00153f0cf7bbcmr1032214plk.43.1647493279507; Wed, 16 Mar 2022 22:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647493279; cv=none; d=google.com; s=arc-20160816; b=JiNqU6+kFWPHN3736nsJ8xEuwgqaTa7SHacIxSa2SvMFHchXckIhkzdX5QvfFf+a4k EVqYNtLRFGxPikSTz88iJqHjHcDjIthuii3CW1rNRAKVlthXdVPrt6HOoKH+hS8vcOeb RZaj4gzKVi2ifp4PVW2wigrmlBPnD4zm2CUBBci8/IusPmY74AobfF72HYYVWBWHjDke iiw9fx9hDKtrLjwdV8dv6Qd01Gg8o6APmlwPfk7MKKCPuMuuJUZJkc64CT8y0Z+xPjIe Q4kH/5qgIaLCwNpkJFRAA4FRQIv/akCvC/GUur9ZhCZrDxFiIWmP4IILmeLZMLjj4Sie AXug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tHEFNI4QFddUzu0LQQmFlfD1SkQZMssJQZsRu1wTjdk=; b=pWR7ddLinQhNa6rqmGAaNdIow8fzpfYd/hOrl2eDlFoaE0Sq0T87UGIVVin3PYe6Y6 0dr8rGNwVHtt2aifBks2CpJEFQlzcuLMZUN6zqhzn6p9al4D6iKozu2kOf/B6Iir4bn0 8bovX4Pf/VSqgNTQ9lgp2ayaKNUew5IziLOxTA2cT5MLCa7b+UhlyNGHpvO+fZ8Xjljl JYyKd/R3dNssAEtRv/ay+lLspis5MXtM0jJ/yzgpKg3AK/ay109bLaARuNjl98bIAknv R+mA7lWtp1Uuh16KmHna438IpVAfId53HSA+26PAlE/nQ9A2FJ8Y4XFzM0WTRvRTg8UL wHig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=e0HkKuxH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i15-20020a17090ad34f00b001bd14e01f23si6010005pjx.17.2022.03.16.22.01.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 22:01:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=e0HkKuxH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 62C1619258F; Wed, 16 Mar 2022 21:15:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240178AbiCPOir (ORCPT + 99 others); Wed, 16 Mar 2022 10:38:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232943AbiCPOio (ORCPT ); Wed, 16 Mar 2022 10:38:44 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8413952E29 for ; Wed, 16 Mar 2022 07:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647441449; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tHEFNI4QFddUzu0LQQmFlfD1SkQZMssJQZsRu1wTjdk=; b=e0HkKuxHnRX5OF33Y0pTsgqwOjDFnIo7+y2clnSN+HD4MdcQaHn61PcIwY2ExxriQAA6NN hvZMUoUm1iPuVsqZf9E3YMzkkEcu94wsW76E13Pl8y/RG5G1/bhGv+/BnRdidS63IFpXC8 FwT6jOi00abqCaBZjNhKJNfPAks6rYU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-81-7Mew6Dc-N5mvjWn8E9OFhQ-1; Wed, 16 Mar 2022 10:37:26 -0400 X-MC-Unique: 7Mew6Dc-N5mvjWn8E9OFhQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4CA958D3765; Wed, 16 Mar 2022 14:37:24 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.22.19.38]) by smtp.corp.redhat.com (Postfix) with ESMTP id AAA9940F9D53; Wed, 16 Mar 2022 14:37:20 +0000 (UTC) From: Wander Lairson Costa To: Greg Kroah-Hartman , Jiri Slaby , Johan Hovold , Wander Lairson Costa , "Maciej W. Rozycki" , Andy Shevchenko , Lukas Wunner , =?UTF-8?q?Pali=20Roh=C3=A1r?= , linux-serial@vger.kernel.org (open list:SERIAL DRIVERS), linux-kernel@vger.kernel.org (open list) Cc: rostedt@goodmis.org, senozhatsky@chromium.org, andre.goddard@gmail.com, sudipm.mukherjee@gmail.com, andy.shevchenko@gmail.com, David.Laight@aculab.com, jonathanh@nvidia.com, phil@raspberrypi.com Subject: [PATCH v4 0/5] tty/8250: Use fifo in 8250 console driver Date: Wed, 16 Mar 2022 11:36:39 -0300 Message-Id: <20220316143646.13301-1-wander@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 This version fixes the bugs reported in version v3. The first patch is the same patch of v3 as is. The following commits fix the issues in the original patch. For details, please check the commit log of each patch. I tested these patches in the following systems: * IBM X3550 M3 * HP ProLiant DL380 Gen9 * HP ProLiant BL480c G1 * Dell PowerEdge R910 * Cisco UCSC-C220-M3S I cc everybody that reported problems with the previous version of this patch so they can retest and confirm their systems work flawlessly. Wander Lairson Costa (5): serial/8250: Use fifo in 8250 console driver serial/8250: Use the cache value of the FCR register serial/8250: Use tx_loadsz as the transmitter fifo size serial/8250: exclude BCM283x from console_fifo_write serial/8250: Only use fifo after the port is initialized in console_write drivers/tty/serial/8250/8250_port.c | 67 ++++++++++++++++++++++++++--- 1 file changed, 61 insertions(+), 6 deletions(-) -- 2.35.1