From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E47EC432BE for ; Thu, 2 Sep 2021 14:17:36 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 7EEC4610E6 for ; Thu, 2 Sep 2021 14:17:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7EEC4610E6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D0404832F0; Thu, 2 Sep 2021 16:17:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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="UHZ3LKkS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0EE0582BF6; Thu, 2 Sep 2021 16:17:31 +0200 (CEST) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 64C6982BF6 for ; Thu, 2 Sep 2021 16:17:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82f.google.com with SMTP id 2so1655469qtw.1 for ; Thu, 02 Sep 2021 07:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=gfrXw+jILkoLIZItY8uwev4hkgwR8P9EOcC05yNPS/o=; b=UHZ3LKkSqfJkEhcvye+EOygc8ju+NmLAPfo39+hF7MtdIinub5ZU891283d1Z+5NfN Sd74ra+p0b0N6qH9ZvDticoN8KE0Hdon8VoFnDgh3fJxgPGzU4v4Vxy9chlc4dTcv9vr CLPV4d+X2Un//laTO/K1AWOyDBPx8Z6GIkPnw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=gfrXw+jILkoLIZItY8uwev4hkgwR8P9EOcC05yNPS/o=; b=P+2W0o+U2q5vZ/TQV5F0PjRI1lXcHBCOPOwtlKgKZyJcYqgqOrMOBhg5jMfYrj412H woAHxykDnCrPSm42r1fUWHrFpZu4XwHJ4iBxKvbQAT9f3nAB/24SbwmJyIIBbo7WShSt 0PvSbcuLGHfNhc7pmhhvE9M96TCxoG9e8LgZQ9gsN41fDVBUkapdPKE58pcH291PM9/k /f1OKKdV5MYa1S9boXkk7yEP1ssLXqxaFySgQorJ0iqAPUvQNYxQeSBEfs5rv6iakMu7 wmAOzK5tXFGsw6+S+zSg5HswN9CpLs0j0T3HPLAKcyEeWr6UMnEXTIkZUYCQ3ClP3+5R VO+g== X-Gm-Message-State: AOAM5304kGdwlGkNslWuCkyYtpfIICmuZPDU6VugVUmXBsIqMeaw+DYk jzw9YAHAf47k70p3IKxXahCFCQ== X-Google-Smtp-Source: ABdhPJxm0gT4CR5wZ2KbgZPFGiMcMuPyi9KHE+rV/4c06LEpel7/xbA170ZZhqn5yFKlXP0VqahwWw== X-Received: by 2002:ac8:4892:: with SMTP id i18mr3183856qtq.13.1630592245245; Thu, 02 Sep 2021 07:17:25 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-95b1-4c42-35f4-d991.res6.spectrum.com. [2603:6081:7b01:cbda:95b1:4c42:35f4:d991]) by smtp.gmail.com with ESMTPSA id q22sm1135862qtn.25.2021.09.02.07.17.23 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Sep 2021 07:17:24 -0700 (PDT) Date: Thu, 2 Sep 2021 10:17:22 -0400 From: Tom Rini To: Stefan Roese Cc: u-boot@lists.denx.de, Rasmus Villemoes , sjg@chromium.org, Wolfgang Denk Subject: Re: [PATCH v5 3/3] arm64: Kconfig: Enable usage of optimized memset/memcpy/memmove Message-ID: <20210902141722.GA15430@bill-the-cat> References: <20210817084827.692859-1-sr@denx.de> <20210817084827.692859-4-sr@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <20210817084827.692859-4-sr@denx.de> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 17, 2021 at 10:48:27AM +0200, Stefan Roese wrote: > This patch enables the use of the optimized memset(), memmove() & > memcpy() versions recently added on ARM64. >=20 > Signed-off-by: Stefan Roese > --- >=20 > Changes in v5: > - memmove is now auto-selected (or deselected) with the memcpy > Kconfig selection as it's entry is the same as memcpy for ARM64 >=20 > Changes in v3: > - Add memmove as well >=20 > arch/arm/Kconfig | 37 +++++++++++++++++++++++++++++------ > arch/arm/include/asm/string.h | 4 ++++ > 2 files changed, 35 insertions(+), 6 deletions(-) This gives a ton of build failures for me, using gcc-9.2.0 (from kernel.org) along the lines of: Building current source for 1 boards (1 thread, 16 jobs per thread) aarch64: + j721e_evm_a72 +(j721e_evm_a72) aarch64-linux-ar: warning: arch/arm/lib/memset-arm64.o: un= supported GNU_PROPERTY_TYPE (5) type: 0xc0000000 +(j721e_evm_a72) aarch64-linux-ar: warning: arch/arm/lib/memcpy-arm64.o: un= supported GNU_PROPERTY_TYPE (5) type: 0xc0000000 +(j721e_evm_a72) aarch64-linux-ld.bfd: warning: arch/arm/lib/memset-arm64.o= : unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000 +(j721e_evm_a72) aarch64-linux-ld.bfd: warning: arch/arm/lib/memcpy-arm64.o= : unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000 +(j721e_evm_a72) aarch64-linux-objcopy: warning: u-boot: unsupported GNU_PR= OPERTY_TYPE (5) type: 0xc0000000 +(j721e_evm_a72) aarch64-linux-objdump: warning: u-boot: unsupported GNU_PR= OPERTY_TYPE (5) type: 0xc0000000 +(j721e_evm_a72) aarch64-linux-nm: warning: u-boot: unsupported GNU_PROPERT= Y_TYPE (5) type: 0xc0000000 +(j721e_evm_a72) tools/relocate-rela: bad rela bounds +(j721e_evm_a72) make[1]: *** [u-boot-nodtb.bin] Error 1 +(j721e_evm_a72) make: *** [sub-make] Error 2 --=20 Tom --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmEw3O8ACgkQFHw5/5Y0 tyxvCwv/bmfpssMrjdLXWBtlC6s6LXs3Tf7+b1SaxfwEyiZ+KIpZn3ntSOyjnbD0 5a0hDljkj+izEWgKT/1v/QHV12VyoovVkE5hOdNZhQUmkZ0SrICNNdvmPmxDQ3Et 1pzksbgXqXcAivFTYaKGbEBb5riqavdU9Mkjr1LHKuDeDCTGu0yOJUR629v70T2Q y4w0nVDUMZum2sYhldWLV7VNw0h1AUJ+q/+Ui04rUFcRU8PfLSev82ufPeH+oRbB GPjHW2rMNR21PU21XCA1ZMA2DCXhvRldhONkVI9O2HhU9oA7GYXmI9CMolQU9cEo 15huSMy0AU7xxsX4B/q8x2xgnRwKtTE805aZM3UhaohvGcl/4XgSDFM6IhhW2OMd ZaAOvYyGgGzHHNRDSO4T1Ap0ScVyhp6RFImdNFPViTEBviU4KxcLswCULQjmqVkY ki8pCtJY7ca8nn7zR0vmQx6HsLOF/JKy8jxIZz2yqfpQ5kayKucngLWskJS28Wkq pNzknE7V =wqF3 -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--