From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752057AbcIBGKd (ORCPT ); Fri, 2 Sep 2016 02:10:33 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:39764 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751346AbcIBGKc (ORCPT ); Fri, 2 Sep 2016 02:10:32 -0400 Date: Fri, 2 Sep 2016 08:10:40 +0200 From: Greg Kroah-Hartman To: Laura Abbott Cc: Sumit Semwal , John Stultz , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Riley Andrews , Daniel Vetter , linaro-mm-sig@lists.linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Eun Taik Lee , Liviu Dudau , Jon Medhurst , Mitchel Humpherys , Jeremy Gebben , Bryan Huntsman , Android Kernel Team , Chen Feng , Brian Starkey Subject: Re: [PATCHv2 3/4] staging: android: ion: Add an ioctl for ABI checking Message-ID: <20160902061040.GB13294@kroah.com> References: <1472769644-11039-1-git-send-email-labbott@redhat.com> <1472769644-11039-4-git-send-email-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1472769644-11039-4-git-send-email-labbott@redhat.com> User-Agent: Mutt/1.7.0 (2016-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 01, 2016 at 03:40:43PM -0700, Laura Abbott wrote: > > The current Ion ioctls lack a good way to tell what ioctls are > available. Introduce an ioctl to give an ABI version. This way when the > ABI inevitably gets screwed up userspace will have a way to tell what > version of the screw up is available. This worries me. Why do we need this? Shouldn't any "new" abi changes just add on, and not change existing ioctl structure calls? Or worst case, you remove an ioctl and then userspace "knows" that when the call fails. And who is the major userspace user of this interface? Who controls it? How are we keeping things in sync here? thanks, greg k-h