From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC9DE15099D for ; Wed, 7 Aug 2024 22:22:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723069362; cv=none; b=NQYao9EcueGe7We+Hk2MkFIugPxOC0Q9hl2OsD9bvsKkqn3pdNb7FXDhIwOaVGECyngBqGBBD9U7E30rLIYH2o4QCI7zjbHZjbh/brD8sHm3CURPqZbb+dsn52Mbwx4RbCQ4qT1ag+HThJOYtCX/ryKRqjQYcSCZINbwtle3ZNY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723069362; c=relaxed/simple; bh=3btizCSSAKzA1J+IVvS5w27hk1nP/wRY5h7VZDI2y8c=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=ABfa6z+oPVc/bw6a1BFGx3VTfLAXvIFWp5/OMrGRrGLI5zpV7PgQjSJXiTOy8VDrx5mP7pzH3+nIaPsSG2rcpQ1Pe3s1ZGIGuiMnATsstjlQWn7UPY3NboAH4jUciMAkMR95JtuKeaDJawRL+YgPezNnqe/lS0icup9aq37O5lw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=d00WP9wD; arc=none smtp.client-ip=209.85.210.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="d00WP9wD" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-70d2b921cdfso359400b3a.0 for ; Wed, 07 Aug 2024 15:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723069360; x=1723674160; darn=lists.linux.dev; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=3ZVO8jPYcIWWyL3ex1mes3d5ZlFCIJ9T4CxX0DBumqo=; b=d00WP9wDhL+Mc5+AECLAaIHfwnwwQij15gYnZ7XIYhVSelaTH8OUICZEI+J6sklAxx NrcBeNUGTJTlkKRgBj0mtkENYgfdGxAY5PBu98r2+Vu7KTKd0K8eImQOEBRWy8oehBnT 7h1azu9S9nW01y0UKkok6SfZJ/Bulyzf4ybBlYoosMloCb+cf2DHHde3X9YdulSYYofy trzbOtBTKBtY0e8ijlfzlwTO4YtGWxSDPELeuqtesWUT1O/8EUaT2J9zlWtfRe/A4O+P YteaqpCHQEVLOfkKX+EoMhVOxxgT2z4hCRS5h6xWkfyShNrwuQdODJViX14E04u4LA7v QHwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723069360; x=1723674160; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3ZVO8jPYcIWWyL3ex1mes3d5ZlFCIJ9T4CxX0DBumqo=; b=pMpbN3AT3tQWd3QF3pVqXpNdb1WesgK4WoWE859lP2Jr7dIX6kfXkSGjkmrjnWcw4+ hHS4dJugV1t1Sj22USu/hewBXdIrnRla/a9hQlv7dcN12dMJUaaXLmkXa6w8xoOxMEK1 wE1BTT+o2sqT6N6N5n5wQwMmqlKaGq8WdUoubEC8m3xNj1g+4SXo9sbDDaOAhj3wyX3c RvrLwBvgONg3WdCEcR6SGYDlSyK6krK5uqA7o9fVqhI8Z4Pd/fmA/u1DL8ZXbxhrZiKV 7jdvVRaX4RgCpKNn8JhswMr6uaCGTIBqAHvw2t+/6NBHckziDPTzgoRDjQS8seEBrIF+ 2nlg== X-Forwarded-Encrypted: i=1; AJvYcCVeyj3jclU8ThZQ+MaludUi3LvAIveABYLN5//2mK7/0OoorOKMYELpNNk4rJnmGC9SjBF7NmY1DiiyJsq9L4ZTNL+aCyIL X-Gm-Message-State: AOJu0YxVuO/Lk+9JzhAOHzQfMUuovIcMxgUM3JNNn4M0of64yzMkVVd2 iMixpraSMR0LBzl0P5GbHsPUlgOkVkTIN1VI2WU96hGMGbTNLSBR5vHrUUQga/o= X-Google-Smtp-Source: AGHT+IH2Cc0g0B6ra70L5cg48YZJx7srHh+PqfLxpX9PDwnG8XSpUfpqxIf7dyUyWUuyhSQCs84ohw== X-Received: by 2002:a05:6a00:1302:b0:6f8:e1c0:472f with SMTP id d2e1a72fcca58-710cad5a30emr137306b3a.8.1723069360049; Wed, 07 Aug 2024 15:22:40 -0700 (PDT) Received: from localhost ([2804:14c:87d5:5261:6c30:472f:18a6:cae1]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-710cb228d37sm5911b3a.46.2024.08.07.15.22.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 15:22:39 -0700 (PDT) From: Thiago Jung Bauermann To: Mark Brown Cc: Catalin Marinas , Will Deacon , Jonathan Corbet , Andrew Morton , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Arnd Bergmann , Oleg Nesterov , Eric Biederman , Shuah Khan , "Rick P. Edgecombe" , Deepak Gupta , Ard Biesheuvel , Szabolcs Nagy , Kees Cook , "H.J. Lu" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Florian Weimer , Christian Brauner , Ross Burton , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, kvmarm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v10 27/40] kselftest/arm64: Verify the GCS hwcap In-Reply-To: <20240801-arm64-gcs-v10-27-699e2bd2190b@kernel.org> (Mark Brown's message of "Thu, 01 Aug 2024 13:06:54 +0100") References: <20240801-arm64-gcs-v10-0-699e2bd2190b@kernel.org> <20240801-arm64-gcs-v10-27-699e2bd2190b@kernel.org> Date: Wed, 07 Aug 2024 19:22:37 -0300 Message-ID: <87zfpodlci.fsf@linaro.org> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Hello, Mark Brown writes: > Add coverage of the GCS hwcap to the hwcap selftest, using a read of > GCSPR_EL0 to generate SIGILL without having to worry about enabling GCS. > > Reviewed-by: Thiago Jung Bauermann > Signed-off-by: Mark Brown > --- > tools/testing/selftests/arm64/abi/hwcap.c | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) The hwcap test passes on my FVP setup: Tested-by: Thiago Jung Bauermann -- Thiago 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 698E8C3DA7F for ; Wed, 7 Aug 2024 22:22:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To: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=zQb2rOnwT3K0tWTjAlvcRyDk7QRopJKKXRYn5szXUG0=; b=hRXvFSpljc9GpV GyDBMihoExQTquHI1bbsoTfrAa0yriKVabTpvvP50ncsjUV59AHqBkHQ7e8IFYQCh5Ho5HjCqiK/N baq9SPEI7FEwmuGrCSuAMvYI3RJBSptvtZLBwsyrLtNiKCMr6Wq+tT8wer4nXsSKrJlP3BjVDrGJt X/ExTh39HNzyOGgRg4CChX7V7YFbSWaDtfCpiHq1lwrx88k2gk6PG2o/g7xedmN6LqyVv5t1d7jlV H/Ki5oowzLsz7AVbmDeY4+N44TLrPm+m3dRvvLHwpbbNJTngtK2WoNulE9tPg+pP6nJoBVuwQAa1k N0/saIotHtoLnItRy3gg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbp3L-00000006QmV-3gJG; Wed, 07 Aug 2024 22:22:43 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbp3J-00000006QlY-1uLj for linux-riscv@lists.infradead.org; Wed, 07 Aug 2024 22:22:43 +0000 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-70eae5896bcso318374b3a.2 for ; Wed, 07 Aug 2024 15:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723069360; x=1723674160; darn=lists.infradead.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=3ZVO8jPYcIWWyL3ex1mes3d5ZlFCIJ9T4CxX0DBumqo=; b=r4t30SLMQ9d0kBy7KUUY2Ru9T0EfzCcZ2ksZB+h/Q74pVR/cv8qCfnIBw6NN21LXTR fqW/g2dVL9NmOwYt0L7POegZHE9hGcZdexbk/As9JLAesS73jGn+HntTOagirIPhtYog VoyXkvn2GlWO4W1Y3MZcCRr8wr7AMrtKRmV0jN5E1/9Ao/98RiUioGKN2QNuJEubVstG BhtKVTQ23iB3j98UyDb66bv16Udxpws28WWINVq0k0J/DNxEmbgl5EfbuiTFINQCaaFw pm2S+boS0gafeG36KfZ8YJYSG/SOwd/aERVOVTce8um9jDVA+gSQRQrheFZ0SzidTJ2Y oAjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723069360; x=1723674160; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3ZVO8jPYcIWWyL3ex1mes3d5ZlFCIJ9T4CxX0DBumqo=; b=ufLErActnLZ1wT5rxI85tjznuuHEgzIsiuDREcwklsBER/WUZAxF2HFZRlH4K5HuTD tdx0dRQdWoXeGH0i+3KttsjSCXc6F+M/2eVNzt4vpU3Q/53u94UcxrHk2S0w/kDTT/j3 BvQp6dDLG9xndAv40PBEJRi07stRRxuOzhrSLhQFCX57K54jyI72ldEegP8zlMhzkt4j nkkkGlRwF/i/VbXxFpwDiqLj6AtxVjYmHyTDUYqnf2nwpYCZjWVxuS1OR/POvl5yU3PQ E4n+L7jPdrgzXtAGaYXUhp8+VQf2ARjGaenQH3mAiK9f8Y6N0Pybi9ReFIqyUe6/KfBf aY+g== X-Forwarded-Encrypted: i=1; AJvYcCVgNYpBOC6LZ76hJcZyRrnA5ev4Y0nYmHjbQtYhbWqEKNZVSvu4AHGETbqtgD/Bive+CQvYeSsr2c2MKOk1+9mBuuWNwplLN6Rs+cCQaSTR X-Gm-Message-State: AOJu0YyQIlz17j7TvFrMItgJ7xMiGu7ebHUFF3HlYy426z4FVPq7PnzI iWURwaipntCwppePCr6wZ+bj9IMU45nqz8jPEjQxfYHhjApN5GDUlGpo9MGXBqQ= X-Google-Smtp-Source: AGHT+IH2Cc0g0B6ra70L5cg48YZJx7srHh+PqfLxpX9PDwnG8XSpUfpqxIf7dyUyWUuyhSQCs84ohw== X-Received: by 2002:a05:6a00:1302:b0:6f8:e1c0:472f with SMTP id d2e1a72fcca58-710cad5a30emr137306b3a.8.1723069360049; Wed, 07 Aug 2024 15:22:40 -0700 (PDT) Received: from localhost ([2804:14c:87d5:5261:6c30:472f:18a6:cae1]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-710cb228d37sm5911b3a.46.2024.08.07.15.22.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 15:22:39 -0700 (PDT) From: Thiago Jung Bauermann To: Mark Brown Cc: Catalin Marinas , Will Deacon , Jonathan Corbet , Andrew Morton , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Arnd Bergmann , Oleg Nesterov , Eric Biederman , Shuah Khan , "Rick P. Edgecombe" , Deepak Gupta , Ard Biesheuvel , Szabolcs Nagy , Kees Cook , "H.J. Lu" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Florian Weimer , Christian Brauner , Ross Burton , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, kvmarm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v10 27/40] kselftest/arm64: Verify the GCS hwcap In-Reply-To: <20240801-arm64-gcs-v10-27-699e2bd2190b@kernel.org> (Mark Brown's message of "Thu, 01 Aug 2024 13:06:54 +0100") References: <20240801-arm64-gcs-v10-0-699e2bd2190b@kernel.org> <20240801-arm64-gcs-v10-27-699e2bd2190b@kernel.org> Date: Wed, 07 Aug 2024 19:22:37 -0300 Message-ID: <87zfpodlci.fsf@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240807_152241_529132_3A20D3AD X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hello, Mark Brown writes: > Add coverage of the GCS hwcap to the hwcap selftest, using a read of > GCSPR_EL0 to generate SIGILL without having to worry about enabling GCS. > > Reviewed-by: Thiago Jung Bauermann > Signed-off-by: Mark Brown > --- > tools/testing/selftests/arm64/abi/hwcap.c | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) The hwcap test passes on my FVP setup: Tested-by: Thiago Jung Bauermann -- Thiago _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv