From patchwork Thu Jul 30 09:53:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 247271 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2252822ilg; Thu, 30 Jul 2020 02:54:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCm7Hoj8xK8+CbCfzke1EBl7oj8ScAbib+UzC4Pcf+jaiR+tY7kkkJ/6k+zl2z7M5cYNmc X-Received: by 2002:a05:6402:1ade:: with SMTP id ba30mr1729062edb.231.1596102872143; Thu, 30 Jul 2020 02:54:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596102872; cv=none; d=google.com; s=arc-20160816; b=bLjvHUJ1DWq/LNt+yaEWYfULL2eAtu+pnY0ykc3xWMFMpPyO6SAqCJElheU7jOOfCe rmvw6fDtYF5hA+g7GedIuNdcxZg8ZbqeMCwmCm41HadTdhRyQ83hnrMsx1jLRoDo6ciH rilnsXP95Rxu8BNNuqVnl6r9zglLftLH52QwKQyNU5ECP/5M7KsU6KlmvBV2Cc3WYEzx KZna9rnbN3UqQKnc8lIFx2rJyYv6Gak+fi4p7RH8AYpzfq37/cb9fxfcsEqzgGCQV0/3 mXR4YHsC+aQcAzYrUJteilgCWuYIGxBWxaXrDEbmaQsomUW9B3Pg/uqEe/odCD+m9iH5 VifA== 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=xvBm/QmjL2dREroNC3p1RSfuTdGEEJ/93HgO2F+2+X9ITDQzAcaY5ytE9hIsA4lTEj 1+aOgmEjFStzSfR+hFeEIlims4TODnGwbU3qnF1C6bARUck9hMNSknc9x6zWPmKOZygC VoxdsdKq0zjlnTVvmG+nfz11XzWPfNsfPUMm7h2Zq7sCHmgvND+uwgbQBbTHyu9KWF3U tmi0DGYnZstVMDM39veNrN3c6v21jlPSv1twKvYy5ygjEpd3/X8K8KP9M+Mbcz3e7AHV 9Q0xErjO18sP3fZpo5vAqjbUTQY0+OvpVNlPM9fSWS3Oip2sx27SXkct9FId6wxHTUo3 PX2A== 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-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-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 r18si323007edo.272.2020.07.30.02.54.31; Thu, 30 Jul 2020 02:54:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-media-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-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-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 S1726868AbgG3Jy1 (ORCPT + 4 others); Thu, 30 Jul 2020 05:54:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726832AbgG3Jy1 (ORCPT ); Thu, 30 Jul 2020 05:54:27 -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 3FE8BC061794 for ; Thu, 30 Jul 2020 02:54:26 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id r12so24229400wrj.13 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=T/QpsCX0v3BimweVIsz5GJNM013NcWV4GVmqfOKUrBTDGsYeu3neoe5zAwr43U7Mtk LWeCLERHMHVH/BIebHYelJQr2Id6CU6TRRe6scti2PC++4Zb4pdK5AozHF3Op6/eqzzw wIVxsFCRVYfPYrbk3QbESJXmGehucY1K4orISIPcu5lfXRxUHqwRTgXCfJBVAia4bbcx MdsM1tbZrXrKho+BKIG7Ev+O21HsWJvEONWcijCyWIVtTx/QML68nxwMu3nXQJ96H8DM jOB1D2hivrJ8LYG6u0Gw0gfd/rv5XeX69LgbPBmgCYpoyJqyDqU2c4ILhZhPGi0DgRzt Lf9w== X-Gm-Message-State: AOAM532OK+7hDxC16cJcTi99FfYyABVrFEZJ6hQLT2RPBNztqkEdXa2E zD/yh3XfrGoYWkyYiIpduwMsMA== 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-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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