Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp595954iog; Fri, 17 Jun 2022 09:22:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sQGZQBmBMp3A+IWwzrsBTLkJGdVtJ+ODztfbAp+JPpBu5eXIV5qsHAW88Lm8dvXIF/mOTd X-Received: by 2002:a17:906:194b:b0:710:967d:ba18 with SMTP id b11-20020a170906194b00b00710967dba18mr9837936eje.705.1655482930299; Fri, 17 Jun 2022 09:22:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655482930; cv=none; d=google.com; s=arc-20160816; b=vNcHv19Z9AfLo4gS6gxPkCwNIhi8jKlhYW2Jv4dariNjoV7U9Pc6Ue6tafJnOyLzTm QXutPDU1+YSLB98Omd5YwSHCIIlqCfniQHJniSVJSKQ7i5Mout2kBCRl4IIXMY9kmyKg uuT+Vd6qrUZtZG6BthCnhLdx1jb5hKk0cv/MStLvys4V/MlM6ldUTZxdC1GpqxtABN3T 4KAsUzndM/vaewe1YNzDtE5+3881/kPDJD+NMoK/4JoDNItJIfJQBL4ZT0TKEybq8WUu UfLl6QwiVon+cdVqEuDia4q7JhQTwxn9MuIksb7k7Wc40ZBZrFjmwpBYsXfFVIhEFw+x Agcw== 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=pZZkladM5f0+iCvheywgb/uoOUwzhBIzbXqKoj+ClNM=; b=SFnfGPJrSb//KuQ7Epvby7vItFmcanPcnqVCiVc5WoRaVQ4tCiA5s6WaSj702YDfen 09dCijUS75n15IEe8QShnxJW8KwgjUxt/hOO36l9o4KQ7riIuUk8qU5didHNFY1kvHOU fL49S/5JM7cK/yFgVbkkTk30OmvvVkECD63V+Kcj8Exr+PUgXT0oXCOJJlfjAAOH0Qyg mUh2EmZeS23I+O3b4/jdkO/kJ82zrnUZMdetyBYV16CGWonQ4dDM34nx60gDOkQUWUvP Zi8CJPfUHQbYMb1YwmRaIGgIjhVsXfTuSX8WeGowZQIziNl7piTkqQjQBqbF3IQdQKcC RKoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X0DPpv9A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s14-20020a170906778e00b0070bf8e73c8dsi4797077ejm.374.2022.06.17.09.21.44; Fri, 17 Jun 2022 09:22:10 -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=@kernel.org header.s=k20201202 header.b=X0DPpv9A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383184AbiFQQJO (ORCPT + 99 others); Fri, 17 Jun 2022 12:09:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237329AbiFQQJN (ORCPT ); Fri, 17 Jun 2022 12:09:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D68E33A10; Fri, 17 Jun 2022 09:09:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 54C8761026; Fri, 17 Jun 2022 16:09:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6597EC3411F; Fri, 17 Jun 2022 16:09:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655482151; bh=3dpAcESJw5vtLwj0XpoF4BT7WEo88JPPXnfDDRPknfs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=X0DPpv9AZYnJfNCekqSgFR3Er0Rt0xlBcb2O/m8p61zFLsI8Lk/mx52KThftyP+lb eeCLKofOqJZNy2NmxH/Y4QNjmIX1/yAPDC3dvVwSmbaO6sYCp8PZMebzrtNDoB4R1P 4Ysi/QM6yC+v9I4styMlYK4FSLCoVlCwfaaV0si2edf7ld/Zdqh0ysYUhbk0LRO47U o8y/k/0VZIGaO8ONleSVrnhr4dtet82TVAM2XD7LwxVXO1rj8pFEuLkA4V5VjuUCge tga7LzRC1OQTXf3DMXn0ceYhRTCMwXBSyqeH7Ildv6yHslRcOJQkejJCHAy/JBmyMX dCkEGaLyNhvrQ== Message-ID: <7a45d9cb-02c0-6139-35e1-7bd6cda6c162@kernel.org> Date: Fri, 17 Jun 2022 18:09:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH V4 13/20] rv/reactor: Add the panic reactor Content-Language: en-US To: Randy Dunlap , 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> <3230f073-5228-693e-f7cd-5fc4b7226a66@infradead.org> From: Daniel Bristot de Oliveira In-Reply-To: <3230f073-5228-693e-f7cd-5fc4b7226a66@infradead.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,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 23:03, Randy Dunlap wrote: > > > 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 oops! >> 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 and Oops again. >> + message if an exception is found and panic()s the system. > I will fix that, thanks Randy! -- Daniel