Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1353368pxb; Sun, 11 Apr 2021 16:53:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7JOHe8lsTc1RBBKiYR9EJwwIa77aiPuO7w11g+FrpEYiuf/zvlh13yXyFELYg39vdBXuQ X-Received: by 2002:a50:8fe6:: with SMTP id y93mr17676202edy.224.1618185238808; Sun, 11 Apr 2021 16:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618185238; cv=none; d=google.com; s=arc-20160816; b=L0zQlxOphN3vAln+XNhTZYeGch9ErGmXZ2/zAI3UWXq5NYnfpyAF/Ciktk2ogmg4C6 9RJt/1fa+TY/TDPHhkoksywYplpOlLY4RLWymUnYHKzRFCt2WVKggiVtypVS+uali6vW zx+ptH2E65O/rKVmQ+nMyWQkbZTs6TlVzLrV0PzH2XtVLmIOmCG4Ly0ZDLrbJwQkEbp6 jMk6yJ9UQ+20AIPTxhLbasP/Y43XvyYmB3Oan2YCrkuTwGoIpLLH9GXYlLr+JLpU2IAw Sp4Ma+M2Ue4zVJFgbRAqBNL5s/7e8wuyhtAdyJcOT4Pq6402AJcHwetFveTA9QcsVtkc dwBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=we0IPy7GkHXIWTEepGW7TLgrKnT+n2hTi8pOuKv6Tfg=; b=yFnPZs74F89NT5Wz/n+1rJ0wGUo/oz5ZWHLLDd0nemkdfeF9KCAiSAFKP5v+je/7oB LSPa+c/9BVdUzZ/8y6ZNDfZKTbdWU5ScG4aR4tjuYNI3s2W60ojf3pqpNjPuVkF1JjTN RFKs8aJNuzulJiWTXgOGy8rR3LEX04BoA5TDBX5lmBEgqyAQ9z6+dQ2WuGoWPeFmmm+V TipmK89Rm14tvZGQrfa9VY8Ozfowzg8sV8jtUYiS3AZRLu+AjMnLOsy9dUkBBsGmWDqK Pbc3sEt158NBORIFR/EN/2w3lXfiftJyuxpiIgLOuOqVMxAObx4enRbXgRBrVIhz3i+p JDiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bMBOsx+I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m23si7059763edr.164.2021.04.11.16.53.07; Sun, 11 Apr 2021 16:53:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bMBOsx+I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235718AbhDKWQN (ORCPT + 99 others); Sun, 11 Apr 2021 18:16:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235780AbhDKWQM (ORCPT ); Sun, 11 Apr 2021 18:16:12 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EE08C06138B for ; Sun, 11 Apr 2021 15:15:55 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id l22so5643920ljc.9 for ; Sun, 11 Apr 2021 15:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=we0IPy7GkHXIWTEepGW7TLgrKnT+n2hTi8pOuKv6Tfg=; b=bMBOsx+IjgATxfVRDghj2rM1/YzPonOm1tzZeLG+5a54MJfIfaO/nZWtWht/TTfoyT CvjwlGxrg9yUQQv/VPXJ+Rq9opfuEJ0tz3NPnswOkwDjFd4CaeAQXYAhtf428HEx9T0/ 3wq3L5dGSr12c9RX5GXiaysDYCFWmelpOE5R4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=we0IPy7GkHXIWTEepGW7TLgrKnT+n2hTi8pOuKv6Tfg=; b=Hg45hHliipC1WZTJlbtaw0R1C0QHNjEqKaGNNA2ql7jgnDqM1ArDpngbNnzjrz9RFl 9etkmKBAyLYHLULpeDtHq4vcrpx9lIRLFTUpHx82XvRB+n9niQSe8THZr1dEOyW3tLur PxTZB0pgt7kj7jMsbWqT/mie49LrpY4qVN3nw5G/YE1aMCI7TEKGNvIepw0HI4NrWCvk OexoGmlk7zL3UUV/cclrXpGmixuzYDfwRbTLj9vWC294/+Cv9jj+uX+mdevotW1bheX5 V5GWhOs91YMs+7KHAihipyOYbB0ZEndqsppE+HXf1rKza0BYnH/2nStpKOpr2LQ3CDaI kX6w== X-Gm-Message-State: AOAM532Y3Ih/76RmjrZ1nrtrMnsr+awTlD1Mv6GiN7rm+90glFbPjfeZ asZJx8N1o7pQo2BZlqDp98cDScD6p4F0cA== X-Received: by 2002:a2e:7403:: with SMTP id p3mr16042482ljc.239.1618179353222; Sun, 11 Apr 2021 15:15:53 -0700 (PDT) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com. [209.85.167.49]) by smtp.gmail.com with ESMTPSA id k18sm1840682lfg.32.2021.04.11.15.15.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 11 Apr 2021 15:15:51 -0700 (PDT) Received: by mail-lf1-f49.google.com with SMTP id 12so18165326lfq.13 for ; Sun, 11 Apr 2021 15:15:51 -0700 (PDT) X-Received: by 2002:ac2:4947:: with SMTP id o7mr12254385lfi.253.1618179351232; Sun, 11 Apr 2021 15:15:51 -0700 (PDT) MIME-Version: 1.0 References: <000000000000226d3f05b02dd607@google.com> <47907f77-b14b-b433-45c6-a315193f0c1a@i-love.sakura.ne.jp> <494395bc-a7dd-fdb1-8196-a236a266ef54@i-love.sakura.ne.jp> <20200927092701.GA1037755@PWN> <4933b81b-9b1a-355b-df0e-9b31e8280ab9@i-love.sakura.ne.jp> <20200928175956.GF24673@neutronstar.dyndns.org> <100dfd3f-3415-80ae-a6cf-30d15f7ca49f@i-love.sakura.ne.jp> <20200929105203.GG24673@neutronstar.dyndns.org> <20200929165657.GS438822@phenom.ffwll.local> <20200929171040.GB1351851@kroah.com> In-Reply-To: From: Linus Torvalds Date: Sun, 11 Apr 2021 15:15:35 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] vt_ioctl: make VT_RESIZEX behave like VT_RESIZE To: "Maciej W. Rozycki" Cc: Greg KH , Martin Hostettler , Tetsuo Handa , Jiri Slaby , Peilin Ye , syzbot , Bartlomiej Zolnierkiewicz , Helge Deller , syzkaller-bugs , dri-devel , Linux Fbdev development list , Linux Kernel Mailing List , George Kennedy Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 11, 2021 at 2:43 PM Maciej W. Rozycki wrote: > > So it does trigger with vgacon and my old server, which I have started > experimenting with and for a start I have switched to a new kernel for an > unrelated purpose (now that I have relieved it from all its usual tasks > except for the last remaining one for which I haven't got the required > user software ported to the new system yet): > > "struct vt_consize"->v_vlin is ignored. Please report if you need this. > "struct vt_consize"->v_clin is ignored. Please report if you need this. Note that it's entirely possible that things continue to work well despite this warning. It's unclear to me from your email if you actually see any difference (and apparently you're not able to see it right now due to not being close to the machine). The fact that v_vlin/v_clin are ignored doesn't necessarily mean that they are different from what they were before, so the warning may be a non-issue. > It continues using svgatextmode with its glass (CRT) VT to set my usual > 80x37 text mode (720x576 pixel resolution) by manipulating the VGA clock > chip and the CRT controller appropriately for a nice refresh rate of 85Hz: > > Chipset = `TVGA8900', Textmode clock = 44.90 MHz, 80x37 chars, CharCell = 9x16. Refresh = 52.51kHz/84.7Hz. That doesn't seem necessarily wrong to me. > So what's the supposed impact of this change that prompted the inclusion > of the messages? There _may_ be no impact at all apart from the messages. The code _used_ to set the scan lines (v_vlin) and font height (v_clin) from those numbers if they were non-zero, and now it just ignores them and warns instead. The code now just sets the font height from the actual font size when the font is set. Which is honestly the only thing that ever made sense. Trying to set it with v_clin is ignored, but it's entirely possible - maybe even likely - that your user of VT_RESIZEX sets it to the same values it already has. Exactly because setting a font line number to anything else than the font size isn't exactly sensible. But if your screen looks different than it used to, that is obviously interesting and says something actually changed (outside of the message itself). Linus