<div dir="ltr">Power state is S0 state.<div>I have intel platform with 2 sockets. <br></div><div>1 socket: intel xeon bronze</div><div>2 socket: empty</div><div>Chipset: lewisburg</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 19 окт. 2021 г. в 17:05, Winiarska, Iwona <<a href="mailto:iwona.winiarska@intel.com">iwona.winiarska@intel.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 2021-10-19 at 12:10 +0300, Alexander Raih wrote:<br>
> Hi,<br>
> I try to register peci device in sysfs but I have same problem<br>
> <br>
> [ 800.339605] peci peci-0: Failed to register peci client peci-client at 0x30<br>
> (-5)<br>
<br>
Were you able to confirm that your platform is in S0 power state before you<br>
tried this?<br>
<br>
Could you share details about Intel Platform/CPU that you're using?<br>
<br>
-Iwona<br>
<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> вт, 19 окт. 2021 г. в 10:44, Alexander Raih <<a href="mailto:61a91bc@gmail.com" target="_blank">61a91bc@gmail.com</a>>:<br>
> > Thanks, Iwona<br>
> > I will try this.<br>
> > <br>
> > Best regards,<br>
> > Alex<br>
> > <br>
> > пн, 18 окт. 2021 г. в 17:43, Winiarska, Iwona <<a href="mailto:iwona.winiarska@intel.com" target="_blank">iwona.winiarska@intel.com</a>>:<br>
> > > Hi Alex,<br>
> > > <br>
> > > (in the future, please Cc: openbmc mailing list)<br>
> > > <br>
> > > This may occur when CPU can’t be detected - is your platform in S0 power<br>
> > > state?<br>
> > > BMC usually is booted before the platform goes to S0, so I would recommend<br>
> > > registering peci-client manually (using sysfs) rather than using DTS.<br>
> > > <br>
> > > # echo peci-client 0x30 > /sys/bus/peci/devices/peci-0/new_device<br>
> > > <br>
> > > Or if you’re using dbus-sensors, peci-client devices are exported there:<br>
> > > <a href="https://github.com/openbmc/dbus-sensors/blob/master/src/CPUSensorMain.cpp#L406" rel="noreferrer" target="_blank">https://github.com/openbmc/dbus-sensors/blob/master/src/CPUSensorMain.cpp#L406</a><br>
> > > <br>
> > > --<br>
> > > Note that PECI subsystem you’re using is subject to change in the future:<br>
> > > <a href="https://lore.kernel.org/lkml/20210803113134.2262882-1-iwona.winiarska@intel.com/" rel="noreferrer" target="_blank">https://lore.kernel.org/lkml/20210803113134.2262882-1-iwona.winiarska@intel.com/</a><br>
> > > <br>
> > > -Iwona<br>
> > > <br>
> > > From: Alexander Raih <<a href="mailto:61a91bc@gmail.com" target="_blank">61a91bc@gmail.com</a>> <br>
> > > Sent: Friday, October 15, 2021 1:46 PM<br>
> > > To: Yoo, Jae Hyun <<a href="mailto:jae.hyun.yoo@intel.com" target="_blank">jae.hyun.yoo@intel.com</a>>; Winiarska, Iwona<br>
> > > <<a href="mailto:iwona.winiarska@intel.com" target="_blank">iwona.winiarska@intel.com</a>><br>
> > > Subject: kenel module dont enable<br>
> > > <br>
> > > Hello,<br>
> > > I use intel kernel module peci. In dtb I have this describe about peci: <br>
> > > <br>
> > > <br>
> > > bus@1e78b000 {<br>
> > > compatible = "simple-bus";<br>
> > > #address-cells = <0x01>;<br>
> > > #size-cells = <0x01>;<br>
> > > ranges = <0x00 0x1e78b000 0x60>;<br>
> > > peci-bus@0 {<br>
> > > compatible = "aspeed,ast2500-peci";<br>
> > > reg = <0x00 0x60>;<br>
> > > #address-cells = <0x01>;<br>
> > > #size-cells = <0x00>;<br>
> > > interrupts = <0x0f>;<br>
> > > clocks = <0x02 0x06>;<br>
> > > resets = <0x02 0x06>;<br>
> > > clock-frequency = <0x16e3600>;<br>
> > > msg-timing = <0x01>;<br>
> > > addr-timing = <0x01>;<br>
> > > rd-sampling-point = <0x08>;<br>
> > > cmd-timeout-ms = <0x3e8>;<br>
> > > status = "okay";<br>
> > > <br>
> > > peci-client@30 {<br>
> > > compatible = "intel,peci-client";<br>
> > > reg = <0x30>;<br>
> > > };<br>
> > > <br>
> > > peci-client@31 {<br>
> > > compatible = "intel,peci-client";<br>
> > > reg = <0x31>;<br>
> > > };<br>
> > > };<br>
> > > };<br>
> > > <br>
> > > <br>
> > > I have this error in dmesg:<br>
> > > [ 2.516383] peci peci-0: Failed to register peci client at 0x30 (-5)<br>
> > > [ 2.526767] peci peci-0: Failed to create PECI device for<br>
> > > /ahb/apb/bus@1e78b000/peci-bus@0/peci-client@30<br>
> > > <br>
> > > How I can resolve this ?<br>
> > > <br>
> > > best regards,<br>
> > > alex<br>
<br>
</blockquote></div>