From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7CD25266B72 for ; Fri, 13 Feb 2026 23:35:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771025720; cv=none; b=YrGpBgNAi7EOuDZV8HgejXS2HRhBWW0biEtfE9iKr3v+fgeo8Ev+/4FpPeYBNB7pa1j3z6ED/z1zLN98mF8nOxfbqrx5R1VP83VmbLRK8jXIUKyaiEutH2/26bzoGYegEa6E7qhupjwtPCHQdIIG4M7fNq2wOdMsMfDMkQ6M8fs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771025720; c=relaxed/simple; bh=iJbVQrxz/WQPvtZlKJK571J8QZyUV1CmwtuDePjyIOY=; h=Date:From:To:Cc:Subject:Message-Id:Mime-Version:Content-Type; b=O+CAkUCEUf9vcNhKNJITfPi9AXEa2q+Ze4s5kLGUs/ZQG5UJOZ2cQuT4eKVBjxJSu9fTPz/56G/yhrfAAa4zPeOWULCf+1J9sAHnyv6/qyUrnhzoAfo0qJtaTO1POgRcUnM9WJY1roJ/HY+YOJu1VzbOWsA6O2a0SGUPSLpS7lU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jCnDAmis; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jCnDAmis" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB765C116C6; Fri, 13 Feb 2026 23:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771025720; bh=iJbVQrxz/WQPvtZlKJK571J8QZyUV1CmwtuDePjyIOY=; h=Date:From:To:Cc:Subject:From; b=jCnDAmisjviedAaAAxEyAYffZxBy7iDLO7dwrvaerfKOdhf2W/UbFPdxDOnfMXna1 yCTAu2nP+3vamkMx5Py8pl4RMEzwNAbnp8g0df8EaMEXcpkwCU38bzkN4iHuN6mVpS T9anGhnYA2pqalrJTrX+ffN/TiBsEs5BHPcT2nFdPgiq3GM+SKvgkOBUzw7eKz+LEg xNCbEqF51QwyETJXZhQNO+MjUpTvjS67aVesP/6GUyRzXAB8EDBNJUFg7yH7EYhbyD I1rSsHVl+/10NaydAQFnWuBlgdBibL1DWgaTKxQx0zDPTLC1Y0PFreKjomsjqqcxTb BGUGtZieL8k0A== Date: Sat, 14 Feb 2026 08:35:16 +0900 From: Masami Hiramatsu (Google) To: Linus Torvalds Cc: Masami Hiramatsu (Google) , Steven Rostedt , Masami Hiramatsu , linux-kernel@vger.kernel.org Subject: [GIT PULL] Bootconfig: Updates for v7.0 Message-Id: <20260214083516.ecc9101df784b8b2392104ef@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Linus, Bootconfig for v7.0 - Update the bootconfig parser to stop searching for a value when it encounters a newline character. Note that this changes the bootconfig formatting but this should not fall under the don't break user space rule as users of bootconfig is for booting the kernel and not about applications running in the kernel's user space. - Update the tests for bootconfig parser to ensure the good examples to be parsed correctly by comparing the expected results. Please pull the latest bootconfig-v7.0 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git bootconfig-v7.0 Tag SHA1: d5771ed4efe73ab88b7f89eadf106c2b4a8ae751 Head SHA1: 8c5d862fcb2116ebf5ce762a82db827a38a7d8ee Masami Hiramatsu (Google) (2): bootconfig: Terminate value search if it hits a newline bootconfig: Check the parsed output of the good examples ---- Documentation/admin-guide/bootconfig.rst | 24 ++++++++++++------- lib/bootconfig.c | 27 +++++++++++++++------- .../samples/bad-array-after-comment.bconf | 4 ++++ .../samples/bad-array-in-next-line.bconf | 4 ++++ .../samples/exp-good-array-space-comment.bconf | 1 + .../samples/exp-good-comment-after-value.bconf | 1 + .../bootconfig/samples/exp-good-mixed-append.bconf | 2 ++ tools/bootconfig/samples/exp-good-mixed-kv1.bconf | 2 ++ tools/bootconfig/samples/exp-good-mixed-kv2.bconf | 2 ++ tools/bootconfig/samples/exp-good-mixed-kv3.bconf | 5 ++++ .../samples/exp-good-mixed-override.bconf | 2 ++ tools/bootconfig/samples/exp-good-override.bconf | 4 ++++ tools/bootconfig/samples/exp-good-printables.bconf | 2 ++ tools/bootconfig/samples/exp-good-simple.bconf | 8 +++++++ tools/bootconfig/samples/exp-good-single.bconf | 3 +++ .../samples/exp-good-space-after-value.bconf | 1 + tools/bootconfig/samples/exp-good-tree.bconf | 8 +++++++ .../samples/good-array-space-comment.bconf | 3 +-- tools/bootconfig/test-bootconfig.sh | 3 +++ 19 files changed, 88 insertions(+), 18 deletions(-) create mode 100644 tools/bootconfig/samples/bad-array-after-comment.bconf create mode 100644 tools/bootconfig/samples/bad-array-in-next-line.bconf create mode 100644 tools/bootconfig/samples/exp-good-array-space-comment.bconf create mode 100644 tools/bootconfig/samples/exp-good-comment-after-value.bconf create mode 100644 tools/bootconfig/samples/exp-good-mixed-append.bconf create mode 100644 tools/bootconfig/samples/exp-good-mixed-kv1.bconf create mode 100644 tools/bootconfig/samples/exp-good-mixed-kv2.bconf create mode 100644 tools/bootconfig/samples/exp-good-mixed-kv3.bconf create mode 100644 tools/bootconfig/samples/exp-good-mixed-override.bconf create mode 100644 tools/bootconfig/samples/exp-good-override.bconf create mode 100644 tools/bootconfig/samples/exp-good-printables.bconf create mode 100644 tools/bootconfig/samples/exp-good-simple.bconf create mode 100644 tools/bootconfig/samples/exp-good-single.bconf create mode 100644 tools/bootconfig/samples/exp-good-space-after-value.bconf create mode 100644 tools/bootconfig/samples/exp-good-tree.bconf -- Masami Hiramatsu (Google)