From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2426CC001B0 for ; Mon, 24 Jul 2023 13:05:23 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=velankanigroup.com header.i=jdhanasekar@velankanigroup.com header.a=rsa-sha256 header.s=zoho header.b=AMgDV1Ke; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4R8gPY54rjz2yth for ; Mon, 24 Jul 2023 23:05:21 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=velankanigroup.com header.i=jdhanasekar@velankanigroup.com header.a=rsa-sha256 header.s=zoho header.b=AMgDV1Ke; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=velankanigroup.com (client-ip=103.117.158.11; helo=sender-op-o11.zoho.in; envelope-from=jdhanasekar@velankanigroup.com; receiver=lists.ozlabs.org) Received: from sender-op-o11.zoho.in (sender-op-o11.zoho.in [103.117.158.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4R8gNR40TZz2xW7 for ; Mon, 24 Jul 2023 23:04:22 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; t=1690203846; cv=none; d=zohomail.in; s=zohoarc; b=RhVRqOYNA94n+hq8No45mX921gZxHhS8042cWBBbn+ovgKTS9a/kjvwhClshipY+BgN1qcdQeTZnTobJRG1Xa0l9S9boJejepZeqtORfPB+TBT1DAD3UpgfX8q/3VATIbfXaVD/yiEegNTiFdQZr7Pfj1UgaZJWi5YeRblinUMc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1690203846; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=/zA6wv1zTfFAYjDPFlvKLHS95CSuVKz0ZWRufXfzd8A=; b=IeqrcQje+MxWIDkvRmyKxBc0kmw8v50uSspzrfUjX+HD5FBdqsLAZTqtRvpyO0HbudhmhhDOFuOn1PiMFKiwlDTTBvILXkTILW5ZBEOWZ5cv8HIiFs0Hp0EsmOsOp2JIMF7eoCXpYTdZBm5yyhF06akhjpTZVrwico9hSLgKYRc= ARC-Authentication-Results: i=1; mx.zohomail.in; dkim=pass header.i=velankanigroup.com; spf=pass smtp.mailfrom=jdhanasekar@velankanigroup.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1690203846; s=zoho; d=velankanigroup.com; i=jdhanasekar@velankanigroup.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-Id:Message-Id:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Reply-To; bh=/zA6wv1zTfFAYjDPFlvKLHS95CSuVKz0ZWRufXfzd8A=; b=AMgDV1KeJFXkBGcbb8jn0cdFxO+cEmvcZ6iP8HwUDUHNJSQETVAtiISRJLS2SpoL +eOIhfXsBLgu/MiSBbZYXoDE24NyFzY/yHxfjYg0zPpeLdlPRN/8inBIaSHENXMMWAo qOcZapN4o9F/aFBhIYIPiME5GCUMSV4soxoK+iF4= Received: from mail.zoho.in by mx.zoho.in with SMTP id 169020384465774.75314082667592; Mon, 24 Jul 2023 18:34:04 +0530 (IST) Date: Mon, 24 Jul 2023 18:34:04 +0530 From: J Dhanasekar To: "Venkatesh, Supreeth" Message-Id: <18987ffeff9.35c4bda1801937.8894247920197462243@velankanigroup.com> In-Reply-To: References: <07621845-19a4-0568-be0e-f556ba40b813@amd.com> <255d7c9a-ce17-bbe1-7312-990d0221cf36@amd.com> <65515592-8f77-1c8f-731c-165fb833344b@amd.com> <71a122a9-07a9-06a8-ee1a-dd108db63df3@amd.com> <18977ff7cd7.59a883fc562150.7689391317426675156@velankanigroup.com> Subject: RE: [RFC] BMC RAS Feature MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2501825_1488847856.1690203844604" Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Zoho-Virus-Status: 1 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lei Yu , Zane Shelley , Michael Shen , openbmc , dhruvaraj S , Brad Bishop , Ed Tanous , "Dhandapani, Abinaya" Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" ------=_Part_2501825_1488847856.1690203844604 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Supreeth, Thanks for the info. We hoped that Daytonax would be upstreamed. Unfortunat= ely, It is not available.=C2=A0 Actually, we need to enable SOL, Post code and PSU features in Daytona.=C2= =A0 Will we get support for this feature enablement? or Are there any refer= ence=C2=A0implementation available for AMD boards?. Thanks, Dhanasekar ---- On Fri, 21 Jul 2023 19:33:41 +0530 Venkatesh, Supreeth wrote --- [AMD Official Use Only - General] Hi Dhanasekar, =C2=A0 It is supported for EPYC Genoa family and beyond at this time. Daytona uses EPYC Milan family and support is not there in that. =C2=A0 Thanks, Supreeth Venkatesh System Manageability Architect=C2=A0=C2=A0|=C2=A0=C2=A0AMD Server Software =C2=A0 From: J Dhanasekar =20 Sent: Friday, July 21, 2023 5:30 AM To: Venkatesh, Supreeth Cc: Zane Shelley ; Lei Yu ; Michael Shen ; openbmc ; dhruvaraj S ; Brad= Bishop ; Ed Tanous ; Dhandapani, Abinaya Subject: Re: [RFC] BMC RAS Feature =C2=A0 Caution: This message originated from an External Source. Use proper cautio= n when opening attachments, clicking links, or responding. =C2=A0 Hi Supreeth Venkatesh, =C2=A0 Does this RAS feature work for the Daytona Platform.=C2=A0 i have been work= ing in openBMC development for the Daytonax platform.=C2=A0 If this RAS works for Daytona Platform. I will include it in my project.=C2= =A0 =C2=A0 Please provide your suggestions.=C2=A0 =C2=A0 Thanks, Dhanasekar =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ---- On Mon, 03 Apr 2023 22:06:24 +0530 Supreeth Venkatesh wrote --- =C2=A0 On 3/23/23 13:57, Zane Shelley wrote: > Caution: This message originated from an External Source. Use proper=20 > caution when opening attachments, clicking links, or responding.=20 >=20 >=20 > On 2023-03-22 19:07, Supreeth Venkatesh wrote:=20 >> On 3/22/23 02:10, Lei Yu wrote:=20 >>> Caution: This message originated from an External Source. Use proper= =20 >>> caution when opening attachments, clicking links, or responding.=20 >>>=20 >>>=20 >>>>> On Tue, 21 Mar 2023 at 20:38, Supreeth Venkatesh=20 >>>>> wrote:=20 >>>>>=20 >>>>>=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 On 3/21/23 05:40, Patrick Williams wrote:= =20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 > On Tue, Mar 21, 2023 at 12:14:45AM -0500,= Supreeth Venkatesh=20 >>>>> wrote:=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 >=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 >> #### Alternatives Considered=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 >>=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 >> In-band mechanisms using System Manageme= nt Mode (SMM)=20 >>>>> exists.=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 >>=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 >> However, out of band method to gather RA= S data is processor=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 specific.=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 >>=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 > How does this compare with existing imple= mentations in=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 > phosphor-debug-collector.=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 Thanks for your feedback. See below.=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 > I believe there was some attempt to exten= d=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 > P-D-C previously to handle Intel's crashd= ump behavior.=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 Intel's crashdump interface uses com.intel.= crashdump.=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 We have implemented com.amd.crashdump based= on that reference.=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 However,=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 can this be made generic?=20 >>>>>=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 PoC below:=20 >>>>>=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 busctl tree com.amd.crashdump=20 >>>>>=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 =E2=94=94=E2=94=80/com=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =E2=94=94=E2=94=80/com/am= d=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =E2=94=94=E2= =94=80/com/amd/crashdump=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =E2=94=9C=E2=94=80/com/amd/crashdump/0=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =E2=94=9C=E2=94=80/com/amd/crashdump/1=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =E2=94=9C=E2=94=80/com/amd/crashdump/2=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =E2=94=9C=E2=94=80/com/amd/crashdump/3=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =E2=94=9C=E2=94=80/com/amd/crashdump/4=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =E2=94=9C=E2=94=80/com/amd/crashdump/5=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =E2=94=9C=E2=94=80/com/amd/crashdump/6=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =E2=94=9C=E2=94=80/com/amd/crashdump/7=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =E2=94=9C=E2=94=80/com/amd/crashdump/8=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =E2=94=94=E2=94=80/com/amd/crashdump/9=20 >>>>>=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 > The repository=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 > currently handles IBM's processors, I thi= nk, or maybe that is=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 covered by=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 > openpower-debug-collector.=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 >=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 > In any case, I think you should look at t= he existing D-Bus=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 interfaces=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 > (and associated Redfish implementation) o= f these repositories=20 >>>>> and=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 > determine if you can use those approaches= (or document why=20 >>>>> now).=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 I could not find an existing D-Bus interfac= e for RAS in=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 xyz/openbmc_project/.=20 >>>>> =C2=A0=C2=A0=C2=A0=C2=A0 It would be helpful if you could point me t= o it.=20 >>>>>=20 >>>>>=20 >>>>> There is an interface for the dumps generated from the host, which= =20 >>>>> can=20 >>>>> be used for these kinds of dumps=20 >>>>> https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml= /xyz/openbmc_project/Dump/Entry/System.interface.yaml=20 >>>>>=20 >>>>>=20 >>>>> The fault log also provides similar dumps=20 >>>>> https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml= /xyz/openbmc_project/Dump/Entry/FaultLog.interface.yaml=20 >>>>>=20 >>>>>=20 >>>> ThanksDdhruvraj. The interface looks useful for the purpose. However,= =20 >>>> the current BMCWEB implementation references=20 >>>> https://github.com/openbmc/bmcweb/blob/master/redfish-core/lib/log_se= rvices.hpp=20 >>>>=20 >>>> [com.intel.crashdump]=20 >>>> constexpr char const* crashdumpPath =3D "/com/intel/crashdump";=20 >>>>=20 >>>> constexpr char const* crashdumpInterface =3D "com.intel.crashdump";= =20 >>>> constexpr char const* crashdumpObject =3D "com.intel.crashdump";=20 >>>>=20 >>>> https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/= xyz/openbmc_project/Dump/Entry/System.interface.yaml=20 >>>>=20 >>>> or=20 >>>> https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/= xyz/openbmc_project/Dump/Entry/FaultLog.interface.yaml=20 >>>>=20 >>>> is it exercised in Redfish logservices?=20 >>> In our practice, a plugin `tools/dreport.d/plugins.d/acddump` is added= =20 >>> to copy the crashdump json file to the dump tarball.=20 >>> The crashdump tool (Intel or AMD) could trigger a dump after the=20 >>> crashdump is completed, and then we could get a dump entry containing= =20 >>> the crashdump.=20 >> Thanks Lei Yu for your input. We are using Redfish to retrieve the=20 >> CPER binary file which can then be passed through a plugin/script for= =20 >> detailed analysis.=20 >> In any case irrespective of whichever Dbus interface we use, we need a= =20 >> repository which will gather data from AMD processor via APML as per=20 >> AMD design.=20 >> APML=20 >> Spec: https://www.amd.com/system/files/TechDocs/57019-A0-PUB_3.00.zip= =20 >> Can someone please help create bmc-ras or amd-debug-collector=20 >> repository as there are instances of openpower-debug-collector=20 >> repository used for Open Power systems?=20 >>>=20 >>>=20 >>> --=20 >>> BRs,=20 >>> Lei YU=20 > I am interested in possibly standardizing some of this. IBM POWER has=20 > several related components. openpower-hw-diags is a service that will=20 > listen for the hardware interrupts via a GPIO pin. When an error is=20 > detected, it will use openpower-libhei to query hardware registers to=20 > determine what happened. Based on that information openpower-hw-diags=20 > will generate a PEL, which is an extended log in phosphor-logging, that= =20 > is used to tell service what to replace if necessary. Afterward,=20 > openpower-hw-diags will initiate openpower-debug-collector, which=20 > gathers a significant amount of data from the hardware for additional=20 > debug when necessary. I wrote openpower-libhei to be fairly agnostic. It= =20 > uses data files (currently XML, but moving to JSON) to define register= =20 > addresses and rules for isolation. openpower-hw-diags is fairly POWER=20 > specific, but I can see some parts can be made generic. Dhruv would have= =20 > to help with openpower-debug-collector.=20 Thank you. Lets collaborate in standardizing some aspects of it.=20 >=20 > Regarding creation of a new repository, I think we'll need to have some= =20 > more collaboration to determine the scope before creating it. It=20 > certainly sounds like we are doing similar things, but we need to=20 > determine if enough can be abstracted to make it worth our time.=20 I have put in a request here:=20 https://github.com/openbmc/technical-oversight-forum/issues/24=20 Please chime in. =C2=A0 =C2=A0 ------=_Part_2501825_1488847856.1690203844604 Content-Type: multipart/related; boundary="----=_Part_2501826_441572111.1690203844617" ------=_Part_2501826_441572111.1690203844617 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =
Hi Supreeth,

Thanks for the info. We hoped that Daytonax would be upstreamed= . Unfortunately, It is not available. 
Actually, we need to enable SOL, Post code and PSU features in Daytona.&= nbsp; Will we get support for this feature enablement? or Are there any ref= erence implementation available for AMD boards?.

Thanks,
Dhanasekar



---- On Fri, 21 Jul 2023 = 19:33:41 +0530 Venkatesh, Supreeth <Supreeth.Venkatesh@amd.com> wrote ---

[AMD Official Use Only - General]


Hi = Dhanasekar,

 

It is supported for EPYC Genoa family and beyond at this time.

=

Daytona uses E= PYC Milan family and support is not there in that.

 

Thanks,

Supreeth Venkatesh
<= /p>

System Man= ageability Architect  |  AMD
Server Software=


 

Fr= om: J Dhanasekar <jdhanasekar@velankanigroup.com>
Sent: = Friday, July 21, 2023 5:30 AM
To: Venkatesh, Supreeth <Supreeth.Venkates= h@amd.com>
Cc: Zane Shelley <zshelle@imap.linux.ibm.com>; = Lei Yu <yule= i.sh@bytedance.com>; Michael Shen <gpgpgp@google.com>; openbmc <openbmc@lists.ozlabs.org= >; dhruvaraj S <dhruvaraj@gmail.com>; Brad Bishop <bradleyb@fuzziesquirrel.com&= gt;; Ed Tanous <ed@ta= nous.net>; Dhandapani, Abinaya <Abinaya.Dhandapani@amd.com>
Subject: Re: [R= FC] BMC RAS Feature

 

<= /table>

 <= br>

Hi Supreeth Venkatesh,

 

Does this RAS feature work for the Daytona Platform.  i have bee= n working in openBMC development for the Daytonax platform. 

If this RAS works for Daytona Platform. I will = include it in my project. 

 =

Please provide your suggestions. = ;

 <= /span>

<= span class=3D"size" style=3D"font-size:10pt">Thanks,

<= /div>

Dhanasekar

 

 

<= /div>

 

 

 

---- On Mon, 03 Apr 2023 22:06:24 +0530 Supreeth Venkatesh <<= a href=3D"mailto:supreeth.venkatesh@amd.com" target=3D"_blank">supreeth.ven= katesh@amd.com> wrote ---

 


On= 3/23/23 13:57, Zane Shelley wrote:
> Caution: This message originat= ed from an External Source. Use proper
> caution when opening attac= hments, clicking links, or responding.
>
>
> On 202= 3-03-22 19:07, Supreeth Venkatesh wrote:
>> On 3/22/23 02:10, Le= i Yu wrote:
>>> Caution: This message originated from an Exte= rnal Source. Use proper
>>> caution when opening attachments,= clicking links, or responding.
>>>
>>>
&g= t;>>>> On Tue, 21 Mar 2023 at 20:38, Supreeth Venkatesh
&g= t;>>>> <supreeth.venkatesh@amd.com> wrote:
>>>>= >
>>>>>
>>>>>    =   On 3/21/23 05:40, Patrick Williams wrote:
>>>>> =      > On Tue, Mar 21, 2023 at 12:14:45AM -0500, Sup= reeth Venkatesh
>>>>> wrote:
>>>>> =      >
>>>>>    &= nbsp; >> #### Alternatives Considered
>>>>>  = ;    >>
>>>>>    &n= bsp; >> In-band mechanisms using System Management Mode (SMM)
&g= t;>>>> exists.
>>>>>    &nbs= p; >>
>>>>>      >> How= ever, out of band method to gather RAS data is processor
>>>&= gt;>      specific.
>>>>>  =     >>
>>>>>    &nb= sp; > How does this compare with existing implementations in
>&g= t;>>>      > phosphor-debug-collector.
= >>>>>      Thanks for your feedback. Se= e below.
>>>>>      > I believe = there was some attempt to extend
>>>>>   &nbs= p;  > P-D-C previously to handle Intel's crashdump behavior.
&= gt;>>>>      Intel's crashdump interface us= es com.intel.crashdump.
>>>>>      = We have implemented com.amd.crashdump based on that reference.
>>= ;>>>      However,
>>>>> &= nbsp;    can this be made generic?
>>>>>=
>>>>>      PoC below:
>>= ;>>>
>>>>>      busctl tre= e com.amd.crashdump
>>>>>
>>>>> &nb= sp;    =E2=94=94=E2=94=80/com
>>>>> &nbs= p;       =E2=94=94=E2=94=80/com/amd
>= >>>>           =E2= =94=94=E2=94=80/com/amd/crashdump
>>>>>   &nb= sp;        
=E2=94=9C=E2=94=80/com/amd/cras= hdump/0
>>>>>        = ;    
=E2= =94=9C=E2=94=80/com/amd/crashdump/1
>>>&= gt;>             =
= =E2=94=9C=E2=94=80/com/amd/crashdump/2
>>>>>    =         
=E2=94=9C=E2=94=80/com/amd/crashd= ump/3
>>>>>        &= nbsp;   
=E2= =94=9C=E2=94=80/com/amd/crashdump/4
>>>&= gt;>             =
= =E2=94=9C=E2=94=80/com/amd/crashdump/5
>>>>>    =         
=E2=94=9C=E2=94=80/com/amd/crashd= ump/6
>>>>>        &= nbsp;   
=E2= =94=9C=E2=94=80/com/amd/crashdump/7
>>>&= gt;>             =
= =E2=94=9C=E2=94=80/com/amd/crashdump/8
>>>>>    =          =E2=94=94=E2=94=80/com/amd= /crashdump/9
>>>>>
>>>>>  &nbs= p;   > The repository
>>>>>   &n= bsp;  > currently handles IBM's processors, I think, or maybe that = is
>>>>>      covered by
>&= gt;>>>      > openpower-debug-collector. >>>>>      >
>>>>= >      > In any case, I think you should look at = the existing D-Bus
>>>>>      inter= faces
>>>>>      > (and associat= ed Redfish implementation) of these repositories
>>>>> = and
>>>>>      > determine if yo= u can use those approaches (or document why
>>>>> now).=
>>>>>      I could not find an exi= sting D-Bus interface for RAS in
>>>>>   &nbs= p;  xyz/openbmc_project/.
>>>>>    =   It would be helpful if you could point me to it.
>>>&g= t;>
>>>>>
>>>>> There is an inte= rface for the dumps generated from the host, which
>>>>>= ; can
>>>>> be used for these kinds of dumps
>&= gt;>>> https://github.com/openbmc/phosphor-dbus-interfaces/blob= /master/yaml/xyz/openbmc_project/Dump/Entry/System.interface.yaml
= >>>>>
>>>>>
>>>>> Th= e fault log also provides similar dumps
>>>>> ht= tps://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/open= bmc_project/Dump/Entry/FaultLog.interface.yaml
>>>>>= ;
>>>>>
>>>> ThanksDdhruvraj. The inte= rface looks useful for the purpose. However,
>>>> the curr= ent BMCWEB implementation references
>>>> https://github.com/openbmc/bmcweb/blob/master/redfish-c= ore/lib/log_services.hpp
>>>>
>>>> [c= om.intel.crashdump]
>>>> constexpr char const* crashdumpPa= th =3D "/com/intel/crashdump";
>>>>
>>>> = constexpr char const* crashdumpInterface =3D "com.intel.crashdump";
&g= t;>>> constexpr char const* crashdumpObject =3D "com.intel.crashdu= mp";
>>>>
>>>> https://github.com/open= bmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Dump/Entr= y/System.interface.yaml
>>>>
>>>> or =
>>>> https://github.com/openbmc/phosphor-dbus-interfa= ces/blob/master/yaml/xyz/openbmc_project/Dump/Entry/FaultLog.interface.yaml=
>>>>
>>>> is it exercised in Redfish= logservices?
>>> In our practice, a plugin `tools/dreport.d/= plugins.d/acddump` is added
>>> to copy the crashdump json fi= le to the dump tarball.
>>> The crashdump tool (Intel or AMD)= could trigger a dump after the
>>> crashdump is completed, a= nd then we could get a dump entry containing
>>> the crashdum= p.
>> Thanks Lei Yu for your input. We are using Redfish to retr= ieve the
>> CPER binary file which can then be passed through a = plugin/script for
>> detailed analysis.
>> In any cas= e irrespective of whichever Dbus interface we use, we need a
>> = repository which will gather data from AMD processor via APML as per
&= gt;> AMD design.
>> APML
>> Spec: https://www.amd.com/system/files/TechDocs/57019-A0-PUB_3.00.zip >> Can someone please help create bmc-ras or amd-debug-collector >> repository as there are instances of openpower-debug-collector =
>> repository used for Open Power systems?
>>> >>>
>>> --
>>> BRs,
>>>= ; Lei YU
> I am interested in possibly standardizing some of this. = IBM POWER has
> several related components. openpower-hw-diags is a= service that will
> listen for the hardware interrupts via a GPIO = pin. When an error is
> detected, it will use openpower-libhei to q= uery hardware registers to
> determine what happened. Based on that= information openpower-hw-diags
> will generate a PEL, which is an = extended log in phosphor-logging, that
> is used to tell service wh= at to replace if necessary. Afterward,
> openpower-hw-diags will in= itiate openpower-debug-collector, which
> gathers a significant amo= unt of data from the hardware for additional
> debug when necessary= . I wrote openpower-libhei to be fairly agnostic. It
> uses data fi= les (currently XML, but moving to JSON) to define register
> addres= ses and rules for isolation. openpower-hw-diags is fairly POWER
> s= pecific, but I can see some parts can be made generic. Dhruv would have > to help with openpower-debug-collector.
Thank you. Lets collabo= rate in standardizing some aspects of it.
>
> Regarding cre= ation of a new repository, I think we'll need to have some
> more c= ollaboration to determine the scope before creating it. It
> certai= nly sounds like we are doing similar things, but we need to
> deter= mine if enough can be abstracted to make it worth our time.
I have put= in a request here:
https://github.com/openbmc/techn= ical-oversight-forum/issues/24
Please chime in.

<= /div>

 

=  



------=_Part_2501826_441572111.1690203844617 Content-Type: image/png; name=1.png Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=1.png Content-ID: iVBORw0KGgoAAAANSUhEUgAAAJYAAAAjCAYAAAB2BvMkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ bWFnZVJlYWR5ccllPAAAA0xpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp bj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6 eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2 MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJo dHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlw dGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEu MC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVz b3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1N OkRvY3VtZW50SUQ9InhtcC5kaWQ6Njg2Njg2MTAwRDEzMTFFOTg1OEREMTQ2NTU1Qjg5RTUiIHht cE1NOkluc3RhbmN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LLtbClggIBfWSMTOiuIvxG9d4JCKiIdO3yQ6MjPV PKPdC+6yjZgj3TRiApM1CJiDkGDRmSYJPreIg66n0RoPIJgrVGgP6hek5/+egMA+yf7fvy1mC7sb +00AlhYQfITJ71CvBG+pqhU5zBPMPwF/AV4mf2eYJVEVbx9Uwmifyvt4S3Hg9Ir8XDho1eHhlOV/ BEH2Alqy9So3XJZtCcu8TTqnSHGH73yZdP/MJtp7hnTeL8VLaRaqaTLQPq5LOXXSihxgQhxk1Wm7 zdpATkNWBK0VzfSEKpp4NkK9Oj0yru9yfz2XPITHu/3PtFjHCgTaZrJYo+BtEfF3wgMJO5cy1u+A qVuca77jn6K+RbKESeURKRUwBqf3YpHEbdtxGDzHOWdGi8lxuRsVku1i2MumPwqclFz9GOofOAB6 1m2UI0DL02Y/5FIhUaHSkTyWwnzeuZyWd5SpNV2FoNiD3nNxy7wOYJ8Q9i0ErE0tlEQZ+fUR969t oeztrGFyL4RvREwrBNyjMeDaw8FAkvTDbn52cgeHWXegt2cW1Ooq6HZYVKj43cszEL0GmigvS0GS 41i3m2Z1r0voyRWrSoOID+l6/nzULTxhiinqwIkvnrDq5o8t08n2vAdwj2Uxz9SaLPMx/8nai1bB zL45cKpsge6RY7JIXX5XaZlV3utEBlRc166g2baFL8oTp42TuyXGKSOYtypK+v9fg5bKXfqhfRQZ sKabi1qnCj9v+VK4ZuM6ODU+AXmju0HeiaOd8kdZdeQ/E6VRUNV2f1p8QrQVV+hf0P6fAAMA0CcI PP9xuG0AAAAASUVORK5CYII= ------=_Part_2501826_441572111.1690203844617-- ------=_Part_2501825_1488847856.1690203844604--

Caution: This message o= riginated from an External Source. Use proper caution when opening attachme= nts, clicking links, or responding.