<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/soc, branch dev-5.14-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.14-intel</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-5.14-intel'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2021-10-19T22:10:40+00:00</updated>
<entry>
<title>soc: aspeed: mctp: fix a build break</title>
<updated>2021-10-19T22:10:40+00:00</updated>
<author>
<name>Jae Hyun Yoo</name>
<email>jae.hyun.yoo@linux.intel.com</email>
</author>
<published>2021-10-02T02:22:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=5961fe1c6410a03315731cb88260e85cb4fbd3c7'/>
<id>urn:sha1:5961fe1c6410a03315731cb88260e85cb4fbd3c7</id>
<content type='text'>
This commit fixes a build break which is caused by an incompatible
compare function parameter of list_sort() call.

Signed-off-by: Jae Hyun Yoo &lt;jae.hyun.yoo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: mctp: Clear TX channel and client rings after reset</title>
<updated>2021-10-19T22:10:40+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2021-09-01T19:49:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=b87f274449192833e543718b58053b4ae09447b3'/>
<id>urn:sha1:b87f274449192833e543718b58053b4ae09447b3</id>
<content type='text'>
Currently, after TX channel wr_ptr reaches the maximum value, there is
no mechanism to clear it. The driver expects that the HW will make
forward progress, and eventually the buffer will have free space
available. That's not true for some reset scenarios and when this
happens, we may end up with a blocked full channel.
While we could fix it by just adding a trigger after reset, this may
cause userspace to receive unexpected responses for packets that got
stuck in queues during reset.

Let's fix it by flushing both TX channel and client rings.

Note: The barriers are necessary just to enforce ordering between flush
and producing new packets by the clients (we don't want to flush packets
that were sent after reset, just the ones that were sent before it) but
to keep things consistent, introduce helpers for all priv-&gt;pcie.bdf
accesses.

Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
Change-Id: I457a05a6e7f0cb1fd8ce6f2bff6a59b166d32149
</content>
</entry>
<entry>
<title>soc: aspeed: lpc-sio: add SMI event triggering support</title>
<updated>2021-10-19T22:10:39+00:00</updated>
<author>
<name>Jae Hyun Yoo</name>
<email>jae.hyun.yoo@intel.com</email>
</author>
<published>2021-08-12T22:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=c2b347a07158a30215720ad0ab9f109e4b449189'/>
<id>urn:sha1:c2b347a07158a30215720ad0ab9f109e4b449189</id>
<content type='text'>
Add SMI event triggering support.

Signed-off-by: Jae Hyun Yoo &lt;jae.hyun.yoo@intel.com&gt;
Change-Id: I711b5642a654e671a2d97d3079e3a1a055d400a0
</content>
</entry>
<entry>
<title>Add chip unique id reading interface</title>
<updated>2021-10-19T22:10:39+00:00</updated>
<author>
<name>Jae Hyun Yoo</name>
<email>jae.hyun.yoo@intel.com</email>
</author>
<published>2020-03-27T21:42:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=82b4607830605d3c39994df300a8f74255668bac'/>
<id>urn:sha1:82b4607830605d3c39994df300a8f74255668bac</id>
<content type='text'>
This commit adds an interface for reading chip unique id value.
Optionally, the id can be encrypted using a dts-supplied hash data.

Signed-off-by: Jae Hyun Yoo &lt;jae.hyun.yoo@intel.com&gt;
Signed-off-by: Vernon Mauery &lt;vernon.mauery@linux.intel.com&gt;
Signed-off-by: Arun P. Mohanan &lt;arun.p.m@linux.intel.com&gt;
Change-Id: Ifd98500ea87b3d40e1738e583e077a74851fae35
</content>
</entry>
<entry>
<title>soc: aspeed: mctp: Reject packets with invalid payload size</title>
<updated>2021-10-19T22:10:39+00:00</updated>
<author>
<name>Iwona Winiarska</name>
<email>iwona.winiarska@intel.com</email>
</author>
<published>2021-05-11T12:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=f9633121f4051fe22a479864a18997ef9b3e25ec'/>
<id>urn:sha1:f9633121f4051fe22a479864a18997ef9b3e25ec</id>
<content type='text'>
When we program TX command register, it requires packet data size in
dwords. Since the aspeed-mctp driver doesn't implement MCTP protocol, it
copies MCTP packet "as it" form userspace and uses size from write()
syscall to program TX command.
If the size from write() doesn't match the payload length in packet PCIe
VDM header, it causes MCTP HW to stop working and we are not able to
reset it without platform power cycle.

To avoid HW issues, let's verify if the data size from write() matches
the payload length in PCIe VDM header.

Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
Change-Id: I6da14babadcc65cb2ba4a2b685495d1baa92c169
</content>
</entry>
<entry>
<title>mailbox: ioctl to fetch mailbox size</title>
<updated>2021-10-19T22:10:38+00:00</updated>
<author>
<name>Arun P. Mohanan</name>
<email>arun.p.m@linux.intel.com</email>
</author>
<published>2021-03-18T10:18:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=77e17b1e75532fad41d20a04429335bc5f8242e9'/>
<id>urn:sha1:77e17b1e75532fad41d20a04429335bc5f8242e9</id>
<content type='text'>
The size of mailbox differ from AST2500, AST2600 A0 and A1. Add an ioctl
support to fetch the mailbox size.

Tested:
Verfied ioctl call returns mailbox size as expected.

Change-Id: I4e261aaf8aa3fb108d6ad152d30a17b114d70ccd
Signed-off-by: Arun P. Mohanan &lt;arun.p.m@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: Miscellaneous control interfaces</title>
<updated>2021-10-19T22:10:37+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@aj.id.au</email>
</author>
<published>2018-04-11T06:34:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=8eaa1391bca297010b9d0dbf0fc4e4d2642c235e'/>
<id>urn:sha1:8eaa1391bca297010b9d0dbf0fc4e4d2642c235e</id>
<content type='text'>
The ASPEED BMC SoCs have many knobs and switches that are sometimes
design-specific and often defy any approach to unify them under an
existing subsystem.

Add a driver to translate a devicetree table into sysfs entries to
expose bits and fields for manipulation from userspace. This encompasses
concepts from scratch registers to boolean conditions to enable or
disable host interface features.

Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
Signed-off-by: Jae Hyun Yoo &lt;jae.hyun.yoo@intel.com&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: mctp: Export function used to read BDF</title>
<updated>2021-10-19T22:10:37+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=8414dc5fd37b29d3d4a2ec5cfe2a06bfccc53fbd'/>
<id>urn:sha1:8414dc5fd37b29d3d4a2ec5cfe2a06bfccc53fbd</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.

Signed-off-by: Iwona Winiarska &lt;iwona.winiarska@intel.com&gt;
</content>
</entry>
<entry>
<title>Enable mailbox interrupts</title>
<updated>2021-10-19T22:10:37+00:00</updated>
<author>
<name>Yong Li</name>
<email>yong.b.li@linux.intel.com</email>
</author>
<published>2021-01-29T10:11:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=be4fc3a8ac4afce3ccd5c8d8653c49375e84fc47'/>
<id>urn:sha1:be4fc3a8ac4afce3ccd5c8d8653c49375e84fc47</id>
<content type='text'>
Support interrupt generation for both 16 and 32 mailbox registers.

Tested:
After applied this patch, write the mailbox registers from BIOS side,
the misc manager can capture the new mailbox data.

Signed-off-by: Yong Li &lt;yong.b.li@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: aspeed-espi-slave: fix SUS_WARN handling logic</title>
<updated>2021-10-19T22:10:36+00:00</updated>
<author>
<name>Jae Hyun Yoo</name>
<email>jae.hyun.yoo@linux.intel.com</email>
</author>
<published>2020-10-20T22:33:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=825445d77df85709ddb98d79ee5a8d655e1e907d'/>
<id>urn:sha1:825445d77df85709ddb98d79ee5a8d655e1e907d</id>
<content type='text'>
This commit fixes SUS_WARN handling as dual-edge detection mode
to support deepsx entry event properly.

Signed-off-by: Jae Hyun Yoo &lt;jae.hyun.yoo@linux.intel.com&gt;
</content>
</entry>
</feed>
