Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1510813lqg; Sun, 3 Mar 2024 13:47:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXetfbIksVrgGso7JlBWYMVgB8TmGOESmfIW0KguZbK4UdBFAGjlGPRGZDYbyZezmXnHf9w5lqf5UUR8ZiGzeIVXH2bjEtOc1kGO5RiJg== X-Google-Smtp-Source: AGHT+IHWBZShX7dT4AEGK8lBmWGqZ3fHH0JZwJHv3pLYvyEnBVzduaZLTpg9uz/ONSx/6tMdKJ4c X-Received: by 2002:a0c:ea8b:0:b0:68f:ef85:47a4 with SMTP id d11-20020a0cea8b000000b0068fef8547a4mr8842285qvp.30.1709502459326; Sun, 03 Mar 2024 13:47:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709502459; cv=pass; d=google.com; s=arc-20160816; b=mQw2nNglJzrK5M+sC/YS9QWDqZ/d3EYDgf1YeWbRE7YJX/5EfCu/5L2jFgku1bmgfq lHMjXqwS+X4JPZkCzv0kriqNz84FlgB6c6M0IzSQN79Vh0NB+jxBech/etDno0+W/3Ds qkaGVF0IbN4lFnGiFzUD3iiYXY388Tap6SjJytagRkQFCqJIoNW23jOcU0GpYPqgWi7X M2+2q/c2uvk01wgKLTcmKUgsS5vBIxUS6o2UmoXNygl+wdNCkDRXOlkv7u//Kb14qHnx UXuIaA+Zqq3R/y8Bxm0qg4qSU5id/OnQemEVM/XPINquc4pvkiy48K5yWTD3GVygh2Oo bKNQ== 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=gR6sw1mBWnS5G/iUpQbH2lTvcz7UdL95uEPfEUB2jRE=; fh=flDRIGl2zGc/83wCJJoFemopohkplSGx9jEi2atYh0I=; b=bcnX0UB4YABepeBPZNGgXuRpZ05/Ffk6R+ihoqjoIhxBd+xeaAYBpDVffyOM63ae5X VaZAOwN3aPQP4Ap8OM4Y3MgAzDjCP0iNx0UmCdsdaX9Qjj+OqeI6skzDjK3zwXMmPnuk npFrhiAPomtvG9MFZ4+X+mQf9sLAUYgk8YTdw8QupPqyjSgsfAQrhqfeg684J9Lqp8fU LlatbxNj7rcW/4yn/WecnPe1sMhXLGwJayHN3fsI/ldQLRtmEKP4YCJr6u0EZkGmqekt UcMAqvC84ugv6h5mQ1Oh60Z+1qOJe/iw5BFPb68lXeGdEVeLQjGRmg2ENLcoos1bmDnF YozQ==; 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=YyuwLqPh; 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-89914-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89914-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=smile.fr Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o2-20020ad45c82000000b0069048320d5fsi8246615qvh.521.2024.03.03.13.47.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 13:47:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89914-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@smile-fr.20230601.gappssmtp.com header.s=20230601 header.b=YyuwLqPh; 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-89914-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89914-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 077BB1C20890 for ; Sun, 3 Mar 2024 21:47:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E33C17AE6B; Sun, 3 Mar 2024 21:47:19 +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="YyuwLqPh" Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 D54CA1CA8F for ; Sun, 3 Mar 2024 21:47:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709502438; cv=none; b=eYTH1KCGloghZFtV7lLFj4f5bU+KBtkVMeteu534mpsEJNraWaeJthYkcRQ2mH67TA/d6gDhuJQgnGGq8ETXKhu5UDKkgshDvH/pL7iFNwysSFABNi3F/mndBWd1flBEXDfx3fNIG6jIqQ6Wj/u2gW0t0lVKC9yiM3pT7YLY+ws= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709502438; c=relaxed/simple; bh=nekaU3eK/FZpv457H42O1nGUVtXm36XIVuZI/e8+Ne0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=TH+uqARCYVDUXnRCbB+VI/ySPpkPa92WDnthQFIjfbSE1MXjWeLnX0deSClaFoyfAJWtMGxo2YyEV1/5mUZzf92OMgrnTjkh1rTFLFb1DaXd6bCenJA40rzwu8ti3oUzTtZE5ZdH/sPx+VQFhhTN2LWwz4SoSAjwu+6D0jICbUU= 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=YyuwLqPh; arc=none smtp.client-ip=209.85.128.46 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-f46.google.com with SMTP id 5b1f17b1804b1-412dd4f2049so5355345e9.3 for ; Sun, 03 Mar 2024 13:47:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20230601.gappssmtp.com; s=20230601; t=1709502433; x=1710107233; 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=gR6sw1mBWnS5G/iUpQbH2lTvcz7UdL95uEPfEUB2jRE=; b=YyuwLqPh8dQ708njbZKqup3ms65NjBRR4baDfjPKCFPEuXqezB610T9buPP/8fNQrb 6oVoWdslYGevQNuxilS9ES9rjFDLwNSzKbAvzxVUzkii5bGLRcZQxO/siNhZ0uVojmzb XkKWOuZZF7/WvGGREaBRz2ORMhUPY6XL3/ZWNHQJFivXUj/4Ir5WWVgN6p3momFAIepR etdEy+wzBwhkJHzuiDs8snXFtoADcuUrz9v3HfKiseMmDTD6TzMunXcGz28LuDlVj3ud hfrv9bUq3jfErd39uEfGeGs9ADXx5MX2dUGZJ75+a4GrjgjVTIq5UiwfGnzsknftAqXo Exgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709502433; x=1710107233; 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=gR6sw1mBWnS5G/iUpQbH2lTvcz7UdL95uEPfEUB2jRE=; b=aiJKLxnWS4nkXrD2oQ3f7UD/61ovCAdro5ZTEp1QE4eliZKhh8uM82XE2CbK71tLXW oTXQyBuZCOHnl5kE4NHw5jTo5VKaMQdmaQ75rI6NbpDED8FhuiaFaVB3Mzt1ZRYaEHeB kebKxvNuavnoc++V2o1dbh4Mn3mDKQMN3JLVs4Lqj0YkCsBiv9GI46JUJV8ZZYv6K4f/ TonT4dlnA2khguHfTLJf3v2soJN79ZgvNLIzd9tM/aw+I3CDmv9Vge7qCSoFXy/M5eNv iebuPTZW1MJBd8wOzfPX7NtdeT1J2f9CJCOPH2hjVvNN/AsotHObTxpJed0Y47HJoyrj rS4w== X-Forwarded-Encrypted: i=1; AJvYcCW9FVp42Zu/zLQ4vxcMh2UANXwCdiPcYDp1ZK1RvM/bRZij6XbWNYB0BKz6YfWq5vLYRnNd2bgO2p5GZKY0CQVytgRY5cZkgETfcm0T X-Gm-Message-State: AOJu0YyFEztVKY/Nk6d/zj7itkytz2wfkXj92KRHP8zWDM01aoVBwAyP STlBGCX+IlpUH/LBovTq6FQbGANgrN8IVAu5o8rsfPP5YA+027TIl8KxYeMcgPM= X-Received: by 2002:a05:6000:25a:b0:33d:3abb:6db4 with SMTP id m26-20020a056000025a00b0033d3abb6db4mr4467907wrz.69.1709502433222; Sun, 03 Mar 2024 13:47:13 -0800 (PST) Received: from P-ASN-ECS-830T8C3.numericable.fr ([89.159.1.53]) by smtp.gmail.com with ESMTPSA id bu16-20020a056000079000b0033dc3f3d689sm10525236wrb.93.2024.03.03.13.47.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 13:47:12 -0800 (PST) From: Yoann Congal 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=20Almeida?= , Borislav Petkov , Darren Hart , Dave Hansen , Davidlohr Bueso , Geert Uytterhoeven , Greg Kroah-Hartman , "H . Peter Anvin" , Ingo Molnar , Jiri Slaby , John Ogness , Josh Triplett , Masahiro Yamada , Matthew Wilcox , Peter Zijlstra , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , Willem de Bruijn , Yoann Congal Subject: [PATCH v6 0/3] printk: CONFIG_BASE_SMALL fix for LOG_CPU_MAX_BUF_SHIFT and removal of CONFIG_BASE_FULL Date: Sun, 3 Mar 2024 22:46:49 +0100 Message-Id: <20240303214652.727140-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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: v5->v6: * Gathered the "Reviewed-by" tags from v4 into the commit messages (no other change) v5 series: https://lore.kernel.org/lkml/20240207171020.41036-1-yoann.congal@smile.fr/ 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 * Reviewed-by: Masahiro Yamada * Patch v4 2/3: * Reviewed-by: Petr Mladek * Reviewed-by: Greg Kroah-Hartman * Reviewed-by: Masahiro Yamada 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 * Reviewed-by: John Ogness * Reviewed-by: Petr Mladek * Patch v3 2/2: * Reviewed-by: Masahiro Yamada 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 * Reviewed-by: John Ogness 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(-) -- 2.39.2