Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp762709ybc; Tue, 12 Nov 2019 08:49:49 -0800 (PST) X-Google-Smtp-Source: APXvYqz5r6tBOQlhZcZcW6gv/9f/0es1WvxOhnw5dRQKVILAUb7q0GgF3gVQ2ByO7rfD3CWfVgE+ X-Received: by 2002:a50:d7c9:: with SMTP id m9mr34408549edj.93.1573577389668; Tue, 12 Nov 2019 08:49:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573577389; cv=none; d=google.com; s=arc-20160816; b=ozHQ2OS35cUfOKRl3WcGMwZKfFQV2I/TzLPJKi/LVUcok7XtTw3w4yJzT2Uz9flLj0 TUN6doqkI9pkBW2ovO29vG3CFkrFubSogOn2rZTbqjfpVFnzw451n7XHdR1PIkWI9sAb 1EmMow8R5fTimuO4MoRu0BTjGAU5Z8oj/4lTibQPWk3XVrA+kds7Ncn4gY+WpQIAvl6m AYAjr0J0hIM/nA+CgN/gwYswuqDik948bcLwa5Pd+vvrF+gqibCgqJNEAmmAF15EMRDQ TSTyW1/GF5VJ5jiT1t4R1bvDiorl0xjWgxM80HYwForWrn67tOFDh69VSPBQWXkqkvCz t1Qw== 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=JzcbfndXJigm4fpzeLZYSXxeaKTN2hCzapqq1wgE0nY=; b=g2rN4BcZUt7+MqcY+XSyDUUxDolBmfhwnzEKFrMuFgBiGdqecDgAK11bX348zb1pni XIAcDF3qeZPwKYJYToU9p/NgegxEVOm9NoqkZKC7FcWYQIzLS3k5jjwufsfji49F4Qrg 7d75D4VuiIwaLr79exzBdojuWeDZzoOJEIRUDYjXdPU8XAUYcXIkXVAZ2VjasuBB+fLb GpGdcj5IV+QH1FZUxBgkRyMqLg2E/isqyCH6YYC8tPW1TjeknZa5oEy41YF494WvIJ9U tR55Ep9PRuqe5XPPBj51QX1qFamRy8qyAS9sNZSFWZs6RtUC5iU4yrtdccyu/4yDw/wh UuTA== 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 v13si17123391eda.131.2019.11.12.08.49.25; Tue, 12 Nov 2019 08:49:49 -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 S1727417AbfKLQpV (ORCPT + 99 others); Tue, 12 Nov 2019 11:45:21 -0500 Received: from mail.netline.ch ([148.251.143.178]:41554 "EHLO netline-mail3.netline.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726896AbfKLQpU (ORCPT ); Tue, 12 Nov 2019 11:45:20 -0500 Received: from localhost (localhost [127.0.0.1]) by netline-mail3.netline.ch (Postfix) with ESMTP id E45422A6046; Tue, 12 Nov 2019 17:45:17 +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 IU3ZG7YC6ovU; Tue, 12 Nov 2019 17:45:17 +0100 (CET) Received: from thor (116.245.63.188.dynamic.wline.res.cust.swisscom.ch [188.63.245.116]) by netline-mail3.netline.ch (Postfix) with ESMTPSA id DF2832A6045; Tue, 12 Nov 2019 17:45:16 +0100 (CET) Received: from localhost ([::1]) by thor with esmtp (Exim 4.93-RC1) (envelope-from ) id 1iUZI3-0007oQ-QX; Tue, 12 Nov 2019 17:45:15 +0100 Subject: Re: [PATCH 1/2] drm: replace incorrect Compliance/Margin magic numbers with PCI_EXP_LNKCTL2 definitions To: Bjorn Helgaas , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= , David Zhou , David Airlie , Daniel Vetter Cc: Frederick Lawler , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, Bjorn Helgaas References: <20191111192932.36048-1-helgaas@kernel.org> <20191111192932.36048-2-helgaas@kernel.org> From: =?UTF-8?Q?Michel_D=c3=a4nzer?= Message-ID: <6d86246e-504a-b762-aff8-0449dd6f3d31@daenzer.net> Date: Tue, 12 Nov 2019 17:45:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191111192932.36048-2-helgaas@kernel.org> 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-11-11 8:29 p.m., Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Add definitions for these PCIe Link Control 2 register fields: > > Enter Compliance > Transmit Margin > > and use them in amdgpu and radeon. > > NOTE: This is a functional change because "7 << 9" was apparently a typo. > That mask included the high order bit of Transmit Margin, the Enter > Modified Compliance bit, and the Compliance SOS bit, but I think what > was intended was the 3-bit Transmit Margin field at bits 9:7. Can you split out the functional change into a separate patch 1? That could make things easier for anyone who bisects the functional change for whatever reason. -- Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and X developer