From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Subject: Re: [PATCH 7/7] [v4] drivers/virt: introduce Freescale hypervisor management driver Date: Thu, 9 Jun 2011 13:55:17 -0500 Message-ID: <4DF11715.5030001@freescale.com> References: <1307573154-15838-1-git-send-email-timur@freescale.com> <201106090929.23671.arnd@arndb.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201106090929.23671.arnd@arndb.de> Sender: linux-console-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Arnd Bergmann Cc: linuxppc-dev@lists.ozlabs.org, alan@lxorguk.ukuu.org.uk, kumar.gala@freescale.com, benh@kernel.crashing.org, greg@kroah.com, akpm@kernel.org, cmetcalf@tilera.com, konrad.wilk@oracle.com, dsaxena@linaro.org, linux-kernel@vger.kernel.org, linux-console@vger.kernel.org Arnd Bergmann wrote: > Then get rid of all the code that takes apart the ioctl command numbers > again and just do a switch/case based on the command. I still need to keep that code to maintain binary compatibility with existing applications that pass the union as a parameter. I'll fix that after we've updated the applications. But we have a chicken-or-the-egg problem where we need the same application to work with the new and old ioctl interface for a period of time. -- Timur Tabi Linux kernel developer at Freescale From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from TX2EHSOBE006.bigfish.com (tx2ehsobe003.messaging.microsoft.com [65.55.88.13]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Cybertrust SureServer Standard Validation CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 0DA0CB6FEB for ; Fri, 10 Jun 2011 04:55:26 +1000 (EST) Message-ID: <4DF11715.5030001@freescale.com> Date: Thu, 9 Jun 2011 13:55:17 -0500 From: Timur Tabi MIME-Version: 1.0 To: Arnd Bergmann Subject: Re: [PATCH 7/7] [v4] drivers/virt: introduce Freescale hypervisor management driver References: <1307573154-15838-1-git-send-email-timur@freescale.com> <201106090929.23671.arnd@arndb.de> In-Reply-To: <201106090929.23671.arnd@arndb.de> Content-Type: text/plain; charset="ISO-8859-1" Cc: konrad.wilk@oracle.com, kumar.gala@freescale.com, linux-kernel@vger.kernel.org, cmetcalf@tilera.com, akpm@kernel.org, dsaxena@linaro.org, linux-console@vger.kernel.org, greg@kroah.com, linuxppc-dev@lists.ozlabs.org, alan@lxorguk.ukuu.org.uk List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Arnd Bergmann wrote: > Then get rid of all the code that takes apart the ioctl command numbers > again and just do a switch/case based on the command. I still need to keep that code to maintain binary compatibility with existing applications that pass the union as a parameter. I'll fix that after we've updated the applications. But we have a chicken-or-the-egg problem where we need the same application to work with the new and old ioctl interface for a period of time. -- Timur Tabi Linux kernel developer at Freescale From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754517Ab1FISz0 (ORCPT ); Thu, 9 Jun 2011 14:55:26 -0400 Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13]:20200 "EHLO TX2EHSOBE006.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751205Ab1FISzW (ORCPT ); Thu, 9 Jun 2011 14:55:22 -0400 X-SpamScore: -3 X-BigFish: VS-3(zz98dKzz1202hzzz2dh2a8h668h839h62h) X-Spam-TCS-SCL: 1:0 X-Forefront-Antispam-Report: CIP:70.37.183.190;KIP:(null);UIP:(null);IPVD:NLI;H:mail.freescale.net;RD:none;EFVD:NLI Message-ID: <4DF11715.5030001@freescale.com> Date: Thu, 9 Jun 2011 13:55:17 -0500 From: Timur Tabi Organization: Freescale User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110429 Fedora/3.6.17-1.fc13 Firefox/3.6.17 MIME-Version: 1.0 To: Arnd Bergmann CC: , , , , , , , , , , Subject: Re: [PATCH 7/7] [v4] drivers/virt: introduce Freescale hypervisor management driver References: <1307573154-15838-1-git-send-email-timur@freescale.com> <201106090929.23671.arnd@arndb.de> In-Reply-To: <201106090929.23671.arnd@arndb.de> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginatorOrg: freescale.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann wrote: > Then get rid of all the code that takes apart the ioctl command numbers > again and just do a switch/case based on the command. I still need to keep that code to maintain binary compatibility with existing applications that pass the union as a parameter. I'll fix that after we've updated the applications. But we have a chicken-or-the-egg problem where we need the same application to work with the new and old ioctl interface for a period of time. -- Timur Tabi Linux kernel developer at Freescale