Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752247AbdHJH5Y (ORCPT ); Thu, 10 Aug 2017 03:57:24 -0400 Received: from 4.mo179.mail-out.ovh.net ([46.105.36.149]:36012 "EHLO 4.mo179.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752197AbdHJH5X (ORCPT ); Thu, 10 Aug 2017 03:57:23 -0400 X-Greylist: delayed 2189 seconds by postgrey-1.27 at vger.kernel.org; Thu, 10 Aug 2017 03:57:23 EDT Subject: Re: [RFC v1 4/4] ipmi_bmc: bt-aspeed: port driver to IPMI BMC framework To: Jeremy Kerr , Brendan Higgins , minyard@acm.org, benjaminfair@google.com, joel@jms.id.au, andrew@aj.id.au Cc: openipmi-developer@lists.sourceforge.net, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20170808035301.1980-1-brendanhiggins@google.com> <20170808035301.1980-5-brendanhiggins@google.com> <99a298c1-6241-f835-9587-31c526126453@ozlabs.org> From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Message-ID: Date: Thu, 10 Aug 2017 09:20:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <99a298c1-6241-f835-9587-31c526126453@ozlabs.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 672443720324254487 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeelkedrkeeigdduvdegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 668 Lines: 20 On 08/10/2017 04:31 AM, Jeremy Kerr wrote: > Hi Brendan, > >> The driver was handling interaction with userspace on its own. This >> patch changes it to use the functionality of the ipmi_bmc framework >> instead. >> >> Note that this removes the ability for the BMC to set SMS_ATN by making >> an ioctl. If this functionality is required, it can be added back in >> with a later patch. > > As Chris has mentioned, we do use this actively at the moment, so I'd > prefer if we could not drop the support for SMS_ATN. However, using a > different interface should be fine, if that helps. The ioctl is part of the kernel user API now. We should keep it. Thanks, C.