Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1740702rwb; Thu, 15 Dec 2022 13:54:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf5p+WRfR5Cv2x+xVeYdFVE0xp0K1NQ60YlWrnM0JJK0x5cKtUmQO4Ie0mejHI16LmwQzvpT X-Received: by 2002:a05:6a20:bb01:b0:aa:8086:4af9 with SMTP id fc1-20020a056a20bb0100b000aa80864af9mr38490714pzb.20.1671141260072; Thu, 15 Dec 2022 13:54:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671141260; cv=none; d=google.com; s=arc-20160816; b=KCBPgVg7XC7TTBPmu+5hDQ5EVwqIdbbyhltMNZpe/AtWv61+ztlEQbJ3eXSd4UFngU 85uIyU2vmVQI5yVD92gzT70xBvzJwD56MClH+tgmAphPLkw2j983FYU7eIh5OPUN4aPa FX1w0/T9ue1LRhKuL8i0T2h1RQiwne1w8NUriEaNKfNte1ytcPYA+LDkcA+qbLryyatV xzGK9oR9+zCgNNB30z23B0hvorTsP0zXTKOLk+khabf033BlWQedncH2hHLzfgKuNOpB ZKD9mH0zKy0jswUt9cH1zi4MnBt7MUOIOTYCKhNza0B9fsZglXIJqW2ybJFxUvOT7bRB SWiA== 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:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZzyB8e5kkmqwPLtfyxEmXXlcTt2YzzikfBkoxJrH/N8=; b=eThtarfxEHcrW+nmZz/PFAtbVPyNYoexellThnJx7/U0APiIb988VkSvWehQPEHxr+ juQlW06TWDtTaebFBE6dCE4S4gLwQ0autMRUZ5ROWq00+QbFXbbGnss/6uv5kbiZfIJ4 757yAgGNl2ou0DewCUxn999XxqUKghazYOkSme1j/lFUDT2Kpe8MosAvMNZSnFceC+v0 Vfwee2x62IGLhXEri+8RJ3Kq2jV/Cqsrh0gcjFojD7X/UAwSg5utMwatCbGW5jiDTv5P a1kiCsADVADeA1R4ExG28Fv8suEHx37NlInFBMix83odeaWSfBXRdHpY6BvdRt95DybA ByLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=Zl0XC+nj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g8-20020a656cc8000000b00478c967a865si693882pgw.125.2022.12.15.13.54.10; Thu, 15 Dec 2022 13:54:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=Zl0XC+nj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229918AbiLOV34 (ORCPT + 68 others); Thu, 15 Dec 2022 16:29:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbiLOV3y (ORCPT ); Thu, 15 Dec 2022 16:29:54 -0500 Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C4D627B22; Thu, 15 Dec 2022 13:29:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZzyB8e5kkmqwPLtfyxEmXXlcTt2YzzikfBkoxJrH/N8=; b=Zl0XC+nj6wJcd2brZ4qDma88Rr bkpBKPHJYFlupv845lzeDvNyatM+cwB313t/l6RXcZujuBXlk/nTS0e8758iuVzpHmSFekjljiy8U 7vpx+RPpfT62MQy3MOGmNJKAToDv2eHKUU0RnEQsOtcsOqa/8JAhFUtihCz4RK3ff+5K45K+wDD0/ ymKY6fVCJmh7pojuY3wiHbPw1I9RVEfYyKDE2z/2wSa2yykDyn/FtZIqLHokoBMKLiYyzZrzcXpUK DMlmA4sp0xpUVayt0ehJB/6kPoxuPEyrWdPXCfBOC4O/VazzJLM4yJMrar0K14IyPphImb+dHPRti +CPUprdQ==; Received: from 200-158-226-94.dsl.telesp.net.br ([200.158.226.94] helo=[192.168.1.60]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1p5vnS-003ylO-If; Thu, 15 Dec 2022 22:29:43 +0100 Message-ID: <2aef3548-0565-3878-4226-ab6ca12d9eee@igalia.com> Date: Thu, 15 Dec 2022 18:29:34 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v2 3/3] kexec: Introduce paramters load_limit_reboot and load_limit_panic To: Ricardo Ribalda , "Joel Fernandes (Google)" Cc: linux-doc@vger.kernel.org, Steven Rostedt , kexec@lists.infradead.org, Philipp Rudo , Jonathan Corbet , Eric Biederman , Sergey Senozhatsky , Ross Zwisler , linux-kernel@vger.kernel.org References: <20221114-disable-kexec-reset-v2-0-c498313c1bb5@chromium.org> <20221114-disable-kexec-reset-v2-3-c498313c1bb5@chromium.org> Content-Language: en-US From: "Guilherme G. Piccoli" In-Reply-To: <20221114-disable-kexec-reset-v2-3-c498313c1bb5@chromium.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/12/2022 13:38, Ricardo Ribalda wrote: > Add two parameter to specify how many times a kexec kernel can be loaded. > > The sysadmin can set different limits for kexec panic and kexec reboot > kernels. > > The value can be modified at runtime via sysfs, but only with a value > smaller than the current one (except -1). > > Signed-off-by: Ricardo Ribalda > --- Thanks for your patches Ricardo! Small nit in the subject: s/paramters/parameters. Just observed that after Joel's review anyway, so kudos to him heh Cheers, Guilherme