Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1650680pxy; Thu, 6 May 2021 12:20:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywagrdJeqBR8X8cJbKrJHOVlNX2aOtRFoUuN6auqayemdsxUXDc8gTZKiTdUQHI3szRRIh X-Received: by 2002:a17:90a:1382:: with SMTP id i2mr19137057pja.83.1620328822843; Thu, 06 May 2021 12:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620328822; cv=none; d=google.com; s=arc-20160816; b=bmNSAeg9zsttbahXRH4f+4QrhDyoIMrRsrUz4V/z43c64IbwPMPh7GkWtwwKu+xC9j vIqXJWPWF2oUUGmCGzvGqY7l58vx+HlwynoOr9n+Bf4HFyiqD/oC/infztl067wf0V8t nN5TIowTgp3TeJ5xg1cXLSHKeYX6Bxcr5kmatrXAfuf1gNEvVDKHRUD2Yvv1ww6L3DdR XYsWP6dW9cyJiVblw34njk4ioh4SiDcCn5wa52XJSo8vw/mo3KXdZQfa500tcFKRJRr3 TIrkvdjnoXyiinCwerHCIoMR1sMM+YsAA7nyhv7+HwK27fPWhLGCbZRc6jzmLPBE4k9N SVhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JXX9Lsljmown3yJfzIRxQwK9FIQ2BX8oEG/lfg7folo=; b=wV8KLKYQNL6zo5sLCCFNBsKnv4Fb2FiSkZSNYZf8Ma3luWuTn196HsOXvMHL5zVqZo lQEoSCJ5zrIcZwla+988M7PRZR1RiYQ1NrDC/cW15POK3+G/LMtcrHrwELjbzfjuQZ82 y8NRKQujPLVOSdMVD2olk939b3aP/4v+wxnitJ1plJ4AJIQlF5pTeXyGDwxLoPGwfDl8 nJ9edtmjYf8Wg6okTpUHRiTcxeR/KdJP0AFWh9qDlAms07ZcznfV8Bi+GgzOSDVvyT6w AX+56j/bSq74YuL18CdF76/VdY0tL3a4WjAqZtvMUHp1SC/Hxu0moeYwzRLhEXeS8Ap5 WxuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ErP9yH2L; 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 n4si5737504pgu.437.2021.05.06.12.20.10; Thu, 06 May 2021 12:20:22 -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=ErP9yH2L; 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 S235840AbhEFPeO (ORCPT + 99 others); Thu, 6 May 2021 11:34:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:45934 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235342AbhEFPdq (ORCPT ); Thu, 6 May 2021 11:33:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BA553613F0; Thu, 6 May 2021 15:32:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620315167; bh=32yCzHDa56snda7ATUWNvJbqe/MsTwnPQCq/ie/OGr8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ErP9yH2LeaLujgtbGKxp68ZDWKMB5jm3IzZKTGPGq57lXpdi1Uz9yB3tuNZI7xzOi 3HWxx5zBi6YrfRWBq2q+lnsOk7FmJJUNqtIYsFivu3f8+CpUdBwfuRgzAb16/QdLbo QLeTQLBUW9dv6MKE8rWczzA8sLjOtSoIYdyCnYmOyruViTgGcqyfr3pVDm00V83Wd+ ZL3xWLWFQFTfcGU+2khFew7h2SITYsJQ9e0FVAhegAkCbD9UDNLn5wiy429Npgzri/ 65iQ5ppEaKjSPwHD4O9goaqCvT1egTE07zyD5v70Esz3kOGhZwBUcC2DqPZsVXARgS NyhFTU5ue79gw== Received: by pali.im (Postfix) id 6A68010CD; Thu, 6 May 2021 17:32:45 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Lorenzo Pieralisi , Thomas Petazzoni , Rob Herring , Bjorn Helgaas Cc: Russell King , =?UTF-8?q?Marek=20Beh=C3=BAn?= , 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: [PATCH 05/42] PCI: pci-bridge-emul: Add PCIe Root Capabilities Register Date: Thu, 6 May 2021 17:31:16 +0200 Message-Id: <20210506153153.30454-6-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210506153153.30454-1-pali@kernel.org> References: <20210506153153.30454-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is 16-bit register at offset 0x1E. Rename current 'rsvd' struct member to 'rootcap'. 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") --- 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