Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp648871rwb; Thu, 12 Jan 2023 10:26:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXuXjrMFmv0aiqbdMZHTqlFuphp36w+S4eErgZOjFV4D4rOUTQLVLzcAIMFHSTZja0FFmjOO X-Received: by 2002:a17:902:7583:b0:189:4bf4:2cfc with SMTP id j3-20020a170902758300b001894bf42cfcmr75739359pll.31.1673547967284; Thu, 12 Jan 2023 10:26:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673547967; cv=none; d=google.com; s=arc-20160816; b=uiqc7Bvj9Plr1hOJWoCTT58FxTdK2gVT2uCYy5PccgJwcWySWqlPry/xLUu+Uj5Qqc uYb6vzCzqsSEihuhObVOkVCDvw3yuvdL5GoxZUstMS0T+71mngBwUma0QVUCir/Hlpw7 cWPNgMBu80wf6TN0r9c8+KgMT8/+WYnypn6O4LS9geFs1kIVotRBPKEAH2ZdYzIeKyhb qSIJDQozS8Tc/6G4sPo17rNrMHo+inDvvi7rA8ReKJMFTJomSd8VKXYRFQOmSt6S0FLP FHssmrg8wo3GN4RTYooxbLt8KDpaaqIJv0BmCzLDO9SrNjE5C/17wPwxWEHPeoBnQEvg aDbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=QvdpZV5C1ABu63OwXEkWbrq2dwlVEfLzzGzJSJ0rlng=; b=mGwB8rL1cTcx0ZWwlapjNbbx38OMorlb/gG8b4P59WNRMXBlQHepJEp7pJ+vE/8JO6 bhDrvtqdH/nHI3Z6oEsSWyNyASxemm48pTFyMw9dQllptCC+rS53P1RhD/hzq3rtOBxe Ac2XUtZGfvfEM5mBp57eGCqHF5ehnYCojmFtl34DciuqgtEhCNA1GswepT9lwd45plqF saQdgOXcA1jnIgT56mF2C1KsvPtmMtAYcVHl+nnQIveZIgMuGogkFDdvSuq6hbgbxqda 38OBLkkzbIxgc/9OWkSVujJX0i2dPCTTKhGYjKUhNWL3g5UoumehSOL0CjADGhMfW0Mc 92vQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020a170902d64200b00192aeaf217csi16821566plh.55.2023.01.12.10.26.01; Thu, 12 Jan 2023 10:26:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240403AbjALSSa (ORCPT + 50 others); Thu, 12 Jan 2023 13:18:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240224AbjALSSB (ORCPT ); Thu, 12 Jan 2023 13:18:01 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16A4718D; Thu, 12 Jan 2023 09:48:45 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A00D9620DE; Thu, 12 Jan 2023 17:48:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B66DDC433EF; Thu, 12 Jan 2023 17:48:42 +0000 (UTC) From: Catalin Marinas To: Will Deacon , Shuah Khan , Mark Brown Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] kselftest/arm64: Improvements to BTI tests on non-BTI systems Date: Thu, 12 Jan 2023 17:48:40 +0000 Message-Id: <167354570430.3643775.1400892033904303107.b4-ty@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230110-arm64-bti-selftest-skip-v1-0-143ecdc84567@kernel.org> References: <20230110-arm64-bti-selftest-skip-v1-0-143ecdc84567@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 10 Jan 2023 20:49:58 +0000, Mark Brown wrote: > While looking at the BTI selftest results on a non-BTI system I noticed > that not only are we printing invalid test numbers in that case, we're > skipping running the tests entirely even though there's a well defined > ABI we could be verifying and the code already knows what the results > should be. > > The first patch here is a fix to the reporting of test numbers when > skipping, the second one just removes the skipping entirely in favour of > a runtime check for what the result of a BTI binary should be. > > [...] Applied to arm64 (for-next/kselftest), thanks! [1/2] kselftest/arm64: Fix test numbering when skipping tests https://git.kernel.org/arm64/c/30792e7c18b6 [2/2] kselftest/arm64: Run BTI selftests on systems without BTI https://git.kernel.org/arm64/c/1c3b614548b5 -- Catalin