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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9D23C4332F for ; Mon, 14 Nov 2022 20:02:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237414AbiKNUCN (ORCPT ); Mon, 14 Nov 2022 15:02:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237412AbiKNUBz (ORCPT ); Mon, 14 Nov 2022 15:01:55 -0500 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17CB513CEA for ; Mon, 14 Nov 2022 12:01:50 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 48A305C0126; Mon, 14 Nov 2022 15:01:46 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Mon, 14 Nov 2022 15:01:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1668456106; x=1668542506; bh=Uh4z82OeeJ CY391PJMB2O6cIWSrN9pN0bMGVUehX9XA=; b=aKGLZqiSzyEWA8uEYG1SGfBvbK bjVDHEDNxslnST5sk6dHdrS+HhPhlBCTpmAbXJo5PtsbkOpaU5fNWuU0ARIp1/GO 7wtyNDYBTOIXyK7LHKX27DRpuqfP/L2/2KvlSftBDaqdjckFf18lIKi9OfslShbG +SCmRlLFXp9IDgRK0Grb8esXn7QJGzvKx/QX5P/3ABuQK+/BcxmxwmDXb6K+8Qg3 jpcONup5G41oOMuYTqAfFAbsXxK9Xr+WfsLh1nENt3jJ+zM13wyM5Wu2392y01Km VlOexpHP4GPllSb97uRcCX7AfzjwPx11yJvmGabNndbyGCSF/M0z3Uw3IXPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1668456106; x=1668542506; bh=Uh4z82OeeJCY391PJMB2O6cIWSrN 9pN0bMGVUehX9XA=; b=YpkLj2IG49Fu+K/t9iPppTyqdqSDRQ27magfNoYSjM+B +Pm/l5fwgMtL0AAs+vAos2KI1+iIJ/MXZmeZQikFlZd/5BZ7Za8ibuAPqoxvIW2B 5Y5y4B+Fp/ag6nmagRTUDoACXMas2oqiaT0HvJr8PG5JCvkAEmr3D5dWd78W0m2X HL2yPP+nX0yEN8YIq7jsJC53lTazzGUZkEWofsHuKNuZmE0YmNnE8uoRGH7Cbbwn q31ACXYt2HJhx70LABFOHx4VYSnmqyGqxlvNSGsJMVeDBn36Jc01ilmHptcV0MoZ m725sgrR2mB7QRR1Jzqk6kcykfxKv5PE0Aqqw0VlaA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgedvgddutdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 65B7CB60089; Mon, 14 Nov 2022 15:01:45 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1115-g8b801eadce-fm-20221102.001-g8b801ead Mime-Version: 1.0 Message-Id: In-Reply-To: <1634d6c4-40fa-1298-efa2-c606b1e57fd7@rivosinc.com> References: <20220921214439.1491510-1-stillson@rivosinc.com> <20220921214439.1491510-9-stillson@rivosinc.com> <1634d6c4-40fa-1298-efa2-c606b1e57fd7@rivosinc.com> Date: Mon, 14 Nov 2022 21:01:25 +0100 From: "Arnd Bergmann" To: "Vineet Gupta" , "Chris Stillson" Cc: "Greentime Hu" , "Vincent Chen" , "Paul Walmsley" , "Palmer Dabbelt" , "Anup Patel" , "Atish Patra" , guoren , "Conor.Dooley" , "Andy Chiu" , linux-riscv , lkml , =?UTF-8?Q?Bj=C3=B6rn_T=C3=B6pel?= Subject: Re: [PATCH v12 09/17] riscv: Add ptrace vector support Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 8, 2022, at 02:38, Vineet Gupta wrote: >> static const struct user_regset_view riscv_user_native_view = { >> diff --git a/include/uapi/linux/elf.h b/include/uapi/linux/elf.h >> index c7b056af9ef0..5a5056c6a2a1 100644 >> --- a/include/uapi/linux/elf.h >> +++ b/include/uapi/linux/elf.h >> @@ -439,6 +439,7 @@ typedef struct elf64_shdr { >> #define NT_MIPS_DSP 0x800 /* MIPS DSP ASE registers */ >> #define NT_MIPS_FP_MODE 0x801 /* MIPS floating-point mode */ >> #define NT_MIPS_MSA 0x802 /* MIPS SIMD registers */ >> +#define NT_RISCV_VECTOR 0x900 /* RISC-V vector registers */ >> #define NT_LOONGARCH_CPUCFG 0xa00 /* LoongArch CPU config registers */ >> #define NT_LOONGARCH_CSR 0xa01 /* LoongArch control and status registers */ >> #define NT_LOONGARCH_LSX 0xa02 /* LoongArch Loongson SIMD Extension registers */ > > I think we should break this one out as a seperate patch to be applied > independently, avoid merge conflicts (but this file doesn't change much > anyways. @Arnd or is it ok to carry with riscv change ? I only saw this by accident, sorry for not replying earlier. Yes, please keep it in this patch and merge it through the riscv tree. Arnd