Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5D42DC4332F for ; Fri, 23 Dec 2022 15:02:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 133B3854DF; Fri, 23 Dec 2022 16:01:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Ev3m8OLu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7494C854C7; Fri, 23 Dec 2022 16:01:23 +0100 (CET) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3A9F9854B2 for ; Fri, 23 Dec 2022 16:01:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x831.google.com with SMTP id g7so3888734qts.1 for ; Fri, 23 Dec 2022 07:01:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Y41EPNWaaHaO1sGrfoMuQW+kG0IwAliC0x2c0IHfi3c=; b=Ev3m8OLulYgdzmUtHGWxN2d0NHXqCYUqfzsIeOUzBJ1eIo/73TDkYUB/vyw6Z0WZFt 4ngiGZUbRtQqAhmrT3NRsxUVCUh47NC3skZOhChhak6Ts51BauLZvCGgFF9vyVnTrpOX cJsYadAXxZ7lVtpvesxR/+0g9MIKqRSFpbKV4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Y41EPNWaaHaO1sGrfoMuQW+kG0IwAliC0x2c0IHfi3c=; b=7SdYZ763ju60oF/9FuCQgOwgv5T1WDrkzUzW7s535btgQ3B621gXFvCINFulmCxMB/ ApLVCsaIewCLItRN/pD+LQ6DAgC2L2qcArekuI8Z4XWj0Ht5CXULBDAlrJ6/IL/qe2bu u0wU5aaBuwGZmraPZe0mg73GqfETd785qSWcGD1xdieQ+WnzL38lZF6efKjXF/hU/b8C rfNXfD88vCL68IbZl+o4myRuJvWadCmYKv6tI5+jS4oYwg8LQW+svZ94MM+r55Jutfle V7UEAxe8/sGFDKw220TRGU8lGVqG8p9g2RqD0WQeEoAMbguFENNB4NmV/ayu+6gAd598 NI6A== X-Gm-Message-State: AFqh2kquu7pzjqd6e1FGSKN3Bwe/EwUNiDqkrrRScxCCNEY6F9LqBdPF Nbb1ENeeRigDjHFiHmxtAmIvFg== X-Google-Smtp-Source: AMrXdXuzPRNk/Vo3145BUhYtkK7pSzP9eZ+ayRCH1yXF6vJ5wXyIoPH7vYiQpC0a9Ng4S3AE1bI2+g== X-Received: by 2002:ac8:73ce:0:b0:3a8:1315:49b9 with SMTP id v14-20020ac873ce000000b003a8131549b9mr11744552qtp.31.1671807678486; Fri, 23 Dec 2022 07:01:18 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-b833-6031-e380-0fb4.res6.spectrum.com. [2603:6081:7b00:6400:b833:6031:e380:fb4]) by smtp.gmail.com with ESMTPSA id h20-20020ac85694000000b003a7e9db074asm2006803qta.67.2022.12.23.07.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Dec 2022 07:01:18 -0800 (PST) Date: Fri, 23 Dec 2022 10:01:16 -0500 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Vagrant Cascadian , u-boot@lists.denx.de Subject: Re: [PATCH u-boot] powerpc/mpc85xx: Improve disabling of SPE instructions Message-ID: <20221223150116.GC3787616@bill-the-cat> References: <20221211141459.8344-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6p1BxL/CUc4CJl56" Content-Disposition: inline In-Reply-To: <20221211141459.8344-1-pali@kernel.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --6p1BxL/CUc4CJl56 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 11, 2022 at 03:14:59PM +0100, Pali Roh=E1r wrote: > Specifying -mspe=3Dno also disables usage of SPE instructions. It is > documented in "[PATCH,rs6000] make -mno-spe work as expected" email: > http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html >=20 > So replace -mspe=3Dyes by -mspe=3Dno, so make it clear that u-boot has to= be > compiled without SPE instructions. >=20 > Linux kernel contains following Makefile code to achieve it: >=20 > # No SPE instruction when building kernel > # (We use all available options to help semi-broken compilers) > KBUILD_CFLAGS +=3D $(call cc-option,-mno-spe) > KBUILD_CFLAGS +=3D $(call cc-option,-mspe=3Dno) >=20 > Do same for U-Boot. >=20 > Signed-off-by: Pali Roh=E1r Applied to u-boot/master, thanks! --=20 Tom --6p1BxL/CUc4CJl56 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmOlwrwACgkQFHw5/5Y0 tywigwwAij1oPnWlKnGIzRTsPXfrfkRjw/EtMtmVLHzS4DIWaKzORUgBqGM8x/XJ aZdZy1OwLzimdMwrAwUsKV2A37dE4dQJfnkAYkxTUVvCGN4PzLCckZJpsHPv7vmG KA4/zFNOStljpR4GdlE9Y1BgLee6Gn+RcftMs7Ys1c0WKppzpHLGq47Pd2ei4T/2 Sk8k3gOtE+hFzu+KJ15B3fLu80SoS/I33JKWJWEcsDAXgkpFCJ4pFlbBBiryT/3k UTHgTobawgEvyr+eluyTa2HePMN1u5dEbp6epoitKy1v6zRfUE3tNhV+G/uBWrJH qvHAkqOHp0/gAauHy1lhV6zf9p/6qShRKaeYxUi4qbmyXJho3LEmUk7YxyMC80IZ g+bNK1zPmtcGxwkKPpwpvtHB6A+ukhi0o8h+EyoJKWsSeq22J41j6dmYNh/LNCr0 VvmA5+/qP9okWUin0y4P9uS+tRg0/2FrEVz9IvjHsksPknJHYjxfbI7QjdP/oHR+ 7aXas2na =5wIs -----END PGP SIGNATURE----- --6p1BxL/CUc4CJl56--