Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp480726imn; Wed, 27 Jul 2022 11:23:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ttV5GXkRC85FEkFTLX1LLNJz4O4ayrw14fxPceH25P0NPrXP7vCeAaHa5ovvhRZM+gaEnN X-Received: by 2002:aa7:ce0f:0:b0:43b:b825:1740 with SMTP id d15-20020aa7ce0f000000b0043bb8251740mr24548938edv.181.1658946204159; Wed, 27 Jul 2022 11:23:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658946204; cv=none; d=google.com; s=arc-20160816; b=bQoPxetIsx+LEC7DjLIoh+ShsHLLH06lkpG7Zh/p4AdSFa6U6pypWMxCxKG0JGl5j4 uB4rEnIss9CukJdM+MAcPGQbIghGWQ1wtoSHxbHBCeO6wofp15zzrKALlu+z0ESPnQ2J JyK6SEvVHB19qpZ8pMG//6qL3bkEnvo2YkAHcfOQR7Naz3UofMwpjBo3m8YOE3qPx9+4 gyp0o8VdI38KJuLq/MhQqr0jwnUe721y6bLFFSNaPY66JTwTdj63KeDmz7a4osNGBAKm hf22YBJWFvYw+bUEwpP+c3eXNUBRUZZu5aROpBy1GYew5pUCIvEOaskILnJS45duceo2 O59g== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=e/7A+rPAVVwcL+Ajrcw3eEKtnn4GtAeHUWSbuaUaOaY=; b=IrfC9Gl02ZRT3JUzWTVbooy5x/LMFHkHrTGMz7akW5ThZoQVY+3m3txuVbrq3768Uy pjyy5Df3KfQkqo6CcUBbKXtQ2MhZx0Lvr6jChO5QCgGCFu3sywWrQve4PFYLW9V+qeJD RjLCrkTbJ13yd6KVYhEwQw+mkeSCXMHKSmOILDAi/KhLr9dxmNUJz80dwFKPaV7iUcmY KylB2cuoaZJZXT76EpsXHLh7zOZPdI+97DlccSxqGGwoCDleFvFsUHa7u7ZlhavUPvgY G3cSEH5dCA1d1b2BsqutY92aJeYoIbpq6EJcBCY4nPibe+mGBLPnq3AUB20lmIKaKwEq H57Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Mjoq0hHJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d13-20020a056402078d00b0043c91b2b97bsi3243060edy.518.2022.07.27.11.22.59; Wed, 27 Jul 2022 11:23:24 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Mjoq0hHJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235686AbiG0QXm (ORCPT + 99 others); Wed, 27 Jul 2022 12:23:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233700AbiG0QWy (ORCPT ); Wed, 27 Jul 2022 12:22:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 478954D178; Wed, 27 Jul 2022 09:22:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D743D617F2; Wed, 27 Jul 2022 16:22:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3607C433D6; Wed, 27 Jul 2022 16:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1658938962; bh=9l/ukxD80M6SYVcKZPl4/IMvtG9p/sFEi5Q5ZtKnaDQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mjoq0hHJSM7WohfWF0bm3oYsiybxqjvIm00fWo8s46J88WH3C5Epvtlx17lXgo7uc zCEovBnOA/W9E/iwzKDnHznUW6vYT9HXgm/0+LVWlqZBDvWDsy5PY5DyuI6L1ch+h6 MiaZkEnsNusZrmXEGWKkT+yvf/SfPcWCBea/HvN8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Richard Henderson , Ivan Kokshaysky , Matt Turner , William Hubbs , Chris Brannon , Kirk Reiser , Samuel Thibault , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Alexander Gordeev , Johan Hovold , Jiri Slaby Subject: [PATCH 4.9 22/26] tty: the rest, stop using tty_schedule_flip() Date: Wed, 27 Jul 2022 18:10:51 +0200 Message-Id: <20220727161000.015867460@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220727160959.122591422@linuxfoundation.org> References: <20220727160959.122591422@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 From: Jiri Slaby commit b68b914494df4f79b4e9b58953110574af1cb7a2 upstream. Since commit a9c3f68f3cd8d (tty: Fix low_latency BUG) in 2014, tty_flip_buffer_push() is only a wrapper to tty_schedule_flip(). We are going to remove the latter (as it is used less), so call the former in the rest of the users. Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner Cc: William Hubbs Cc: Chris Brannon Cc: Kirk Reiser Cc: Samuel Thibault Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Christian Borntraeger Cc: Alexander Gordeev Reviewed-by: Johan Hovold Signed-off-by: Jiri Slaby Link: https://lore.kernel.org/r/20211122111648.30379-3-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman --- arch/alpha/kernel/srmcons.c | 2 +- drivers/s390/char/keyboard.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/arch/alpha/kernel/srmcons.c +++ b/arch/alpha/kernel/srmcons.c @@ -58,7 +58,7 @@ srmcons_do_receive_chars(struct tty_port } while((result.bits.status & 1) && (++loops < 10)); if (count) - tty_schedule_flip(port); + tty_flip_buffer_push(port); return count; } --- a/drivers/s390/char/keyboard.h +++ b/drivers/s390/char/keyboard.h @@ -44,7 +44,7 @@ static inline void kbd_put_queue(struct tty_port *port, int ch) { tty_insert_flip_char(port, ch, 0); - tty_schedule_flip(port); + tty_flip_buffer_push(port); } static inline void @@ -52,5 +52,5 @@ kbd_puts_queue(struct tty_port *port, ch { while (*cp) tty_insert_flip_char(port, *cp++, 0); - tty_schedule_flip(port); + tty_flip_buffer_push(port); }