Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp223821rdh; Thu, 23 Nov 2023 02:04:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcP2avZLhW0n+N7nDblvzZFRywH5J/xbTYXMMUy/SVeXGeQrL0UobGxCqMVvGSHpC5F1Zs X-Received: by 2002:a17:902:ecc4:b0:1cf:65e1:b767 with SMTP id a4-20020a170902ecc400b001cf65e1b767mr6019833plh.26.1700733873878; Thu, 23 Nov 2023 02:04:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700733873; cv=none; d=google.com; s=arc-20160816; b=pNerW6/73Hn9TpaadusDnIcr5Z5QBTnkm+FYj+7jmMhYiKSgKTcsc274J5ik2lkNYV 7eWula8dI6VxJL7XXOilp6nkuhFjy+ivyWEc218IGCNG+2f1DaXWcRg0CAGmd19lU0Lw WFwA4YuI7yt4J6s0GSfAt/w2Tga2HvlDydD/fDOZArluIOdwS/D+UM+Vle/Dz8q6Wwqe YPPLpS7ikXhtGlKI3KkLM2rUVGSACzN/Qkn4Hp+qZO28axH0IqiHrirTnyVAuLSsqI/k UlC+KsCguCMLu27y0SlyfkNgV+MzasKkNmGh5vyUYIN/cDpJ4OhydMqQ/z5ornhABKTw TsCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sDwbgRNkEYSmD6Wb4d6mptBb2LGUPc4R10tj3j0aj2w=; fh=w+tUsiAJi8blsrEewepQ4/qd0LPU75kDi7Lx6XscAb4=; b=iwwC+cvB1JRZuU2mEBte/yaso7QWfN0XJJLHc5i/SpIqZFhpWhLo8vF+UMDId/aRPK S+OnV1sOWRE/Ya2xu0kr7XmwHDL0FTPXbhofoqaTzx8zVcz70TP3Hu9wxOT4YZrf6jhF w2fpZtYiVVs+Yr2QciRTQk9Q7PmPERd01+adE4qPl76d1TxrFkU7A2YleeAZWcF/z8rc Y5BAk8jid8vSP3hwyNVEEE8hhtQ2H7doIV/yT54K27CMeT5r75WgJolqyioRwQW9QJ0C PQARuA7vuoaLKAMIJIb/nknOfiCjt8iNVxv11vQiw1jsMZRNzCcHinCZmAr4y/Ruq017 wbMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@malat-biz.20230601.gappssmtp.com header.s=20230601 header.b="Ay1zud/m"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id jc17-20020a17090325d100b001cf6a1be237si802795plb.452.2023.11.23.02.04.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 02:04:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@malat-biz.20230601.gappssmtp.com header.s=20230601 header.b="Ay1zud/m"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 922F2803D035; Thu, 23 Nov 2023 02:04:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232474AbjKWKEH (ORCPT + 99 others); Thu, 23 Nov 2023 05:04:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjKWKEG (ORCPT ); Thu, 23 Nov 2023 05:04:06 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FBC4D49 for ; Thu, 23 Nov 2023 02:04:12 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-32dff08bbdbso436733f8f.2 for ; Thu, 23 Nov 2023 02:04:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=malat-biz.20230601.gappssmtp.com; s=20230601; t=1700733850; x=1701338650; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=sDwbgRNkEYSmD6Wb4d6mptBb2LGUPc4R10tj3j0aj2w=; b=Ay1zud/mxqAlsiDzSTKbpTVbQf312nEinJbdA7nvRcfl355/ga+VoLHQcwFGgMEtor xp6pWH5beSKSElfqjuW/ml9vzSkCKu54x4vp0h3bLmTS6xo+rhA1jJo2NYUzrlOoxrG3 WcR5BGtvtrVXbfLSiEIi9deM0HJi53/E4gngbC5fRC+rsVEcGG7XI1USy9fmAxIJ0yyz Y7/rvyY6ffCZHQmcPcLN0Bj0gg62Ij/G/1cjYByi65l8Y6v+WuiI+eosShhm674gtEFE UjRKoK4IQxw3ziDd2QOLQiW7OlK6f1hgxOfz5G7hS4UcWouEE/wzKA8hWHOYS8MMvLpj fb7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700733850; x=1701338650; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sDwbgRNkEYSmD6Wb4d6mptBb2LGUPc4R10tj3j0aj2w=; b=ArWHvWbsvxKbLRcccM3mn2J7dMInsvNYVhjdpPbNjNQ19+irLX+LQ+ILAERPs0F4gE wGr10RztmlBaQ1psLscNTfUTnjnppuuWubBLPDWrmYy0df2rv2LW+aPpx7F7WlUafx/I TMh21HI5opXV68vWB8/xsNcfOYYwQAoXv7XNqk2hFYrHsZf70Vu65R3PyKofa0oNL3Mu /1lkB81/LPILjhYFJhiLl9Q05zKMQmpfCa3Ey12QcFMevCVjlDL8Eik2fKEC8qxCXgbT yHFZ0Ll6zoPRnncxTEAstzInvALg/JZmQrfQS2I3oYbW4EFPzHGLSwu5i/1mtLbIy2Z4 BC0w== X-Gm-Message-State: AOJu0Yx33EJlJMmeEhnoDTM953KWnU90zQwP2Md4JB2zqmHpgYdAJkp/ UcuTWoxCDtEIp6kdozt8gmDEum7xrpfHcxNLLcpZPA== X-Received: by 2002:a5d:6d8b:0:b0:332:c5c5:7847 with SMTP id l11-20020a5d6d8b000000b00332c5c57847mr3680872wrs.5.1700733850534; Thu, 23 Nov 2023 02:04:10 -0800 (PST) Received: from ntb.petris.klfree.czf ([193.86.118.65]) by smtp.gmail.com with ESMTPSA id f9-20020a0560001b0900b0032196c508e3sm1225906wrz.53.2023.11.23.02.04.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 02:04:10 -0800 (PST) Date: Thu, 23 Nov 2023 11:04:00 +0100 From: Petr Malat To: Masami Hiramatsu Cc: paulmck@kernel.org, Randy Dunlap , linux-kernel@vger.kernel.org, rostedt@goodmis.org Subject: Re: [PATCH 2/2] bootconfig: Apply early options from embedded config Message-ID: References: <20231121231342.193646-1-oss@malat.biz> <20231121231342.193646-3-oss@malat.biz> <4a67b4bb-d211-4726-8f43-d3f159127dd9@infradead.org> <325042d6-ddd0-4278-a082-9587af77cabe@paulmck-laptop> <20231123112207.417b502144a01fc94ad6f87d@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231123112207.417b502144a01fc94ad6f87d@kernel.org> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Thu, 23 Nov 2023 02:04:22 -0800 (PST) Hi! On Thu, Nov 23, 2023 at 11:22:07AM +0900, Masami Hiramatsu wrote: > BTW, we also need to make a block-list for some early params. some of those > MUST be passed from the bootloader. E.g. initrd address and size will be > passed from the bootloader via commandline. Thus such params in the embedded > bootconfig should be filtered at the build time. It's ok to configure these in the embedded bootconfig - in a case they are provided by the bootloader, the bootconfig value is overridden, if not, the value from bootconfig is used, so it works as expected. Petr