From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9188020B0F for ; Wed, 17 Jul 2024 15:10:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721229007; cv=none; b=dPPAEgdxRdEHS7sBX2RLRu8Gt1JmdiC5t6rzzLdoTzZwnAwiaRx0PWR1CkyRDbmvuQgraNMYn+BjcOmKvt1Wge527dvozfBVM0KU6DWMVZp5h4ewWP1+pIdST43vER/c9tTuMMNIYNzgrvCZNmZr/hCsJH1WqGiZqZFM9Y17mkQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721229007; c=relaxed/simple; bh=tuAEIzyj+ha0nP/x70IsIoGb8TTJsf4NyxTFGO4faUU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dLAo4Djr1ovzcd4vGNJyoH0/vopNksX9hasx58pj2uwd25HWi75qH+Z0FuxdVHURyLIRu2esG9zviq+1fyn5sP7C0W7LVsteQnNE/5WlDtsPuCOCxKyFB8IEYUJ6h4rROUa9XSH1czc5kuzXz9cX6Mx48PQOBpFbFQNbw+IYHVw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch; spf=none smtp.mailfrom=ffwll.ch; dkim=pass (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b=B8WafE4e; arc=none smtp.client-ip=209.85.208.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ffwll.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="B8WafE4e" Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2ee844bb5d7so10836371fa.0 for ; Wed, 17 Jul 2024 08:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; t=1721229004; x=1721833804; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=Wn4TP8PBVroM1jvpw0ODPErzX1wcuSE2iey02MAd1Zg=; b=B8WafE4eu2dmjyxCeFdkn/Yc4mumHa9xu9cOipxzuMZvJaJYXEPLP658Wp1vVh/ixk KC37iBdGmlXGwDmR86rv8oQIqfGLdMf8+0uAEVRqR5UP3I7CvO1un52nE73AYvPwGtki cQRa3Na9WtgQTVQKjN0bEwtZO3bUJOaCOOar4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721229004; x=1721833804; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Wn4TP8PBVroM1jvpw0ODPErzX1wcuSE2iey02MAd1Zg=; b=iDPAk0AaWBR2WQSVfj+WEhBE80a9lwwS/rEK4NB4FN/vcPsxNpiGnOP4cbCab63ZNH a7orjiIh5zNPV+2BBNVIm3zl/QkjLE/7ojLKYCIdBgoeA6ayQ1wGEgFWyWwMpwxhcnns zoRmyL6cVvMiZJBVfoVWUTzll3PnfCezuprmB+LcpIuIABTw1aStaZL2cHLZ1CNKjKzH SQTeJiB3rCgd6vj4EmdWd6wYU6gvQNCNurq8W7coTT6DN6KTuGLqfmQIBseSdxDcGnVB PrWqhP6P5ONUDgJYkg+Wye1x2rjevWSpEeITHiphYgIRFJM6/tPtQkZWOlabp/RB1wU0 QSTQ== X-Forwarded-Encrypted: i=1; AJvYcCUZFtqhM3yhg2EojakKGINJ+tLhfUCBBJrN9Iua1T+2ZAVB4phvU9kSbU8rCWy8yNwUE5mCYelqZTXrm6UdxCMY2FFaJJa6iBAJcRE= X-Gm-Message-State: AOJu0YxMap6TVJyDmnEk5OZe2YtWyakja2uZL9NuPEi/O5O251DSHUh+ PjXAvt+M3DVD+Po8uE1qkG/Vs6xjmgPLWsLvj/eCw/Q6alzSHS2TC+xYCkmZBwo= X-Google-Smtp-Source: AGHT+IFERPpApl0DTzfYtP7vReuydD6LyFVwPjkdroK6PS8C1ELiGKXsed2rqK8YbNxdsN3KnCok/A== X-Received: by 2002:a05:651c:1a0c:b0:2ec:18c7:169d with SMTP id 38308e7fff4ca-2eefd0b8418mr8758821fa.1.1721229002527; Wed, 17 Jul 2024 08:10:02 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427c7814203sm1212865e9.45.2024.07.17.08.10.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jul 2024 08:10:01 -0700 (PDT) Date: Wed, 17 Jul 2024 17:09:59 +0200 From: Daniel Vetter To: Javier Martinez Canillas Cc: Jocelyn Falempe , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Helge Deller , "Jiri Slaby (SUSE)" , Greg Kroah-Hartman , Geert Uytterhoeven , Samuel Thibault , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: Re: [PATCH 3/3] drm/panic: Remove build time dependency with FRAMEBUFFER_CONSOLE Message-ID: Mail-Followup-To: Javier Martinez Canillas , Jocelyn Falempe , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Helge Deller , "Jiri Slaby (SUSE)" , Greg Kroah-Hartman , Geert Uytterhoeven , Samuel Thibault , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org References: <20240717090102.968152-1-jfalempe@redhat.com> <20240717090102.968152-4-jfalempe@redhat.com> <87wmlk49ed.fsf@minerva.mail-host-address-is-not-set> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wmlk49ed.fsf@minerva.mail-host-address-is-not-set> X-Operating-System: Linux phenom 6.9.7-amd64 On Wed, Jul 17, 2024 at 12:09:46PM +0200, Javier Martinez Canillas wrote: > Jocelyn Falempe writes: > > > Now that fbcon has the skip_panic option, there is no more conflicts > > between drm_panic and fbcon. > > Remove the build time dependency, so they can be both enabled. > > > > Signed-off-by: Jocelyn Falempe > > --- > > drivers/gpu/drm/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig > > index 6dd0016fc9cd..a22cab218004 100644 > > --- a/drivers/gpu/drm/Kconfig > > +++ b/drivers/gpu/drm/Kconfig > > @@ -107,7 +107,7 @@ config DRM_KMS_HELPER > > > > config DRM_PANIC > > bool "Display a user-friendly message when a kernel panic occurs" > > - depends on DRM && !(FRAMEBUFFER_CONSOLE && VT_CONSOLE) > > + depends on DRM > > This is great. Thanks for finding an alternative approach! I don't see any > issues this time, because there is no locking involved. But let's see what > others think about it. Looks like it should work, I did check the history of fbcon_is_active and we've used that to force/disable panic output for fbcon in the past. So I think it's the right tool. > Reviewed-by: Javier Martinez Canillas Reviewed-by: Daniel Vetter Cheers, Sima > > -- > Best regards, > > Javier Martinez Canillas > Core Platforms > Red Hat > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch