From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CE835EB64DA for ; Fri, 7 Jul 2023 13:42:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8/9Aptkfcn0ucRy6Bn9S0glOxj/WcJVYevmPPF0/sWY=; b=WhtJInIRYluBye rc8FLgLsQWmUXxJ0jRmTQf/6RUVzURXrAoPF2IFIPLCjtm/6U0FTYU8PykjYnbeALPsxgI4oVnbTM 0TiwOqIpdVmAIC9XzhtxqF01U1a6OPZouo3dNpRqGL4/KL/aTo7iDLiE3mmeOkGlIsHcDPf2O/Kzj a+zkEswbZQl1U4EaqMWHeUvj5RBTuJ5O1Tw5NVVQfw9K4HgnwpG6UDdurTFZOUz4Bp2u/SasVJ9gN WgEnyHML3UdALwVbOhl5H+6btLGt2XTtVRf1iZrifQ1aH6f2M9hH0BeIucezKJ2ntQQ6uokhqtrgM SQXVyV3U86B/aU1u3COA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qHlih-004kt1-0p; Fri, 07 Jul 2023 13:41:59 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qHlie-004kry-1E for linux-arm-kernel@lists.infradead.org; Fri, 07 Jul 2023 13:41:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688737315; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lszDzBh1sFuGKtdYdBJwoIUw40PY44r7U0tPTyFHI1Y=; b=Mf1ZgZnDBssoF7ZMRYg3h0zErH6rurVO/sJ2DPRL2W3dwQoRfh5QmCe05McOWNyOth5uIL d6T0fMOlIsnOpb1ko0qPJENBCneUWujstup16+ptYgB2Ib0zPwUlR4PvhRPsTBCElpYSti mz5kyu6VFT2Fwq098x8Ibx21se9zDE4= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-245-6dVuF8M9MqWjojUuJVlK9Q-1; Fri, 07 Jul 2023 09:41:52 -0400 X-MC-Unique: 6dVuF8M9MqWjojUuJVlK9Q-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-3113da8b778so999013f8f.3 for ; Fri, 07 Jul 2023 06:41:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688737311; x=1691329311; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lszDzBh1sFuGKtdYdBJwoIUw40PY44r7U0tPTyFHI1Y=; b=RyDJ3/WPCFLWMlq0nTgYcuUixallUkfHAB5IqbQv48Q2F9+EgtBgQ3T2adUNVU9ErL 167pwRRVAbaBFCxKXevJSnhTtRjsHyXDyb+OCBzWUUwbeYLhdwmw7J+ZVJVH3RSpmXdv k35PzCjcECKpKgPV/9/66WnGtrB01bM6vHGeE+QfPyIHGGBpkS0Gx7mhtZNhpea0S3zg 2oqDVWRhgNKRZ7u1FonkbEQ3qG5vbAJ2q9R/fMPEobN3gGZCREoA4thTFhNyNSp7EOH7 0dhMGuI4hfzGZROgDRBv35IGTgd3fw/U1Q9ZNphuegtMmlbxYtef/2NxMuQ71e+w0wm1 EHGg== X-Gm-Message-State: ABy/qLbjVk5SO0t95DRfkLwfNnX7vBE/5uzfQ8acpq7w/duJBeoiCPVs FfeqVgl57xvXhDAtAw4fQBnrtwC8DMGzLTplW3XzXyGH4Va4e23ol5M9hXie0V/C3zzQYiILqx4 V6a8WIJiQoPWEL3xVG98Xrp6jOVVHXjgabf0= X-Received: by 2002:a5d:4d4d:0:b0:313:ed1d:39d5 with SMTP id a13-20020a5d4d4d000000b00313ed1d39d5mr3821988wru.35.1688737311027; Fri, 07 Jul 2023 06:41:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlHSL73NnelkECzSlrHFzZyBm2hgT0OM42vU9A9OivdXpoF5fr4x25M2kgCTNebgI6XNosfvXQ== X-Received: by 2002:a5d:4d4d:0:b0:313:ed1d:39d5 with SMTP id a13-20020a5d4d4d000000b00313ed1d39d5mr3821963wru.35.1688737310726; Fri, 07 Jul 2023 06:41:50 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id g23-20020a7bc4d7000000b003fc02a410d0sm181059wmk.48.2023.07.07.06.41.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jul 2023 06:41:50 -0700 (PDT) From: Javier Martinez Canillas To: Arnd Bergmann , Thomas Zimmermann Cc: linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Russell King , dri-devel@lists.freedesktop.org, Ard Biesheuvel , Helge Deller , Greg Kroah-Hartman , Arnd Bergmann , Linus Walleij , "Russell King (Oracle)" , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 3/4] dummycon: limit Arm console size hack to footbridge In-Reply-To: <20230707095415.1449376-3-arnd@kernel.org> References: <20230707095415.1449376-1-arnd@kernel.org> <20230707095415.1449376-3-arnd@kernel.org> Date: Fri, 07 Jul 2023 15:41:49 +0200 Message-ID: <87h6qfyh2a.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230707_064156_495675_438C1648 X-CRM114-Status: GOOD ( 17.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Arnd Bergmann writes: > From: Arnd Bergmann > > The dummycon default console size used to be determined by architecture, > but now this is a Kconfig setting on everything except ARM. Tracing this > back in the historic git trees, this was used to match the size of VGA > console or VGA framebuffer on early machines, but nowadays that code is > no longer used, except probably on the old footbridge/netwinder since > that is the only one that supports vgacon. > > On machines with a framebuffer, booting with DT so far results in always > using the hardcoded 80x30 size in dummycon, while on ATAGS the setting > can come from a bootloader specific override. Both seem to be worse > choices than the Kconfig setting, since the actual text size for fbcon > also depends on the selected font. > > Make this work the same way as everywhere else and use the normal > Kconfig setting, except for the footbridge with vgacon, which keeps > using the traditional code. If vgacon is disabled, footbridge can > also ignore the setting. This means the screen_info only has to be > provided when either vgacon or EFI are enabled now. > > To limit the amount of surprises on Arm, change the Kconfig default > to the previously used 80x30 setting instead of the usual 80x25. > > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel