Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1522252lqo; Sun, 12 May 2024 06:25:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXj2gae0AVj6v8gNGPVpYk8LzRHiigzPMdrrjYNUEn7zxxGOjWzUzCFYXCdU/xgwGFRElIvHEbbvKDBPYhlTdWxRWu7YCsqYJhUnpJUlg== X-Google-Smtp-Source: AGHT+IHdfEHMsDsaYNCeKTLQ+/zMdU6n3/768U4f3tCGs36NFJtp9kJa7LaKhfjWyka5QNts31hz X-Received: by 2002:a17:906:2309:b0:a59:bbf0:88f0 with SMTP id a640c23a62f3a-a5a2d55eec2mr739810766b.18.1715520344927; Sun, 12 May 2024 06:25:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715520344; cv=pass; d=google.com; s=arc-20160816; b=QRqy2LxpANzQ3cKObaDpxWy247iU7AxDOYxlwX/4kUf9X1T2HI+UhT81yH1I5rUuun prWAyDVwpjLTTXvl6fdHTexUeVHUiBcfMrrt93pEL8Cr33TcK7X+Af/dTYBAm8BrO4W1 BNtwfHGx0FL8SyV8KQc87fYZX6vO3/53/0XlnGJ5CtnhLO6DMlZC5Nj7KMUdb4XmXv/z gmYUzCfwlh6I0owzF/X3f59i2Y22/mfiB3iI5T817h/L3yOSC6uWRdwO5HvfmNz2ZYGN 20XcWFxmGuYBwJvntV7d8+QnVwzQ6iMEsxr6QPOQxeQyCpu/bBXK9FAY3vVPHOxm3hXS 4fGw== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=sL/fOKJNE13f8s8Vxmy3Xn7MqVMQgv+JZ4dwjBfG/fg=; fh=q9HFCM+/ekVnqbtue3n62eMW2tUG3xrZfIPKbhaUbrI=; b=EIb8Y3aYn8h2B4DMpw3hXftLXmuf1aHOYpSQ+9rjWGhrWc9rg8AsIqawMS7bugN4ad 8I7tNKyvYRa0DcAvH8IwpMA1CMbRGrzKyFmSySMe4+A0jR9qAkEZTjklWGghQy+lCxwV 6KRx/+QK+8wa9P57lAhLKj1iEX7gXDwZPlHBjjHou/rfiyKZrIWgeHxPIeCmGT6SgC+B Gwq8p0FzwDgKCxvw9SA/L7alfqxQoWpXFifKKewbWRKrkQ7uKJN8BAfRHr0qo4GMZ+3c X8IgQNRRCPa44BwXbuQ4RYv10A9KVO/ykbpHxfugYaMcTnTI7kND22nD+9yG4iRLJBRR Nemw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dVpxueMz; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-176886-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176886-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17c2c9easi426317466b.1011.2024.05.12.06.25.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 06:25:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176886-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=@gmail.com header.s=20230601 header.b=dVpxueMz; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-176886-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176886-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 A66B51F21E46 for ; Sun, 12 May 2024 13:25:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5AA7A2942F; Sun, 12 May 2024 13:25:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dVpxueMz" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.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 EFC17C8E1; Sun, 12 May 2024 13:25:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715520328; cv=none; b=liNn1m8ljTi+VZBJIp0rG2HN+U2/kxgyy36Foz2G88Dho5ICKKDkvq2ZrT/T9+1AJ1xHXLDwC5mI/FApceZ+s1cymmqlKsufMb1XGRaSVPug1bRmJWytuOa/jQgfthKWec9cczZlWRJNtkPTKhv3Q94wE1pZB8xW/xbPG9/H+ZU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715520328; c=relaxed/simple; bh=ziuxodXmZqtpeLyT3WRo0HQ7ERm9YtUUFoZCGeXGEns=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gZiyw3NvI9MqmWxwRS5mfsDlLY188dYwQET54U8x3fy8gN4SRl/E9wsd3Q6Lgj0lKyDECqDcjHQnwLnr+47EF8qasWS0flwAjVHi92enDQjgzOpujKp8aHBGQ3cnFXFlUc1gncjRwUgi3FVZ0+8l0RxF93k83h29qdpDyiYf9bA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dVpxueMz; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-34ddc9fe497so2147469f8f.3; Sun, 12 May 2024 06:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715520325; x=1716125125; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sL/fOKJNE13f8s8Vxmy3Xn7MqVMQgv+JZ4dwjBfG/fg=; b=dVpxueMzVjzLUPpmy+QZ1BurCK+LoRkqSf6Dihmckx3lXiG5tiY2aVy3+nGzl2NSVL 1ipI3muJWpZMoTuTYDoDi5y+oSCZ4O0sQizarKGZFTgDl9VSah5iogDbLr6LjtQTv4mD J8NVXZ2TvU7FTveB+P0hQG0cz40UrQJT/biXa8MlKxJmTTPVk2nvBl63MDi+gkxF7Tbb D3md4j+b1cQeAKJqYrHDNSYfz56GKaEyCrYTnV4/NyC7qWOHH7R+cPEQIgAWBq7O8pqi /rLdp4zuFKfyAhk1I+vZYX1F3+8saZcDv3/vYj1oROIMiFAenx8dYikjWx/Uz+Gn/THc Foww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715520325; x=1716125125; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sL/fOKJNE13f8s8Vxmy3Xn7MqVMQgv+JZ4dwjBfG/fg=; b=cAc+T6XSBM/TABfz7wWtYadcRfls1YoXZBzclVjvp025uts2GP/jesGmJEPJ8frHZ3 5ZEza0fCmeyLaTy4WqNOvyAmB0P4F1d1WDwf4maYOzu6NkJue0nT3Ajo9DI8iPYUljwU oeS099fXYZW/052Tp4FXkLbF+oCIoEH15x2ZjruwftZ388xfLP+S/GUHaobOe07k8ROo XvIfEZffzMBlSofUc82EiX0xhi9b/sXzl/xfeG4wERgcL7omk+pS3Wgdz9X6tPzg/4hE Bk/Izim/8yzHmUoW1oOs/YY1H3/nzqrwtKG0c2YALpUJ0yErDeNyWyh82Q/Ov/wS0dpL i0dw== X-Forwarded-Encrypted: i=1; AJvYcCUj5xXDC/c5ez5O+VlQO2fhVs1r7NALOLDwttEZudMNRXc3ie9mKGDLYrDqqT942XkFGB9Rg9bIxutLSKvVRjkH42sXWp0vO5+nFAschnxZZeIdhYXDViMQ8x9OJd5Hi1FBzzFWkzayrVn2LJ7m2mPtx3X49HQoSh0Z7kIy/y6ufC3JYsc= X-Gm-Message-State: AOJu0YxKqtWmSmzzYxPqVpoCMY6Atu6kqbCNFdfki5HVSOkKtXSsO3xA PNZcXBavQTjTYikTmjZ684ne9FU3vF1iI57bp8y+rl/h+eiL0Sas X-Received: by 2002:a5d:4f91:0:b0:34c:fa17:f4fe with SMTP id ffacd0b85a97d-3504a632b42mr7190063f8f.21.1715520324938; Sun, 12 May 2024 06:25:24 -0700 (PDT) Received: from localhost.localdomain (93-34-90-105.ip49.fastwebnet.it. [93.34.90.105]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-3502b79bd09sm8822468f8f.14.2024.05.12.06.25.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 06:25:24 -0700 (PDT) From: Christian Marangi To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Saravana Kannan , Arnd Bergmann , Helge Deller , Javier Martinez Canillas , Baoquan He , Thomas Gleixner , Jiaxun Yang , David Bauer , Liviu Dudau , Serge Semin , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Cc: Christian Marangi Subject: [PATCH 1/4] docs: dt: Document new bootargs chosen property Date: Sun, 12 May 2024 15:25:08 +0200 Message-ID: <20240512132513.2831-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240512132513.2831-1-ansuelsmth@gmail.com> References: <20240512132513.2831-1-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The bootargs property might be overridden by bootloaders on kernel load, in such scenario, bootargs-override might be used instead. With bootargs-override set, any value set in bootargs will be ignored. The bootargs-append can be used to append additional kernel arguments to the bootargs property. This can be useful in the context of a bootargs overridden by the bootloader that contains correct that but the kernel require additional one to be correctly setup. Signed-off-by: Christian Marangi --- Documentation/devicetree/usage-model.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/usage-model.rst b/Documentation/devicetree/usage-model.rst index 0717426856b2..885be3e582fc 100644 --- a/Documentation/devicetree/usage-model.rst +++ b/Documentation/devicetree/usage-model.rst @@ -217,6 +217,15 @@ On ARM, the function setup_machine_fdt() is responsible for early scanning of the device tree after selecting the correct machine_desc that supports the board. +The bootargs property might be overridden by bootloaders on kernel load, +in such scenario, bootargs-override might be used instead. With +bootargs-override set, any value set in bootargs will be ignored. + +The bootargs-append can be used to append additional kernel arguments +to the bootargs property. This can be useful in the context of a +bootargs overridden by the bootloader that contains correct that but +the kernel require additional one to be correctly setup. + 2.4 Device population --------------------- After the board has been identified, and after the early configuration data -- 2.43.0