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=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 972C5C433E0 for ; Tue, 23 Mar 2021 17:55:46 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2520F619AE for ; Tue, 23 Mar 2021 17:55:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2520F619AE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NShW3KNed+HnfebxE1tcR3/3hB6iQ8a8mUln2kNw55s=; b=G9x4fs6JYmaOcbi1daxn1U9Gr oOT1UMWGzYwZ4wE97wIDzHriQzPC0kvYXSLSZRs1TNLUAPYLvtLcl2n8qf2igP3mC8+DFJlDiKbV+ onZRNS5XE9hknhre3AOXLXvMfDS/P4u7gYpbTL6mhQ/U77Di47WjdUOguNDwPXFPPAbV7Llf5UM0V y5+w9+QRjAX66WJJaCpDt9dpq0+/lryS3vKEMX+h3Per2byUFo2auKyEPBolC4T9M8VVKNcAUOZn9 NZK4Jn7AtkTxHAANI8bazsOARRKSUoYuPWciIxMCH4KGHNNT8r3DiUuE88oCqC0dW0GAmPY5ckDiI MxeqQ8x6g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lOlEP-00FSmp-3o; Tue, 23 Mar 2021 17:54:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lOlEE-00FSlk-Ly for linux-arm-kernel@lists.infradead.org; Tue, 23 Mar 2021 17:54:08 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1D61E619AE; Tue, 23 Mar 2021 17:54:02 +0000 (UTC) From: Catalin Marinas To: Will Deacon , Andre Przywara , Shuah Khan Cc: clang-built-linux@googlegroups.com, Nick Desaulniers , Amit Daniel Kachhap , linux-kselftest@vger.kernel.org, Mark Brown , linux-arm-kernel@lists.infradead.org, Vincenzo Frascino , Nathan Chancellor Subject: Re: [PATCH 00/11] kselftest/arm64: mte: Fix feature detection and compilation Date: Tue, 23 Mar 2021 17:54:01 +0000 Message-Id: <161652203083.28887.4073099105213789837.b4-ty@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210319165334.29213-1-andre.przywara@arm.com> References: <20210319165334.29213-1-andre.przywara@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210323_175406_918521_02B80943 X-CRM114-Status: GOOD ( 10.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 19 Mar 2021 16:53:23 +0000, Andre Przywara wrote: > When trying to run the arm64 MTE (Memory Tagging Extension) selftests > on a model with the new FEAT_MTE3 capability, the MTE feature detection > failed, because it was overzealously checking for one exact feature > version only (0b0010). Trying to fix that (patch 06/11) led me into the > rabbit hole of userland tool compilation, which triggered patches > 01-05/11, to let me actually compile the selftests on an arm64 > machine running Ubuntu 20.04. Before I actually fixed that, I tried some > other compiler and distro; patches 07 and 08 are my witnesses. > Then I got brave and tried clang: entering patches 09/11 and 10/11. > Eventually I tried to run the whole thing on that model again, and, > you guessed it, patch 11/11 concludes this apparent "2 minute job". > > [...] Applied to arm64 (for-next/kselftest), thanks! [01/11] kselftest/arm64: mte: Fix compilation with native compiler https://git.kernel.org/arm64/c/4a423645bc26 [02/11] kselftest/arm64: mte: Fix pthread linking https://git.kernel.org/arm64/c/e5decefd884d [03/11] kselftest/arm64: mte: ksm_options: Fix fscanf warning https://git.kernel.org/arm64/c/31c88729a7ad [04/11] kselftest/arm64: mte: user_mem: Fix write() warning https://git.kernel.org/arm64/c/40de85226fec [05/11] kselftest/arm64: mte: common: Fix write() warnings https://git.kernel.org/arm64/c/4dfc9d30a8ab [06/11] kselftest/arm64: mte: Fix MTE feature detection https://git.kernel.org/arm64/c/b17f265bb4cc [07/11] kselftest/arm64: mte: Use cross-compiler if specified https://git.kernel.org/arm64/c/28cc9b3d8996 [08/11] kselftest/arm64: mte: Output warning about failing compiler https://git.kernel.org/arm64/c/6b9bbb7f934d [09/11] kselftest/arm64: mte: Makefile: Fix clang compilation https://git.kernel.org/arm64/c/adb73140eec7 [10/11] kselftest/arm64: mte: Fix clang warning https://git.kernel.org/arm64/c/005a62f6d269 [11/11] kselftest/arm64: mte: Report filename on failing temp file creation https://git.kernel.org/arm64/c/b4985bb88afb -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel