Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp573276lqs; Tue, 5 Mar 2024 09:52:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWoyneBEyUvp7hpG0lpHZz0CVrhmiCLKd5AXex+cUj6fVmG5HPlJkJsNlCx/UjCAcnntyZZRXRUQvwBuwOl3f9h4DYhDTk2NFvNbYQ7Xw== X-Google-Smtp-Source: AGHT+IFWZtJSnBzfh1eLnEyKDYWk0DHpdZt22gdIlz3oOFgQyuFGvCbJWlFoC7I/dX5qkH5XAozf X-Received: by 2002:a17:906:355a:b0:a43:f1d9:400a with SMTP id s26-20020a170906355a00b00a43f1d9400amr9780992eja.26.1709661130830; Tue, 05 Mar 2024 09:52:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709661130; cv=pass; d=google.com; s=arc-20160816; b=ztyutnyswp16NqcTYmhb2RYFBHoOJJ5xHPnehg9N82iH5AYur9BN/gITOtbCSJxmTD +9HenUQ5mV/iZiaTurM7UdE19i4bax+rdM0XioLczAiZ9JYS7qFGK3qLn1yJlcQ2svNy ad0hpzlADi3Gd4pABm7iRX6oLUKUiWC+LhwQ4alxCacSWhHPidOdeWmpqQadvaukeJbi VEwInCdwji+pxru2EqvLUVebRS3uGwyibo1i5ZMf4O0eWM9of3x3ZKwX9MCTI8oQYwGK A4msSZqUXyrPyRW8dhpd10E60x1hsCNaFXylszFhP+50lFm/Icr5+P56DRy/P/UyMH+6 fpsQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=OryvIzzC78fLNiJM5tDS7CTV+mpBOEM5K+ePV0wOwPk=; fh=p1+864vuZD+oNuFLtVkizXq7gbEOsgAdpyBnG/2f74g=; b=VO4+h+G0ib8BAb2J+SihedebN4z9pDkG4ZbaeN8W0RFFSsz1h9g5NJERJu+HD0xwM0 OeEFNhIU2ovNFMRXTZmR1F4rtm3ryhj/WHNk8WTBJrAelE7Uash1zI5x8v/SNWd9jdtE qDOpxFWkO0dRtpRHtdSPDaG8gijoHxUFKP8MZ9ERgVYh3qjyYfrGtZxvQOgZ8V3ZcXKs YVwFwfqrYpCQoyPARH02sEQDAgvB44niWCWxnN99v4QeM97wb35wQpP4CCmOD2EVBHGX BR6GhE2HZBo8CBQh4TboD2dBZKbhr7rqyk9PLs5Gs4hmN1bpwcyMcn9Ru3Gls9zUVzfa Yd1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=O19GfPtP; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-92789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92789-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id qx2-20020a170906fcc200b00a3d06c73e18si5068798ejb.603.2024.03.05.09.52.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 09:52:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=O19GfPtP; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-92789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92789-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 268A01F2215C for ; Tue, 5 Mar 2024 17:52:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CBF1175AE; Tue, 5 Mar 2024 17:51:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b="O19GfPtP" Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F88B175A6 for ; Tue, 5 Mar 2024 17:51:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.97.179.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709661083; cv=none; b=HDV3UHXet6reuI73Udi8Y4Df4wtxCX/dcrqgoYiPYxF3521Dp0dXZgUCd4GAmo5ay71PCxTJd9rgMTIqjbkqt/6bJf0vVt3kZFwGVb/mg8ToB6ntE78+IvFqIQvtnTVKPK9w+lARp9AgMktOg9ddrI4kaIH6b1xGUs2Kfm+MLkI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709661083; c=relaxed/simple; bh=3qs0HAQZhk6vRqfVWwucVgVMDW9ITOlHkZVL0DNK5xM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MEforeihgDfB9660DzrQ845KhLor6oUH/YiSIpxrqxiUaBtgCJLjru/tVMQaPFtvm7PKxgmnvQ4HNaUGpqEYfTqQmpJV2nzwve6b2F9G5KmU1MgVdZ3os2bXlVgsK0PIB/PyEX5lGduB5TCS455qXpCeBx2wV+jbqIk+gJ+qdOk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com; spf=pass smtp.mailfrom=igalia.com; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b=O19GfPtP; arc=none smtp.client-ip=213.97.179.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=igalia.com 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=OryvIzzC78fLNiJM5tDS7CTV+mpBOEM5K+ePV0wOwPk=; b=O19GfPtPID2BGaSmWQCLguZxAP D/yNCoLEHrezKsM6KVaOVznHugp7dZmQ//e7ggcsbplUqqJhCH9pwRbPA2g5ah3vBLXkEvj8cnrLT GZIflT5D80XVUnT5yHDwOEFM61Sh7cBIDL2lgOU6UnE3cMTLesLzlB7g0lBN28hTq9S8psqLDCqDu JbIGr4gg1lLFLK/3ZwSNYVHoyy1kJ9Pw0ArrN5VcBG2qxXVKYEE7EofhVyW+SFfa43ofdKOiKkgpQ CGLoWX/ZYhjCMuCm67HuyOEY02WxXXv/xCetL/4B7xOdQEIpsBlYsZlfUzD/E80ly2gmCb+xnPYxJ zgphCLag==; Received: from [187.90.173.251] (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 1rhYwM-006KfD-MC; Tue, 05 Mar 2024 18:50:58 +0100 Message-ID: <3d0c4180-aa6d-4519-d6d8-8f16b98587dc@igalia.com> Date: Tue, 5 Mar 2024 14:50:51 -0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [RFC] How to test panic handlers, without crashing the kernel Content-Language: en-US To: Jocelyn Falempe , Michael Kelley , John Ogness , Linux Kernel Mailing List , Daniel Vetter , Andrew Morton , "Peter Zijlstra (Intel)" , Josh Poimboeuf , Arnd Bergmann , Kefeng Wang , Lukas Wunner , Uros Bizjak , Petr Mladek , Daniel Thompson , Douglas Anderson Cc: "dri-devel@lists.freedesktop.org" , David Airlie , Thomas Zimmermann References: <266579a9-fde6-40ff-b13d-fb2312db406c@redhat.com> <87edcpn1l3.fsf@jogness.linutronix.de> <15015345-3068-2fb8-aa38-f32acf27e1d0@igalia.com> From: "Guilherme G. Piccoli" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 05/03/2024 13:52, Jocelyn Falempe wrote: > [...] > Or maybe have two lists of panic notifiers, the safe and the destructive > list. So in case of fake panic, we can only call the safe notifiers. > I tried something like that: https://lore.kernel.org/lkml/20220427224924.592546-1-gpiccoli@igalia.com/ There were many suggestions, a completely refactor of the idea (panic lists are not really seen as reliable things). Given that, I'm not really sure splitting in lists gonna fly; maybe restricting the test infrastructure to drm_panic plus some paths of panic would be enough for this debugfs interface, in principle? I mean, to unblock your work on the drm panic stuff. Cheers, Guilherme