Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp894901imd; Sat, 3 Nov 2018 12:34:16 -0700 (PDT) X-Google-Smtp-Source: AJdET5dkBQgmEUgJrra6VxI2qdUm1mgV5JOWRnRaiJ1mfd1Vo6qhLsU6oK0zARR9fF46Pw8NyeCF X-Received: by 2002:a17:902:a614:: with SMTP id u20-v6mr16223793plq.77.1541273656091; Sat, 03 Nov 2018 12:34:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541273656; cv=none; d=google.com; s=arc-20160816; b=SJAkJ7rPFN/op+XlkLm5F37q+Zz+p7JnzFTejbLg8JA1MVdwwH0m3iuHUcMW/jPKuW jCaavCCacm1rLSu6F/FKn0raWy2Z5bAcKSYrkXKoDQAXaohGYe2+uvEU0a1E4j+51faC 68DOeuQIbhYhv90qBRuVgzMBI78O0XLfOtO34BrqmLfyqV9w4psg0J7plgDUieX+kkwN 0z2/rRP8hbvGNUW+8qNkNNfnwS6WmCNTcqGzbkyxEWPeD/XTU0C8+JXPRfNkm9a5Izp7 EfVbneFw+EUiw/zYIdxROvDeDm+WT9OEMc3bfQwb+Ew8SvEbwojzPZ3OYglGM/oncX/B 2vOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=e7MHetaHKndanCZSkeQO+QBs/nh6ojoZfbjlaym6vOg=; b=XB5yn9+ZKShaRpeQ5QOWXcaJl/F4RoqBPdhl1yNkvEifT8jw3Drp7Xe+/I1YbJ+Jho kRquLW1BlnfVbn+u1L60HScBkdjXrDEr8oASh0H0naD8d3zZyt34AKVuMv3Pptx/v8IN Bz3UY1Lby+bOFVPFG64bIzI+G4RBxTh+FGR0OI6ubL5itltNO8Uqb38PnmYZ4K2wzzRb 2XYjYR1QdkETfJeI9NXwhCP2H+KP2GqSSlhw+EQRGLawt9TrcZCkb7kRazY7zpOqcFBu 0vUT+0KbqDKMtNZD4eXUaLOKNRRcjJYh+pQzA3Y/BnYq40laeBIHiWtCPdu+EDG0aiJh x26g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h9nd+lH8; 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=pass (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 cf10-v6si40146603plb.278.2018.11.03.12.33.48; Sat, 03 Nov 2018 12:34:15 -0700 (PDT) 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=@linaro.org header.s=google header.b=h9nd+lH8; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726907AbeKDEnP (ORCPT + 99 others); Sun, 4 Nov 2018 00:43:15 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:45712 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726112AbeKDEnO (ORCPT ); Sun, 4 Nov 2018 00:43:14 -0400 Received: by mail-qk1-f195.google.com with SMTP id d135so8475797qkc.12 for ; Sat, 03 Nov 2018 12:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=e7MHetaHKndanCZSkeQO+QBs/nh6ojoZfbjlaym6vOg=; b=h9nd+lH8B3O6IFbTlt4HpSbagwCzKS4XgvSPj7j/tnqIlBsfD/oD+I8IxTRn8/+w5z qUN9F4Jtb/30e5DurfLq9+1D4JvMP7Y5UT9U9glk2ndakL0Vw2EHDh2AAJ1yKW80QN86 xnBzZtQZCfIORFatcCxLrm7dSjeD42DHejQUo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=e7MHetaHKndanCZSkeQO+QBs/nh6ojoZfbjlaym6vOg=; b=g7AXDEjeEphTjel1HKdBvklCTbTgQT8F18qrmDcd6QucA6Joak4lA2/CHstw1VwJ7Q ZUcfEVRqN5iD8kD/spp+41+WZ8twR4icDajIF+2h/H0gsXIAL5OwSB2FuXcT2ZrmGdMI YQLImSY19RvnO6Oh3viuUr37awUOTK/MPwIMIrv1BeySvTXTPRVWlRF5b/BY21ophmd9 8o9OIxt2/XIp4ZZIzY7UqX+BZe8tcBDepM2rkX2uFaT0MQT/hh5xWA9ZjPLKB0IElrTf G1DQMEyAl3j9xeh55N8inFUKJVD4VTaYLcI/MCwh9S+PlOj2ZVlVzvQBd7KK2zkDWxAm 9W7g== X-Gm-Message-State: AGRZ1gK8+4kxb65BF0Hwra3m1QF+aftarzpz2zC756a8A2eOaIYW5iAj nPDhuSGHdfCnhdcMvTF5xbaXxw== X-Received: by 2002:ac8:b0d:: with SMTP id e13-v6mr15631204qti.375.1541273461937; Sat, 03 Nov 2018 12:31:01 -0700 (PDT) Received: from xanadu.home (modemcable228.104-82-70.mc.videotron.ca. [70.82.104.228]) by smtp.gmail.com with ESMTPSA id 190sm6659468qkh.25.2018.11.03.12.31.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 03 Nov 2018 12:31:01 -0700 (PDT) Date: Sat, 3 Nov 2018 15:30:59 -0400 (EDT) From: Nicolas Pitre To: Samuel Holland cc: Greg Kroah-Hartman , Jiri Slaby , Adam Borowski , Mike Frysinger , Alexander Potapenko , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] vt: Fix screen updates after CSI K sequences In-Reply-To: <20181103174831.1666-1-samuel@sholland.org> Message-ID: References: <20181103174831.1666-1-samuel@sholland.org> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 3 Nov 2018, Samuel Holland wrote: > In d8ae72427187, start was changed to point to the character under the > cursor, instead of the beginning of the cleared area. The offset was > correctly applied when clearing the backing buffer, but not when > updating the framebuffer region. Fix this by having start point once > again to the beginning of the cleared area. There is already a slightly better fix submitted here: https://lkml.org/lkml/2018/10/23/535 Nicolas