Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752759AbcD1Mef (ORCPT ); Thu, 28 Apr 2016 08:34:35 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:49570 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752654AbcD1Mec (ORCPT ); Thu, 28 Apr 2016 08:34:32 -0400 From: Arnd Bergmann To: Mark Brown Cc: Sagar Dharia , gregkh@linuxfoundation.org, bp@suse.de, poeschel@lemonage.de, treding@nvidia.com, gong.chen@linux.intel.com, andreas.noever@gmail.com, alan@linux.intel.com, mathieu.poirier@linaro.org, daniel@ffwll.ch, jkosina@suse.cz, sharon.dvir1@mail.huji.ac.il, joe@perches.com, davem@davemloft.net, james.hogan@imgtec.com, michael.opdenacker@free-electrons.com, daniel.thompson@linaro.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kheitke@audience.com, mlocke@codeaurora.org, agross@codeaurora.org, sheetal.tigadoli@gmail.com, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH V5 1/6] SLIMbus: Device management on SLIMbus Date: Thu, 28 Apr 2016 14:33:41 +0200 Message-ID: <7478716.z4vdp0mVTA@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20160428115337.GN3217@sirena.org.uk> References: <1461801489-16254-1-git-send-email-sdharia@codeaurora.org> <2692115.H6acsZmTjn@wuerfel> <20160428115337.GN3217@sirena.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:kImdD8/c7RkRpgyiInzlgr0FXf/PwVUWdG9qtta0reyleTXwznz SFkaQAqSBSUZDSOTxkyGDMIW1WnMXbCFjSnuwFvpDL/L3mRLd0Z1w2AdTYGv64kH5k2EMxV 1gJG1S8Qit+lO1Fc92ZMipYjPEVw0KF529HCKp2Ck0opqfahytZaUP+6QKaARGAyRB16+Zv cPsoVu7NcYCJbH+QrnZew== X-UI-Out-Filterresults: notjunk:1;V01:K0:WwMA9WfwGwo=:1B2UY0KS/zyd8dzKvhBSnv pe+DosPOWK60KLpWGycLllQjuT/8oxC6ncCVfU0lbbuCmC7lGqznCwpAkw3daVPjTOf9F9DgG wrxdhpcJf7/0+u9yuBMlnIS5ERsdYNe9U3ZnFwGSha6FiGmuoVG0YHtT2WWiNgl/sv+FWCWZ7 caDyiSZ2LCICaD2GkvdHV+IvbsRLfD8Fdmsed/hGnfxSipq2P1jbPWG47rX6RYRJA7htuwj5/ GNJhBhlnma9rQdZeNa/UeJ4IBWqeYn6kndo7VzhGRJGJjVv37jhWpVNGrDE7sJYUAtC6bLzpR QaO/16Kv1bSmvPJ2/NWQFZ0gdeNyLif0CEzXyc8W6fYl1LV6SejYsbJsr3K3187xpeUVSw4wC PfMN5a4phm3BEoh9ntxWbSwY5AvOz00NSYbosDtU3FcEwdbdA0k6JeSnGH3SIECsu17Qggyo7 is8J8a6Dv3c0jwimV5hKolRvY7kxN0TYJPqevGW2gCrEMTCdgDl/Kmgym8vTxKnJ3bGCsBeqY KXIYzUS6kDMDMwg55N5a9Dv1BJ56nHFKmD+oqVMT6Xw2SEpN188qSOHlFA/N6gKtBT3Wsgy5B ZvNt8MDsLJhaVfietiQN/+um8cRBLitLXgiDbLtJGsPYGrB0vzReTBD3Q7N//DoWrFg5/fUpw fxTszqD7DDbmMADj13sKWc8blgp8Dkyuk0/mxgqC5KsGWJHBkQkNXIVv/UhJ+UCGiElk9M9UF g0rMR83tC5XYxBD7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1108 Lines: 25 On Thursday 28 April 2016 12:53:37 Mark Brown wrote: > On Thu, Apr 28, 2016 at 12:00:26PM +0200, Arnd Bergmann wrote: > > On Wednesday 27 April 2016 17:58:04 Sagar Dharia wrote: > > > > +int slim_add_device(struct slim_controller *ctrl, struct slim_device *sbdev) > > > This looks like an artifact of ancient pre-DT times. I'd say kill it off before > > someone starts using it. > > Not every architecture uses DT, and even on architectures with DT > support it isn't always the only firmware. In this specific case it's > questionable how many people are going to implement Slimbus at this > point but in general insisting that we go DT only doesn't seem great. > Nothing wrong with adding support for manual board files later if we have a good reason for it, but at the moment, this seems completely ARM/ARM64 specific. I don't foresee mobile phones with ACPI using this subsystem, but even if we got them, it would be a horrible idea to use hardcoded board specific tables in a platform file, and we should insist that whatever firmware is present has a way to describe the slimbus devices. Arnd