[v5,0/3] printk: CONFIG_BASE_SMALL fix for LOG_CPU_MAX_BUF_SHIFT and removal of CONFIG_BASE_FULL
Message ID | 20240207171020.41036-1-yoann.congal@smile.fr |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-56805-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2376428dyb; Wed, 7 Feb 2024 09:12:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWIz3kNL3hQDli6ovqcTXv2DbQHF16rBiOPxGtVkxyBzDdi9peI/htAOmvW5uUTz0zzeoOOHSc57dE3aqFw+YNmI7WF8g== X-Google-Smtp-Source: AGHT+IG0WTQJtmcTrfus4GDk3ZTJqb6LgoX3zsNsYWU7Taw4SzIuMFpIJI5l7QHmkR28TxmEPcYM X-Received: by 2002:a05:6402:282:b0:55f:5187:b18d with SMTP id l2-20020a056402028200b0055f5187b18dmr4018026edv.20.1707325944610; Wed, 07 Feb 2024 09:12:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707325944; cv=pass; d=google.com; s=arc-20160816; b=YHeTtXQL6XcFuMw6evxu6+30LmTaT9VPOJxjhhoUMlMfgYjG4eP+yzdgdTjA7PuoDy V8SeAjqtnH92Nr24tVbILk52IzUODiQoKVAt6dmYj78G9XaN11N5HlF9V+v1+YquIfUe KtIhcy28jW8Q5kCxcwKcGGr4f8rAjXBfD0uIDdTYCiTuiaC1HeAS8/+1a3RKnI6MzJ47 cYV/aKo0BtzE9e+GMVOTM95vQz1FiHVSQ7bh29QM/NgYZM7hMvr75BIRtR9zcmZUXSio yi0alaxhCIDO2NDUx8EbEKulcHZbbxYrkNNMeWAPpEKfCFNlbOMpfVMdJ6FDT06WksNV wpQw== 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=jn7k1jazp2MccOFMY/hBnR29Hjiyxg1FLp6nPl1S1t8=; fh=qj29h9doyjEfA4VHod0EL5QnYpiqftc45H4pHp20+4s=; b=JwZTExMPg4eyd6Tn4WCheS6zU9QETjBcOXQT7iVttXZ2Q74mZUkc1Oa/u1Q2oC8/hx VrrG3FKYP62DOpXj+mq8LPGc3iSGMPw/w9RJNto257QYE+Rs1FYoXvzL+2xJ4hJn46iy xobdOfaxNGadcVjDNSlw8bK4RvnEl3+9oLR/w+ZIduo3MzV1c8V+m3swFp0DEu23ZcPr +WxuKVERY4r+mBgxyU+gUAySKz60PAtQXk4xGc148MpTzbJWhxLfb5l3CHO0SXnADg25 jPOv1zGh68NX/FxupcayYKYotrICC3tBorYS51A8AAoEuUtrkvfAB5r0B/Q7BrwTk5tc 9Etg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@smile-fr.20230601.gappssmtp.com header.s=20230601 header.b=VazHCZVU; arc=pass (i=1 spf=pass spfdomain=smile.fr dkim=pass dkdomain=smile-fr.20230601.gappssmtp.com dmarc=pass fromdomain=smile.fr); spf=pass (google.com: domain of linux-kernel+bounces-56805-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56805-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=smile.fr X-Forwarded-Encrypted: i=2; AJvYcCUQ9e9MEqvwxZRH7gA8gvmfmbeHUSrVxbywgoN/5zdt8L1iVllQsKJUAy6stl257dt/cGexulWXBjVY7sAnXBo8FqTFGQ== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dd13-20020a056402312d00b0055f8543ff00si1059629edb.126.2024.02.07.09.12.24 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 09:12:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56805-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@smile-fr.20230601.gappssmtp.com header.s=20230601 header.b=VazHCZVU; arc=pass (i=1 spf=pass spfdomain=smile.fr dkim=pass dkdomain=smile-fr.20230601.gappssmtp.com dmarc=pass fromdomain=smile.fr); spf=pass (google.com: domain of linux-kernel+bounces-56805-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56805-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=smile.fr 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2A33F1F2306B for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 17:12:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9523684A23; Wed, 7 Feb 2024 17:10:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=smile-fr.20230601.gappssmtp.com header.i=@smile-fr.20230601.gappssmtp.com header.b="VazHCZVU" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C27282875 for <linux-kernel@vger.kernel.org>; Wed, 7 Feb 2024 17:10:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707325850; cv=none; b=SDAEeNGYh+1NPqwNL17rbRIZY8zQHyvdf95QCpyqSHA/ryTgXDb80UHRzf0PsSGSZ4a/DYXBIUAz2xlyH/QX3U9WhgA1wPQqIl0fNDTyx3qK0td5yTP8GuIolRxoB+Wqh3/TyvQdO0PA1J+Oxpz+MUcsUtTMSVAtb3F0oxZhdQ0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707325850; c=relaxed/simple; bh=bwc8Yls6eRt/O4jDgK96IDVTeO7vvV4hN9vR3g446yU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=YFRxXzEsAkWsRigD0QieK5j8ZL9diApA00zLFx9ER4uEMq5bV+tXukHjJ3t1P8UsV1r2ITD879iyk14E+/T2uGFKPN3T4gULQEmRypRHDMc2r0hk3Vnf/cLR0xxEobw/Lol/K6IveZtv+aQyjacbNsP11sRJH+NU5mkHJMN7Fg8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=smile.fr; spf=pass smtp.mailfrom=smile.fr; dkim=pass (2048-bit key) header.d=smile-fr.20230601.gappssmtp.com header.i=@smile-fr.20230601.gappssmtp.com header.b=VazHCZVU; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=smile.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=smile.fr Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4101eb5a115so4666195e9.1 for <linux-kernel@vger.kernel.org>; Wed, 07 Feb 2024 09:10:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20230601.gappssmtp.com; s=20230601; t=1707325846; x=1707930646; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jn7k1jazp2MccOFMY/hBnR29Hjiyxg1FLp6nPl1S1t8=; b=VazHCZVUpgk3fkWazz9cuVO0dwvkT0e6Z2NBs2ERlZrJcz9ewyjMBBS9tT7sbaQ+gR f+Keo364cXxfylsSozFCKseVHZ8GfmGROU2Ymlrk8SgHoO1TATMyeRvFPHkQ7ArGooKE OjfKv6qYkSnJTEKDD9MjyWDPMdLcOAEbNQpop0P60Dsfy3cwtp72cJtaZHDWUOv617Gq AwxasDHfrBiSMoCo1phjq0h3Tn823k2u76Ab7j6FxgzboMcpb2snuEssCMA00rXjBxJa 8BrW0UJJV0ZpbkTPAGqCpA/9UFr8RwJhL/RwdHkirMwiDAMcuyDEt5F+D5ffOWNb8agK vsRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707325846; x=1707930646; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jn7k1jazp2MccOFMY/hBnR29Hjiyxg1FLp6nPl1S1t8=; b=AsE3Kf9CC5zX2PqSWALvjKjFM+Awr1gnHVoI84qS93OCl+RLifwArXsglYHcbPO7oB +nFVok6KmDStQWqbru+dte4uAt53BkWTiAiSVQKvpbLhxDounT/iPbZIaNChaQWzOB8u aagCrZN2h4tNSd/cZduuBx3iWV8CxTxMRtBW24FkF2J4QPZIIqF/1u7UAjl2GcTnb8JI o+RD/Njbh3FsDZ/TT4HXwRMT7OqkIvRFgykbGK7URTUQR9bZLEPPOkL6Q12qBfZprg1Y X3Zi9EDIMHsyV6CZudVQlwPZy4LGns5mhiYYJCUp874k+GcQNOlr0bluoEaElHu94FZ1 cgyg== X-Forwarded-Encrypted: i=1; AJvYcCVWO3P+NnhpCaTYle0WunkD68xkalti2wKw2vBWJMPb0gw3vk67iNe+t+DbG7VeQ9epWKXI6t9nwUh/dURfo6nNBQZdxkHspy1vFEGH X-Gm-Message-State: AOJu0YzV/pZkFMXGrhz2RnCKxut5I3uZRJqHTbGf7unrQG+dvWo4+wl9 R3gyxW4DJJshfLTk03sQuTa/I+bb8C56wW/wock3AoqGa7xYW3qJSP/cR1OqfLg= X-Received: by 2002:a05:600c:1c0d:b0:40f:fe1a:6ba2 with SMTP id j13-20020a05600c1c0d00b0040ffe1a6ba2mr2812279wms.3.1707325846253; Wed, 07 Feb 2024 09:10:46 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWv0RNvIYsD1i6Osvtq8xDwio8Hvh0N1+H+/FPvd99ndM3oEy+6MWQTVOCT3kVHyD+DM26DoHw67to4ekLY3KUYuQuVnf3AttdSIknS8qS5ngCXzbG8A3VZDb5c2XjZKGW2BuvLWxWBRoZnY/Jdej9UiYzpiVK0/XEs3dIlAme2VhyuHBzK9aRnXJqrlHNFNLbdWiIA5olg5XYHgbMiJS+7n21euKedktCzORR3SDhI5jRc9009kzqyTBDEc6NOD+LGqg3E1seyzR5QDjnQWoYkFoD/GdiOvlvcrLBZNs5bAwOh1H/Xd4c634ZDpVK+dcfSfvvUBHwJbuwz9mXWj2EEOjJAZBloA+bTmzepDlD05waD8Tj7ViWo3b/KY+orOsoFCi6VeFj/WyaHgV93lylYljMhnIEKgOLnp1oOOG6uIhE5o18izY8eKZfLKgelpBrzdXTqEbOWZlNZ1LMz5FNHP+K2GbJBUBmkILGU4t6KEElipUEyQLZXridqF9lfn4knXJzAaiMZI+OnHMe0f9B/2iKTzvfC+XMJtgqLK2XjWRDkqDRh85vdS+9i9HPvCo4mgH17TkSkGBuxYUEfJdi+oXTb02cwe0JjsjKv5y2dz/cXakkRYQzm7edOhIgaDfogKDOpfMWgfKWsbqE/yMhod5w/FSTjUiNgoeCdTeVSwOFN0XfTD45QlgjE3noH9vm22t4HsqqZTRraRRqqaJ7kkyZm+qptCtx7wIsS1NddF/B8W6oU2w6bAgn2b6TcsTXA88WzFnbAk8NvR0gsJ+DuuCetTO4= Received: from P-ASN-ECS-830T8C3.idf.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id u14-20020a05600c19ce00b0040fdf2832desm2645584wmq.12.2024.02.07.09.10.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 09:10:45 -0800 (PST) From: Yoann Congal <yoann.congal@smile.fr> To: linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, x86@kernel.org Cc: =?utf-8?q?Andr=C3=A9_Almeida?= <andrealmeid@igalia.com>, Borislav Petkov <bp@alien8.de>, Darren Hart <dvhart@infradead.org>, Dave Hansen <dave.hansen@linux.intel.com>, Davidlohr Bueso <dave@stgolabs.net>, Geert Uytterhoeven <geert@linux-m68k.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "H . Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@redhat.com>, Jiri Slaby <jirislaby@kernel.org>, John Ogness <john.ogness@linutronix.de>, Josh Triplett <josh@joshtriplett.org>, Masahiro Yamada <masahiroy@kernel.org>, Matthew Wilcox <willy@infradead.org>, Peter Zijlstra <peterz@infradead.org>, Petr Mladek <pmladek@suse.com>, Sergey Senozhatsky <senozhatsky@chromium.org>, Steven Rostedt <rostedt@goodmis.org>, Thomas Gleixner <tglx@linutronix.de>, Willem de Bruijn <willemdebruijn.kernel@gmail.com>, Yoann Congal <yoann.congal@smile.fr> Subject: [PATCH v5 0/3] printk: CONFIG_BASE_SMALL fix for LOG_CPU_MAX_BUF_SHIFT and removal of CONFIG_BASE_FULL Date: Wed, 7 Feb 2024 18:10:17 +0100 Message-Id: <20240207171020.41036-1-yoann.congal@smile.fr> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790261009663702627 X-GMAIL-MSGID: 1790261009663702627 |
Series |
printk: CONFIG_BASE_SMALL fix for LOG_CPU_MAX_BUF_SHIFT and removal of CONFIG_BASE_FULL
|
|
Message
Yoann Congal
Feb. 7, 2024, 5:10 p.m. UTC
This series focuses on CONFIG_BASE_SMALL. The first patch fixes LOG_CPU_MAX_BUF_SHIFT when CONFIG_BASE_SMALL is used. The second patch globally changes the type of CONFIG_BASE_SMALL and adapts usages. The third patch removes the now redundant BASE_FULL, puts BASE_SMALL in its place in the config menus and updates usages in defconfigs. Thanks everyone for your reviews! :) Patch history: v4->v5: * Applied Petr Mladek's suggestion (Thanks!): * Added defconfig update to patch 3/3 * Applied Masahiro Yamada's comments (Thanks!): * Shorter form in patch 2/3 * Dropped the redundant "default n" in patch 3/3 v4 series: https://lore.kernel.org/all/20240206001333.1710070-1-yoann.congal@smile.fr/ * Patch v4 1/3: (unchanged in v5) * Reviewed-by: Petr Mladek <pmladek@suse.com> * Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> * Patch v4 2/3: * Reviewed-by: Petr Mladek <pmladek@suse.com> * Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> * Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> v3->v4: Applied Petr Mladek's suggestion (Thanks!): * Keep BASE_SMALL instead of BASE_FULL * A patch changing the type of BASE_SMALL was added. v3 series was named "printk: CONFIG_BASE_SMALL fix for LOG_CPU_MAX_BUF_SHIFT and removal" https://lore.kernel.org/all/20240204232945.1576403-1-yoann.congal@smile.fr/ * Patch v3 1/2: * Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> * Reviewed-by: John Ogness <john.ogness@linutronix.de> * Reviewed-by: Petr Mladek <pmladek@suse.com> * Patch v3 2/2: * Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> v2 -> v3: Applied Luis Chamberlain's comments (Thanks!): * Split the single commit in two : one functional fix, one global removal. v2 patch was named "printk: Remove redundant CONFIG_BASE_SMALL" https://lore.kernel.org/all/20240127220026.1722399-1-yoann.congal@smile.fr/ * Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> * Reviewed-by: John Ogness <john.ogness@linutronix.de> v1 -> v2: Applied Masahiro Yamada's comments (Thanks!): * Changed from "Change CONFIG_BASE_SMALL to type bool" to "Remove it and switch usage to !CONFIG_BASE_FULL" * Fixed "Fixes:" tag and reference to the mailing list thread. * Added a note about CONFIG_LOG_CPU_MAX_BUF_SHIFT changing. v1 patch was named "treewide: Change CONFIG_BASE_SMALL to bool type" https://lore.kernel.org/all/20240126163032.1613731-1-yoann.congal@smile.fr/ Yoann Congal (3): printk: Fix LOG_CPU_MAX_BUF_SHIFT when BASE_SMALL is enabled printk: Change type of CONFIG_BASE_SMALL to bool printk: Remove redundant CONFIG_BASE_FULL arch/arm/configs/collie_defconfig | 2 +- arch/arm/configs/keystone_defconfig | 2 +- arch/arm/configs/lpc18xx_defconfig | 2 +- arch/arm/configs/moxart_defconfig | 2 +- arch/arm/configs/mps2_defconfig | 2 +- arch/arm/configs/omap1_defconfig | 2 +- arch/arm/configs/stm32_defconfig | 2 +- arch/microblaze/configs/mmu_defconfig | 2 +- arch/mips/configs/rs90_defconfig | 2 +- arch/powerpc/configs/adder875_defconfig | 2 +- arch/powerpc/configs/ep88xc_defconfig | 2 +- arch/powerpc/configs/mpc866_ads_defconfig | 2 +- arch/powerpc/configs/mpc885_ads_defconfig | 2 +- arch/powerpc/configs/tqm8xx_defconfig | 2 +- arch/riscv/configs/nommu_k210_defconfig | 2 +- arch/riscv/configs/nommu_k210_sdcard_defconfig | 2 +- arch/riscv/configs/nommu_virt_defconfig | 2 +- arch/sh/configs/edosk7705_defconfig | 2 +- arch/sh/configs/se7619_defconfig | 2 +- arch/sh/configs/se7712_defconfig | 2 +- arch/sh/configs/se7721_defconfig | 2 +- arch/sh/configs/shmin_defconfig | 2 +- arch/x86/include/asm/mpspec.h | 6 +++--- drivers/tty/vt/vc_screen.c | 2 +- include/linux/threads.h | 4 ++-- include/linux/udp.h | 2 +- include/linux/xarray.h | 2 +- init/Kconfig | 14 ++++---------- kernel/futex/core.c | 2 +- kernel/user.c | 2 +- .../testing/selftests/wireguard/qemu/kernel.config | 1 - 31 files changed, 36 insertions(+), 43 deletions(-)