Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1738165pxk; Fri, 2 Oct 2020 18:40:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbrXPwqHcTogzkiTml+hAhhY1CJYyLgmZ+nM8+8RXE7/SXI0uUVzHN0OWrAeayBxxw1xYk X-Received: by 2002:a17:907:33ca:: with SMTP id zk10mr4674786ejb.317.1601689234892; Fri, 02 Oct 2020 18:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601689234; cv=none; d=google.com; s=arc-20160816; b=eOgT4kUl8RY/i9jIlLCbTum4W1YpeEF8QW3sfyj6qHNHk/WW+veErzhysGdOBZO/Nt I6TiLBqjrHr2MQMDBltWvqWhf35jl0f2AVkiv4B2+vaNCydlPhU5N7KiaZOfYbVS8y8Y PPcYGfy5+KEJhNulgnFhrPSs/n5V3qhj0ihVri7bNRBQL2h+gA83iS9e6maDMKXvFLSX GYWcvC8SJiWZ4ocy7b5Ed2VqWpyRBjmgnddPIowXGXJK4IFURXVsDX7Rs1Dn5wib9EHm +H2ErgyGhlC0VaMy+E6oSdV3pvD0WI4FeVgKbVz8J8Yy7rjmfXwuKzUWzpZSH0VP1fwx EOsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=h+QvCgCquLIB4PMIfsSI7g6Fcy5ZKMf55mJGCk+rTuI=; b=QN3NknbzZfbmsvQdRDg1I1AnojF8FzPrXBCrWlXAfR6mVaFOVN72+MY7qEOqIf66Wc LiDIZT4Vt8ABnAin7yDvCLunmAgQ6yekia7ZJ1X4574QhVKUEI3R5fGPDatgljAlQbgH AujjNyZuCBkjmvU+6HktejqjyItp1dU7Sy3czeLbKEBHXuA7jINhJrYT2pBqmw6pGvVj TgRtJ06lmk8BFdU1uOrrpG20aq7X5TQk1b5tYHTC46KsDN2lEAxG3EispOuufOunmg+u wGdrFtKcCU7YmQLFWh4c6SFhBwfSS6RvBguD3MPX0J3ifxbwlOXne6lyhItJGCENYzph Hf8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BKxeBRa8; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j15si1308142ejf.18.2020.10.02.18.40.10; Fri, 02 Oct 2020 18:40: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=@gmail.com header.s=20161025 header.b=BKxeBRa8; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725681AbgJCBjS (ORCPT + 99 others); Fri, 2 Oct 2020 21:39:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725536AbgJCBjR (ORCPT ); Fri, 2 Oct 2020 21:39:17 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90B67C0613D0 for ; Fri, 2 Oct 2020 18:39:15 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id h6so1332423pgk.4 for ; Fri, 02 Oct 2020 18:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=h+QvCgCquLIB4PMIfsSI7g6Fcy5ZKMf55mJGCk+rTuI=; b=BKxeBRa8DzK0YevsxBG8HJKezJXiRcmaDt5TT9fjnZd676lV9U9Kp3WYiikbZLQTCG MsHhzbNT12XBkeupHSevSFUkAUPZ5TV9NQQjVFwO4hNmJWhobiHKQwQ6idmD2XxRna6w 9Ui7AD3bwIf6mHtJ6DZeoYnIvKBQihrIcHlbhh9lZWRF3p4M9wf2RW7yHoFpZAyb7gOk dqAWzNJZVp77PPxTDoxHcRlJ48f9OVq2F7xUKzXiVY4LSWCLRP4REQjb6f5uOWXiG9Le uHc8EGTYLwo75lCa/QvjlrN8WTcGEEqpiC3SYyvYfswFG/6srJqkGw/a4img/UW29Rst kcLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=h+QvCgCquLIB4PMIfsSI7g6Fcy5ZKMf55mJGCk+rTuI=; b=SBmq0HoWSaN7NYoLvYipO5DLcAaak4x8JFlMfRB1X5lp+ZR4Hb+LtWDIZcXG9yIn0D 6kPcp0gGBI/tLFBDdJo7w8TXRxFaF06jahdOwPSabm9UeppsNgZ8JR5NDDxzKrbJCGlv IKXNul4ebwjmuCYzSr8+p1MyFTnfpmgbL+BFImET20a9/o7uSYWHw20vFNdBn1UxvDQQ jC2vT04y5PdOOT9tGZSuRWRxmOkLTSvLTweau2Y3ICehaQbA6eRx/KlijGUPRuCGWg2c KCesx42otLy8zi8dYJwFiqlolS/NCQyQRiWbrlWmzzT91sGQiDAi9pWj6uA0M2mZdpRg /NBg== X-Gm-Message-State: AOAM531d+S/OfUCqtvlY58X8imnoCLR3kwD4HgKVNuBvvpwmgC0Y3BCV nF4Ae8FkYDlS0iOPXEArrgM= X-Received: by 2002:aa7:941a:0:b029:142:2501:34dc with SMTP id x26-20020aa7941a0000b0290142250134dcmr5533372pfo.53.1601689155074; Fri, 02 Oct 2020 18:39:15 -0700 (PDT) Received: from [192.168.1.3] (ip68-111-84-250.oc.oc.cox.net. [68.111.84.250]) by smtp.gmail.com with ESMTPSA id ie13sm2895918pjb.5.2020.10.02.18.39.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Oct 2020 18:39:14 -0700 (PDT) Subject: Re: [PATCH v6 11/14] misc: bcm-vk: add BCM_VK_QSTATS To: Scott Branden , Arnd Bergmann , Greg Kroah-Hartman , Desmond Yan Cc: Kees Cook , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Olof Johansson References: <20201002212327.18393-1-scott.branden@broadcom.com> <20201002212327.18393-12-scott.branden@broadcom.com> From: Florian Fainelli Message-ID: <55f88956-48ea-08e3-c353-babb08f3a786@gmail.com> Date: Fri, 2 Oct 2020 18:39:12 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <20201002212327.18393-12-scott.branden@broadcom.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/2/2020 2:23 PM, Scott Branden wrote: > Add BCM_VK_QSTATS Kconfig option to allow for enabling debug VK > queue statistics. > > These statistics keep track of max, abs_max, and average for the > messages queues. > > Co-developed-by: Desmond Yan > Signed-off-by: Desmond Yan > Signed-off-by: Scott Branden would not it make more sense to have those debug prints be trace printks instead? Given what you explained in the previous patch version and the desire to correlate with other system wide activity, that might make more sense. Looking at the kernel's log for debugging performance or utilization or just to get a glimpse of what is going on is not quite suited past probe. -- Florian