Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1822348iog; Thu, 16 Jun 2022 14:49:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vmvYkighs1+TVGI0rfsAGiRQFxx3nS2tTls0HFh3XqrGxGHkA9wx0MBEcrGYO+g7pC77OJ X-Received: by 2002:a17:902:c94c:b0:168:f73b:f824 with SMTP id i12-20020a170902c94c00b00168f73bf824mr6241076pla.103.1655416148168; Thu, 16 Jun 2022 14:49:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655416148; cv=none; d=google.com; s=arc-20160816; b=qoOLxrqtcQH3FD0dHoZC/m99BRnhc/pstDaisQ87kFBR0M6yT0aWeF7qxzqeOB2DPH Y9WZT1Rgg9H7VzU2a6kmisWGcc9yDwfi+iPSgJe3mPZDLtZ8+j/16mQUgSeUbeB6p8RY TvFO8xn6G4oYzdRKcAlSca7J8OQgs59DV+4hhoE/wkTlxoTK8C7As2+2T8Uoihw7wbYK /gifbit3SuyKMJWDfbHIO6vfxTOoT7JYRlRZSjcrza0SyYCNrxH7Z1oTPZ7oLkezrH2g Bz8SWe0Q1hEtPswnKNRnHqG59o5xEqzGzp7RWgDGpO+Myde0E1vBRljLAphOf+p1Mlem kMgQ== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=l5SmrcbO4GZrUo3EqVT75W/un0U3qwBg6eyDpd+eRLs=; b=pmhVEe6O1fpBJlHhtKBA0Qo6V5Lp0Yllf4clIBHOJfvWiEhl++nUQB9xLMzc4hV2JG nA3T7nvQhJOLNrMr60H2lylZk7QS5cJiBiELDZGzsewSTuoc2N4SDdZ0kD8AffcgVtDY JFsBg4S7uvGE+n1ikCfURRrCe/qriNEvB7koH//kYn+iRx0py9dOOSY3o+W2xm8+sfT1 CyAXuwQ4EPfKqLI7NwRT/nGqspJAZ3GSFF7Uxy05rApEyhWMMXj0OqxLoWqZ6fhGOGyy QeZt+9Xs3d8LrVAbEVCuXajQt4mgfoy8cKI9RV0DGFw3Mg7JWUBkzZ8Cw0ujy7nOC7Os wUxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=P3IR48Qv; 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 rj14-20020a17090b3e8e00b001eaa975a866si3803977pjb.57.2022.06.16.14.48.55; Thu, 16 Jun 2022 14:49:08 -0700 (PDT) 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=pass header.i=@infradead.org header.s=desiato.20200630 header.b=P3IR48Qv; 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 S232055AbiFPVDp (ORCPT + 99 others); Thu, 16 Jun 2022 17:03:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230154AbiFPVDo (ORCPT ); Thu, 16 Jun 2022 17:03:44 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FD872CC9C; Thu, 16 Jun 2022 14:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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; bh=l5SmrcbO4GZrUo3EqVT75W/un0U3qwBg6eyDpd+eRLs=; b=P3IR48QvvLm+efucSZUbbj02F6 WSscTALgM/IMzD8eVS9UBe7Y8ahSF4J7Gz1wgx7ZYEb1sZTGIEoyaifNpan3/36AalpDYJv1RRxCU +C6lp/aEtT78C5eUymdZQ5AkFyiUpnCzZOTzHhjW5V1QdiLkISHVowUyXV/SElc7GPCJ1NRiOddxa KgWmONu2jPggVwiarSa/T0kbt62Xs4XTLwNA3gJwXUZgIUHqaIt3wdOdKGSgU9n+bNoy4AnY5auGJ Klcs4PFrIRdwM/E+WLCejBXEyaAAiBkQMgS36zWKDHt7kUxUmBnfKIpR5nvWopxfMWG/B8Yx1oqYx DWSWvLSg==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1we6-008VxI-GG; Thu, 16 Jun 2022 21:03:19 +0000 Message-ID: <3230f073-5228-693e-f7cd-5fc4b7226a66@infradead.org> Date: Thu, 16 Jun 2022 14:03:11 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH V4 13/20] rv/reactor: Add the panic reactor Content-Language: en-US To: Daniel Bristot de Oliveira , Steven Rostedt Cc: Wim Van Sebroeck , Guenter Roeck , Jonathan Corbet , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Will Deacon , Catalin Marinas , Marco Elver , Dmitry Vyukov , "Paul E. McKenney" , Shuah Khan , Gabriele Paoloni , Juri Lelli , Clark Williams , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org References: <67e522ab57e64eee313af508a8c70f3cce33e525.1655368610.git.bristot@kernel.org> From: Randy Dunlap In-Reply-To: <67e522ab57e64eee313af508a8c70f3cce33e525.1655368610.git.bristot@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 6/16/22 01:44, Daniel Bristot de Oliveira wrote: > diff --git a/kernel/trace/rv/Kconfig b/kernel/trace/rv/Kconfig > index be8e3dab0a52..91a17b13a080 100644 > --- a/kernel/trace/rv/Kconfig > +++ b/kernel/trace/rv/Kconfig > @@ -60,4 +60,12 @@ config RV_REACT_PRINTK > Enables the printk reactor. The printk reactor emmits a printk() emits > message if an exception is found. > > +config RV_REACT_PANIC > + bool "Panic reactor" > + depends on RV_REACTORS > + default y if RV_REACTORS > + help > + Enables the panic reactor. The panic reactor emmits a printk() emits > + message if an exception is found and panic()s the system. -- ~Randy