Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755257AbbK0SRv (ORCPT ); Fri, 27 Nov 2015 13:17:51 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:33702 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755017AbbK0SRs (ORCPT ); Fri, 27 Nov 2015 13:17:48 -0500 Subject: Re: [PATCH v2 1/1] platform: goldfish: pipe: add devicetree bindings To: Christoffer Dall , Rob Herring References: <1448481582-16991-1-git-send-email-jinqian@android.com> <20151125202416.GA4636@rob-hp-laptop> <20151126083412.GB14945@lvm> Cc: Jin Qian , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Greg Kroah-Hartman , Joe Perches , Dan Carpenter , Peter Senna Tschudin , =?UTF-8?Q?Alex_Benn=c3=a9e?= , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org From: Greg Hackmann Message-ID: <56589E48.9000708@google.com> Date: Fri, 27 Nov 2015 10:17:44 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151126083412.GB14945@lvm> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1589 Lines: 36 On 11/26/15 12:34 AM, Christoffer Dall wrote: > On Wed, Nov 25, 2015 at 02:24:16PM -0600, Rob Herring wrote: >> >> The binding may be trivial, but there's a bigger question of whether >> this is the right long term direction. For example is upstream QEMU >> going to take all the Android pipe stuff? Couldn't virtio be used here >> as the transport? >> > > But I wonder if that should really block this from being merged? The > support may not be in QEMU but it's in the Android emulator and it would > be a less broken implementation with these patches in the kernel than > without, I think. > > -Christoffer > To add to Christoffer's point, we added these bindings so we don't need to rely on the goldfish virtual bus for probing anymore. Switching from the goldfish virtual bus to Device-Tree already eliminates one big piece where the Android emulator has diverged from upstream qemu. And on the kernel side, it means we don't need ARM and MIPS goldfish board code to instantiate the bus. In the long term I'm happy to push the SDK team towards replacing the Android pipe with a virtio alternative. (We've already been switching over to virtio for things like storage.) But in the short term, we still need it. And I don't think it benefits the mainline kernel if we have to maintain cleanup patches like this out-of-tree. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/