<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/linux/ipmi_smi.h, branch v6.6.131</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.131</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.131'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2022-05-12T15:00:03+00:00</updated>
<entry>
<title>ipmi: Add an intializer for ipmi_smi_msg struct</title>
<updated>2022-05-12T15:00:03+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2022-04-12T20:38:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9824117dd964ecebf5d81990dbf21dfb56445049'/>
<id>urn:sha1:9824117dd964ecebf5d81990dbf21dfb56445049</id>
<content type='text'>
There was a "type" element added to this structure, but some static
values were missed.  The default value will be zero, which is correct,
but create an initializer for the type and initialize the type properly
in the initializer to avoid future issues.

Reported-by: Joe Wiese &lt;jwiese@rackspace.com&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Add support for IPMB direct messages</title>
<updated>2021-10-05T11:54:16+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>minyard@acm.org</email>
</author>
<published>2021-09-24T16:42:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=059747c245f0e9af5e109eece7d3414dbe08d513'/>
<id>urn:sha1:059747c245f0e9af5e109eece7d3414dbe08d513</id>
<content type='text'>
An application has come up that has a device sitting right on the IPMB
that would like to communicate with the BMC on the IPMB using normal
IPMI commands.

Sending these commands and handling the responses is easy enough, no
modifications are needed to the IPMI infrastructure.  But if this is an
application that also needs to receive IPMB commands and respond, some
way is needed to handle these incoming commands and send the responses.

Currently, the IPMI message handler only sends commands to the interface
and only receives responses from interface.  This change extends the
interface to receive commands/responses and send commands/responses.
These are formatted differently in support of receiving/sending IPMB
messages directly.

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>
</entry>
<entry>
<title>ipmi: Don't allow device module unload when in use</title>
<updated>2019-10-22T19:42:34+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2019-10-14T15:35:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=cbb79863fc3175ed5ac506465948b02a893a8235'/>
<id>urn:sha1:cbb79863fc3175ed5ac506465948b02a893a8235</id>
<content type='text'>
If something has the IPMI driver open, don't allow the device
module to be unloaded.  Before it would unload and the user would
get errors on use.

This change is made on user request, and it makes it consistent
with the I2C driver, which has the same behavior.

It does change things a little bit with respect to kernel users.
If the ACPI or IPMI watchdog (or any other kernel user) has
created a user, then the device module cannot be unloaded.  Before
it could be unloaded,

This does not affect hot-plug.  If the device goes away (it's on
something removable that is removed or is hot-removed via sysfs)
then it still behaves as it did before.

Reported-by: tony camuso &lt;tcamuso@redhat.com&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
Tested-by: tony camuso &lt;tcamuso@redhat.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Make the smi watcher be disabled immediately when not needed</title>
<updated>2019-02-10T01:48:42+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2018-10-24T20:17:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e1891cffd4c4896a899337a243273f0e23c028df'/>
<id>urn:sha1:e1891cffd4c4896a899337a243273f0e23c028df</id>
<content type='text'>
The code to tell the lower layer to enable or disable watching for
certain things was lazy in disabling, it waited until a timer tick
to see if a disable was necessary.  Not a really big deal, but it
could be improved.

Modify the code to enable and disable watching immediately and don't
do it from the background timer any more.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
Tested-by: Kamlakant Patel &lt;kamlakant.patel@cavium.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Fix how the lower layers are told to watch for messages</title>
<updated>2019-02-10T01:48:42+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2018-10-23T16:29:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c65ea996595005be470fbfa16711deba414fd33b'/>
<id>urn:sha1:c65ea996595005be470fbfa16711deba414fd33b</id>
<content type='text'>
The IPMI driver has a mechanism to tell the lower layers it needs
to watch for messages, commands, and watchdogs (so it doesn't
needlessly poll).  However, it needed some extensions, it needed
a way to tell what is being waited for so it could set the timeout
appropriately.

The update to the lower layer was also being done once a second
at best because it was done in the main timeout handler.  However,
if a command is sent and a response message is coming back,
it needed to be started immediately.  So modify the code to
update immediately if it needs to be enabled.  Disable is still
lazy.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
Tested-by: Kamlakant Patel &lt;kamlakant.patel@cavium.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Finally get rid of ipmi_user_t and ipmi_smi_t</title>
<updated>2018-09-18T21:15:33+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2018-04-18T15:00:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4372ea94d40c5676814fc6d815a64caed963cb9f'/>
<id>urn:sha1:4372ea94d40c5676814fc6d815a64caed963cb9f</id>
<content type='text'>
All the users have been removed, we can remove the typedefs.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Remove the proc interface</title>
<updated>2018-05-09T17:21:46+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2018-04-18T18:01:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=163475ebf9f3d1b516c1f8ee4f59eb8ff8e97ee8'/>
<id>urn:sha1:163475ebf9f3d1b516c1f8ee4f59eb8ff8e97ee8</id>
<content type='text'>
It has been deprecated long enough, get rid of it.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Get rid of ipmi_user_t and ipmi_smi_t in include files</title>
<updated>2018-04-18T15:23:06+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2018-04-11T18:11:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5ce1a7dc806efb2181e93d4a088b281c4cff4eaa'/>
<id>urn:sha1:5ce1a7dc806efb2181e93d4a088b281c4cff4eaa</id>
<content type='text'>
Convert over to struct ipmi_user * and struct ipmi_smi *.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: ipmi_unregister_smi() cannot fail, have it return void</title>
<updated>2018-04-18T15:23:05+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2018-04-11T17:41:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6a0d23ed338ed7015128378e0ceec03eaa3d91e2'/>
<id>urn:sha1:6a0d23ed338ed7015128378e0ceec03eaa3d91e2</id>
<content type='text'>
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Remove usecount function from interfaces</title>
<updated>2018-04-18T15:23:03+00:00</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2018-04-06T03:10:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8eb005bf6e58ca08802ac8170e5d3c8486cb2d79'/>
<id>urn:sha1:8eb005bf6e58ca08802ac8170e5d3c8486cb2d79</id>
<content type='text'>
All the users are now gone.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
</feed>
