From patchwork Mon Aug 21 14:24:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9912915 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 53720600C8 for ; Mon, 21 Aug 2017 14:24:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3EEF128780 for ; Mon, 21 Aug 2017 14:24:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 33BA528794; Mon, 21 Aug 2017 14:24:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C75728780 for ; Mon, 21 Aug 2017 14:24:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753264AbdHUOYp (ORCPT ); Mon, 21 Aug 2017 10:24:45 -0400 Received: from mout.gmx.net ([212.227.17.22]:57879 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753491AbdHUOYo (ORCPT ); Mon, 21 Aug 2017 10:24:44 -0400 Received: from p100.box ([193.159.21.213]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LgeFd-1dGDVB2RM5-00o0q1; Mon, 21 Aug 2017 16:24:36 +0200 Date: Mon, 21 Aug 2017 16:24:34 +0200 From: Helge Deller To: Helge Deller Cc: linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: Re: [RFC][PATCH] parisc: Add support for self-extracting kernel Message-ID: <20170821142434.GA7148@p100.box> References: <20170820085222.GA10546@p100.box> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170820085222.GA10546@p100.box> User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:3LQKD64rT/A4EJEvNIYZnlYXopVAtQJDc73bwUeTJNKo1JBEYxE eYX68207KFTNXgyIvX74HyJMLcGkF71v+cUt7bybwBwx9boEy0JHYOtEelo/e31N3ZjIzpn HFWeOBsa3bDb93knep5mE7pAdatglYrFzuQ4NwdD4YzoJ1vh796QEuKbfRnnJPFz/jWVgES PKiO1mQJnoVBy6zrYSGmw== X-UI-Out-Filterresults: notjunk:1; V01:K0:zV3nRdpaqiU=:sUOvB4o26YzPzLtzP4HQbH YcH5znxsMHAsDJCPTLkbanzmwZYr6JoaBXs7v5wAWzJaPONuUcyqeeFPMqdlmhXT/D5vWHv1Z NU5v+QMGlJDZSucCXTus6PSoDpSOOCU7n7JT1gSSTkcMO7UGzXj3GkEDxhq73PGMW4Xmjilr3 RXeS5GeYp9DcXwNro/Qzr1w1exnWpeeSIHM9PI9a3ilAKkG60mjBSwpo+EMnfXSBKj5g12tgK k8xfMb1q18FD+pv8vgUwazV+Cbi+hOW/J182AfrMGJjkB/hbUWqirsVDsXWqEykDWCUM0S4pv F8C8vUitBwf6v62e0bwR/FrMnIoz1VFJAnqoReO7EPjUlg1ljLRVrc0eijvfSacpBbyzPxhLJ tggEyxnv1HHnIYZ4xpmKSnpSrFcs37+zycUgDn49S+aa1K3pcu+DMamqAjHNGU7BAnGLz/BrV lx+8S7Z9WouxTA4We4rIIJMvG7tQfu4e9fAm434PTE75VYxsGKt8630RJXubQOx3C8Xm/Xm4l t37RX7b0BdggRczG+AXlQsvM2hUNJ9yHX0LND87e97uGaCbSlirK2vWQmgwrPt9d0NCGj/Xds Tjhfspz8GGytEmb546q3CB5S3s1Q6Myj4Q1+WXassA0EtgZXRzBPHduK5EXng1F+Kgkjbgjhu FR3dr3i60YxDTwjld/ukpzagPotc8fLoYedFXZlM39co3aNKNw9JJMSP/VRkhk52ob7rAuoiB coC9YToC4jgJold8/tKnJPZKKJRllGm/vfOi0li97D4g0qM7SbnNoD8kCuTIrh3LFAYxZ+b0z jBVfg0vs8bBYbndFIxFDt1FHI86dg== Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The patch below is missing on top of the old patch I sent. It's needed to avoid usage of fp registers. This patch unbreaks booting the lzma variants (XZ, LZO, LZMA,...) Signed-off-by: Helge Deller Helge --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/parisc/boot/compressed/Makefile b/arch/parisc/boot/compressed/Makefile index 9b2d304..5450a11 100644 --- a/arch/parisc/boot/compressed/Makefile +++ b/arch/parisc/boot/compressed/Makefile @@ -15,8 +15,7 @@ targets += misc.o piggy.o sizes.h head.o real2.o firmware.o KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks -KBUILD_CFLAGS += $(call cc-option,-mpacked-stack) -KBUILD_CFLAGS += -fno-PIE -mno-space-regs +KBUILD_CFLAGS += -fno-PIE -mno-space-regs -mdisable-fpregs ifndef CONFIG_64BIT KBUILD_CFLAGS += -mfast-indirect-calls endif