Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp187237pxb; Tue, 14 Sep 2021 22:56:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxirOCnI+jJ2ktiaFpECnpIFMHRyaCSkD0JSXKgqxwPEtYL9XlITRXHT3/8IFwe/DAcup35 X-Received: by 2002:a6b:e917:: with SMTP id u23mr17136940iof.19.1631685376216; Tue, 14 Sep 2021 22:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631685376; cv=none; d=google.com; s=arc-20160816; b=ylBRBGEdvPjN4GmxxwkfmIoTbIun5rP5RV2MKdsXRT1gMj9epDmFaxaGjUt4g1JBdK QT0oj3ZAWzIch1Ur0AgVxJlBG9Hus5ZsU8PPD8SGvEmPVdBXcYaFceagpx5+oiyU5Is4 tgP9MDf/xUwHO4dR4pSpdbiE0EDhoNBhKXQA1erjzZhQVY6kwAZURiKQDmPPqQkbRdVq mRnE5EdkWhsgA12nQCnSc7drtIFpeZUNt/STvVXXSkAcVm4s1bUBuDmgPniFneKFBxmZ 8K4iEPwvl412c4zFoP9e3wZOKADWt3vyaTMtFisZZ6a8jn+/XXA1zqQF3bY+nUoJa6j2 uhhA== 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=rbwUWma8B1g9oTXxJCVoQqeUm06Xy2UnlZlesTTDLsI=; b=hbLPPiX88ySNXaUU4V5XLtXKvy7y8CsXS8Miuwu2LIr8g/ql7HSl06NM8nJUdVqUQq EijW9pJ9VeIJPl6Nc3KgGb53HqVsMPaHu9gxY5LY+pUcU4FA0emeaeaakKVwtePQDiKc lXiIcL5DbWoIpOQbHbdWNlxaCX/TjubN4dj5E+ZQ3FfyRH/ieHqj+z89CiIgvFtroyhR Akk8YRmblI5/jhIMmLINHbx3HPK5VzqSTCvH/D8NewA8LW9YBiqVVsvboVDNpmKTQIVW Ka8ThXH6lPrPbCNgwuSZ1bR5pUUKxc44rTaBReDi92Kulq237nNVozPcShkxPQcQ/u6w S5Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=QDa92s4U; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r6si11911697ilb.145.2021.09.14.22.56.02; Tue, 14 Sep 2021 22:56:16 -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=@infradead.org header.s=bombadil.20210309 header.b=QDa92s4U; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236571AbhIOF4I (ORCPT + 99 others); Wed, 15 Sep 2021 01:56:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236503AbhIOFzw (ORCPT ); Wed, 15 Sep 2021 01:55:52 -0400 Received: from bombadil.infradead.org (unknown [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1502C0613E3 for ; Tue, 14 Sep 2021 22:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=rbwUWma8B1g9oTXxJCVoQqeUm06Xy2UnlZlesTTDLsI=; b=QDa92s4U4eRnInRnhAnkcOThUg 6sBiPAJ5mn1lLiA4R7FGbMTC/saHq8Qr1FVswQVhgQ0sT1QH7qJkmVLMO59oJPBEkVc0/Xtd/KdBV 9ZVnG+Ivgp2r9gCpC2ooKgHuEQ46IJDbc9fmDcw2JIGr4U0fjShAivIbAKYrjcSLHbEREgPp6Cd2t gGzH1WbOa2g4pkxX5tXXaTIqmQlgEUa+RMOnftcaEkJJbwq5+9CLB7OlLzdaeYW8nNg/kdfBlOrhH +dWM7hHkCdb4cP4ngyK9pc+U4J/CItQVcvDs6yefKGOm1R/9r6oo3BJfQRmfqk0EiAV+jmwC8bqrG ralWX3VQ==; Received: from [2601:1c0:6280:3f0:e65e:37ff:febd:ee53] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQNsN-0087sN-RB; Wed, 15 Sep 2021 05:54:31 +0000 Subject: Re: [PATCH misc] misc: Add Renesas Synchronization Management Unit (SMU) support To: Greg KH , Min Li Cc: "derek.kiernan@xilinx.com" , "dragan.cvetic@xilinx.com" , "arnd@arndb.de" , "linux-kernel@vger.kernel.org" References: <1630608353-7606-1-git-send-email-min.li.xe@renesas.com> From: Randy Dunlap Message-ID: Date: Tue, 14 Sep 2021 22:54:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: 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 9/14/21 10:38 PM, Greg KH wrote: > On Tue, Sep 14, 2021 at 08:43:44PM +0000, Min Li wrote: >> Hi Greg >> >> Thanks for the review >> >>>> drivers/misc/Kconfig | 9 ++ >>>> drivers/misc/Makefile | 2 + >>>> drivers/misc/rsmu_cdev.c | 239 >>>> ++++++++++++++++++++++++++++++++++++++++++++++ >>>> drivers/misc/rsmu_cdev.h | 77 +++++++++++++++ >>>> drivers/misc/rsmu_cm.c | 164 +++++++++++++++++++++++++++++++ >>>> drivers/misc/rsmu_sabre.c | 133 ++++++++++++++++++++++++++ >>> >>> If you make this all one .c file, the .h file can go away and it will be much >>> simpler in the end. And will get rid of the global symbols. >>> >> > >>>> + >>>> +/** >>>> + * @Description >>> >>> What is this format? It is not kernel-doc :( >>> >>>> + * ioctl to set SMU combo mode.Combo mode provides physical layer >>>> + frequency >>>> + * support from the Ethernet Equipment Clock to the PTP clock >>>> + * >>>> + * @Parameters >>> >>> Same here and elsewhere in this file. >> >> I was copying the format from xilinx_sdfec.h >> >> Is there a place that tells me how to properly document ioctl or can you give me an code example? > > The kerneldoc format should be described in Documentation/ somewhere... See Documentation/doc-guide/kernel-doc.rst. -- ~Randy