From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7DFBE7D26A for ; Tue, 26 Sep 2023 09:13:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234109AbjIZJOE (ORCPT ); Tue, 26 Sep 2023 05:14:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234112AbjIZJOD (ORCPT ); Tue, 26 Sep 2023 05:14:03 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CAC510A for ; Tue, 26 Sep 2023 02:13:57 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD9E7C433C7; Tue, 26 Sep 2023 09:13:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1695719636; bh=Y+odGCOczssjR27qb7hGuZghKba17wGbQ+Fm6GLNnFU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2gydh655lyZCnI+wjfFSVuoKOwPzdGfBn7ZdmdQYpx9dOzM+V6UQnb/Wba/hWeVdv vTXx3o01rrnH44UQagmltNR/5/c3QvbDKXRVIGSuF88PXCm8VPfhn2h9dsFxOlmXNj Hqtf8x0xAtjSDX+mNjlSoT/Qx7Z+ciSC4vTy2Y/M= Date: Tue, 26 Sep 2023 11:13:52 +0200 From: Greg Kroah-Hartman To: Stefan Wahren Cc: Umang Jain , Florian Fainelli , Dan Carpenter , Phil Elwell , Dave Stevenson , Kieran Bingham , Laurent Pinchart , linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Subject: Re: [PATCH RFC] staging: vchiq_arm: move state dump to debugfs Message-ID: <2023092638-tacky-although-65ef@gregkh> References: <20230923235325.14329-1-wahrenst@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230923235325.14329-1-wahrenst@gmx.net> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On Sun, Sep 24, 2023 at 01:53:25AM +0200, Stefan Wahren wrote: > Besides the IOCTL interface the VCHIQ character device also provides > a state dump of the whole VCHIQ driver via read. Moving the state dump > function to debugfs has a lot advantages: > > - following changes on state dump doesn't break userspace ABI > - debug doesn't depend on VCHIQ_CDEV > - dump code simplifies a lot and reduce the chance of buffer overflows > > Signed-off-by: Stefan Wahren > --- > > Hello, > > since recent discussion raised the question about the future of debugfs > for vchiq [1], i want to submit this cleanup patch as part of the > discussion. The patch itself based on the latest series [2] of > Umang Jain to convert VCHIQ into a bus. I'm aware of the checkpatch > warnings which will be fixed in the next version, but not revelant > to the discussion. Looks good to me, thanks for moving this to debugfs. greg k-h