Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1010752lqo; Thu, 9 May 2024 01:56:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWtvtxQ9vWBX5qztngDgTJobS2jwXvp4u9IySSE40Ha6+kgOGrOMtN4QcHJqoqFCEvqMFUxxxeJQbRkxKXiDQMmRWQJ1s7Wo6bmxbxtrA== X-Google-Smtp-Source: AGHT+IF8ODNV9ebSqELNDbbLs7ycuZhfCIAG0GZ+whfEqGH3da5sPq6vAkt5+sBT/rvp5os0BhKo X-Received: by 2002:a05:620a:4101:b0:792:94bb:6936 with SMTP id af79cd13be357-792b28489d2mr597528985a.74.1715244975769; Thu, 09 May 2024 01:56:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715244975; cv=pass; d=google.com; s=arc-20160816; b=hhopQ+dV6vC2fooZAExOg6fXKs++72n9a8QSpzt0Xe6glpKcqOJRHBX0afRWWin6dc Op4mmyQ6058W9qxXwqbxJnbQVzUAqydHr47mbjopclUUhz6zkFD0/Cj13GBT4xEgR5Hf NuPaT6Z0fxiEW7fBla+yGU7atyBPScNp4+USAXCZOU2dKVhw41GW2N1JAx/IsU33tJ/Y GiFf7z69EOaJ/TU+Fgdz+QBymc+qPt5rZb7LgeFSt5Z6wJtH22+JXEtF1/xJAr7LLDLW D/5Jqd5y4w1Uz5VcDGGfQYoBCK3xlcJGqoGGmAHoNeZO2ebvDN+O6R6bd9Je8am52RWM kpuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=MadkDY8XEyhOENLTue0/F6ZiMNoDeOMSSsWkxQcYa+o=; fh=uO7q4ANl9zvSOydsAQsumeVOPbLAEnplHRr3AeaATiY=; b=ZeLwpLKfvqZT3qY/9DyEnQES0x0dXzA8TJDbkUMuE+uY/hsf/N2pv048ksnl9hViho 2lsOc0Nmvm8B9zHPRPem9NAOnRt3JwNVHoVipAcVJqSxNvJDK0g77IsTgAjLrlCmk9t9 S3pvOe93QPvBr1yhq+aUnRnsn2vE91vfZg5wkWa67Pu+4snCcdOtTK+aspRFA7786T59 rwi41JH7m1dol3bdtrp2ll6q957Vv3ewdMDp5bzYMk8mILSj+yFbhqbWL5aPek1ReYHI DMQUyfqVwK25g7MhId3rtCyvENT/Nb5TJ8gl/jIHJxN48Rj/acWN5Dx8IU+p6qEdIjcT HdBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=zhaoxin.com); spf=pass (google.com: domain of linux-kernel+bounces-174310-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174310-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf277809si92574385a.149.2024.05.09.01.56.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 01:56:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174310-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=zhaoxin.com); spf=pass (google.com: domain of linux-kernel+bounces-174310-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174310-linux.lists.archive=gmail.com@vger.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 70D941C2104F for ; Thu, 9 May 2024 08:56:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0F3314A4C3; Thu, 9 May 2024 08:56:08 +0000 (UTC) Received: from mx2.zhaoxin.com (mx2.zhaoxin.com [203.110.167.99]) (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 99DD813D289 for ; Thu, 9 May 2024 08:56:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.110.167.99 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715244968; cv=none; b=NlDxq2xqOLIwIG/xMwKtWMAOQakGHPMCiUTtX2ABbGwsyKYBnBdIGwL/ITUAZPit33VIuiUTns4IGFgDpyKe2U8oMivYIvyOM3Zn3MStqhr7Nc9tPZUf6IhEW9El76roqjWuh3NlIuJj1uvH3F8Ri2S7Ty+ATNtUAAnoD7iTVxI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715244968; c=relaxed/simple; bh=c36C+k9q9dNBLdBPfFzSAMYp3ZZ9Qs7guFDfKKB5zck=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=Cuecs5ilTn+ggR8euRBR+WXMiPYaVVxxqlkLXNcXJkRSoq7BGD2DdumZ+ZVuM3P7eQpxWTFDpnKZn2rBpNYV/TeOZ583SWAlvt3YQ7k36ctee7MUl93gXHjYo2yb6dh++uWo/xGUMbRWUUHSmjfLDndDcMIigC+cLbUIV9g76vY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zhaoxin.com; spf=pass smtp.mailfrom=zhaoxin.com; arc=none smtp.client-ip=203.110.167.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zhaoxin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zhaoxin.com X-ASG-Debug-ID: 1715244164-1eb14e507e0caa0001-xx1T2L Received: from ZXSHMBX3.zhaoxin.com (ZXSHMBX3.zhaoxin.com [10.28.252.165]) by mx2.zhaoxin.com with ESMTP id 5dTMgisTdkf08vuz (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 09 May 2024 16:42:44 +0800 (CST) X-Barracuda-Envelope-From: LeoLiu-oc@zhaoxin.com X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.165 Received: from ZXBJMBX03.zhaoxin.com (10.29.252.7) by ZXSHMBX3.zhaoxin.com (10.28.252.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 9 May 2024 16:42:44 +0800 Received: from [192.168.1.204] (125.76.214.122) by ZXBJMBX03.zhaoxin.com (10.29.252.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 9 May 2024 16:42:42 +0800 X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.165 Message-ID: <1258b765-111c-4538-83e5-8e6aa3cb0936@zhaoxin.com> X-Barracuda-RBL-Trusted-Forwarder: 192.168.1.204 Date: Thu, 9 May 2024 16:42:41 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/3] PCI: Add AER bits #defines for PCIe to PCI/PCI-X Bridge To: Bjorn Helgaas X-ASG-Orig-Subj: Re: [PATCH v2 2/3] PCI: Add AER bits #defines for PCIe to PCI/PCI-X Bridge CC: , , , , , , , , , , , , , , References: <20240508221009.GA1791183@bhelgaas> From: LeoLiu-oc In-Reply-To: <20240508221009.GA1791183@bhelgaas> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: ZXSHCAS2.zhaoxin.com (10.28.252.162) To ZXBJMBX03.zhaoxin.com (10.29.252.7) X-Barracuda-Connect: ZXSHMBX3.zhaoxin.com[10.28.252.165] X-Barracuda-Start-Time: 1715244164 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://10.28.252.36:4443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at zhaoxin.com X-Barracuda-Scan-Msg-Size: 1723 X-Barracuda-BRTS-Status: 0 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.124624 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 在 2024/5/9 6:10, Bjorn Helgaas 写道: > > > [这封邮件来自外部发件人 谨防风险] > > 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. > Yes,the PCIe to PCI/PCI-X Bridge Specification version is r1.0. I will supplement the protocol version in the next edition. Yours sincerely Leoliu-oc >> 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 >>