From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) (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 193E920ADD1 for ; Sat, 22 Feb 2025 10:59:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.24 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740221978; cv=none; b=NOIyMkCkvX1WAR/92EFM9Yk4lB87cBqh97f/eiDx57WmVptS4xwldddOTD4dmeN+6BVe76UwtKRnXVpqSMgmwudGqb4Xs7tf6UPHNAWDkuHwpOTNA+t+UrURG5hQRoprIEvWAbTLps/bMIzcmsc5+rG0YaIxOyD3iahUp3A6WXU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740221978; c=relaxed/simple; bh=w0EKQWgVzLT2QqerYXjI4WU/7yE1hixVEzAU7n2hiUw=; h=From:To:Cc:In-Reply-To:Subject:Date:Message-ID:MIME-Version: Content-Type:References; b=r7Q9WnYm+KC0yEbkejEyAPWlyXyjvhEKCS3GE4JSu3fw3xPGrPocMJFnN2A6n5dkSArDfnBD/Q7mvOYVZpVm6sPvRX3wR4pI0EmO8ETN07z7VYKLA7eZNdwZbCytbqv7hBCTBTw/SW3Tt1JsrIluWJjnG10l0TWdzTUuci+PfIQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=i6wiyYeJ; arc=none smtp.client-ip=203.254.224.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="i6wiyYeJ" Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20250222105934epoutp0109b43b2629fae31d2feec90f12b7b75a~mgqpcmtmW2414424144epoutp01g for ; Sat, 22 Feb 2025 10:59:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20250222105934epoutp0109b43b2629fae31d2feec90f12b7b75a~mgqpcmtmW2414424144epoutp01g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1740221974; bh=wumr9BYKo3bzF55GK4/s8rKp2ukr6kB5f9Ku9IjlTkk=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=i6wiyYeJlWcHs1sGol+Ns7ikG3k7yI6mjaa0s5ynkllTGyl1RP5FkTK7EUdWpJh1y llbOpYw51hNo2bflZAuiFTS9nv6e7BhGBtpHBbMAqARxvz9K3UfLkDNMHqdBGHOp7p gj5EuKK7xyvoU2CtQYx+UzTeOv50kylU2h6+xi9w= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20250222105932epcas5p190878b4b11b1b2dddbba0d75c80d0b11~mgqoPh1DX0600806008epcas5p1N; Sat, 22 Feb 2025 10:59:32 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.175]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4Z0PC707lkz4x9Pv; Sat, 22 Feb 2025 10:59:31 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 60.1B.19933.21EA9B76; Sat, 22 Feb 2025 19:59:30 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20250221132251epcas5p2cea80ecc913fc2fce22b82536458db49~mO_eJN4Lp3047230472epcas5p2p; Fri, 21 Feb 2025 13:22:51 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20250221132251epsmtrp1a8e7bedf045c25af01527d9207558418~mO_eIMjkw3268332683epsmtrp1i; Fri, 21 Feb 2025 13:22:51 +0000 (GMT) X-AuditID: b6c32a4a-c1fda70000004ddd-d6-67b9ae12b160 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id 57.5F.33707.B2E78B76; Fri, 21 Feb 2025 22:22:51 +0900 (KST) Received: from FDSFTE462 (unknown [107.122.81.248]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250221132248epsmtip15851f3eb2f16b9f9cd55ef846d8413b7~mO_bqG_4k0432204322epsmtip1d; Fri, 21 Feb 2025 13:22:48 +0000 (GMT) From: "Shradha Todi" To: "'Niklas Cassel'" Cc: , , , , , , , , , , , , , <18255117159@163.com>, , , In-Reply-To: Subject: RE: [PATCH v6 0/4] Add support for debugfs based RAS DES feature in PCIe DW Date: Fri, 21 Feb 2025 18:52:47 +0530 Message-ID: <036001db8463$b52940d0$1f7bc270$@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHKQE6Shj4kb5W0bTpKgC8ZJRSYvQHuuUhNATmpN3uzWwNpAA== Content-Language: en-in X-Brightmail-Tracker: H4sIAAAAAAAAA02TfUwTZxzH99y114OlcFamD0wcnFkWzIAWSncYgfmaG2PItoRkSxg74dKy ttfalm1CsiFUESJvToI0DWqpyuqGs6JSXobyGhaYIVaYCAwiEsQ4mLAlCLi1HGz893l+L8/3 931ecFQyhQXhWZyJNXCMhsR8BTc7wsLCJfUupXTWoqDchUsiqqojlLLnq6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40UDp+i17Sz8cP6ljfHossaizox doktS/TzXLt2QMsbWhXrio34khV5N8TBdVQ5JgP0gRvaItzkEdf42/x3j8SEJkUWE42rNbLf jS18a1sDAAA= X-CMS-MailID: 20250221132251epcas5p2cea80ecc913fc2fce22b82536458db49 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250214105330epcas5p13b0d5bef72b012d71e850c9454015880 References: <20250214105007.97582-1-shradha.t@samsung.com> > -----Original Message----- > From: Niklas Cassel > Sent: 19 February 2025 23:16 > To: Shradha Todi > Cc: linux-kernel@vger.kernel.org; linux-pci@vger.kernel.org; manivannan.sadhasivam@linaro.org; lpieralisi@kernel.org; > kw@linux.com; robh@kernel.org; bhelgaas@google.com; jingoohan1@gmail.com; Jonathan.Cameron@huawei.com; > fan.ni@samsung.com; nifan.cxl@gmail.com; a.manzanares@samsung.com; pankaj.dubey@samsung.com; 18255117159@163.com; > quic_nitegupt@quicinc.com; quic_krichai@quicinc.com; gost.dev@samsung.com > Subject: Re: [PATCH v6 0/4] Add support for debugfs based RAS DES feature in PCIe DW > > On Fri, Feb 14, 2025 at 04:20:03PM +0530, Shradha Todi wrote: > > DesignWare controller provides a vendor specific extended capability > > called RASDES as an IP feature. This extended capability provides > > hardware information like: > > - Debug registers to know the state of the link or controller. > > - Error injection mechanisms to inject various PCIe errors including > > sequence number, CRC > > - Statistical counters to know how many times a particular event > > occurred > > > > However, in Linux we do not have any generic or custom support to be > > able to use this feature in an efficient manner. This is the reason we > > are proposing this framework. Debug and bring up time of high-speed > > IPs are highly dependent on costlier hardware analyzers and this > > solution will in some ways help to reduce the HW analyzer usage. > > > > The debugfs entries can be used to get information about underlying > > hardware and can be shared with user space. Separate debugfs entries > > has been created to cater to all the DES hooks provided by the controller. > > The debugfs entries interacts with the RASDES registers in the > > required sequence and provides the meaningful data to the user. This > > eases the effort to understand and use the register information for debugging. > > > > This series creates a generic debugfs framework for DesignWare PCIe > > controllers where other debug features apart from RASDES can also be > > added as and when required. > > FWIW, for the series: > Tested-by: Niklas Cassel Hey Niklas, sent out v7 with a few minor modifications. Would be great if you could test that :)