<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/include, branch dev-5.8-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.8-intel</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-5.8-intel'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2021-03-10T20:14:54+00:00</updated>
<entry>
<title>fixup! peci: Add support for PECI bus driver core</title>
<updated>2021-03-10T20:14:54+00:00</updated>
<author>
<name>Jason M. Bills</name>
<email>jason.m.bills@linux.intel.com</email>
</author>
<published>2021-03-04T18:59:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=b68579627cb675766297353077dff3e4788f5771'/>
<id>urn:sha1:b68579627cb675766297353077dff3e4788f5771</id>
<content type='text'>
Per recommendation from the CPU team, reduce the first retry
delay to 100us.  Use usleep instead of schedule_timeout to avoid
stretching the delay.

Change-Id: I6698b0f05f952aaef737dd09280a17aaec81a2c5
Signed-off-by: Jason M. Bills &lt;jason.m.bills@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>ASD Prevent TDI remaining bits to be override during JTAG xfer</title>
<updated>2021-03-09T22:20:41+00:00</updated>
<author>
<name>Ernesto Corona</name>
<email>ernesto.corona@intel.com</email>
</author>
<published>2021-03-04T00:11:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=0f09c51c79e5c94308c7ab784ca3b8c81c8ab388'/>
<id>urn:sha1:0f09c51c79e5c94308c7ab784ca3b8c81c8ab388</id>
<content type='text'>
JTAG xfer length is measured in bits and it is allowed to send non 8-bit
aligned xfers. For such xfers we will read the content of the remaining
bits in the last byte of tdi buffer and restore those bits along with
the xfer readback.

Add also linux types to JTAG header to remove external dependencies.

Test:
SPR ASD Sanity and jtag_test finished successfully.
SKX ASD Sanity and jtag_test finished successfully.

Change-Id: I6d53349a724c66d08b6cbbaeac166c4857835b55
Signed-off-by: Ernesto Corona &lt;ernesto.corona@intel.com&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: mctp: Export function used to read BDF</title>
<updated>2021-02-04T13:16:07+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2021-01-28T21:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=706078bea2580f4af85d387de4d380d9c1432c57'/>
<id>urn:sha1:706078bea2580f4af85d387de4d380d9c1432c57</id>
<content type='text'>
Recently, aspeed-mctp driver functionality was extended to store BDF
values for already discovered MCTP endpoints on PCIe bus.
Let's expose kernel API to read BDF based on endpoint ID.

Change-Id: I146e67a8c2f4f541b4c3065c18dcadf531f30670
Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
</content>
</entry>
<entry>
<title>Fix reset index of LPC and eSPI</title>
<updated>2021-01-13T20:21:36+00:00</updated>
<author>
<name>Jae Hyun Yoo</name>
<email>jae.hyun.yoo@intel.com</email>
</author>
<published>2021-01-12T16:57:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=e6ca8e0a5ec955b7e36eda578e187e5cd5b096cc'/>
<id>urn:sha1:e6ca8e0a5ec955b7e36eda578e187e5cd5b096cc</id>
<content type='text'>
AST2600 A1 has separate reset control for LPC and eSPI so this
commit fix the index definition to make it work on AST2600 A1.

Change-Id: Ied8f96740b6df802a65313fde369e79386557903
Signed-off-by: Jae Hyun Yoo &lt;jae.hyun.yoo@intel.com&gt;
</content>
</entry>
<entry>
<title>Update I3C drivers</title>
<updated>2021-01-08T02:22:52+00:00</updated>
<author>
<name>Dylan Hung</name>
<email>dylan_hung@aspeedtech.com</email>
</author>
<published>2020-12-14T01:29:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=9f8a78c6a5891daeefcc059e03d0088868ad9807'/>
<id>urn:sha1:9f8a78c6a5891daeefcc059e03d0088868ad9807</id>
<content type='text'>
This commit ports I3C updates from Aspeed SDK v00.06.00.

Note: Should be refined to get upstreamed.

Signed-off-by: Dylan Hung &lt;dylan_hung@aspeedtech.com&gt;
Change-Id: Ic674bf5d6b5e72b389c739b136710915aabc6324
</content>
</entry>
<entry>
<title>fixup! soc: aspeed: mctp: Expose internal kernel API</title>
<updated>2021-01-07T01:18:44+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2021-01-06T17:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=b1dcf75221f957715cae9698dab46d0c4ccbdb00'/>
<id>urn:sha1:b1dcf75221f957715cae9698dab46d0c4ccbdb00</id>
<content type='text'>
Fixed a missing error handling for case where
wait_event_interruptible_timeout() returns -ERESTARTSYS.
Renamed the exposed functions to be more consistent with their usage.
Added dedicated function to flush client rx queue.

Change-Id: I0fd1bfca926b34ae0f4dc18f07e453b3861a4c3e
Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
</content>
</entry>
<entry>
<title>peci: Add peci_revision property</title>
<updated>2020-12-17T09:19:12+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2020-12-06T13:16:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=9a05ca0a3d97473bf39d28818bd9a1ca2b3e78fe'/>
<id>urn:sha1:9a05ca0a3d97473bf39d28818bd9a1ca2b3e78fe</id>
<content type='text'>
Right now, PECI revision is determined using a result of GetDIB() PECI
command. Because GetDIB() may not be supported by all type of physical
media that provides PECI, we need an alternative.
Until we figure how to determine PECI revision there (if we can't do
that, we'll fallback to device tree), let's allow to hardcode PECI
revision as a property of hardware adapter.

Change-Id: Iea75ccae9b9f793c67e996064fff3c31c730ad4f
Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: mctp: Expose internal kernel API</title>
<updated>2020-12-17T09:19:12+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2020-12-04T00:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=e25f94a28a950297018b3f4caebba41a60a46d61'/>
<id>urn:sha1:e25f94a28a950297018b3f4caebba41a60a46d61</id>
<content type='text'>
Some protocols that are already implemented in kernel can be
encapsulated in MCTP packets. To allow use aspeed-mctp internally in
kernel space, let's allow to use selected functions outside of
aspeed-mctp.

Change-Id: I543bfce975dfdd7cf8017899a139f69febbaca8d
Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
</content>
</entry>
<entry>
<title>aspeed-mctp: Add EID information related ioctls</title>
<updated>2020-12-16T09:36:59+00:00</updated>
<author>
<name>Karol Wachowski</name>
<email>karol.wachowski@intel.com</email>
</author>
<published>2020-11-24T13:59:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=8ade87d49a3e0657f8e04ef116741c9b6dc32d16'/>
<id>urn:sha1:8ade87d49a3e0657f8e04ef116741c9b6dc32d16</id>
<content type='text'>
Implement two new ioctls for storing EID related information:
 * ASPEED_MCTP_IOCTL_GET_EID_INFO
 * ASPEED_MCTP_IOCTL_SET_EID_INFO

Driver stores EID mapping in a list which is traversed when
one tries to get information using ASPEED_MCTP_IOCTL_GET_EID_INFO
ioctl, when given EID mapping is not found in the list, next entry
is returned. When there are no entries with EIDs higher than specified
in the IOCTL call -ENODEV is returned.

Whenever new information about EID mapping is stored with
ASPEED_MCTP_IOCTL_SET_EID_INFO ioctl driver empties exsiting
list of mappings and creates new one based on user input.
After insertion list is sorted by EID. Invalid input
such as duplicated EIDs will cause driver to return -EINVAL.

Change-Id: I41e4e4e83f451a8367d58bbf9b67e8e8f7d080f4
Signed-off-by: Karol Wachowski &lt;karol.wachowski@intel.com&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: mctp: Add API to register client for MCTP type</title>
<updated>2020-12-08T18:04:06+00:00</updated>
<author>
<name>Andrzej Kacprowski</name>
<email>andrzej.kacprowski@linux.intel.com</email>
</author>
<published>2020-12-03T09:48:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=13e505c41b8c492a08c2cac7e2481f7ae134795c'/>
<id>urn:sha1:13e505c41b8c492a08c2cac7e2481f7ae134795c</id>
<content type='text'>
MCTP client can register for receiving packets with selected
MCTP message type or PCIE vendor defined message type.
Vendor defined type is 2 bytes but in Intel VDMs the first byte
is variable and only the second byte contains constant message
type - to support this use case we have to specify 2 byte mask
that is applied to packet type before comparing with registered
vendor type.
When MCTP packet arrives its header is compared with a list
of registered (vendor) types.
If no client registered for packet's (vendor) type then
the packet is dispatched to the default client.

Fragmented packets are not considered for type matching.

Only one client can register for given (vendor) type.
Client can register for multiple (vendor) types.

All packet fields must be specified in big endian byte
order.

This feature allows to support multiple clients simultaneously
but only one client per (vendor) message type.
For example we can have PECI client in kernel that uses PECI
vendor message type, dcpmm daemon in user space that handles
NVDIMM vendor type messages and mctpd service that handles MCTP
control and PLDM message types.

tested with peci_mctp_test application

Change-Id: I8a9fed3d4b2f2628782299928abd15bdd7af9387
Signed-off-by: Andrzej Kacprowski &lt;andrzej.kacprowski@linux.intel.com&gt;
</content>
</entry>
</feed>
