Return-Path: X-Greylist: delayed 17392 seconds by postgrey-1.36 at bilbo; Thu, 15 Sep 2016 21:23:00 AEST Received: from 6.mo177.mail-out.ovh.net (6.mo177.mail-out.ovh.net [46.105.51.249]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3sZbch2WDpzDsTX for ; Thu, 15 Sep 2016 21:23:00 +1000 (AEST) Received: from player699.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo177.mail-out.ovh.net (Postfix) with ESMTP id 3627CFFD034 for ; Thu, 15 Sep 2016 13:22:53 +0200 (CEST) Received: from hermes.kaod.org (LFbn-1-2234-107.w90-76.abo.wanadoo.fr [90.76.55.107]) (Authenticated sender: clg@kaod.org) by player699.ha.ovh.net (Postfix) with ESMTPSA id CADED240082; Thu, 15 Sep 2016 13:22:50 +0200 (CEST) Subject: Re: [RFC PATCH linux dev-4.7 4/6] misc: Add Aspeed BT IPMI BMC driver To: Patrick Williams References: <1473921146-19509-1-git-send-email-clg@kaod.org> <1473921146-19509-5-git-send-email-clg@kaod.org> <38b843b7-24ec-7089-154c-262106afd50c@kaod.org> <22bc13ba-5bf7-3e94-6df1-62d33b50c7cc@kaod.org> <20160915105129.GC25351@heinlein.lan> Cc: Joel Stanley , OpenBMC Maillist From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Message-ID: Date: Thu, 15 Sep 2016 13:22:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20160915105129.GC25351@heinlein.lan> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 9551290386262166274 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeluddrjeehgdefieculddtuddrfeeltddrtddtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2016 11:23:00 -0000 On 09/15/2016 12:51 PM, Patrick Williams wrote: > On Thu, Sep 15, 2016 at 10:36:46AM +0200, Cédric Le Goater wrote: >>>> I'm not sure there. When I open /dev/ttyUSB0 I'm talking to the USB0 >>>> serial device. When I open /dev/mtd0, I'm talking to the mtd0 device. >>>> So when I open /dev/ipmi-bt-bmc, I would expect to talk to the BMC >>>> device? >>> >>> Yes. I went a little too far in the global rename. /dev/ipmi-bt-bmc makes >> >> I meant /dev/ipmi-bt-host ! :) > > Does it make sense to have these numbered? I thought Brenden proposed > an emulated bt-over-i2c. We could also conceive of an SOC that had > multiple LPC (+bt) engines to facilitate multiple nodes, or an off-board > FPGA to do it. > If we expect to have multiple btbridged process running, we will need multiple device nodes. How we should name them depends partly on the driver I think. We could keep the prefix 'ipmi-bt' because it identifies the BT interface described in the IPMI specs and use node /dev/ipmi-bt-host for the original bt_bmc, (used be bt_host) driver. This one will be unique. The others could use : /dev/ipmi-bt-lpc /dev/ipmi-bt-i2c- ? C.