From patchwork Sun Mar 3 21:46:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 13579892 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 894F57A131 for ; Sun, 3 Mar 2024 21:47:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709502438; cv=none; b=JX5nUoOnUN3+AeENEeOCY+hIMwmB0mPfk64VwQHK+58c2bMQQGRJkGJHrlzdKK2N0/448EEC2pDZIcyK4Ux6HnJtKYegQwm+3Iuh8Fbn7IbUjalPfLCpTj9ZSDESTDa9ouuKJRmfPv1sTx2TylzIg72BxMZsvItyF/gfTP43YUQ= 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.221.50 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 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: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-33d0a7f2424so2080450f8f.0 for ; Sun, 03 Mar 2024 13:47:15 -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=OdW1JPqLzC3jtbYhWZioWTma0ZUNcYGnNe28d/i9gwNvnMouvwYlxUvaBtXflyhTkq ntStwTwF9dObFhpGAEnsQ5A6dB55Z0scCN5RWoSTVYcZUV6XqnEgFd69QHKqebO6W3R4 qSCa0kULzuabMmGnsZv8PRoBTDbrklwkQJsbIV2f/t0O51qAJ8IdzSx0Op4IDquuxZQ4 mfDOKmkuM3aNusRyWMeRrtckSViyXiMlRgx+7N5+KhbQlWEnF148EpUiThius0wkhZkc JGbCRgeG3+p6nrjuYVgKuxe+JlWTv6u1n7Dsu1OIhbK7pPVGarkmbLk7+ho1Z8BbFBNV 0hSQ== X-Gm-Message-State: AOJu0YxhnK6U/ngRLPQhuyyDUjsHyZ4diUslBAhj8scM9Qyvmkuc/PTd TvEpTH6TnCdcsl5ozz6CRkK8kR3/I8l1wSwTLYBp01TGvO/bUcGGWHjtUVXjCjR6y/igCa6ZgyT HUDQvVA== X-Google-Smtp-Source: AGHT+IGUfHEARkx1ftc09/xO5JPo91HRKykclfyNNSFBQYi2XxPNL6RWCKBfHX/gbXeqv7rd+5WgMQ== 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_Almeida?= , 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-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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(-)