<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/char/ipmi/ipmi_ipmb.c, branch v5.19-rc3</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>ipmi:ipmb: Fix refcount leak in ipmi_ipmb_probe</title>
<updated>2022-05-12T15:00:04+00:00</updated>
<author>
<name>Miaoqian Lin</name>
<email>linmq006@gmail.com</email>
</author>
<published>2022-05-12T04:44:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a508e33956b538e034ed5df619a73ec7c15bda72'/>
<id>a508e33956b538e034ed5df619a73ec7c15bda72</id>
<content type='text'>
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.

Fixes: 00d93611f002 ("ipmi:ipmb: Add the ability to have a separate slave and master device")
Signed-off-by: Miaoqian Lin &lt;linmq006@gmail.com&gt;
Message-Id: &lt;20220512044445.3102-1-linmq006@gmail.com&gt;
Cc: stable@vger.kernel.org # v5.17+
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.

Fixes: 00d93611f002 ("ipmi:ipmb: Add the ability to have a separate slave and master device")
Signed-off-by: Miaoqian Lin &lt;linmq006@gmail.com&gt;
Message-Id: &lt;20220512044445.3102-1-linmq006@gmail.com&gt;
Cc: stable@vger.kernel.org # v5.17+
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipmi: use simple i2c probe function</title>
<updated>2022-05-12T15:00:03+00:00</updated>
<author>
<name>Stephen Kitt</name>
<email>steve@sk2.org</email>
</author>
<published>2022-03-24T17:11:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0924c5a0cbed5831a2a0ff2f9a19692265f1ab92'/>
<id>0924c5a0cbed5831a2a0ff2f9a19692265f1ab92</id>
<content type='text'>
The i2c probe functions here don't use the id information provided in
their second argument, so the single-parameter i2c probe function
("probe_new") can be used instead.

This avoids scanning the identifier tables during probes.

Signed-off-by: Stephen Kitt &lt;steve@sk2.org&gt;
Message-Id: &lt;20220324171159.544565-1-steve@sk2.org&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
Reviewed-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The i2c probe functions here don't use the id information provided in
their second argument, so the single-parameter i2c probe function
("probe_new") can be used instead.

This avoids scanning the identifier tables during probes.

Signed-off-by: Stephen Kitt &lt;steve@sk2.org&gt;
Message-Id: &lt;20220324171159.544565-1-steve@sk2.org&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
Reviewed-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipmi:ipmb: Add the ability to have a separate slave and master device</title>
<updated>2022-02-23T14:16:02+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>minyard@acm.org</email>
</author>
<published>2022-02-20T20:38:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=00d93611f00219bd142aa119c5121793cac30ff0'/>
<id>00d93611f00219bd142aa119c5121793cac30ff0</id>
<content type='text'>
A situation has come up where there is a slave-only device for the slave
and a separate master device on the same bug.  Allow a separate slave
device to be registered.

Signed-off-by: Corey Minyard &lt;minyard@acm.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A situation has come up where there is a slave-only device for the slave
and a separate master device on the same bug.  Allow a separate slave
device to be registered.

Signed-off-by: Corey Minyard &lt;minyard@acm.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipmi:ipmi_ipmb: Unregister the SMI on remove</title>
<updated>2022-02-23T13:59:17+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>minyard@acm.org</email>
</author>
<published>2022-02-23T13:38:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=57c9e3c9a374ff1419e5559f8979c0b43a0bffbd'/>
<id>57c9e3c9a374ff1419e5559f8979c0b43a0bffbd</id>
<content type='text'>
Otherwise it will continue to be hooked into the IPMI framework.

Signed-off-by: Corey Minyard &lt;minyard@acm.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise it will continue to be hooked into the IPMI framework.

Signed-off-by: Corey Minyard &lt;minyard@acm.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipmi:ipmb: Add OF support</title>
<updated>2021-10-14T16:17:18+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2021-10-12T21:36:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3a076b307c2250f44d2bbe72a3817d6a61793756'/>
<id>3a076b307c2250f44d2bbe72a3817d6a61793756</id>
<content type='text'>
Add direct OF support for fetching control parameters from the device
tree.  Make it work like the device tree entries for the other IPMI
devices.  Also add documentation for this.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add direct OF support for fetching control parameters from the device
tree.  Make it work like the device tree entries for the other IPMI
devices.  Also add documentation for this.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipmi: ipmb: Fix off-by-one size check on rcvlen</title>
<updated>2021-10-05T15:39:37+00:00</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2021-10-05T15:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=39ce73504695500e043d2851e3d4938fcae89399'/>
<id>39ce73504695500e043d2851e3d4938fcae89399</id>
<content type='text'>
There is an off-by-one bounds check on the rcvlen causing a potential
out of bounds write on iidev-&gt;rcvmsg. Fix this by using the &gt;= operator
on the bounds check rather than the &gt; operator.

Addresses-Coverity: ("Out-of-bounds write")
Fixes: 0ba0c3c5d1c1 ("ipmi:ipmb: Add initial support for IPMI over IPMB")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Message-Id: &lt;20211005151611.305383-1-colin.king@canonical.com&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is an off-by-one bounds check on the rcvlen causing a potential
out of bounds write on iidev-&gt;rcvmsg. Fix this by using the &gt;= operator
on the bounds check rather than the &gt; operator.

Addresses-Coverity: ("Out-of-bounds write")
Fixes: 0ba0c3c5d1c1 ("ipmi:ipmb: Add initial support for IPMI over IPMB")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Message-Id: &lt;20211005151611.305383-1-colin.king@canonical.com&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipmi:ipmb: Add initial support for IPMI over IPMB</title>
<updated>2021-10-05T11:54:17+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>minyard@acm.org</email>
</author>
<published>2021-09-29T11:51:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=63c4eb347164845b380089012fe43992511c0ad3'/>
<id>63c4eb347164845b380089012fe43992511c0ad3</id>
<content type='text'>
This provides access to the management controllers on an IPMB bus to a
device sitting on the IPMB bus.  It also provides slave capability to
respond to received messages on the bus.

Signed-off-by: Corey Minyard &lt;minyard@acm.org&gt;
Tested-by: Andrew Manley &lt;andrew.manley@sealingtech.com&gt;
Reviewed-by: Andrew Manley &lt;andrew.manley@sealingtech.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This provides access to the management controllers on an IPMB bus to a
device sitting on the IPMB bus.  It also provides slave capability to
respond to received messages on the bus.

Signed-off-by: Corey Minyard &lt;minyard@acm.org&gt;
Tested-by: Andrew Manley &lt;andrew.manley@sealingtech.com&gt;
Reviewed-by: Andrew Manley &lt;andrew.manley@sealingtech.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
