Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4016447yba; Wed, 17 Apr 2019 02:48:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBBTMX7vbcAamyHHmJh/dNmlWqOrFnHgcNXxcAB3SnMIgU7YIiAPQ1VhGqckpaqpjekx3r X-Received: by 2002:a65:5089:: with SMTP id r9mr81577429pgp.14.1555494490274; Wed, 17 Apr 2019 02:48:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555494490; cv=none; d=google.com; s=arc-20160816; b=c9A7VsOzF+IaeKhpy40uZo69MiAStwHWegnWIUlM4Ospa8SMLGant/19mf8/ls63TM nZ5iUBgvwGozIaljETAVsBPid0BwX6t6z0ranftHnnTAXrZo6LynUuTaOT2mLU97js8+ iauoRcOG6cQiOS2GlZHUQCnSlAiSdLwWooZUWQmWPPmel3kMydv8FdfIqY5wDHukRzp9 mQw9ZBTZnY2FYW0bwK4GHkhlMKY42fmKckCjWIWr3I7irVNByKXRcTgtjfJ/KcaQA5UE fzQNcQVNL4V4cIEDGNGQg9V6qL0qVR5Mpelw9+zItj7O/LUgVvMWn6rnE52jFTQKCU+2 +5HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:cc:references:to:subject; bh=K1Q1ybDXcKmR0zLouOliycpW9mDV24OpcqHmqkF9V6I=; b=VFbtOqUeF27EfPhThGsg2b8LoxWzcXzUabr7Yf2JJ632zew2jgCd/yTgNzr4XdgTET MwA6icGAV8rZvrh1K8VZsZtADseULU+EdeuBPNJaWkrOdARPLLdWSAAWS+fN87YHWZfM kvE2N6c/DjXSlZ6ibUqgkfcfOCQrqU58uaQavaKmFdvMN9nAdMZJ4+/aX6JIdOehVooo Qeg0NIvkpQjcWXiiNOcbNsc7GxR1DLk055q8s+GcHKSBC18UcUQ7Tq78lfkMiMJo9oZA 76WsiI7RKpMJfWtLGoZYBgRDjK/MY6VOqAu8ZloosJMaeo9YXcpsxLRZZe3FKAn2hLj0 7+0A== ARC-Authentication-Results: i=1; mx.google.com; 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 f59si22230491plf.343.2019.04.17.02.47.55; Wed, 17 Apr 2019 02:48:10 -0700 (PDT) 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; 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 S1731771AbfDQJqt (ORCPT + 99 others); Wed, 17 Apr 2019 05:46:49 -0400 Received: from ns.iliad.fr ([212.27.33.1]:38664 "EHLO ns.iliad.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727177AbfDQJqs (ORCPT ); Wed, 17 Apr 2019 05:46:48 -0400 Received: from ns.iliad.fr (localhost [127.0.0.1]) by ns.iliad.fr (Postfix) with ESMTP id 1C1A920B7B; Wed, 17 Apr 2019 11:46:47 +0200 (CEST) Received: from [192.168.108.49] (freebox.vlq16.iliad.fr [213.36.7.13]) by ns.iliad.fr (Postfix) with ESMTP id 0A15F20B5F; Wed, 17 Apr 2019 11:46:47 +0200 (CEST) Subject: Re: [PATCH v3 12/26] compat_ioctl: move more drivers to compat_ptr_ioctl To: Arnd Bergmann References: <20190416202013.4034148-1-arnd@arndb.de> <20190416202701.127745-1-arnd@arndb.de> Cc: LKML From: Marc Gonzalez Message-ID: Date: Wed, 17 Apr 2019 11:46:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190416202701.127745-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP ; ns.iliad.fr ; Wed Apr 17 11:46:47 2019 +0200 (CEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/04/2019 22:25, Arnd Bergmann wrote: > The .ioctl and .compat_ioctl file operations have the same prototype so > they can both point to the same function, which works great almost all > the time when all the commands are compatible. > > One exception is the s390 architecture, where a compat pointer is only > 31 bit wide, and converting it into a 64-bit pointer requires calling > compat_ptr(). Most drivers here will ever run in s390 "will /never/ run" ?