Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1795340ybg; Thu, 30 Jul 2020 02:55:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz49LNrsr6jW2M6uMWp9ZWlYL8T+4GMD3G6hJBC3aIQzYowzPl0tda3TsBIbyCaAZOY62ju X-Received: by 2002:aa7:cb1a:: with SMTP id s26mr1864589edt.109.1596102902144; Thu, 30 Jul 2020 02:55:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596102902; cv=none; d=google.com; s=arc-20160816; b=Eq/37062Jtdu4PQZ4wWynrGQJfLj/g3lnjN89BvgvuXbNxb4jbTVfWNMpNN3kWF61l sG/0h/ptZIOYGa0Sy1M6KCKPSmG0a+GDUn4rSoDTE2J89V540Sh7Qa1SS25U9dIicz1V 3onKWw1Ji4J+xkjzr5XhldkWY2taiVG+D7GlrUpFK9dbywuoNN2+ApIj6iqlXryBHoyH X6V1CStAyXds6fqoozZlpdazGsMbfSvAfN+sn9RAH/zYvyrB8lLvSJNOcl8hSpLViVJ3 qihjA5SK5k/gqXB5X8RsVsv2N4n1ranZ+3q17Qe+VWNVn417yahZ1E0QVX1IK1cnoKLn arHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=4ubq+0N6t4zFwdqdaV7a4c0lcWwdgP8nONkvvrGpptQ=; b=pn6gm3+rzGXYAr1DHbE/Q1Cf3B4b8v4BJ8BPUsnV/nqi0TSgu6rm4XUIyuRC+Lh5x4 p9+8AB9NIBdz0c2RQF3fbHvrWF4aytjcPDAKqg0dZiEnrFqJZ1QEUlUBZ4IYHD0S9K0S SilnZcLznITjrCI8UOW2+K98dcmHSNYPW0nP1nXvNdQGw9Vy9zw8QsS/O6oRpgQwWWun aIFCd8d1bAb5+TO3GliA+J8nkUXYTk+TvykG97b1IqP8sihJ7TOSJsTWSmxO2GqoF/X6 ECaOgJmr7SLk/KXlAD/nBBIbXAt1560mItEu9r6hb3a7U20CuNSSi+ec33qPxJ3s8ILo F+zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PxSV06nJ; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g26si2996424edr.126.2020.07.30.02.54.39; Thu, 30 Jul 2020 02:55:02 -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=@linaro.org header.s=google header.b=PxSV06nJ; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726987AbgG3Jy3 (ORCPT + 99 others); Thu, 30 Jul 2020 05:54:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726832AbgG3Jy2 (ORCPT ); Thu, 30 Jul 2020 05:54:28 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70DFEC0619D4 for ; Thu, 30 Jul 2020 02:54:26 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id z18so20727248wrm.12 for ; Thu, 30 Jul 2020 02:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=4ubq+0N6t4zFwdqdaV7a4c0lcWwdgP8nONkvvrGpptQ=; b=PxSV06nJbz2Wlj5+mD9+D4WtvW+WritueOAK7eJVvPy7tD85/ybAbCCVxdUiXjbbUK ScuX7ajaXYqpKHm+AUXXdkDtAGpMJHWLbGEQTwNSSjsJZyBW4tZk+7+YQwH0E95askF+ sc2fqR+q1vfK6m9pnv70O4ffrFaIbrOSsaO3tuTBmhOOFRXmF24IUNh0m5+rV31VDPEq /YvTti9nZt6jg7klOsBnMLwkc6+hoH8LQi17MrVNxsKuc0bTMW1MABI7Lx9POFSZ5JLB j8ZGwCnCwRYj3og1k5gy6B5giSW2cuSeT7u2uJ000I5L0oCE4GrnsU710W8lMuy5Vufm h7IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4ubq+0N6t4zFwdqdaV7a4c0lcWwdgP8nONkvvrGpptQ=; b=Re2dj1HIO87jVPbeRcI7S+FC8jxXR6pGtXMN3oXd42lIt89TiloE1XUhZmcAIza2yc GhcIKWm78HFbdUPZ42/mxL+TneKwpnmZGjp5P5NLsHxwX5Aigk7sD9dX9IepCJ+dt/Zm L8anKs4k0z/HB67/b5l1viPLmcVcHZ/2haRD8PdfZp6E0A4WyeWg+ezuK3oUmoWDhtEx 7gnFEdLvDutm/iublYXbdVwpz2dNMPDGUZldkpaMIUy4lE2cETpGGAsR16ntV/BAxPgH 7a53P60BodcHrAl5Q7w2dOr9gEqcQlw6CloYNKPtd/14O9Dpyeggy6hjmkcbwRg6TBk3 wYEw== X-Gm-Message-State: AOAM533vmMfMqzJv9N0e+JVrt1OWXRv49leKIn6N8ZRHiAX9vdrILEQo 1XRCn4MD1iyQp67AymjEebhmzA/YSFuW1A== X-Received: by 2002:adf:e6cc:: with SMTP id y12mr24219838wrm.391.1596102864884; Thu, 30 Jul 2020 02:54:24 -0700 (PDT) Received: from localhost.localdomain ([195.24.90.54]) by smtp.gmail.com with ESMTPSA id u1sm10623139wrb.78.2020.07.30.02.54.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2020 02:54:24 -0700 (PDT) From: Stanimir Varbanov To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: jim.cromie@gmail.com, Joe Perches , Jason Baron , Greg Kroah-Hartman , Stanimir Varbanov Subject: [PATCH v5 0/3] Venus dynamic debug Date: Thu, 30 Jul 2020 12:53:47 +0300 Message-Id: <20200730095350.13925-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Changes in v5: * 1/3 - dropped dev_warn when set FW debug level - Greg KH * 3/3 - dropped pr_debug, and now group levels by prefix in dev_dbg v4 can be fount at [1]. regards, Stan [1] https://www.spinics.net/lists/kernel/msg3550106.html Stanimir Varbanov (3): venus: Add debugfs interface to set firmware log level venus: Add a debugfs file for SSR trigger venus: Make debug infrastructure more flexible drivers/media/platform/qcom/venus/Makefile | 2 +- drivers/media/platform/qcom/venus/core.c | 3 ++ drivers/media/platform/qcom/venus/core.h | 8 +++ drivers/media/platform/qcom/venus/dbgfs.c | 51 +++++++++++++++++++ drivers/media/platform/qcom/venus/dbgfs.h | 12 +++++ drivers/media/platform/qcom/venus/helpers.c | 2 +- drivers/media/platform/qcom/venus/hfi_msgs.c | 18 +++---- drivers/media/platform/qcom/venus/hfi_venus.c | 10 ++-- .../media/platform/qcom/venus/pm_helpers.c | 2 +- drivers/media/platform/qcom/venus/vdec.c | 6 +-- 10 files changed, 96 insertions(+), 18 deletions(-) create mode 100644 drivers/media/platform/qcom/venus/dbgfs.c create mode 100644 drivers/media/platform/qcom/venus/dbgfs.h -- 2.17.1