Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp769657pxa; Tue, 11 Aug 2020 14:50:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy71vca66zkJcJV3KIb/56tZK/dAC7Gn7GtfaeH6r9a2W2EihJf2lCFQX6knpAbD9koB+le X-Received: by 2002:a05:6402:3135:: with SMTP id dd21mr29388172edb.123.1597182634933; Tue, 11 Aug 2020 14:50:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597182634; cv=none; d=google.com; s=arc-20160816; b=MwEa8ZrB6/QwhDKGm2nYD4B1+ilNIpyU90xib0CuneJ9MEcQO+9i5lt8RMDVpGaFq9 SuyC4NkXxbyX2vX4x1+TccSCULYkkcsMErnS/wkVuSB9lJ21MR6fybwqTZs/fUR+NDH5 65Nj/Y0I5GdFcf90zSgJRZ7LzA3bupQbMQFAVMVEY6w2u9gPK0838H2ASVwgJkq0v33O 4jAo0jn0P/jeMivQIsHrvPXHTc5tdl/mgZgorxY/5qJmbXCxVG4bmwB2EQ7T5DEQ0Zjd O48U7l3me68MKbMDbhV/nCynromC+Ge5fprktaAwKVzKY0u4SFdDtYmXKQZlAYR5bgyq gvaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=yRAye5F5l9hzR1g1P5dMPEhRVrsrXgvMRbsuClxK5F0=; b=RVprycbcP08Um3qXDV64GXhM767D4cvR1NB4uX5uX9Qr+pFu5zHue+7CM00suwTz6f pjeMkgt5fAlmshD8uYhA8VMuZGa0JOfzVztIGNjVANqqO+1hzcSz1kq0QVWiHREnoJA9 f8lOtJum53ZB0D+mlqhzHrZwRT84UNC92/9CC6aC9M6Tr4c1EilPSPt2X5jM7p6lRDSb TF0zxiL4i9yfxqyp01i1yJV47PXPFafydSv/oiQcBfu5edyygyGryYo4Y3pePHFy0WLo PDlYhaquI7JDbrXKCN2z2auCZM6PM3pYXgp+doADvp0OnZYmw1sBvZk4IlZ/Mhm6GiPH qZ4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=aYAxKLO+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q11si6250716ejt.551.2020.08.11.14.50.11; Tue, 11 Aug 2020 14:50:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=aYAxKLO+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726441AbgHKVt2 (ORCPT + 99 others); Tue, 11 Aug 2020 17:49:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725987AbgHKVt2 (ORCPT ); Tue, 11 Aug 2020 17:49:28 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF135C06174A for ; Tue, 11 Aug 2020 14:49:27 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id f5so153082plr.9 for ; Tue, 11 Aug 2020 14:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=yRAye5F5l9hzR1g1P5dMPEhRVrsrXgvMRbsuClxK5F0=; b=aYAxKLO+2Nd++44vwrkooer5fORLLDqSDvBErgWq068zdHXMHzeisim1L/+G9ic6O5 dNzUAomGUNjaDzTQy5YM3DWEsiWl1xsCLkIW3tZMbZhttwSRn1mAIPXFPe1gGxQo2tEO RDTUNDgaF1QpU9Qqd9uSYzY1wz1F8JzoAOtdg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=yRAye5F5l9hzR1g1P5dMPEhRVrsrXgvMRbsuClxK5F0=; b=jCo8Cl56nw30r9pfuWlv6T2NuW/NTxuLLbi4W85D3KGUAaIQ5RnnpXZoLIR5cKoDsk UdhX/nGu0UadcoUyu2tFzotZZoRUsbrEDmqLrWoaGN5nFCJ12AJKGf4EyltPNoEktkpM +W8Uea2XKyJIUGwMhecKXa73icwIByvT+Hk9A/lqLAU+dNKmDd3DNzJ3kq3Az9KqZVx2 Qr4woVGJkEtDKwNc4TMR8Apkyc0u+HO0mJodHvnlzCO2xQdv0boAZ7l4+o/dtGPChEnT axVsbHx658MfHyws2hQZjK/Uhi4qBdcNwySVj15oJqWowRZ9f+C0EvKPZeqx/EwQ2UVg EC9Q== X-Gm-Message-State: AOAM530EkJ94ntY274iy+Kgp8w0iIlw/vN8bHjlP3xbH2ibzuNO0NLT5 uKRWqDmBl29cIvhbkzx6fKO4fg== X-Received: by 2002:a17:902:900a:: with SMTP id a10mr2552967plp.203.1597182567153; Tue, 11 Aug 2020 14:49:27 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id l19sm59212pff.8.2020.08.11.14.49.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2020 14:49:26 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200730095350.13925-3-stanimir.varbanov@linaro.org> References: <20200730095350.13925-1-stanimir.varbanov@linaro.org> <20200730095350.13925-3-stanimir.varbanov@linaro.org> Subject: Re: [PATCH v5 2/3] venus: Add a debugfs file for SSR trigger From: Stephen Boyd Cc: jim.cromie@gmail.com, Joe Perches , Jason Baron , Greg Kroah-Hartman , Stanimir Varbanov To: Stanimir Varbanov , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Date: Tue, 11 Aug 2020 14:49:25 -0700 Message-ID: <159718256557.1360974.458611240360821676@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Stanimir Varbanov (2020-07-30 02:53:49) > The SSR (SubSystem Restart) is used to simulate an error on FW > side of Venus. We support following type of triggers - fatal error, > div by zero and watchdog IRQ. Can this use the fault injection framework instead of custom debugfs? See Documentation/fault-injection/.