Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1474588rwb; Fri, 5 Aug 2022 02:35:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR5nShcxzrDhPj42mBhmpE38RpXkNb+AaIPFdBGDVG4Ng/RrRus/Oz1r97dOkcJxlhgNxoZt X-Received: by 2002:a17:90b:1bd0:b0:1f3:396f:9942 with SMTP id oa16-20020a17090b1bd000b001f3396f9942mr14651222pjb.220.1659692124217; Fri, 05 Aug 2022 02:35:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659692124; cv=none; d=google.com; s=arc-20160816; b=X8yFdjlrDdcZ/lIlt+TVimF22FQfHM4I3VVB48ApeKD+lDzy/1iBGgq+BtNu5qv6Dn NRsrtnGsP9wfzNE8BWJhbpZfLXj1Rl+NrdUjHEEq95TVysDQGyC31FiKf8io9KHEtpDc rp3ovplQjuYvVeyQjXWNcdIwafsD9/ZX0rt5pCVLIa7BrKvom/daSH4OSfpR1L9ShujY dqW2LnogrL7sSfz9W+c61gKBaehuPiaG+xyugFBsGOfN3zpJlWJhLucvOTH5mk389J9t HLx1YsYUm4qz9SCc/XS6LhEJYBNnHOTP3/bJq++scs0NJepybb4CAbr5jE902NHGqZoA HCQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=WRgqef0dgMkTd/bwTTVQlCK/s4FxH/0bA8AP8C35jAU=; b=NDOj32jTHjdh9jddnpfwjoaOuEJrpVRhfNWyS2mmbjDrLvZu4gEBUInlGnR24nye+c hc20on/4+ZfqXBGkuF1qlvUptBn/e8iTsCpDURhrv+JRdHBuGDWOVfoxQidP64XztcCG kYHZadGMeLheLHo43N771J8yN8Gxl+lOcksDapXZA12jiPbDrYIFFyuT6qgo3+MtYsPB M+6+mh4kSzrmrLF2dWozr/uW6vqdM1UkerRcdfSYlVHWRJtfzAo3dYYvPdLKqb2vJ9i+ L/iRSp90uDVROu8cg71EzoVp7GWGdiu2RXu9aj3pYrYWUptjC/Ke2+ZUHtKWy0Z45qb7 lP2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="NHhh/con"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o127-20020a634185000000b0040cfa279d11si2408095pga.835.2022.08.05.02.35.08; Fri, 05 Aug 2022 02:35:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="NHhh/con"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240208AbiHEJ0p (ORCPT + 99 others); Fri, 5 Aug 2022 05:26:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbiHEJ0n (ORCPT ); Fri, 5 Aug 2022 05:26:43 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 902B27821F; Fri, 5 Aug 2022 02:26:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659691602; x=1691227602; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=tG8kUD3ji7GDYQSEFarrC17CSyndXtVIb31RNBiVtX4=; b=NHhh/conhaMMFuyUXq59VQLp7q9d/bX9y4mM9GMXSOLkLoSx6KVTq2Gx U9u4HvBQQz3fTiG7+PZDwpMcxlZdyWVHLhtHxYqbtQjUiULZQoEea2c2n UUz/CEZXzF6I82wwamyAxZtZL7zT0BHltESUX7YcPPq832r84yhNXDTni jcSYmw8UCREjCurfq3U6QpO7z2rUuS3YTMumGBHfNGnRUDvHRRo2mVa47 xgihbM70jaY1YIdadrqqs3lkyhJX3Oq9qRvWpLbvOvZ/zWrw/uFDPfMeI sr5lR5/Zd7PE7hyagM0w43nQCQO0TpwftmKMsCdtKC/R55Fm5LgtrJj1U g==; X-IronPort-AV: E=McAfee;i="6400,9594,10429"; a="351874347" X-IronPort-AV: E=Sophos;i="5.93,216,1654585200"; d="scan'208";a="351874347" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2022 02:24:31 -0700 X-IronPort-AV: E=Sophos;i="5.93,216,1654585200"; d="scan'208";a="554052121" Received: from bfglenno-mobl.ger.corp.intel.com (HELO [10.213.238.183]) ([10.213.238.183]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2022 02:24:27 -0700 Message-ID: <7156b3bd-69d7-de53-dd2b-96e82a8cf0f7@linux.intel.com> Date: Fri, 5 Aug 2022 10:24:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v3 3/3] drm/i915/gt: document TLB cache invalidation functions Content-Language: en-US To: Andi Shyti , Randy Dunlap Cc: Mauro Carvalho Chehab , Jonathan Corbet , Niranjana Vishwanathapura , Chris Wilson , Daniel Vetter , David Airlie , Jani Nikula , Joonas Lahtinen , Maarten Lankhorst , Maxime Ripard , Rodrigo Vivi , Thomas Zimmermann , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <0698c5a5-3bf2-daa4-e10e-2715f9b0d080@infradead.org> From: Tvrtko Ursulin Organization: Intel Corporation UK Plc In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HK_RANDOM_ENVFROM,HK_RANDOM_FROM, NICE_REPLY_A,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/08/2022 10:08, Andi Shyti wrote: > Hi Randy, > >>> +/** >>> + * intel_gt_invalidate_tlb_full - do full TLB cache invalidation >>> + * @gt: GT structure >> >> In multiple places (here and below) it would be nice to know what a >> GT structure is. I looked thru multiple C and header files yesterday >> and didn't find any comments about it. >> >> Just saying that @gt is a GT structure isn't very helpful, other >> than making kernel-doc shut up. > > the 'gt' belongs to the drivers/gpu/drm/i915/gt/ subsystem and > it's widely used a throughout i915. > > I think it's inappropriate to describe it just here. On the other > hand I agree that a better documentation is required for the GT > itself where other parts can point to. Yeah agreed there is no point of copy pasting some explanation all over the place. Could we just do s/GT structure/struct intel_gt/, or "pointer to struct intel_gt to operate on", would that be good enough? Regards, Tvrtko