Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4664641imu; Tue, 8 Jan 2019 04:16:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN6J/mFQa0Z1wcur8yKmscrjOVvqQzrjFtNi1JvIdl77shaj5GxzYcUjrHBszLJTciotkrMB X-Received: by 2002:a63:e74b:: with SMTP id j11mr1325849pgk.397.1546949771188; Tue, 08 Jan 2019 04:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546949771; cv=none; d=google.com; s=arc-20160816; b=nqKXUzTyrFoo/lbUtAcwlJ3xPvkvzLtYlLlP7OaKUxvMyJ1erlXJNqGj5LDh3HQc58 hAoPQT/eAYR9YH7Nk3ai6YrBpwX65EQgHN3u5kYIudhcix0g4OYbAjRVFbagE3CeyZhT XtB0RqNuHc6GOV9YCLhGmYqTRhdEKxotEHJIZePwE3GyO7myq2IyhzG7QdDiWDJ7qcxA r19XeOAqxbkGPpcbftgQzc22g6RTkYv6tMrPKZYL2a8jDSk3B5SsCNqbw9MATkf5luHW FDeyqABsc+hWtYAQvonqNo7o/IqZwFSRmKXiGGHUkOD9FBCqk8bHGz+/v/HmlmsXnSgF cwXg== 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=92OK2xgqo+0too6RIEqq3l/DgP8HTgVa+ftjfVo4ZoI=; b=Ki8z1FwpBvTwQ3+ajknU0sBJXbZ3e3IpUodYzH5OMGDJJ6ex0EMLAvXvU8zihcspEb KnJCiAVUreXzonXnQyIZWr/V4P5TqqOl1VPvwOy6Ul7haPYdhf87L9ZDJ3Sv8n5c033W JrO0CPRt+Rqjb8gJI6yuln2JUiSFQOXYK1/oqJlrL/oxbYxUNXKegTaNzn2P5DrPck+7 v+VSLKANNJqx1g+0l8ZQrS3x7GPgkcIgzudtwY4H92Db/DAlbNbs9/9IfHUCHlHWLEju CRNwDzMq8dBHT+aN8Lh7RkjhuDgtMShVppKhUP4bP+gpWQGSUGap22dFQpp2C3jOzuCR HH8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Xq7p5Rio; 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 j195si36544084pfd.165.2019.01.08.04.15.55; Tue, 08 Jan 2019 04:16:11 -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=Xq7p5Rio; 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 S1728855AbfAHMNi (ORCPT + 99 others); Tue, 8 Jan 2019 07:13:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:34912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727295AbfAHMNi (ORCPT ); Tue, 8 Jan 2019 07:13:38 -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 88600206B7; Tue, 8 Jan 2019 12:13:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546949618; bh=ZgV9YuOc2GBOZgetcGRDnI2inupCZQATy1kvaLxFsDE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xq7p5RioKDjt8mSA1RQ1HKa8n5tb4D8tWUOmU+ROSan9Y9vmchk0QzbDCfqdL8LUQ fYY0E40b//7E844EDgsE1E7Cxk5M8Pv5+64wElp0QR9OpI3iC0owTfhUzGtBZ5rerA aojKxCWOpawzee9jYeiuoa9HYsH9wLeU04b9dktA= Date: Tue, 8 Jan 2019 13:13:35 +0100 From: Greg KH To: rkir@google.com Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] drivers: platform: goldfish: goldfish_sync: add a driver Message-ID: <20190108121335.GA3349@kroah.com> References: <20190107185039.190919-1-rkir@google.com> <20190107185039.190919-3-rkir@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190107185039.190919-3-rkir@google.com> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 07, 2019 at 10:50:39AM -0800, rkir@google.com wrote: > From: Roman Kiryanov > > The Goldfish sync driver is designed to provide a interface > between the underlying host's sync device and the kernel's > fence sync framework. > > Signed-off-by: Roman Kiryanov > --- > Changes in v2: > - Added a missing include (mod_devicetable.h). > - Put in one batch with goldfish_address_space.c to avoid merge comflicts. You have a number of WARN_ON() calls in here that are not needed, please remove. Also, why is this driver needed at all? Why can't you use the "normal" drm sync api interface? Why write a custom ioctl driver just for this one kernel interface? thanks, greg k-h