Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp711841imu; Fri, 9 Nov 2018 05:01:16 -0800 (PST) X-Google-Smtp-Source: AJdET5djgeY44NcHu2jdDOxVuuYaVAAlrmNouUOldrSeA6om7n6VfCPYjwKWf23HvA+MGIdW5h/K X-Received: by 2002:a63:1321:: with SMTP id i33mr7547919pgl.380.1541768476096; Fri, 09 Nov 2018 05:01:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541768475; cv=none; d=google.com; s=arc-20160816; b=VpNYCzyhUxa3kxROI8PXE98rQrD0MAqaKisYN9WGrdKwgIRLSoAw0FHJNm7zfIGFgF pOWPAbN4B/muBgYL3UK3yEN5nynprmHb7RQmnHpPP77GS9nOk77R2/ileP8cq+UNEOGZ uawfMcgOyINFl79aEOHqsh8bwj5dXAu/vcuqMltfs6Yoav7/mmfqU/dr5Q/DUgSDgLqH bPUAcDe+Dnc3YbBjsyBYjPo4GO6dg7EtXOduYlawvI6DpUxfNpEiX4i2wRrh1LBZZ8ha BQNvrjVmtqPzdOlK1Tg6p4QOezw2jmJCcFSh/y5PXrHBo9G4cU7Avlk19Vc9dCOaTQkv rSSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=ktVVV7J5IKhdm9D6LX6Ln2VbLRhsLNceADn3OVTeAGs=; b=Zt41TMKEFIbpSCflqI9Y5vud1xYgg6jT/XhutpzWvIpdkTNQDB9rWyCGxYABljTkII BbXqYmRwC8DArp/ogrymA25TqJXNQ0sqdylupgRhGvJi6aayQ/glXG7YwJwak7gvbB4e hx6jO/QLORgcUqogalitPBKEHzWPWxvHUSQMZa5yXqGI9WPWdbCKLK2Fgo1+HDP8SVZB x2fWVSjOyJ2L4Jq9ty+COC5j2ymRyBz/N22q4K/xjI5F3EgF2IKA/bFZ2DcUiYi0aKLR WFAWS49xwl+A4VTUbVv8xIDUo7dRI+ZSWQF3U24EOJHqi58lMwoHMt2x97Yb3qvAxLMV /B0g== 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 132si6127969pge.141.2018.11.09.05.00.56; Fri, 09 Nov 2018 05:01:15 -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; 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 S1727978AbeKIWky (ORCPT + 99 others); Fri, 9 Nov 2018 17:40:54 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:46876 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727676AbeKIWky (ORCPT ); Fri, 9 Nov 2018 17:40:54 -0500 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gL6OZ-000442-Cb; Fri, 09 Nov 2018 14:00:19 +0100 Date: Fri, 9 Nov 2018 14:00:19 +0100 (CET) From: Thomas Gleixner To: Cao jin cc: x86@kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, bp@alien8.de, hpa@zytor.com Subject: Re: [PATCH] x86/mkpiggy: Drop endianness transforming In-Reply-To: <20181109121929.11448-1-caoj.fnst@cn.fujitsu.com> Message-ID: References: <20181109121929.11448-1-caoj.fnst@cn.fujitsu.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cao, On Fri, 9 Nov 2018, Cao jin wrote: > gzip file has 4-byte little-endian file size encoded at the end of file, > while all the other compressed kernel file has size_append operation in > the Makefile which also append the 4-byte little-endian file size. There > is no need to do endianness transforming by mkpiggy. Did you test that on a BE host cross-compiling the kernel for x86? Thanks, tglx