<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/peci, branch dev-5.15-intel</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-5.15-intel</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-5.15-intel'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2022-06-01T08:46:09+00:00</updated>
<entry>
<title>peci: busses: add PECI o. MCTP o. I3C platform driver</title>
<updated>2022-06-01T08:46:09+00:00</updated>
<author>
<name>Oleksandr Shulzhenko</name>
<email>oleksandr.shulzhenko.viktorovych@intel.com</email>
</author>
<published>2022-05-20T12:53:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=f097c09e94e4d3d63ccb7d9a670e9ffe095807a2'/>
<id>urn:sha1:f097c09e94e4d3d63ccb7d9a670e9ffe095807a2</id>
<content type='text'>
Add PECI adapter that allows to send MCTP PCI VDM packets
via i3c-mctp driver.

Signed-off-by: Oleksandr Shulzhenko &lt;oleksandr.shulzhenko.viktorovych@intel.com&gt;
</content>
</entry>
<entry>
<title>peci: core: Use "domain" of-property</title>
<updated>2022-05-23T12:06:36+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2022-05-09T18:18:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=5978bb7d4ef834345327153eb101d8de8baa14b1'/>
<id>urn:sha1:5978bb7d4ef834345327153eb101d8de8baa14b1</id>
<content type='text'>
peci_client can be created dynamically using sysfs API or during build
time using DTS.

Let's use extended DTS properties to create peci_client corresponding to
specific Domain ID.

Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
</content>
</entry>
<entry>
<title>peci: Extend peci client with Domain ID information</title>
<updated>2022-05-23T12:06:36+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2022-05-09T18:05:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=b0f89c7de8f3cac4952acc5f09539c0b879e58d9'/>
<id>urn:sha1:b0f89c7de8f3cac4952acc5f09539c0b879e58d9</id>
<content type='text'>
Since PECI Target addressing has been changed to use Domain ID
information, each peci_client instance should correspond with both CPU
ID and Domain ID.

Let's extend peci_client structure, sysfs API and intel-peci-client to
use Domain ID. Make MFD device ID as a combination of peci adapter
number, CPU ID and Domain ID.

Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
</content>
</entry>
<entry>
<title>peci: core: Check PECI address immediately</title>
<updated>2022-05-23T12:06:36+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2022-05-09T18:05:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=5a478efbb1201546d179b51c2b3f12122647b3d5'/>
<id>urn:sha1:5a478efbb1201546d179b51c2b3f12122647b3d5</id>
<content type='text'>
PECI address parameter provided to create peci_client instance is not
validated in the function that handles data passed from userspace or
DTS, it is only done later on in peci_new_device().

Let's move PECI address verification before peci_new_device() is called.

Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
</content>
</entry>
<entry>
<title>peci: mctp: Remove useless class specifier</title>
<updated>2022-05-23T08:53:13+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2022-05-16T21:18:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=64bcf8204339d65eeff14cdaba29f59bed4e3c92'/>
<id>urn:sha1:64bcf8204339d65eeff14cdaba29f59bed4e3c92</id>
<content type='text'>
Remove "static" specifier for mctp_peci_vdm_hdr struct declaration to
fix compilation warning:
drivers/peci/busses/peci-mctp.c:45:1: warning: useless storage class specifier in empty declaration
   45 | } __packed;
      | ^

Fixes: 00037aaa6440 ("peci: mctp: Add peci-mctp adapter")
Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
</content>
</entry>
<entry>
<title>peci: mctp: Add DomainId support for peci-mctp</title>
<updated>2022-04-15T07:15:51+00:00</updated>
<author>
<name>Krzysztof Richert</name>
<email>krzysztof.richert@intel.com</email>
</author>
<published>2022-04-05T14:38:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=3802235a3d1a4e5f26053ee4c1bb4c0e3a087a8d'/>
<id>urn:sha1:3802235a3d1a4e5f26053ee4c1bb4c0e3a087a8d</id>
<content type='text'>
Get DomainId from peci subsystem message to send message to
requested EID. Required EID is taken from aspeed-mctp
based on the discovery performed by user-space application.
For each particular agent behind master, information about
its BDF/DomainId is sufficient to get its EID.

Signed-off-by: Krzysztof Richert &lt;krzysztof.richert@intel.com&gt;
</content>
</entry>
<entry>
<title>peci: add domain ID support to the PECI commands</title>
<updated>2022-03-10T21:27:19+00:00</updated>
<author>
<name>Jason M. Bills</name>
<email>jason.m.bills@intel.com</email>
</author>
<published>2022-03-02T19:00:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=198326a3f02818159f6c775e26f910f101b476d8'/>
<id>urn:sha1:198326a3f02818159f6c775e26f910f101b476d8</id>
<content type='text'>
It's possible that a PECI command can be sent in the old format
without a domain ID. This uses the IOCTL size as a message length
and compares it to the size of the new struct with the domain ID.
If the sizes match, then the domain ID is provided; otherwise, it
is set to 0.

Signed-off-by: Jason M. Bills &lt;jason.m.bills@intel.com&gt;
</content>
</entry>
<entry>
<title>peci: add msg_len to peci_command</title>
<updated>2022-03-10T21:27:19+00:00</updated>
<author>
<name>Jason M. Bills</name>
<email>jason.m.bills@intel.com</email>
</author>
<published>2022-03-02T15:58:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=246e36dba646e1fc5176e536bf9e80b2a3a6ba5f'/>
<id>urn:sha1:246e36dba646e1fc5176e536bf9e80b2a3a6ba5f</id>
<content type='text'>
To support the new domain ID, we need to include an extra byte from
userspace. This adds a length to the peci_command function so we can
detect when the domain ID is sent from userspace.

Signed-off-by: Jason M. Bills &lt;jason.m.bills@intel.com&gt;
</content>
</entry>
<entry>
<title>peci: aspeed: Improve workaround for controller hang</title>
<updated>2022-02-08T17:27:14+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2022-01-27T20:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=8a50351caf7915b7a9cf7d7f8393c19b76dfa363'/>
<id>urn:sha1:8a50351caf7915b7a9cf7d7f8393c19b76dfa363</id>
<content type='text'>
When processing PECI transaction, observing any HW state different than
"idle" means that PECI controller won't be able to send PECI commands.
When that occurs, attempting to reinitialize the HW by writing registers
is not enough in some cases, and actual reset needs to be involved.

Fixes: 20b020c06aa9 ("peci: aspeed: add a WA to cover timing negotiation issue")
Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
</content>
</entry>
<entry>
<title>peci: mctp: Add packet dump</title>
<updated>2021-12-15T11:10:54+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2021-12-08T22:30:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=d4457cf3ab689cd9b1848a9e96fd1a8a60b743e5'/>
<id>urn:sha1:d4457cf3ab689cd9b1848a9e96fd1a8a60b743e5</id>
<content type='text'>
Currently, there is no way to view PECI over MCTP transmit or receive
data. To simplify peci-mctp debugging, let's add debug level logging for
tx and rx packets.

Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
Change-Id: Ia746ae72f37c06e9a2647b4568e9aa6c5be76f76
</content>
</entry>
</feed>
