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 X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E70E7C433B4 for ; Wed, 21 Apr 2021 15:03:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B429C61453 for ; Wed, 21 Apr 2021 15:03:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240453AbhDUPEW (ORCPT ); Wed, 21 Apr 2021 11:04:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:43004 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243763AbhDUPEO (ORCPT ); Wed, 21 Apr 2021 11:04:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D4F4B6144B; Wed, 21 Apr 2021 15:03:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619017421; bh=h4bnYJpTsBnh2Jm4qYlSxDKXA+i8trJiLN/1joCEa+Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=drl2jHGU6wXdYAZeJ4Hr1dVI6l3i0kn4WsW5CiUaCxsnihRfeUBTnyTbhtfSYx53h BEaHnwmKtFfh9rvKUy0zkpvmXDNFg01Z32uRvRiRuVFFOQpgIcsdoF4tXg5pRcpPBI r09CidzMLWlMYqOLYW4rwBk7Q0L/o3hbkAbc9aYtbE+ya6z1p92hS2qRMJTe8Kq6EV NgHazX0iNCxUJSL44iZx6BoyZp09KD0sFSorRUlhJsWMyo2X7X79fuP7fuvt6YmrSu V6I8bQeX9UrSx0dTnxyrYNdOB/lg14GocUkBRgXgfJkRRmn3drOru+T87I6LQ/3qAA oGDkxtev6Sy2w== Date: Wed, 21 Apr 2021 20:33:37 +0530 From: Vinod Koul To: "Zanussi, Tom" Cc: peterz@infradead.org, acme@kernel.org, mingo@kernel.org, kan.liang@linux.intel.com, dave.jiang@intel.com, tony.luck@intel.com, dan.j.williams@intel.com, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org Subject: Re: [PATCH v2 1/1] dmaengine: idxd: Add IDXD performance monitor support Message-ID: References: <34f61cc9-a6d6-e5a3-5f8c-6ffae8858cce@linux.intel.com> <410134d7-5a4d-3537-e9cc-c4c8e7068cde@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <410134d7-5a4d-3537-e9cc-c4c8e7068cde@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21-04-21, 07:50, Zanussi, Tom wrote: > > > > > +static ssize_t cpumask_show(struct device *dev, struct device_attribute *attr, > > > > > + char *buf); > > > > > + > > > > > +static cpumask_t perfmon_dsa_cpu_mask; > > > > > +static bool cpuhp_set_up; > > > > > +static enum cpuhp_state cpuhp_slot; > > > > > + > > > > > +static DEVICE_ATTR_RO(cpumask); > > > > > > > > Pls document these new attributes added > > > > ? > > > > Yes, I'll add comments to all the attributes (also I'm assuming they don't need to be documented elsewhere). They need to be, all new sysfs attributes are ABI and need to be documented in Documentation/ABI/ Thanks -- ~Vinod