Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5975018imu; Wed, 30 Jan 2019 06:46:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN6x/uyNMqZ3aMcX9E+4x3WJAtdnvLWsJzyS2tifCgMOXyvukcK6y+Nc6vejGAoQreUrCqJM X-Received: by 2002:a62:c505:: with SMTP id j5mr30752982pfg.149.1548859605504; Wed, 30 Jan 2019 06:46:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548859605; cv=none; d=google.com; s=arc-20160816; b=WFWRDndO3vqG1O2YfbCinjgTKGcpJk6SvQ0yIi4h7qY6PGZ/qN+KY+hNlQ+wZjXPkC J9rZLEWOXj9pRQ1zltbZwOR10o2+HOlObnpM3fdZedXIXl61gVusG0jzx3x4r4E5CDN5 inYsmCPvqomr6Fc7/R+vxSSV+h1TfQT397lh3T16m9QOke22K94ZiolP0Rknn27hX0zB VdR/UT56x1c5TgqzB4PGzG+lfWmaMZcJN8d6HTVKSgROFlaIoVMBEVRVvlMWHAwjDjV2 DNVRnHRV6h4GVw24QYf7VLt5GtXEfqPta23JKJIDHzUS+u0/DdbG7OaXo+gtyqzagFkd zx1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ecXFkqPOFnWSWtEiU3/STYO3uLJpo9P9gTsJPiSFxwE=; b=kW5l74b0QzyB8MvmRalFspaRBvX31wR9LQw+Xr+YFk6MTEadh5kKkG3d1BGZ6PZ+vV vcGjbDGNjk2o6wnQq7AGUxLQvkovDv8t6os526QwZAZIRjWLgpeeujvZFiEHW/o3pYno z1FZrJes/kEHif/NJ5qTaMjdAeahFjXzpMhUz/fUP5XlA6QCoLeW2gm8fnPJ64ExnhT7 4dEQw3CeNzsDb90eSouRZY879eBD9YRduWixSFekBYKaMNLOerLVLuxcgzNPEPCBss3A gIzos3pTeWRprdjZh7H87fYAuxeRfbxz0aF0ghJ2kFB5wBziHNH1brOMSr5i+Hh9jcFN 1JKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ptbFeVZ+; 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 x10si1499335pgl.209.2019.01.30.06.46.30; Wed, 30 Jan 2019 06:46:45 -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; dkim=pass header.i=@kernel.org header.s=default header.b=ptbFeVZ+; 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 S1731299AbfA3OoS (ORCPT + 99 others); Wed, 30 Jan 2019 09:44:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:48136 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727371AbfA3OoR (ORCPT ); Wed, 30 Jan 2019 09:44:17 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 99B2C20882; Wed, 30 Jan 2019 14:44:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548859457; bh=Mv7v1jASFdV0HKzfj6lGR0f2LAWScrDFZ5xpARsyotY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ptbFeVZ+7MBrlVSQDqapqjwKRaMFjyEsW51jIrO6g0k4EvLaAeXlpKOLgjx945w3+ f5Mnakwu4f1OfxllFuxPZm/d7P99YA4ZPWLKHR/qaN9GZ/3kftUJI5R4mEawxPoNfa iirPCKPnti+UdlmeoZpd0lZzY3bqpeZNsFEo9Zr4= Date: Wed, 30 Jan 2019 15:44:14 +0100 From: Greg KH To: Roman Kiryanov Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/3] drivers: platform: goldfish: goldfish_address_space: add a driver Message-ID: <20190130144414.GA8357@kroah.com> References: <20190109021112.5836-1-rkir@google.com> <20190109021112.5836-2-rkir@google.com> <20190122110712.GA1004@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 29, 2019 at 12:32:12AM -0800, Roman Kiryanov wrote: > > How does QEMU do this today? There isn't a virtio or some other virtual > > memory device that allows memory regions to be shared? I can't believe > > that there isn't one yet. If not, then this should be some kind of > > "generic" QEMU memory device, not a "goldfish" specific one, right? > > I also thought this should not be something unique to us. So I asked > in our internal mailing list, I heard nothing back. > > > Please work with the QEMU developers on this, I need their ack before I > > can take something like this. > > This is a good point. I asked there (nothing since 1/24): > > http://lists.nongnu.org/archive/html/qemu-discuss/2019-01/msg00055.html > > When we were working on our device side, we had to change some QEMU > code and later noticed that HAXM also requires some fixes (we had > meetings with Intel). I suppose QEMU does not have this feature yet. > > Could you please tell if we can proceed with upstreaming as is? Also, why does the other Android "emulator", cuttlefish, not need special drivers like this and the other goldfish drivers? Shouldn't you be using the same interfaces that they use that are already merged upstream? Actually, now that cuttlefish works on a mainline kernel, can't we just delete the existing goldfish code? thanks, greg k-h