Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp785466lqo; Wed, 8 May 2024 15:10:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxmd5KHJX+qJoiKilXuHfSf0hRVUo1A26/6Yj67lna6HUE1LzCxOsST4zjGdjgJhLqvBoKmk8JMw3HUDEYF4mqq6L85O41O5zxccIxQQ== X-Google-Smtp-Source: AGHT+IERQ+z4p732res9Ze9JDd75OUq5d1G59x/25IuvmCREsJRxqrchY1FU2iW60fBW9mCiScCD X-Received: by 2002:a05:6a00:3926:b0:6f3:ed26:e4f4 with SMTP id d2e1a72fcca58-6f4c90b48d6mr1752184b3a.1.1715206226335; Wed, 08 May 2024 15:10:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715206226; cv=pass; d=google.com; s=arc-20160816; b=KQHjgZXrru6Lg2cVIP61+aSvWeZ6+/9JS5/9/O7HxjfWJlzVdUtk4ZCRjLtizea5HH JTAjtctEdn3saamfWt4vn5i2QqXjL7uoKdvzGMb7cxlaQF1lOYFX/gR22ETVw3LoAelB XrMGjDAvRD6mUGIK6L2x14ZwwdEe4iTMhT41Rzh2F36rir3bYTbV3uszPE1SdMg0BcZw DgFBGW+eODZ4KBlL6z5OvNRCPL/5k8nH7lzJNOVSlzTTzTSlBSnIWP92M1NGjPckrhzy 7+lfAbTlX6UJ9Qo8b9uiBUvhFT3iBvMOPkb04GLywnNux69j9y5nzdGasjBFlDSg0u1m MX4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=Q55AOX6Cm3bZuMX8A+pGwhOnR+iaCnt6yv6MXILoBYo=; fh=2lrUEWDt3TxxQzw7aIkvaX6ygMnEJl8n9hjTF/61Bxs=; b=mVLU9xc3FexCggPidcNbo3aEyjZ4EPYP+OCNpr4FS0VxU8r9Vz/Byt7qlsLEIk3+b0 O1ZtOd5fqvwpv6/Sd93gMHCD/pnZgqUx1PF5Soczvbg0bRnGlyFBZ38d1XgrPZyRu158 ClF1efk5orf7u8w0Zy1F8u0cXmlVslvDKAw2Cl83Lj6QyeLRiGETYb2SiIij7nIEIhrK wL8Wtgj0BW2pJRHoVA/qywr5ftHdC307IucvqTFeyu0YuVgwwlc9JrXdNkKIzvc3mCb1 p/S7qzuLb7Wo4o6fqMWqvVk0LnX0Dce1fxE8c1QxMCAXlBH0K/f0XFeatVg7HhRo/64W r/oA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HND831Ze; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173884-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173884-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a728f4si124593b3a.49.2024.05.08.15.10.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 15:10:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173884-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HND831Ze; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173884-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173884-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 31939B21396 for ; Wed, 8 May 2024 22:10:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2D411332A5; Wed, 8 May 2024 22:10:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HND831Ze" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C75B821373; Wed, 8 May 2024 22:10:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715206211; cv=none; b=WSy4Kd67tPslG2xkD/DlooPoYk6jQayrqb22m4bpeLk8nev6UtY16lvo9N4K4y/Fn+7pDkaHmNirSVfRbVXuBpiA7a6ZRf31LDj4jRINFgSpcCuRvzeKov8qIrhf364pxm0disAd5pS0cemZ4SiACIW0Yx5QjfBVqEMS8VWZgn8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715206211; c=relaxed/simple; bh=oJS1b9ugkLC7Q0oR7pdegtmRBU1Nam419JR29IfIvfA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=OjO5OK287yjpqaEI3CMMSeeKv7z0zIjC5PfTUoDpwmT3zk0NtLMNoSmteM6Y+M6UH5Tv4s0YPQCqq3AgZBckOTgeoscvgZago/qG04SL3QX0a6lQfMrcGu/fJL5TwUpRqHY8TYUxg0Iv6CRux/mAHb8M9993qH+3isDpW0RdHWU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HND831Ze; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 045F1C113CC; Wed, 8 May 2024 22:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715206211; bh=oJS1b9ugkLC7Q0oR7pdegtmRBU1Nam419JR29IfIvfA=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=HND831Ze4xj8nuBTXOelFk8NhKmiT3Vm++Gjz95ZQr+7H/nv8dUIEqXQrpZvcp78b F39ss/EdnUYrjhMyCU5hXJNnFWp2Bf5ICrFMQuvG8p724QF7FsMI2O4gTXsXqvyoJW 3mzorrmic3trDKdoj92d1IKsdUsDCaWUAzAR82Xgj524JC0fR6dCZkwhffc7WBJp7q VmYRlAI/bQOmKfwGKQGzW9yKDAvFn9Nxp/kcLC7XGJpuy2USwD2wQOvNNoLxzb2vmB FNUOAUtPlqS6GpqeGlaN0OvUkvi7mfqQnI1KzpqdthCJUww4m3TYtfPNjG/Un97rfr 7j12I3tjPdrTw== Date: Wed, 8 May 2024 17:10:09 -0500 From: Bjorn Helgaas To: LeoLiu-oc Cc: rafael@kernel.org, lenb@kernel.org, james.morse@arm.com, tony.luck@intel.com, bp@alien8.de, bhelgaas@google.com, robert.moore@intel.com, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, acpica-devel@lists.linux.dev, CobeChen@zhaoxin.com, TonyWWang@zhaoxin.com, ErosZhang@zhaoxin.com, LeoLiu@zhaoxin.com Subject: Re: [PATCH v2 2/3] PCI: Add AER bits #defines for PCIe to PCI/PCI-X Bridge Message-ID: <20240508221009.GA1791183@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231218030430.783495-3-LeoLiu-oc@zhaoxin.com> On Mon, Dec 18, 2023 at 11:04:29AM +0800, LeoLiu-oc wrote: > From: LeoLiuoc > > Define secondary uncorrectable error mask register, secondary > uncorrectable error severity register and secondary error capabilities and > control register bits in AER capability for PCIe to PCI/PCI-X Bridge. > Please refer to PCIe to PCI/PCI-X Bridge Specification, sec 5.2.3.2, > 5.2.3.3 and 5.2.3.4. Please include the spec revision. The only one I'm aware of is r1.0. > Signed-off-by: LeoLiuoc > --- > include/uapi/linux/pci_regs.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h > index a39193213ff2..987c513192e8 100644 > --- a/include/uapi/linux/pci_regs.h > +++ b/include/uapi/linux/pci_regs.h > @@ -802,6 +802,9 @@ > #define PCI_ERR_ROOT_FATAL_RCV 0x00000040 /* Fatal Received */ > #define PCI_ERR_ROOT_AER_IRQ 0xf8000000 /* Advanced Error Interrupt Message Number */ > #define PCI_ERR_ROOT_ERR_SRC 0x34 /* Error Source Identification */ > +#define PCI_ERR_UNCOR_MASK2 0x30 /* PCIe to PCI/PCI-X Bridge */ > +#define PCI_ERR_UNCOR_SEVER2 0x34 /* PCIe to PCI/PCI-X Bridge */ > +#define PCI_ERR_CAP2 0x38 /* PCIe to PCI/PCI-X Bridge */ > > /* Virtual Channel */ > #define PCI_VC_PORT_CAP1 0x04 > -- > 2.34.1 >