Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp68755lqe; Wed, 3 Apr 2024 22:54:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwrVlZjyO3tI2BF/v3F7zRa+6NtvOjODUC6CaCOzQNLJZvdzUUv00l7uGNOYot9WMWKBeNgiN/U6InyqDmQFvf9Yx3sQO9dumd7UBv7Q== X-Google-Smtp-Source: AGHT+IHyXtJEzolICgA4KhhUaWPdAOwEy9eV57ymj6KLHOQADBMX2kB3trfz3RkJQ8gUd2vDBrDn X-Received: by 2002:a17:90b:4b50:b0:2a2:61a0:d1f4 with SMTP id mi16-20020a17090b4b5000b002a261a0d1f4mr2663219pjb.18.1712210075952; Wed, 03 Apr 2024 22:54:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712210075; cv=pass; d=google.com; s=arc-20160816; b=f5E/gBTyFsLut1225kBc14mvaeFuMRshKooYlW2pZfV+jK1AKbCdmGA+cULw9V6HAe 1Xa5Ju3kIZ7YrxDogsfkE4ouvIFtDGmnP9Mv+yVxh3rC8WwhPaGqywqiPtWcSFDESDQW IflC5vKXtGXAcMUjS74POlYxDp+mbemuO9pcdgVtxhvTRZS+2yGKLRN6qM+WkmJk1c9F ed7ao3ixXXzwahJIwqLwA5LGqdhKbngz4n2Nu648c5hWQfg83qhat+snC3yYBGsti/Qf qfJUmlwRd/+cNKQV3Bbj55Jub0WXplntyKyv/4tR3H2BtuoVYxve/uPuFUuzH0IkrYTW RjsQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=K/tqV2VTM/YXZvK5fR129QweW8rDAKq13mxK08CxCVI=; fh=sUz5IWSRl2TOMZuA4H+hkLp4NS1IaGoBrBBICwAqsGE=; b=G3TJdtBurssALame3UzdNpgQmglpdPrtWI/Ers6+xYYXw4BvKazHcXEJjiV3Ue+DDD 0PNt6uchWjYCVekom4dG+o4AuCnJXle93P+/kF/Qb6U7IZ1lgzo+XqLz25m4GKxu2oRB cvrQnSofL2GYiKWVib6TdN7WzDYlZOOj2WY8vxyaefkRO/H1bVQojLpxvkeEDztk2I2m 4NJaHRF8UrLJ03VWDGe5EENwF14W+Eh5OiXDLB4Vh3Xf9Dpyt/YKUhlVyg9w3A1bKl5a vxklshkQKIvVXIK/IUXB9X1FOiUNC2qF26YZKVNt0SqMP9cfe6d+6uo/s/HoPtUEgSwn P3qA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=geWjl5tS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-130955-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130955-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q13-20020a17090aa00d00b002a249543efasi1005604pjp.86.2024.04.03.22.54.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 22:54:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130955-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=geWjl5tS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-130955-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130955-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 24218289FFC for ; Thu, 4 Apr 2024 05:47:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 563C640BE6; Thu, 4 Apr 2024 05:46:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="geWjl5tS" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FC173FC2; Thu, 4 Apr 2024 05:46:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712209618; cv=none; b=kywkMWYM7F+ywQEBfvaLNwxlpq18PGVia1x4L9b/MKmB972G8r6YhFE/dxR+2BUK/XYE00ERNrEUd5mXxSFNwGflWH065Bn/pMQYVg37gm8AqGSGbDLxBfu7Zem+pwm24vW4qvxc2EZLF1anhkmG4enbGI8TYCWzwIS7X7MaGJw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712209618; c=relaxed/simple; bh=K/tqV2VTM/YXZvK5fR129QweW8rDAKq13mxK08CxCVI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=awgflM37TEw5LKSMKICXObpl6eI30g5kB+Veoc2RKS0xz5gG+8z55Y1/Pi9Kh0GvZSL+ri0eBi143Ip7Vdaif8lQMEHxnZG4CUIOQPZJrdjPzgTx2oNKE7EPfaOTo9jHmDjOeuNEzMUn+03DglyxJU3JJcvcMI2i36eGPE9dGCg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=geWjl5tS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84050C433F1; Thu, 4 Apr 2024 05:46:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712209618; bh=K/tqV2VTM/YXZvK5fR129QweW8rDAKq13mxK08CxCVI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=geWjl5tSMnz9aUJQK+7TpVLQiUSN7iC1cxdw0ZaQC9YA3j/G03sy9qjvINPEmn75T wZPApLMjyiOKCSTpDoPw0JMU79iA9mdS8OYzmR9zniOvtb+VBHHtBXGXBXYqZghJTM 55xRhLRMfL3tL6cKIgifP/snSoEGo1e58qs4lrmJk9u3FHNujiwVPjS05LRTzOp96Q LPnRWufVEza0Nvje73D5LnffVx3DpO8cPSjc6sFsYfgCFq0niTiv4Fltsjn+9loiLk 0BH5HEUOE4pdzTuF9CtR8UKaW29YnnU/fOvjatcmJzyxnFEvHyoaGLO0gUU/qoG2Qh k8IB5X2MZM8iQ== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Charlie Jenkins , Shuah Khan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Andy Chiu , Vineet Gupta Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, Charlie Jenkins Subject: Re: [PATCH] riscv: selftests: Add signal handling vector tests In-Reply-To: <20240403-vector_sigreturn_tests-v1-1-2e68b7a3b8d7@rivosinc.com> References: <20240403-vector_sigreturn_tests-v1-1-2e68b7a3b8d7@rivosinc.com> Date: Thu, 04 Apr 2024 07:46:54 +0200 Message-ID: <87bk6pof1t.fsf@all.your.base.are.belong.to.us> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Charlie Jenkins writes: > Add two tests to check vector save/restore when a signal is received > during a vector routine. One test ensures that a value is not clobbered > during signal handling. The other verifies that vector registers > modified in the signal handler are properly reflected when the signal > handling is complete. > > Signed-off-by: Charlie Jenkins Nice! Reviewed-by: Bj=C3=B6rn T=C3=B6pel