Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp772899lqh; Sun, 5 May 2024 01:04:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU8HwMI/Gf3shPmN6vjqF09KhP7isszRTWWZ7cFp9PRef8vHnYJhzY/QhbHDkvL2cWkR5PgU5xi9J+lFtuV8NjQ3mYcKx36VXIBKmW+Ww== X-Google-Smtp-Source: AGHT+IEA9MBoOGmrBAQVD2Qi2b5KcHvw2bD/TXn1AxUvlCm6Jz9G7aQ4vYs09kgWlwg1dzzqt3VG X-Received: by 2002:a50:d6d9:0:b0:572:719f:b430 with SMTP id l25-20020a50d6d9000000b00572719fb430mr5082288edj.32.1714896263146; Sun, 05 May 2024 01:04:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714896263; cv=pass; d=google.com; s=arc-20160816; b=zb5N9dIsYVLmTuqFCIwnyVVealKKJQS/BBcYpabG3SduNOUco86vhp4hd3GvPxJ+D5 rb3AaAbeyVqFEO1quQvseCbvLRjO/GyOqw7CQpyrRx7Y0/4l6tCzKAT9XcXpgNG+QIKQ 0p1Jo3Ss2vApUNnNNUf3ikkquL7Pmyyb9Lr3MCWW5hOjoGdgZLpECh2Dur3d+yM6ENz/ O5nY4MqLrmJIgfAu2rPLMTs7h+jLupopQFAj6vM+zpdS3ihPip1SLyU8zPuIboSieVAV jE3sndpu3XU7UL00lPBZD+CoZmVJVC9ZXoY8ytvF695YRoluIPJ9rQ6P9qNg1pUESPm5 +m0w== 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=b95b/QlxWUuWxAnCRBIf40ujUjqNzj8rC10ackjOgcI=; fh=z1q7yliKfUREk9Tu0lWZio0vNTCnhc4KI/oNaulcpxg=; b=pxrnmsx77U6V9+Hij8Q3+/BXUF9K7PwK3k/38vSQK9Q7TXdWaHk3bsmchNwO1vMbXz gAZr5EK8Xq99rPkJwwPRdTOyeIVC8zKhDSRsAowGKadkf5bTpKzI51QoXcdKqnk4CSwt 83FksiVb/phsr7sng+ypje9nOfx/Xt7fVV+0Tsu0MXqpTGvrRRbakdbsWu5iSHUpf2gL JZZVQqT6u+R3ct2wSD+t2meTiHxkqEPiGOZpeJK2lB+gT8tH1YztFVKAAedrzNgc6VPy LPw4Kr4MEr2zU2eRcKsuJmfbxxiD+//09CSPCF17YVbjtNosSTVn5GACeexkL+iSxtnh DdNw==; 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=ACxoLOHO; 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-168913-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168913-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=smile.fr Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c18-20020aa7c752000000b00572b62fc1cfsi3456984eds.334.2024.05.05.01.04.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 01:04:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168913-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@smile-fr.20230601.gappssmtp.com header.s=20230601 header.b=ACxoLOHO; 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-168913-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168913-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9BDDB1F216D1 for ; Sun, 5 May 2024 08:04:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77E5B6FB6; Sun, 5 May 2024 08:04:15 +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="ACxoLOHO" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 A67EFB665 for ; Sun, 5 May 2024 08:04:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714896254; cv=none; b=KXOPcyv9UjiaiIZkVhIf3oDY13nQIiAPTpmkeGEedV3likYt9UNpBJGOKFYdR/hdtjNPH9Kt6SJxHa+A+G5hp+KUjCSQyj2J9/BYXUHUajSclyuhhEbxJDeJM9jTvApDzm1e4urmDs+pBV5GogQlxAQobOtg2wIXg+RSc+sxjD8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714896254; c=relaxed/simple; bh=jPpeliNLD3xfpbdvB61oUItob4pmHCdmDr2vaAlfDtQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=P3q/qkRytf1yuRV3qf5Jfnmj2CO6ghBDpf02GXx5FxneaiQGstrF5PM101mutMlPNANSj10UCAoY8DZiLME5ur78tN95on3aM8UQ9XSvSt2nKuWxGhQapOkQHP4QD79P4s7AdCYOeukSzT2v+xbcSbwvxznE2xbzCrnAEJCvd0o= 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=ACxoLOHO; arc=none smtp.client-ip=209.85.128.49 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-f49.google.com with SMTP id 5b1f17b1804b1-41c7ac6f635so6691555e9.3 for ; Sun, 05 May 2024 01:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20230601.gappssmtp.com; s=20230601; t=1714896249; x=1715501049; 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=b95b/QlxWUuWxAnCRBIf40ujUjqNzj8rC10ackjOgcI=; b=ACxoLOHOK+1vOI4OFaTcUzykT7jDgg2oZKvu4lgWXZ14MCfsZ4IIsGn8nStjEQHggy swv1CfsBUgGuUZoG4a9xpCmh+nSH64bjbkPNlz383284C+D5eV3re3CNITrpndoAZif5 xpV+pZsgg0CFa6Y2fS69QIwoqlWSHMODzroxA0pVuGwpjEZkqGAqYObep1tLxaE2lkyj KFpXncsrPyYGs7I0q/K0fPzCP3z0/zZCQ7PNG7o695upf8OLFHMEYIqtmu3NREqWuviU EXizX2JTfqmFdn4GxLXUTnA4Zdp53r/5qSXN8R2c/mnFBi5GDzbun6p7fg0e4CyjXmHU WPoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714896249; x=1715501049; 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=b95b/QlxWUuWxAnCRBIf40ujUjqNzj8rC10ackjOgcI=; b=Lgsy/QNXZqbffFjJO6SjLGENiCF7B4NRtlcppdHQLbKmvDRR0UQ/cixBHlKqxaFFl5 +CPT8AtUDvQF9g4nL91t5AUnOsP9kJ8pBsY4zEvZHlVgqZ4taSEpsfLwRUVibxGQNfuI +yMUE9KTNTjaLxfCgeCPXfoCiDmpFnmvd9sOoPBghBTCFSm9cafGc841H7SKdtaj9TNT yVHVRIpARC5ZZYAE6SVkPIPyZy08qWZtJ4xIv7HVM4GYCfD5pPUx18ZoXzX9sQvz2Xxj SLW3W1gqroRTV2hgbth0DVsURJVT8fSG+tdfiDHMyQ5FdsiDeKtDYwuoJjaHJq8cHjzd XwzQ== X-Forwarded-Encrypted: i=1; AJvYcCU205HJbwuxTuW/xbUtofx+AFXQvpIAWAnBDbG39FbQ7Sn1UblxACC03cIYPq9b5VZ4YOzQXhf8kUweKe8Gd/8sA7KxfRGydVicCqEX X-Gm-Message-State: AOJu0Yx/D6CQo1UNnPjtteDGbMlj1yaRuVXhyCdr5C2TIxDHiuX1DBBr OTw5uI+4WgzGiVD4nziJxMwtuQPZaqLoRpQUfEkNjS/UXOrF7zn6YJwl+bt+W0Y= X-Received: by 2002:a05:600c:1386:b0:41b:13d5:7da9 with SMTP id u6-20020a05600c138600b0041b13d57da9mr6611972wmf.38.1714896248940; Sun, 05 May 2024 01:04:08 -0700 (PDT) Received: from P-ASN-ECS-830T8C3.local ([89.159.1.53]) by smtp.gmail.com with ESMTPSA id s3-20020adfe003000000b0034e8a10039esm4705295wrh.10.2024.05.05.01.04.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 01:04:08 -0700 (PDT) From: 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=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 RESEND v6 0/3] printk: CONFIG_BASE_SMALL fix for LOG_CPU_MAX_BUF_SHIFT and removal of CONFIG_BASE_FULL Date: Sun, 5 May 2024 10:03:40 +0200 Message-Id: <20240505080343.1471198-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 From: Yoann Congal 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