Re: [PATCH 0/2] ipmi: Fix issues in the BT code.
From: Russ Anderson
Date: Fri Aug 24 2018 - 00:00:11 EST
On Thu, Aug 23, 2018 at 03:37:01PM -0500, minyard@xxxxxxx wrote:
> The first change fixes the race condition at startup between
> capabilities detection and the startup of the upper layers of
> the IPMI driver.
>
> The second is cleanup code that I'm doing as I touch things in the
> driver.
Quick testing looks good. This was with your patch backported to RHEL7.6.
More testing tomorrow but so far so good.
[root@ah-038 ~]# dmesg | grep -i ipmi
[ 76.409474] ipmi message handler version 39.2
[ 76.529702] ipmi device interface
[ 76.773727] IPMI System Interface driver.
[ 76.778277] ipmi_si ipmi_si.0: ipmi_platform: probing via SMBIOS
[ 76.784999] ipmi_si: SMBIOS: mem 0xce4 regsize 1 spacing 1 irq 6
[ 76.806979] ipmi_si: Adding SMBIOS-specified bt state machine
[ 76.813903] ipmi_si IPI0001:00: ipmi_platform: probing via ACPI
[ 76.833722] ipmi_si IPI0001:00: [io 0x0ce4-0x0ce6] regsize 1 spacing 1 irq 6
[ 76.842593] ipmi_si: Adding ACPI-specified bt state machine
[ 76.842980] ipmi_platform: probing via SPMI
[ 76.842982] ipmi_si: SPMI: io 0xce4 regsize 1 spacing 1 irq 6
[ 76.845116] ipmi_si: Trying SMBIOS-specified bt state machine at mem address 0xce4, slave address 0x20, irq 6
[ 76.845123] ipmi_si ipmi_si.0: Could not set up I/O space
[ 76.939459] ipmi_si: Trying ACPI-specified bt state machine at i/o address 0xce4, slave address 0x0, irq 6
[ 76.959709] ipmi_si IPI0001:00: Using irq 6
[ 76.993053] ipmi_si IPI0001:00: Found new BMC (man_id: 0x000000, prod_id: 0x0101, dev_id: 0x20)
[ 77.063491] ipmi_si IPI0001:00: IPMI bt interface initialized
Thanks.
--
Russ Anderson, SuperDome Flex Linux Kernel Group Manager
HPE - Hewlett Packard Enterprise (formerly SGI) rja@xxxxxxx