Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp282540imu; Tue, 8 Jan 2019 19:57:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN60XCPkHpZPha7C9m873PJ6SZT58QR0Dx2NTvzFnENNCDfyeoWMUIXpBslxakIYhNyvm7AS X-Received: by 2002:a63:d604:: with SMTP id q4mr1748487pgg.175.1547006231010; Tue, 08 Jan 2019 19:57:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547006230; cv=none; d=google.com; s=arc-20160816; b=o7zfzqoUusAGFV47z342YnkjcOJUh39qPXvf5SCAdDeuQgp+1uWLrwNY9jXWLwfG4W 3h84l+4Qp78S651OeM7OWRIkMWo6hxqbD2LtdDcNczCBAT8mAgHzhuUDEVxqbyDsN+Ho QcFHjjIkrifFQk046paCLTKjjhOPPVxh0FhlhysbY4Vrm6Uz0g8L9Gwts7gvzH8iFRd2 e/qT0WzTSJ+K1GH08RWkoeRRdXedeTYABEvWFKuRK1SKTtC+/QH8RYIeHLwVkx4e1Hw3 E5IMMmCEwNf+4PjTfrLe9akjpC3i5MG1kQo3ERHvE+zqbfukALJVNhJeWpl7e7e+m3u3 IX1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YMApujsUN1ywHKAbbwqwbxwfhoGR1g+9jtipb5hc8fg=; b=fAxKLqMZ9gGMHtfqKmqa5tN3ySpLUWcF5SphSxP5PPGbydOFslbb+x3HlYchh3gcRT 6LV+IL28lZKF/SIZmXbA1GUe9NNV0WMFGhcbuqtNmjKqRktzaOhnlc5VecBorg+5VEQ9 k4jW9jy5oQVdJyKzMTSnvnx3IKEDgv2pQc3XezutN35EXnP1ZB7Rd8ZyJ6jYP1Ks3LgN cOvXnu8YS7fi9S4slIJZiw4i3b9v3/7JvBPqTqM57QCsDFdKhESjnWe9jtkW0+Ibej55 BXvIOiQBaAJgvRfd+8Hnoj8xBw7W4aLV079/iauzty8B950q8a5bRKtKaxV2AJ/ZASNA RDfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=en0QQLc2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si30212851pls.380.2019.01.08.19.56.55; Tue, 08 Jan 2019 19:57:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=en0QQLc2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729326AbfAIDzv (ORCPT + 99 others); Tue, 8 Jan 2019 22:55:51 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:51069 "EHLO pb-smtp1.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729053AbfAIDzt (ORCPT ); Tue, 8 Jan 2019 22:55:49 -0500 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id E979F119307; Tue, 8 Jan 2019 22:55:46 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=Ok46tFcJgtlME1pfsnHQK5+Pv zg=; b=en0QQLc2+VxmZCMeF3q0DJ6epSt36wSmNXyaqmxlDk+VwPxLbN6Vi2J3l CasnCSLDeM2IobKgJ7SCsWeHPsDmdfFdQFgBRvKJHsHuqddW6Kh6X2tQXwnB9svO gCZ7BcwQg1kSS0L9zUPoBR4OJQ++pB7yMx90BxuvERQ5+fluks= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id E10AF119306; Tue, 8 Jan 2019 22:55:46 -0500 (EST) Received: from yoda.home (unknown [70.82.104.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 5D2BC1192FE; Tue, 8 Jan 2019 22:55:46 -0500 (EST) Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTP id 7F4A72DA05DD; Tue, 8 Jan 2019 22:55:45 -0500 (EST) From: Nicolas Pitre To: Greg Kroah-Hartman Cc: Dave Mielke , linux-kernel@vger.kernel.org Subject: [PATCH 3/6] vt: invoke notifier on screen size change Date: Tue, 8 Jan 2019 22:55:01 -0500 Message-Id: <20190109035504.8413-4-nicolas.pitre@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190109035504.8413-1-nicolas.pitre@linaro.org> References: <20190109035504.8413-1-nicolas.pitre@linaro.org> MIME-Version: 1.0 X-Pobox-Relay-ID: 71B86960-13C2-11E9-9F5D-70EFDD2159A7-78420484!pb-smtp1.pobox.com Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org User space using poll() on /dev/vcs devices are not awaken when a screen size change occurs. Let's fix that. Signed-off-by: Nicolas Pitre --- drivers/tty/vt/vt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index 5b8b0e33f9..bba75560d1 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -1272,6 +1272,7 @@ static int vc_do_resize(struct tty_struct *tty, str= uct vc_data *vc, if (con_is_visible(vc)) update_screen(vc); vt_event_post(VT_EVENT_RESIZE, vc->vc_num, vc->vc_num); + notify_update(vc); return err; } =20 --=20 2.20.1