Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6653173imu; Wed, 30 Jan 2019 19:58:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN6A2Niqe6phR3zTQ1RnvDLqdvFRUwGQxfUmiSrgmZ8zLs3bcE9YMs32QiczIonQIeU3D9qU X-Received: by 2002:a63:4c04:: with SMTP id z4mr30235298pga.312.1548907088306; Wed, 30 Jan 2019 19:58:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548907088; cv=none; d=google.com; s=arc-20160816; b=l4Ze4+OeTluivDLPzzMPYXAXf2mtiLVCIpURndjpDIuximifNEDg4t9j8MKovvgQa9 K9Uhw+3obdHEl+zrzaXnI7i6B7OG2A+0pUCcDgkgX7kpmjfCG4cwkiCIAlNzyDBVRIJU HmDCltWymFOouGTpXeRvmbcprd/zWJ7vcAfOTjdHEyQxiD7e2MRHN3v6fqaLb+uDpj9l izm6PM8y2/VqAFARH//JDKHExn3O5Le5eCsjKi+2HYpe76zSUzjL4tCTZOcOrYRBN+LG CFl73rnnjEphWxnCvP+uklYIcXq/Vkv4m3B5HekRhLoc3JzwGWfvWmOE7gXA0vCXbOgj NQoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=q1rSOZFe0IVQ29cPDe7C9Tb4xEwVzgUS1kUmg4l1E80=; b=SlAn/HWp6vuZTAIdySKs9Vo7Q8311Q0lXWMnRbVSxk5B9Lj6Nq3pJBiH2v4cr0fmEa vfA5m2OhnGDyCMPfkAG9I9Xfgf1oE3/9Kzrsgu6AD1dbH/aT3MAU0okuUBCBbjUU8W3g FxOlQquglRL++JVmPbD4s80W3sxyRGb+5Xp78A0rpLZKfVAzzbMyGCYJDMqt/JqWrsfS b5rIWkK0KZB/vX3qdJJ6e9dIr/e1ned+Unb+i/gOaGzZnSck8sQNGjiLhQrhruXjU5mP 67Qrm8ZcK3tApgUdFKEFJQSk+R6L0p4WZY+YhjuAeXwIwbvvE85jBllBfM72eSP5ieYV 06rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=HQJV3FpX; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 23si3605010pfu.2.2019.01.30.19.57.52; Wed, 30 Jan 2019 19:58:08 -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=@google.com header.s=20161025 header.b=HQJV3FpX; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728406AbfAaD42 (ORCPT + 99 others); Wed, 30 Jan 2019 22:56:28 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:38850 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726431AbfAaD42 (ORCPT ); Wed, 30 Jan 2019 22:56:28 -0500 Received: by mail-lf1-f67.google.com with SMTP id a8so1248193lfk.5 for ; Wed, 30 Jan 2019 19:56:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q1rSOZFe0IVQ29cPDe7C9Tb4xEwVzgUS1kUmg4l1E80=; b=HQJV3FpXhjd5ovtLv0YQv8vwPAA0UrWIyj+HQ8oEroEHLURWJsZG4QALnBqsFAVwA0 IkFiwWvGraCJiYay6OlcrxxzsD+SfAPL/dMP8ybaYAjhipVQMv9NbIyf4FAv/uNaw9xv uryDJ2lKsHsocb2GsWU7Ri2q7amnwiB8yDw/xbpa6qTX2o1860ARNvGa+JS1bdeU7NH3 aFFB/obmar8tAkU6cIDIlRWfm6+fl9J6d7mxYLuhugq6J3YK9NP5tKkJNa7M9CUXlZ5/ q7PFk6ydWKC7lNPNJM3LSeTmJEuG4VC9wJeA9indTTUJZk0kU//L6StAVBrTY2GzwAuA LofQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=q1rSOZFe0IVQ29cPDe7C9Tb4xEwVzgUS1kUmg4l1E80=; b=O6ig8WBgv+wNQXEEIHUrGlroRSAMAiLxtRCgwcpPIPMpsLks4+7by/RmNGYw7a6wp/ HNPFHuVOghZpxMhRJhipOlK7iRNf+296JypEMVvTPntdA3hJM6kZeazd2jTddHT9TGTm shL1eQnOpd5RvDOnvu8VM/UPUIe4N7QSa9xtMwCxKL+psKU94ceJ6aD5W+mh4FmodiaT Cc8Z8eyXvRlGwYzCcu7Ptbg2v7CoOESjg660ouuUsDBby+ECu31Fv6D3QYVDL/c5nJvi VbxVBIKBCZyT5YgI//SjxURbqVcpFMDZBEkor42RYQq9We4NvK/KGkziEmjtHRLinKlZ IM+w== X-Gm-Message-State: AHQUAuZIMGEM6yqUm5TJhAGGi55myOrEo5/lZOCdxw9frlz/w5yslrs5 Pf3wo8Gd9eDrChCzf4qi6V35eXOraTr2h+oGU//K3w== X-Received: by 2002:a19:750a:: with SMTP id y10mr8289223lfe.157.1548906985687; Wed, 30 Jan 2019 19:56:25 -0800 (PST) MIME-Version: 1.0 References: <20190109021112.5836-1-rkir@google.com> <20190109021112.5836-2-rkir@google.com> <20190122110712.GA1004@kroah.com> <20190130144414.GA8357@kroah.com> In-Reply-To: <20190130144414.GA8357@kroah.com> From: Roman Kiryanov Date: Wed, 30 Jan 2019 19:56:14 -0800 Message-ID: Subject: Re: [PATCH v3 2/3] drivers: platform: goldfish: goldfish_address_space: add a driver To: Greg KH Cc: linux-kernel@vger.kernel.org, Lingfeng Yang , Alistair Strachan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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? cuttlefish is a separate emulator with different assumptions which do not work for us. Our emulator runs on Linux, Mac and Windows, it uses host's GPU directly for rendering. I am not sure how cuttlefish accesses host's GPU memory (it might not support this), but we need it to support coherent memory access for Vulcan. We also might use it to access host's camera pixels to avoid copying them. Please keep goldfish drivers.