Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21380389ybl; Mon, 6 Jan 2020 03:31:10 -0800 (PST) X-Google-Smtp-Source: APXvYqwN4RHXepI4fqUn9NFJM6n1c+szPlfFg0lolYkwksBq7zJ0sbtJQsC22jgfFFE9/+sNLC6t X-Received: by 2002:a9d:4f18:: with SMTP id d24mr112552900otl.179.1578310270190; Mon, 06 Jan 2020 03:31:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578310270; cv=none; d=google.com; s=arc-20160816; b=tn/QJgT/3Lk/qav4LBdasmDiCHOQd7GYjxiiBXiWRaJrySo5zbdWjcemzNsPGLTUyh gnW4E8gqGzZJfWpaEIkJkf6E4JJ7imXnWtBgOkFONuUtbPiFclf+ZRqQBb540Elii44N cGlTc4wB14hjfTQXC6XT35WbEXg9BJWnypsWgPCmrjp2iq9NFBK1kC4WMQWKi3KBEh5G VdkvPabJdyzT9SKUuSffRLzEFuEex5+16x1eF2oqd0wGIXzDG4gjVzr7eOSnTpUc64kC ctvi15n+CNa81M64R1eFI6xzKFS4jNzIUcdLcgEpVeNBSBnPDIBWlDCQv25U8GkDJwKT f4ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=5o/0GfX4d3Jsb8DyHo5Nav+vTeW88y0CPzGfRoAN/Uo=; b=yuZOnIzD+pxHOny5ebcxJxdO2FhU8fEBnjE+CwncOIgcWjc15FCQa1K8gYO7+1AF7D NzVlJhoorkjwpLqAIk9Ow3smCqQ5lj4Y3r53V9+THR+vP3feyuiSHFRVPo9GG0FllUXj MpnvZ9GzjB1bup3VlfpS+avUT8SpC3qUesDqaNzdsPmu9/K7n5XM8bOnQvbIwNHS6vcy AJx2xUUB2UuCXXw1MGxHP/x/XkaTNSdEmzg4layTnSDMIO7VpgZiRE7YWiCiN7+uF7uj PeKmZiTb+koP8c5QOnYsXKIxQITePqcwv18F6pdoL+I5kzySnwaC3VHIOZABstmApDkM tDIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l26si32877101otn.48.2020.01.06.03.30.56; Mon, 06 Jan 2020 03:31:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726385AbgAFLaF (ORCPT + 99 others); Mon, 6 Jan 2020 06:30:05 -0500 Received: from mail.netline.ch ([148.251.143.178]:38581 "EHLO netline-mail3.netline.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726294AbgAFLaF (ORCPT ); Mon, 6 Jan 2020 06:30:05 -0500 Received: from localhost (localhost [127.0.0.1]) by netline-mail3.netline.ch (Postfix) with ESMTP id E24142A604E; Mon, 6 Jan 2020 12:30:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at netline-mail3.netline.ch Received: from netline-mail3.netline.ch ([127.0.0.1]) by localhost (netline-mail3.netline.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1F-LcxBlJexm; Mon, 6 Jan 2020 12:30:01 +0100 (CET) Received: from thor (252.80.76.83.dynamic.wline.res.cust.swisscom.ch [83.76.80.252]) by netline-mail3.netline.ch (Postfix) with ESMTPSA id 207DA2A604B; Mon, 6 Jan 2020 12:30:00 +0100 (CET) Received: from [::1] by thor with esmtp (Exim 4.93) (envelope-from ) id 1ioQa8-003Crs-2y; Mon, 06 Jan 2020 12:30:00 +0100 Subject: Re: Warning: check cp_fw_version and update it to realize GRBM requires 1-cycle delay in cp firmware To: Alex Deucher , Paul Menzel Cc: David Airlie , LKML , amd-gfx list , Chang Zhu , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= References: <745c5951-5304-9651-34f1-6b3f6a713ece@molgen.mpg.de> From: =?UTF-8?Q?Michel_D=c3=a4nzer?= Message-ID: <3553af46-c9c5-cd33-e7f9-bf7a1a5f49a7@daenzer.net> Date: Mon, 6 Jan 2020 12:29:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-12-26 5:53 p.m., Alex Deucher wrote: > On Thu, Dec 26, 2019 at 5:11 AM Paul Menzel >> >>> [ 13.446975] [drm] Warning: check cp_fw_version and update it to realize GRBM requires 1-cycle delay in cp firmware >> >> Chang, it looks like you added that warning in commit 11c6108934. >> >>> drm/amdgpu: add warning for GRBM 1-cycle delay issue in gfx9 >>> >>> It needs to add warning to update firmware in gfx9 >>> in case that firmware is too old to have function to >>> realize dummy read in cp firmware. >> >> Unfortunately, it looks like you did not even check how the warning is >> formatted (needless spaces), so I guess this was totally untested. Also, >> what is that warning about, and what is the user supposed to do? I am >> unable to find `cp_fw_version` in the source code at all. >> > > The code looks fine. Not sure why it's rendering funny in your log. > DRM_WARN_ONCE("Warning: check cp_fw_version and update > it to realize \ > GRBM requires 1-cycle delay in cp firmware\n"); Looks like the leading spaces after the backslash are included in the string. Something like this should be better: DRM_WARN_ONCE("Warning: check cp_fw_version and update " "GRBM requires 1-cycle delay in cp firmware\n"); (or maybe the intention was to put the second sentence on a new line?) -- Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and X developer