Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3301250imu; Wed, 7 Nov 2018 08:13:38 -0800 (PST) X-Google-Smtp-Source: AJdET5c5pCmPn2mxu1iYnQMRpKlWf8ZHRf+Dx7cvAET9HyfDAVN8RTO7Fk3WW5JIziCvFUPzGGzL X-Received: by 2002:a63:1e17:: with SMTP id e23mr700826pge.130.1541607218566; Wed, 07 Nov 2018 08:13:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541607218; cv=none; d=google.com; s=arc-20160816; b=ewVLIfy5UycV23j+gYi9eSpHHIUi4viDQzMJ5zKjnrqU/JCZ58NBSSEcCx9df0yTkt 2PBgEVmFNJulpWzaaOJ6PXkgcQHk7Cz48kflrN9otbIHnTiwNDH20kGNYMAj4fwQFJwt 5Dgkkfgy9IBy+2GZAEywek3ugOe+2aV7MECN0TLEC6p1mt8zBhm8KYeCWbRM2adoQlNw 30uvCjTseWA1gMrU2uEHIkaMscocXyRnfpE0iftIerD4wwfD1G3iL8nA5+R1BRbwjCJr 7nedbBThVjTi75CSJhg06K+fyrUxkAo8D5yD/ixh8de3E9KkSB4Yy4ZqeoIwZ/ARO0FN ygJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:importance:content-transfer-encoding :mime-version:user-agent:cc:to:from:subject:date:references :in-reply-to:message-id:dkim-signature; bh=+gSgxp/jjGVdroAmX8r6L3OWD2gV13WJGTrp3WbPx/w=; b=G3D7s3vlTJODYTQS1CACZ3zWl+8vnGQUWT2QH2XPX2BoDNllCM+EfkXwFUd9Py19hX sfgXtj/lKbGyAy9IKCYqhs3P4y+NDOlEWVeUv6rnPgRQ64t9hEOX8RN5xa6qIcnouGBM OyV0SutmSxoRRRZe/jt625gA4ZlcEBGAAUXsAQHh6PnD1JYFNspwrp7wPOqv3h/dPyDf ABh8e63z8aKcu/wmDuWzNuvl6wV04s7e+jwhyTA0qY/926OXPl6b24YnN3ACg18eKztc 8cexBn5hAJeFQ8PKnYrcSXi7M1TY8cgAYJCJuZesq5tbhVWYPa//dMrGveVfRCqycgOy NBHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=twosheds.20170209 header.b=syMXAEnA; 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 e68-v6si1120319plb.172.2018.11.07.08.13.22; Wed, 07 Nov 2018 08:13:38 -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=fail header.i=@infradead.org header.s=twosheds.20170209 header.b=syMXAEnA; 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 S1731348AbeKHBnW (ORCPT + 99 others); Wed, 7 Nov 2018 20:43:22 -0500 Received: from twosheds.infradead.org ([90.155.92.209]:53968 "EHLO twosheds.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727561AbeKHBnV (ORCPT ); Wed, 7 Nov 2018 20:43:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=twosheds.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To: Message-ID:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+gSgxp/jjGVdroAmX8r6L3OWD2gV13WJGTrp3WbPx/w=; b=syMXAEnALL3PQtA+zOs/PPf73 Fiar523bjH4t2/0Fdgh9dXyq0xCQ/WGMPyUOTGV/ycDG0vUo9yFDagq1plzk2+qOXBU3W3X/8n02n TJGxIe/UXEXP3prj53Kq4S5MirvdGaNIjzmCfpjrKhAd4vXn8+c5NQHZeadlrtN5K9qq1NbwMV30n KbIs/rmwcnoa8GKFKNlLQw8F3k6lfGHKnbf70CV/QiX7gq5hi+1213WHudsUROxDd3rLnsClD+EsA XZ7pbTEGzhEd3Yt6+hDYwRyQaOZMzXIew98c9A7lHg5YZu2FEwr5HXH0qxZcmu58a8Ano9DGPao39 Nv3FoM6JA==; Received: from localhost ([127.0.0.1] helo=twosheds.infradead.org) by twosheds.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKQRC-00AZqQ-DV; Wed, 07 Nov 2018 16:12:14 +0000 Received: from 213.205.242.122 (SquirrelMail authenticated user dwmw2) by twosheds.infradead.org with HTTP; Wed, 7 Nov 2018 16:12:14 -0000 Message-ID: <8b08e8b992093453bb2b9caff8cff08c.squirrel@twosheds.infradead.org> In-Reply-To: <1e4c066d1896e2a0b8b146253d34d05cc4f9ab36.camel@infinera.com> References: <20181106214928.40020-1-nkela@cisco.com> <921b0f78cf67d7307a0555e1fd6f2c2976310adc.camel@infradead.org> <1e4c066d1896e2a0b8b146253d34d05cc4f9ab36.camel@infinera.com> Date: Wed, 7 Nov 2018 16:12:14 -0000 Subject: Re: [PATCH] jffs2: implement mount option to configure endianness From: "David Woodhouse" To: "Joakim Tjernlund" Cc: "nkela@cisco.com" , "dwmw2@infradead.org" , "linux-kernel@vger.kernel.org" , "linux-mtd@lists.infradead.org" , "xe-linux-external@cisco.com" User-Agent: SquirrelMail/1.4.22-21.fc27 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-SRS-Rewrite: SMTP reverse-path rewritten from by twosheds.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Yes, this may slow things down. I am not sure I agree with the impl. > either. > Could one not make cpu_to_je_X/jeX_to_cpu a function ptr which is set to > a func. with the correct endian? On x86 retpoline would make that quite slow. -- dwmw2