Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp56131lqc; Thu, 7 Mar 2024 10:08:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXEiAClkKvdcmNPvYbqGs2vp+LLZRftOgUf2eZuvw8zVmaoO+C02uotRETWI5aARzqbF5z50TYlVrBynmr3G0BY2nkVLR7tbWACYOTb7A== X-Google-Smtp-Source: AGHT+IGriULqPeJyiImWkiNdJN8cGn3xvbbWA+xzdO0ByZLvPQm9CtEZnQTU939CsuzxXJuGaPFj X-Received: by 2002:a17:902:da81:b0:1dd:5dd3:ef88 with SMTP id j1-20020a170902da8100b001dd5dd3ef88mr2433573plx.8.1709834898180; Thu, 07 Mar 2024 10:08:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709834898; cv=pass; d=google.com; s=arc-20160816; b=q6SidzYk5uQQfxNOFzP0SiEzsi2b8E5ENZmQhh2ZUMMgHj1qWTdqOVXkvhRaLnGK1d tq07Zg7YLDM5vCPRaZku00GQoCO/Czf9Zv4ZqY+edeEop9PyRVv4kiw53Y7nzB8AaYMJ 9g2QeWRX34QfxWcYh00qV1mTlxFxSCWc3oVMMU2fIu0u+YG4Slx3NlLDByV5HdEa53pJ C3exLfQxq87QVnReZA8X6dxXroQJPd0PiFnEmohkvfodY/Sm+0ATEqSHi3Rw7Z1f36vn YbBMieYY5wAD/VeIBsez6HHy+UDBMvKDTAqx+yAc2oBYptSRlnfj2wocv76wTBdCK+33 b+kQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=hf+Dkq4gendnDFhQL2nsuHPuMRlOr7oIlpwqpMC5s6o=; fh=f88B2BnFwZzBpaCmIuGnTU6IpQ0ZmuREsPoTBkI4uP8=; b=wUsHuc25kT4na7ELpI4GO+eVSELuuEIVNa/GDdKx1N54LXlI2ZnQ3f9yiBgR120jev VosjMFI1710TwRELGQDwkhOX8qGKiq/QcSQcEV/FxErAcsVG7TtEjNOefO09m/9dCHsU CM4hY9POuOTGE9pDQkr+Aejpf11/KTU0UQT8BX6FCi+xAcjAJgy5qSubC9FjM6qOmO7f MdqWfMsh6cNKIlPBBM4e/9LAMzZ+k7ZoKiWUvxWsmC/yGKcF3XBeRzzpSwzZ+VCgZcJg tn/u297e0sAc758T09t0yrqFL28dfD9KjJqnpJtHfKmlO5W1it/BjMVAZE1ThkVTR3ol Xovw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b="g5UATij/"; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-95995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95995-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j13-20020a170903024d00b001dca82b0316si14511714plh.0.2024.03.07.10.08.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 10:08:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b="g5UATij/"; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-95995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95995-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D552F284EA4 for ; Thu, 7 Mar 2024 18:08:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA8EF13175D; Thu, 7 Mar 2024 18:08:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b="g5UATij/" Received: from smtp-out3.simply.com (smtp-out3.simply.com [94.231.106.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE73612A15C; Thu, 7 Mar 2024 18:08:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.231.106.210 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709834891; cv=none; b=A2mAa7tzDPN5XETGXo2Lpe1AWOlQge9zzd3+dNd84VSzcTAgKSMOUrJfwyCxxqH+rbttiJVcxBJXJhXkzb9pPShb5XS2+ybVAuKTbrQuWFFOw77SdcoQxuZ1egAUEFSjQdFdxI0XpuEj3MpnK0NPe1h0Z5oGxX9mTIZPrrbl+VM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709834891; c=relaxed/simple; bh=d1LqTxtfR2Y90CoQGt9aHXtXMhcXtM4r5fGeKndr/Q4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=d5B/bihb+e8o/fNQIPc3ce1mcdg+QYqPhB7q5q0DpRIZSEexuxIdpZJNpCWuOiT4Z237sM8TRchk4LlTCAZHOyE6cshYti9vxRkf4M2BofEpd8WPHMs+BfCJSnrfXPrLXy/Jjcl3CVuvCJ9O4XPtrB8vrsk56yMqQdGfpxrmoF4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com; spf=pass smtp.mailfrom=gaisler.com; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b=g5UATij/; arc=none smtp.client-ip=94.231.106.210 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gaisler.com Received: from localhost (localhost [127.0.0.1]) by smtp.simply.com (Simply.com) with ESMTP id 4TrHMx4CLYz687C; Thu, 7 Mar 2024 19:07:57 +0100 (CET) Received: from andreas.got.gaisler.com (h-98-128-223-123.NA.cust.bahnhof.se [98.128.223.123]) by smtp.simply.com (Simply.com) with ESMTPA id 4TrHMp2C7yz686Q; Thu, 7 Mar 2024 19:07:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaisler.com; s=unoeuro; t=1709834877; bh=hf+Dkq4gendnDFhQL2nsuHPuMRlOr7oIlpwqpMC5s6o=; h=From:To:Cc:Subject:Date; b=g5UATij/BDx1CIuzLzDq2RrfiizCrNNT311KY+fBDxK7k1xUwCpSd1AT8ey0Tc8BG KuEnNe48tkual/NYHnIZe5JsPqoaJRXZICeoTOkN2VvwHLv6I34VJlYJlGHP0iQ/T9 3Bi58FJ4QPFPvGYcrAvVK2LqHsxkRNC1jQuWiNMk= From: Andreas Larsson To: sparclinux@vger.kernel.org, "David S. Miller" , "Dr. David Alan Gilbert" Cc: linux-kernel@vger.kernel.org, kernel test robot , Michael Ellerman , Sam Ravnborg , Randy Dunlap Subject: [PATCH] lib/fonts: Allow Sparc console 8x16 font for sparc64 early boot text console Date: Thu, 7 Mar 2024 19:07:42 +0100 Message-Id: <20240307180742.900068-1-andreas@gaisler.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Allow FONT_SUN8x16 when EARLYFB is enabled for sparc64, even when FRAMEBUFFER_CONSOLE is not to avoid the following warning for this case WARNING: unmet direct dependencies detected for FONT_SUN8x16 Depends on [n]: FONT_SUPPORT [=y] && (FRAMEBUFFER_CONSOLE [=n] && (FONTS [=n] || SPARC [=y]) || BOOTX_TEXT) Selected by [y]: - EARLYFB [=y] && SPARC64 [=y] by allowing it in the same manner as is done for powerpc in commit 0ebc7feae79a ("powerpc: Use shared font data"). Signed-off-by: Andreas Larsson Fixes: 0f1991949d9b ("sparc: Use shared font data") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202402241539.epQT43nI-lkp@intel.com/ Cc: "Dr. David Alan Gilbert" Cc: Michael Ellerman Cc: Sam Ravnborg Cc: Randy Dunlap Cc: "David S. Miller" --- The commit this fixes can be found on my for-next branch from https://git.kernel.org/pub/scm/linux/kernel/git/alarsson/linux-sparc.git/ --- lib/fonts/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/fonts/Kconfig b/lib/fonts/Kconfig index 7ee468ef21ec6..7e945fdcbf115 100644 --- a/lib/fonts/Kconfig +++ b/lib/fonts/Kconfig @@ -98,7 +98,8 @@ config FONT_10x18 config FONT_SUN8x16 bool "Sparc console 8x16 font" - depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || BOOTX_TEXT + depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || \ + BOOTX_TEXT || EARLYFB help This is the high resolution console font for Sun machines. Say Y. base-commit: 626db6ee8ee1edac206610db407114aa83b53fd3 -- 2.34.1