Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2382785imm; Thu, 23 Aug 2018 21:01:34 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzNOAwbAbLLBGzQx9ipO0QZwFp226zcJzrXXtq4SYyvuArAHvABvfvITjT4qzHokKHUbdAM X-Received: by 2002:a62:1089:: with SMTP id 9-v6mr65008191pfq.30.1535083294392; Thu, 23 Aug 2018 21:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535083294; cv=none; d=google.com; s=arc-20160816; b=jxIXhHaQTSQqsSXX2P89+VRTrk432KJ3cie8AH3F1TmnA6tzeddm5laPmIOYQgsfKV 6e7dXkVEQqy2hk9ma1uf+N63Yp0YubOdS0YGPjCJlRW4ayeKA3gqFsnbtOjmP3EgJgL+ bbmSc/CgoCXihEYS0OusfWMLVeRzoaqUSwWPAUmhjB5O8eI50RJlnCmaf2i3Wf2jeg6X OZEhmI+MgJH1FeX0rRNPr1+TO3rqC5V20r+YdiHCVlgwKA3wk/nlz7E75bkTfDt2Nbhw vuPoOkHc8zihuMZZCTJ+AqCxDH5xu5nWQNqW0izZ62e1EOgS9pomtfTm6CUOW7vtMjDa ydEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:arc-authentication-results; bh=kzvIv/TZ2AJ5en4roWWAv4e5kMMV0qiudOAW1KrRy14=; b=buJdwBrOlQR/0Rn3sbcGBKCPj5XUbAdZH0MVB/WMN0oeKuTv8huBFF9PEMkKFLHehY Fqre1aqtYrjt03P45MPkEM2bGLuu+U5xcHYlQYw8V1SKNUm5AeaYSnbK41ax6i9Ob823 Wz76TMmyiWr3wbFRH3cOFX0VjfDq3d+/Oj6vZUdtguG/HZt3w7Ysf+H0EI62al4PKm+V zgvE8azpk60ht+94zZ+6gDmdu5/pp6MxHVFt2xhbr3ic71z16L0cJ4Ccrw33M8YzPpaE EvsBbBV+5vxuJluYXl6PD63pVUc2uEELGFHJ84tAOTYlfkw88uGkYmQpkzTf9FgEbN+z orEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c126-v6si6360945pfa.130.2018.08.23.21.01.05; Thu, 23 Aug 2018 21:01:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727092AbeHXH3x (ORCPT + 99 others); Fri, 24 Aug 2018 03:29:53 -0400 Received: from g2t1383g.austin.hpe.com ([15.233.16.89]:51661 "EHLO g2t1383g.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726338AbeHXH3x (ORCPT ); Fri, 24 Aug 2018 03:29:53 -0400 Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by g2t1383g.austin.hpe.com (Postfix) with ESMTPS id 1C1611681 for ; Fri, 24 Aug 2018 03:57:07 +0000 (UTC) Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id 7725D5B; Fri, 24 Aug 2018 03:57:06 +0000 (UTC) Received: from hpe.com (ben.americas.hpqcorp.net [10.33.153.7]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 0DC104C; Fri, 24 Aug 2018 03:57:06 +0000 (UTC) Date: Thu, 23 Aug 2018 22:57:05 -0500 From: Russ Anderson To: minyard@acm.org Cc: Andrew Banman , openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org, frank.ramsay@hpe.com, justin.ernst@hpe.com Subject: Re: [PATCH 0/2] ipmi: Fix issues in the BT code. Message-ID: <20180824035705.bu4gnt3m622qa3pa@hpe.com> Reply-To: Russ Anderson References: <1535056623-26634-1-git-send-email-minyard@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1535056623-26634-1-git-send-email-minyard@acm.org> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 23, 2018 at 03:37:01PM -0500, minyard@acm.org 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@hpe.com