Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1086229lqs; Wed, 6 Mar 2024 06:05:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWiJdp8nvZAOkSUZRtCDibbGUz6DtIpItg9nv64+MoqgM6ywyscSzNKA5H4DriaDSHNKIsDqNGrCL4ofp3oGPPnAkVK6ifj3xrcOxpX2w== X-Google-Smtp-Source: AGHT+IEvSoZSHUf7vC2l19v4F52rc6pgsA6EUCcEXs4u/OC40csbAuMR3cn2KuPEdl5AmXQYWMF1 X-Received: by 2002:a05:6a20:b8a:b0:1a1:4800:3533 with SMTP id i10-20020a056a200b8a00b001a148003533mr4250042pzh.37.1709733944652; Wed, 06 Mar 2024 06:05:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709733944; cv=pass; d=google.com; s=arc-20160816; b=xFRzl95/Ff1Vqc5jNk1PRtQN0EE8zyRhGLRM27NR6m4xtvse2c4vAd2ycndmEi2o/f 6sIixzLaQV4iaKVAm/lcQ5yE4qw4EF5YgkPyU6OdMe3TrHryz149BlXTLJEMbSf3oacI V8DFx+neM9jisYmEtNziG8kYizF8rb76JkCsi9TTFQSoJa8zhPTwYhaMRkawSGTMhY0u JC+wFk51CORsgmpxWW+YSTlmIQkJIPMrhRfxtRalMyYTWrzgPfuY/EM8c7KAQqsQ9HG0 ryhBe9XZjO73j1oeWZykD17P0CaHaj2cwF/8zsGWHFyLSHdf3zRMhyK0VsJXG+Ys5WQP OTYw== 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=/EQiUTBtPaCxK46oIKmaHtXvFz0YBoimK1cXyVz0Jy0=; fh=T0u4dldY9VpBxxzNsmjtDDr4y4S46OmPEquPvm0uWT4=; b=RI3TRPY2kDJAnGOnZRMuA/ecp21TOKx+l5J+QbCe2xZsDnIDZ8LdlXLd8YtRboAqxG KBmgG02AX0FrX3tvEvGvMJrAF2Tn7sO98WqcWfvGlkBX0u2bdBzlN4UHcsatKu9KOjef TWZGrmoMRrsP0f9RR/JDRvrqP31a414QlFYeakOgIEfQdp61DwqNRFXZJaNqu/s4s93d Iu/YRhMfco7qj4BobqoLh33TCsfnTZjdsih8SqCiGLN4nU9je0PATxmL/wFBf0vrLJV8 EWq9aMEBXOXixNhmc2FUp0MCwu/J5LWzKY0Xq19inEEJqUMYt5Mo3S+J+FYEfrXC598Y oT7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nexus-software-ie.20230601.gappssmtp.com header.s=20230601 header.b=IGVZHo3V; arc=pass (i=1 dkim=pass dkdomain=nexus-software-ie.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-93851-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93851-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d6-20020a63fd06000000b005cecc6097f2si11903464pgh.895.2024.03.06.06.05.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 06:05:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93851-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@nexus-software-ie.20230601.gappssmtp.com header.s=20230601 header.b=IGVZHo3V; arc=pass (i=1 dkim=pass dkdomain=nexus-software-ie.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-93851-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93851-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 3BCF2B21B26 for ; Wed, 6 Mar 2024 11:40:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D91D7FBA2; Wed, 6 Mar 2024 11:39:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nexus-software-ie.20230601.gappssmtp.com header.i=@nexus-software-ie.20230601.gappssmtp.com header.b="IGVZHo3V" Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 4A4677F7D3 for ; Wed, 6 Mar 2024 11:39:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709725191; cv=none; b=o434gkX1wDDbC0k9i31rmKjLnERhuCCIjfadO4Zmvt81NJxjUWdkvZbUGHVHRfrPAtBTmsFTIlH26Wa8MgL5eOQrXpb0MN6SKc5IemEmFp+g6zw8rOD32/nQeoZgoCR6qNlMFwPvMXAeSIlxWl17fkciH2MVZ//B6KVknLmbWYg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709725191; c=relaxed/simple; bh=jmXJMGcRnQBUkk1Q0aNQZjxooTTiMnOAaGrBdZhF9R8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=FJJx2zEoZr9JKvfKJGvXuzGlQz6qtCnUl+ybMYSN2OQgFgK2SfKxmtHhqRJXs/TQ6v7GQhJoiWqBI3qovmY+h/+51Ip2bHuip/O9heoSoxCC3lroCdAFHe1LyyxJ/2KTApyfKxVTwPEHYwjBx9oMpejTrgihi+dx1a8pAiVugT8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nexus-software.ie; spf=none smtp.mailfrom=nexus-software.ie; dkim=pass (2048-bit key) header.d=nexus-software-ie.20230601.gappssmtp.com header.i=@nexus-software-ie.20230601.gappssmtp.com header.b=IGVZHo3V; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nexus-software.ie Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=nexus-software.ie Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-412f8bf3718so2270255e9.0 for ; Wed, 06 Mar 2024 03:39:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20230601.gappssmtp.com; s=20230601; t=1709725187; x=1710329987; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/EQiUTBtPaCxK46oIKmaHtXvFz0YBoimK1cXyVz0Jy0=; b=IGVZHo3Vecpaycq97xGHIDeVLngWHvWVZ2lCs1axAoMBcHSQyKNUgu1eLEo2AJccXx Lxeg78fixDIouS2pRxJ7NDN9K2LJ0zmDRf8I8jeavkN6PtWjzhJAtN8MlPo0dZHiguVV JMyRaH/bqugjA4cGAMXyO+1TGrIRs38hI+z8euZfnCcaqkw8h2sShY4Sub9rL3GYysnm tOts0HXsstnBrqYjX9fhNzU9dAAxhTGncvYp80xZd41QT4sbtActNCNgAVmUaYYaIPFu Qq71EuDY2YWof3h7OS5vyGaBVQfdnp60cP7KXIp0AIUmvdRXHMb0Rw+XV9XXwtPQJzXY O12A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709725187; x=1710329987; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/EQiUTBtPaCxK46oIKmaHtXvFz0YBoimK1cXyVz0Jy0=; b=kq9HwgoL+bJh4+0KNly4fDtDeVR3YpKrnW7bEAsk+i19MK8mzFQWFwkmMUc9mnieVZ 4GFSFCuTYoq8tJ29t+dm7Ja/irYk5DgjpHCY3hWcyVlX7bk24nooZ1/Zk2GXpAiq16ze Ae/1JfC6UWvOgV+IZdZcqOmcwUvIq+B12X5mgUB7Yv3ws+cAf3QgPfFE6YyRWmtdrnj/ sThXcVMqevrXzcAYMjfqU8cWGSlJkqo8YIZ0oGrRUBKdKlqYatreeQo2b0rjrzB1mA32 /FqjaMgSZzO1gm37OjGGuBCF72hTNIhwck4qsslrYwECX6xOGXZLO/t6TVCK+LT3UFGg UWXQ== X-Forwarded-Encrypted: i=1; AJvYcCVxxA+xWPitOAfsFhzHPvWkp2mlbPXVpkDrwUi+xvqCDfkONeHCRmu+sCTEfwhBa+/hzguTEp10X11JxwSUMqOC7XkIfPBTPwhv3plW X-Gm-Message-State: AOJu0Yy9S+FHZEnOkgEEviM1ChGnNsDrD0UyeY7bVOpdOFm5WwvBovYJ DsmlQGCEgeYUFaC4uZMDS0pjD9CIUh8GopyeuzzScfwBtG1hCd9SvwS0tsa4qAI= X-Received: by 2002:a05:600c:4ed2:b0:412:7218:bda4 with SMTP id g18-20020a05600c4ed200b004127218bda4mr10157714wmq.19.1709725187383; Wed, 06 Mar 2024 03:39:47 -0800 (PST) Received: from [192.168.0.102] ([176.61.106.68]) by smtp.gmail.com with ESMTPSA id t11-20020a05600c198b00b00412c8117a34sm17072539wmq.47.2024.03.06.03.39.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Mar 2024 03:39:46 -0800 (PST) Message-ID: <70e2b458-6cf1-4953-b9a6-2c03a0d7965a@nexus-software.ie> Date: Wed, 6 Mar 2024 11:39:45 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] media: venus: avoid multiple core dumps Content-Language: en-US To: Dikshita Agarwal , Stanimir Varbanov , Vikash Garodia , Andy Gross , Bjorn Andersson , Konrad Dybcio , Mauro Carvalho Chehab Cc: Bryan O'Donoghue , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <1709704406-22501-1-git-send-email-quic_dikshita@quicinc.com> From: Bryan O'Donoghue In-Reply-To: <1709704406-22501-1-git-send-email-quic_dikshita@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 06/03/2024 05:53, Dikshita Agarwal wrote: > Core dump is generated whenever there is system error reported > by firmware. Right now, multiple such dumps are generated if > recovery fails in first attempt, since the sys error handler is > invoked again for every failed recovery. > To avoid it, add conditional check to generate core dump only > once during every system error notification from firmware. > > Signed-off-by: Dikshita Agarwal > --- Reviewed-by: Bryan O'Donoghue