Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp68966pxy; Thu, 6 May 2021 20:46:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMrgSdS5gD3wAR6zv0+Z6dLAAud07Oktz6hdVbvHJH07WAvMb0AjzmG3ZyFeGrJ0oUZvpp X-Received: by 2002:a05:6402:b48:: with SMTP id bx8mr8596409edb.157.1620359200934; Thu, 06 May 2021 20:46:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620359200; cv=none; d=google.com; s=arc-20160816; b=zYR1wgMuv00db10ifmyKQkUNJcwnQibgR4j2tMx2bqFCZaEZ+T6poOMDgSPP6f1zfC DbCA1faDONXb9702BrrV6kA6ULBQ10mv11TTlJGtMigA3H/HWHvKqpDjubQBuQd7HDWq YvyzNHRsTER8LfAabwBNjzOEFs+Lee0WYEfrJ+C7bMEVE/DoS0FdExwISoFTpHa/aEJW 8AN+j+rMp0X14PBYVoHsr08GovTN9a2xOFolbYtvtfHQ8lL+Ynk07M8pfonlxv67wkMw N/2zO2RlbDbWP5xKZVDpFq6ul2UAA21ifqPEsrlddMcigFg3HAj9zTDxr/06XRbPnaVY 9WLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=X7izR75q2GwR0oLQJvVxvETfgTMUAzAm6NgacU7pRTU=; b=JOFeR4oBj8ze6A+V/dh5HniGObRi0Ht2Fy070ERuG3A1k69Yy+G8AzoNcda1wQ1W+i ZWQ9Z0iR789ssrq/aTonvLNpt4v5+tJ+c41tLlB6pTudUxZj4XQHkIvjMSAA94onOUoX WsPFM24A0jHp1QVpplU63QhFgOiCulc3TprPEGy34seBnzlBFKRy3gYxUGT3nUgvKOd5 2pClnyGHniMmLEx117vlYx1dTw/yq6imX3QBqbF3/+hqqQkUmKHLktLklhjkpkpkssg/ Wk8pzfvyYy8XdqF3Pzfv6hetgxi8di0aJMCVfcdbwbcpUIxaPpQHQckvNVsiPEI9X6Va s1Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VS40+lW6; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b9si3692892edd.593.2021.05.06.20.46.17; Thu, 06 May 2021 20:46:40 -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=@kernel.org header.s=k20201202 header.b=VS40+lW6; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231557AbhEFXLM (ORCPT + 99 others); Thu, 6 May 2021 19:11:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:44406 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231216AbhEFXLJ (ORCPT ); Thu, 6 May 2021 19:11:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AC94E6105A; Thu, 6 May 2021 23:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620342611; bh=pGwapwfIwZOhQarw96L9tvVjL5uL4dSL5MqgEDL7QV4=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=VS40+lW6QNMPALXuZKJZKkfsBtDahDjCHJwNqZN03r9k6KqwKZ+xuvARenFSzbPD8 2le/gXGEBrCurSqiQzGSplBT9ZoiQREwp5u3HXehJ0GBFE1lLn24VZe99Psx4F+2GL po33WChdPWTjY/tASJDhYyGILjoJwgIB9THQNwwuqkUdEsCjBfaHy3VXj23jzua583 uLeOaFRu5Mx0UauIOmXTJ1NruJe+dHW1rE9hvbtR6/Wf5dOrFfbFIK7bhrjdyEt1Gx W3WkzxrhPqbagLj2WtWXEepVAGVp3VIhaqWfHMEI1COk4Bryru5O0REmMKmCBbtYMW DEyf4K3ARYSlQ== Date: Thu, 6 May 2021 18:10:09 -0500 From: Bjorn Helgaas To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Lorenzo Pieralisi , Thomas Petazzoni , Rob Herring , Bjorn Helgaas , Russell King , Marek =?iso-8859-1?Q?Beh=FAn?= , Remi Pommarel , Xogium , Tomasz Maciej Nowak , Marc Zyngier , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 05/42] PCI: pci-bridge-emul: Add PCIe Root Capabilities Register Message-ID: <20210506231009.GA1444269@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210506153153.30454-6-pali@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 06, 2021 at 05:31:16PM +0200, Pali Roh?r wrote: > This is 16-bit register at offset 0x1E. Rename current 'rsvd' struct member > to 'rootcap'. "The 16-bit Root Capabilities register is at offset 0x1e in the PCIe Capability." Please make the commit log complete in itself. In some contexts, the subject line is not visible at the same time. It's fine to repeat the subject in the commit log. > Signed-off-by: Pali Roh?r > Reviewed-by: Marek Beh?n > Fixes: 23a5fba4d941 ("PCI: Introduce PCI bridge emulated config space common logic") > Cc: stable@vger.kernel.org # e0d9d30b7354 ("PCI: pci-bridge-emul: Fix big-endian support") I'm not sure how people would deal with *two* SHA1s. This patch adds functionality, so it's not really fixing a bug in 23a5fba4d941. I see that e0d9d30b7354 came along later and did "s/u16 rsvd/__le16 rsvd/". But it seems like a lot to expect for distros and stable kernel maintainers to interpret this. Personally I think I would omit both Fixes: and the stable tag since these two patches (05 and 06) are just adding functionality. > --- > drivers/pci/pci-bridge-emul.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/pci-bridge-emul.h b/drivers/pci/pci-bridge-emul.h > index b31883022a8e..49bbd37ee318 100644 > --- a/drivers/pci/pci-bridge-emul.h > +++ b/drivers/pci/pci-bridge-emul.h > @@ -54,7 +54,7 @@ struct pci_bridge_emul_pcie_conf { > __le16 slotctl; > __le16 slotsta; > __le16 rootctl; > - __le16 rsvd; > + __le16 rootcap; > __le32 rootsta; > __le32 devcap2; > __le16 devctl2; > -- > 2.20.1 >