Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932414AbcDNSmU (ORCPT ); Thu, 14 Apr 2016 14:42:20 -0400 Received: from mga09.intel.com ([134.134.136.24]:44716 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753664AbcDNSmS (ORCPT ); Thu, 14 Apr 2016 14:42:18 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,485,1455004800"; d="scan'208";a="785040330" Date: Thu, 14 Apr 2016 14:42:01 -0400 From: Dennis Dalessandro To: Jason Gunthorpe Cc: Ira Weiny , dledford@redhat.com, linux-rdma@vger.kernel.org, linux-fsdevel@vger.kernel.org, torvalds@linux-foundation.org, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/7] IB/hfi1: Remove write() and use ioctl() for user access Message-ID: <20160414184200.GA10416@phlsvsds.ph.intel.com> References: <20160414153727.6387.96381.stgit@scvm10.sc.intel.com> <20160414164550.GC6247@obsidianresearch.com> <20160414174830.GA11641@rhel.sc.intel.com> <20160414180540.GA12554@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20160414180540.GA12554@obsidianresearch.com> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 898 Lines: 23 On Thu, Apr 14, 2016 at 12:05:40PM -0600, Jason Gunthorpe wrote: >There are some pretty obvious paths to make this saner that could only >be a few weeks away, we haven't even had the first conversations >yet. I think you are completely wrong there is no 'line of sight' > >It certainly can't be years. Does fixing the current write()/writev() problem have any real impact on how we proceed for the "1 char dev to rule them all" idea? >There is some rational for a very driver specific thing, but EEPROM >and snoop? Seriously? That's the thing, I think these are very driver specific [1]. I'm not dead set that the eprom needs to be its own device, it made sense to me, but if others feel the handling should be back in the hfi1 char device I'm fine with that. As for the snoop stuff, perhaps that would be better in rdmavt? [1] http://marc.info/?l=linux-rdma&m=146065638629146&w=2 -Denny