Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3065380rdg; Tue, 17 Oct 2023 03:41:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG8vkWigwujdbJji/TvFUDl4KJ9d5O9GU3q7C/9JwveyvflnCckMfGaF8mZXtT1RgjQsvfJ X-Received: by 2002:a17:903:1212:b0:1c6:2655:625d with SMTP id l18-20020a170903121200b001c62655625dmr2264407plh.15.1697539306584; Tue, 17 Oct 2023 03:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697539306; cv=none; d=google.com; s=arc-20160816; b=PX5DrGIZsGFUMvNv/Tvstbk4b/zmmJNk0XavZbGuF7FBLSV5JvRFfJqntd4r5fp+Er rBUU14BrfTzKXyCso87OK7vEy7lamex7dByaEGLCpknrako3ZVPdlPI6aTQ/cYlNpsZD uq3WtvajcVEAh+jU0fUS3h6jxDLnTQokJKBbR7HbD/fuxyP2CWDTIZW2j5K8I5Wh9aJj 0kOotjwtra23NL9YK59ExmLcxihOf+7u1p09M1vg9cESapb5/6cP8c8zX36bT1W6Ap4N v3mstlKSDSiDpfD2o5TRBSatLa0xSIZxRPbYWFqH6YnC6dzW5qN+KOfL7fRWaiJ9UcrJ naMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:subject:references:cc:to:user-agent:mime-version :date:message-id:dkim-signature; bh=zBhBLqqpj0n+5jzHyUrlt0lv7F+dDsbPhpjc08ioUEQ=; fh=qtKFCP44WUGr7Eko+HVdq6FsufjgvCgubA8zhbwiq1c=; b=gBBrw491b1y2ZNYl3f1v36pyKyMv0xUpgDj0nU2ni8HED4xGI7H9SHRYJhUQqqGRf/ eMYxv/X5lgNzgsmQaelpCRm794ia9OaxhSCybpPWrdry5uWRY+Ggl0Api7+YjK5N998y GVfhoLqbJYiMJFRkl6m4Jzb65JD1OdjWJfJmJ/cb8jpgs3UGQbLkReabKQ0w9vdmUg4K rDTex5/5hm0WXB6XYGIac4AVlt6VO3hZWXMyqswhZv7611CseeBX2nS+iMtmdlQ0AeLU 0tL52kxDZQxOh6W/r3cxwvZn7MXva7Sm/Pv4lm9senILQEeEPiPv1jDvDu0jCByNRL42 9oMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=TDwQC0Hi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id w16-20020a1709027b9000b001c20db2510asi1430959pll.53.2023.10.17.03.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 03:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=TDwQC0Hi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 42F6B80B951E; Tue, 17 Oct 2023 03:41:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234807AbjJQKla (ORCPT + 99 others); Tue, 17 Oct 2023 06:41:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233570AbjJQKl3 (ORCPT ); Tue, 17 Oct 2023 06:41:29 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82513A2 for ; Tue, 17 Oct 2023 03:41:27 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39H8GRuK014171; Tue, 17 Oct 2023 10:41:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : to : cc : references : subject : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=zBhBLqqpj0n+5jzHyUrlt0lv7F+dDsbPhpjc08ioUEQ=; b=TDwQC0HikJ/UYtBkHD7h61cTXujZv3SrZ2WUb9ePKx+DvDe87gLqT+FD7MnliGdvN29L j14jiq6axOjLHO1GP6uQa6DGkzRkbe/Lpt/WQCUXl9HLh88EuPvkgMv2Dt0dZTLW4Dq1 I98etMMnLTHGlR2f0FKoisvScNqjsm2EuPKCWBSMnc2PrrSSS+mjs4VJazOScTVArgPt m0FhiKbUR6hPXP/IVTeGYQpjXn7cQP1ufkal/suuta02ffDjRfKwlAdFcezMHPh9h8Qs 2xK7v1ujUY3mYoub8nXof5TN6l4ZwiLybDjmeDJ/ONiWV0wmYWfynFk2H8tweN79kZwj Vg== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ts85fta6b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Oct 2023 10:41:08 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39HAewZd022148 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Oct 2023 10:40:58 GMT Received: from [10.214.66.187] (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Tue, 17 Oct 2023 03:40:54 -0700 Message-ID: <4c420081-fe57-d036-ded7-2899c13738ee@quicinc.com> Date: Tue, 17 Oct 2023 16:10:42 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 To: CC: , , , , , , , , , , Pavan Kondeti , <"quic_guptap@quicinc.com quic_ylal"@quicinc.com>, References: <20230417162415.GF1391488@zorba> Subject: Re: [PATCH 1/4] add generic builtin command line Content-Language: en-US From: Pratyush Brahma In-Reply-To: <20230417162415.GF1391488@zorba> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: MRvxMaYkqsM1Y31hTxHRI_3fVzxS599_ X-Proofpoint-GUID: MRvxMaYkqsM1Y31hTxHRI_3fVzxS599_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-16_13,2023-10-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 adultscore=0 priorityscore=1501 phishscore=0 malwarescore=0 spamscore=0 mlxscore=0 bulkscore=0 impostorscore=0 suspectscore=0 mlxlogscore=535 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310170089 X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 17 Oct 2023 03:41:44 -0700 (PDT) Hi Daniel We have a usecase which requires this patch necessarily. For android usecases, we have two different build variants differentiated by defconfigs - production and debug. However, we only have a single dts for both these variants. We want to enable certain features like page owner and slub debug which require cmdline params in addition to their respective configs to be enabled. Enabling page_owner and slub_debug options in dts file enables it for both production and debug variants. These features have significant memory overhead which are undesirable for our production environment. However, these are necessary for debug environment to enable internal testing and debug. Currently, android uses out-of-tree configs like CONFIG_CMDLINE_EXTEND to do so in gki_defconfig [1]. One option is to use CMDLINE_FORCE option which would enable these cmdline params but this disables the bootloader to add any additional cmdline params which may be necessary. For such a usecase, the CONFIG_CMDLINE_PREPEND seems to be quite useful as it would help to stitch bootloader and the desired build variant's configs together. Can you please help to merge this patch? [1] https://android.googlesource.com/kernel/common/+/refs/heads/android14-6.1-lts/arch/arm64/configs/gki_defconfig#62