Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2044176pxu; Tue, 24 Nov 2020 15:41:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJs+PyKgJjhpprxZBSJdMhptx8Ta4qZKR32D3hIhdUB4Go5DLm4FcoeKVgiHbIbJUauswp X-Received: by 2002:a50:9d04:: with SMTP id v4mr920718ede.363.1606261299431; Tue, 24 Nov 2020 15:41:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606261299; cv=none; d=google.com; s=arc-20160816; b=vhigtlKeBvq+AIS4kw4vaOzSOGzrfVXuWzpgBEk2LA6+oWhrhglFSE14z+WWFT5ZzD DlxhRMMVXo59KpVa7cqGjhdumVg1DzB00Jhl6jjvsVdQueVMoQK5q9BxJAkZo4BH7SEZ XBjriESwteRAnBfujEnsyS5brEIuKcDhe6lIhIB3C3uRfFK7kmSKvBhh+6aum3H6dFAs wHgQLQEL+WhA0Q6jp5/Q8d8oh5ZabnJxicVNMPkhYy9IlYx3fGEc5dU+3CJIKYIVE5iO u05kpADPXhht12Z8T7sn55EtmAK87jvEHc4Zmfghynag4b1FTB900a9QVykUWHbgBVPj BbJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=L5yh124+35fWpY6C/RYa1tV5+Q4siwUnEg7czGfCdgc=; b=I7kJUQciURqWu+iy3FBRlc8bjiOIV7LmPcp2ltf2VYH4UvUDytp23UNMqREi2f9i42 5hB7NO092XhUakJJtrkpjIQc2cIM4PjWn/lLH9qUQXUDJA+M8nUO+xEZ0hpBeIfDX90i eFwfoSpGvOYcK6z9kQcPUGbfxna8AYU6q/WS/p9IKwnrnAmkf98nWAJi0ScTdjzYzb6j 7B8aqsUHkjMt+psIML8AmOY9fq4IZvFmzPDuwp+xhpTuNZlMmTB9UYb49VfNQ63QX28c NmRrkWIGM02BX5694Zc6ba4su6FnnunHGdEQt6WSaNtMiApBA7zwU85eLT5A4YSiAhNP jFIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=p3Nh4Wd0; 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 m22si141543edq.478.2020.11.24.15.41.16; Tue, 24 Nov 2020 15:41:39 -0800 (PST) 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=p3Nh4Wd0; 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 S2390444AbgKXQ0p (ORCPT + 99 others); Tue, 24 Nov 2020 11:26:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728539AbgKXQ0o (ORCPT ); Tue, 24 Nov 2020 11:26:44 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C67DC0613D6 for ; Tue, 24 Nov 2020 08:26:44 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id s13so3463827wmh.4 for ; Tue, 24 Nov 2020 08:26:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=L5yh124+35fWpY6C/RYa1tV5+Q4siwUnEg7czGfCdgc=; b=p3Nh4Wd0lncqnmu/1NyYehIOHHW/Aht1QF850QehyuLuUDo8QGXLlyQ6/fwOeexD8G cuhC8L9soyjdFfQVPlc/1OjYSYQ7HYxr1zSUD05FzKREYNlFrQB4/JPzKdhQQr2m65nG zSY3GZj4gqozYTe0NuItOa+kiG5QxG9eDdTdqQrGIwUOBWX5fUsYzZewxABxkAGsbFti NingY2nL4VrqYFSoOOtxDmdEEvAcgImnLcpQDPan8MVkOBwVFPVUmf2rN2JjZUA95wqT TWPAnET2gt2fi43V9qt32JM1FdC+iDJW+yWr8W54NQOxMzH7dSIoTcAPT/bX2v9z7giH CjsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=L5yh124+35fWpY6C/RYa1tV5+Q4siwUnEg7czGfCdgc=; b=hPJnMpcperi7YrdJPL9JsUhsmFG5traWH1rnhtAOR5RKFLJKx6zOVBdmcbySo+GNvm 9J/WrEDmFjwQ7UIeZHj2HvqTf9Ulfn2LnO6GSAABMz0R8GAOik2IyC3hd6DLrc3htu38 TP0mcM3iSR+nsWOQhyGtoLu4kAiHawg/NyyxJ2wD5HJW5LQOtYrNSQjH8EB3ccOasm2p 94GaYk5Po7Sd79pF+ySy+ZGBtYsNhvMhqnhJQuQC1t++BtVbzrCpIVRdFdnRUOHXftJ7 jGl9NyYVOdhDZFYxQTPhLGsAr8kRSE19t3CGqikR20ZfvAgkcPytQcCJcM9Wsae7EIVo Poiw== X-Gm-Message-State: AOAM531QFtnNg7GeTw/dJODZtYXQ/zMBX1d6VhsCk9j1RuHK0tgseuUE SJuLXPmf/pxc+SK35Qp18wx+RpiDkZzJEg//xWA= X-Received: by 2002:a7b:c157:: with SMTP id z23mr5325311wmi.70.1606235203423; Tue, 24 Nov 2020 08:26:43 -0800 (PST) MIME-Version: 1.0 References: <20201123111919.233376-1-lee.jones@linaro.org> <20201123111919.233376-38-lee.jones@linaro.org> In-Reply-To: <20201123111919.233376-38-lee.jones@linaro.org> From: Alex Deucher Date: Tue, 24 Nov 2020 11:26:32 -0500 Message-ID: Subject: Re: [PATCH 37/40] drm/amd/amdgpu/gmc_v8_0: Fix more issues attributed to copy/paste To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 23, 2020 at 6:21 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:618: warning: Function parameter o= r member 'flush_type' not described in 'gmc_v8_0_flush_gpu_tlb_pasid' > drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:618: warning: Function parameter o= r member 'all_hub' not described in 'gmc_v8_0_flush_gpu_tlb_pasid' > drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:657: warning: Function parameter o= r member 'vmhub' not described in 'gmc_v8_0_flush_gpu_tlb' > drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:657: warning: Function parameter o= r member 'flush_type' not described in 'gmc_v8_0_flush_gpu_tlb' > drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:998: warning: Function parameter o= r member 'pasid' not described in 'gmc_v8_0_vm_decode_fault' > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied with minor changes. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c b/drivers/gpu/drm/amd/= amdgpu/gmc_v8_0.c > index 0f32a8002c3d7..41c1d8e812b88 100644 > --- a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c > @@ -609,6 +609,8 @@ static int gmc_v8_0_mc_init(struct amdgpu_device *ade= v) > * > * @adev: amdgpu_device pointer > * @pasid: pasid to be flush > + * @flush_type: unused > + * @all_hub: unused > * > * Flush the TLB for the requested pasid. > */ > @@ -649,6 +651,8 @@ static int gmc_v8_0_flush_gpu_tlb_pasid(struct amdgpu= _device *adev, > * > * @adev: amdgpu_device pointer > * @vmid: vm instance to flush > + * @vmhub: unused > + * @flush_type: unused > * > * Flush the TLB for the requested page table (VI). > */ > @@ -990,6 +994,7 @@ static void gmc_v8_0_gart_disable(struct amdgpu_devic= e *adev) > * @status: VM_CONTEXT1_PROTECTION_FAULT_STATUS register value > * @addr: VM_CONTEXT1_PROTECTION_FAULT_ADDR register value > * @mc_client: VM_CONTEXT1_PROTECTION_FAULT_MCCLIENT register value > + * @pasid: debug logging only - no functional use > * > * Print human readable fault information (VI). > */ > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel