Received: by 10.223.176.5 with SMTP id f5csp920117wra; Fri, 2 Feb 2018 08:14:23 -0800 (PST) X-Google-Smtp-Source: AH8x226O/gQebJ3oNga0NKCE2UPa+ZWemFNUFjSickwrqND7/TS24AiDJx6TFp6bXoiFzlazwQQi X-Received: by 10.99.115.89 with SMTP id d25mr31593878pgn.218.1517588063210; Fri, 02 Feb 2018 08:14:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517588063; cv=none; d=google.com; s=arc-20160816; b=dhw0eh7Q+N93pKY/TZB8dA8ryGFg4YeA0pqDAmhX/uYGwJsMLbxssnfB+fE5A21DUJ y6givs8hf72PzUby/EGxmps19cMYFiS8OBbsqwro3TzCwh8WoJLjs0vsF9wxlHSwmVSS N5ko3rn6eOahVSA7uitSDfYhFGCTMnP2MpzN4qh8+qia42J2CdTyPjs9Sax8yipoLpfl le2AE3sGW9c9dupmLHH30waXpkyc687Hg80P95EjlNqQLaxLfLKuVeG0Mw/0u2M0hcLi RUKJ1ai883m5S4k2Z7gdFmSLOPBW+c+zvb9J9r3Re6uy6wLza84MKVe6XFacqtw8HX/k wQFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=WNmmnG1ilg2lEty6b2ke/yEFyGXjh/tpDVGNQHL8B/0=; b=e0EMzDgFYKUiL4bHt5vMeWtHCLEyKdZSb7ZA7h/DIJUOJla8ZQbNvFvaXU3M/Y6/ya 8BdaOf/AD8YM7SG+0JJhy1EhAyI+e0NH5/hgehG2MNV9+5w3Kl1c2XwsJPARHLsV6Xuf ezeLKKajUfUpR1e7mcdS2yE06A7Z77+04ppSDAYOD3bO91TDsdK53NU6HgV6hWdMbqDe zC6HTqYVFvwY4DwWb/o7fSuLKqWsQcbbfjAlNXa8h7/+g/l8ORM5OMqlCHsTN0rjD+tu rXI7q+wJ5/pBI4wQhEyrcIPd0oVR7Wafhpmtoi0o9KsBB6F/IuaIaONXCDO7FIfKqzXK DoJg== 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 y72-v6si2054418plh.431.2018.02.02.08.14.08; Fri, 02 Feb 2018 08:14:23 -0800 (PST) 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 S1752077AbeBBQMW (ORCPT + 99 others); Fri, 2 Feb 2018 11:12:22 -0500 Received: from mga04.intel.com ([192.55.52.120]:39118 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751651AbeBBQMR (ORCPT ); Fri, 2 Feb 2018 11:12:17 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Feb 2018 08:12:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,448,1511856000"; d="scan'208";a="200871898" Received: from haiyuewa-mobl1.ccr.corp.intel.com (HELO [10.254.212.150]) ([10.254.212.150]) by fmsmga006.fm.intel.com with ESMTP; 02 Feb 2018 08:12:14 -0800 Subject: Re: [PATCH arm/aspeed/ast2500 v5 1/2] ipmi: add a KCS IPMI BMC driver To: minyard@acm.org, joel@jms.id.au, openbmc@lists.ozlabs.org, openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org Cc: andriy.shevchenko@intel.com References: <1517537771-21285-1-git-send-email-haiyue.wang@linux.intel.com> From: "Wang, Haiyue" Message-ID: Date: Sat, 3 Feb 2018 00:12:13 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-02-02 21:52, Corey Minyard wrote: > On 02/01/2018 08:16 PM, Haiyue Wang wrote: >> --- >> v4->v5 >> - Fix -Wdiscarded-qualifiers 'const' compile warning. >> - Fix size_t printk compile error. >> >> v3->v4 >> - Change to accept WRITE_START any time. >> >> v2->v3 >> >> - Update the KCS phase state machine. >> - Fix the race condition of read/write. >> >> v1->v2 >> >> - Divide the driver into two parts, one handles the BMC KCS IPMI 2.0 >> state; >>    the other handles the BMC KCS controller such as AST2500 IO >> accessing. >> - Use the spin lock APIs to handle the device file operations and BMC >> chip >>    IRQ inferface for accessing the same KCS BMC data structure. >> - Enhanced the phases handling of the KCS BMC. >> - Unified the IOCTL definition for IPMI BMC, it will be used by KCS >> and BT. >> >> >> Provides a device driver for the KCS (Keyboard Controller Style) >> IPMI interface which meets the requirement of the BMC (Baseboard >> Management Controllers) side for handling the IPMI request from >> host system software. > > Ok, this is in my queue, it will go into next once 4.16-rc1 comes out, > then into > 4.16 if all goes well. > > Thanks, for your patience and work on this. > *Really appreciate your time on the code review, I really learned more, thank you.  :-) -- Haiyue * > -corey