Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp43494lqb; Tue, 28 May 2024 08:22:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGOb9mo5p/aXGQ2E36NCfC75z6JocbZhtPu8gJ+Ii/boS4Wxi6SzoPrEtvabGszBGMRupcHD/S4CShijVWKR9G4dZPq8GvPqLaTOKfQg== X-Google-Smtp-Source: AGHT+IFdBn39mauI3IcGqM8u/9bND4o82JGLarh8tA0e1GLrb8yu/DMyq5lAgNzZuEGQMuM/BMIs X-Received: by 2002:a92:cec6:0:b0:373:7f12:bc20 with SMTP id e9e14a558f8ab-3737f12c076mr111212925ab.9.1716909777057; Tue, 28 May 2024 08:22:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716909777; cv=pass; d=google.com; s=arc-20160816; b=Gj558TcKMG1kq3KP1mhoc67ZS9+sm/WrsPx1MdnnzhYonumAjoK6PLyaEkd6Iz2M68 dhI8v6zatO6FHnDRlvMgHtkJlkxDPHo7z1S5/brIFhTRvjD3aXKMofccnMVIKF09beDX uywwCoJE7HsNdUXK2pwlFudh/cvz224L4ZsycO/pOZl+3VkAYCrArWPouAEukz/Dt5/X vIyHbwFa3ZnZPLot1RGukxDP9y+oHl9wvOtf6FQ9C9neNoxGRYBSIgNXdRAFpWO+ewEL +SEh8/Mi4l/AKgKCohPE6M7NC8IYbASiWwdK2TUb5xPmLlJUUNJMfJz+O7MeyXDKo3uz M1jQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nKtXYZWQ8ODaP7tDQ2h4/MADVjnA7fllRzW03yrkz4k=; fh=8y5pSOlDuw4UliDv0Cd2DCh1cojTD1S+QOfZN1bXx18=; b=jnWfv3A/i3JRxS/q/ua8HeiNcczcu5deNjpcmtt6Kg8+c7Gp/bdO7dlMSmwn9Lkscg SA09fM1r5Vf6KzJ0oCInJedtEaST2h5c8lE0S5NNBikI5lxgbyttZbV1RYoyF3t5rKNq 27Za2WH7sqOaZYCUtfBv8sgNDaxlbGYrJwtq9K9JIFVz3WViZ+aGfx8gGeCjHJerl0Bl Xu7zZ9hCWNHpNFHuSkj640GSaRoxchHeb0VNXokuaqepzzG5sCmyY8VsQ2iKHSfeWTg6 fkBforPqE42LSxeNWQmyNCvPD3f6j1MxlzE5s9T4AGYJa5ScwuQhI8a8pVE9P8B/lgok 5sOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UuA4epHx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192659-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 41be03b00d2f7-6822b041123si8398939a12.829.2024.05.28.08.22.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 08:22:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192659-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=UuA4epHx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192659-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 D4F56283223 for ; Tue, 28 May 2024 15:22:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 206F017083F; Tue, 28 May 2024 15:22:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UuA4epHx" 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 3F6B31E507; Tue, 28 May 2024 15:22:47 +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=1716909768; cv=none; b=XN3UuXUh9XZE+O+G0iDzgzSm4a9JBZLk3p3YuQJgLfFo9KzdzBTqg0PKJtBkbamPONDji3zTR1JLwEbtyndm1+PlregbPX1yHKcwPl1EhLiSb2LMDgo78qaS/DJCuyXqt+1owWXCA4DVWuuGmQOyFIFqYponYi/MTWh47Ob0UOM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716909768; c=relaxed/simple; bh=wTi+xli6HcY+dE5hQHt0HIl1zh3+zE9RZPz4hC45DyU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Vdxn6+nFH3LPMwXSvH3dYdko7GmTiC1WJg0fmHT4t1InnIN3mthYjCBLyzUYKENAIsErMoq6jgxAWFAXQnjDyIQ0ESTKmQh8DF5NIEHPLOsRccH2GGB1NR2lJxGOQoXoXGjY30ezb/ItfttAb3eGUx50YVa9tyyAGadc9dSm7Ws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UuA4epHx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 790DFC3277B; Tue, 28 May 2024 15:22:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716909767; bh=wTi+xli6HcY+dE5hQHt0HIl1zh3+zE9RZPz4hC45DyU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UuA4epHx7egvOMi6jS4ZFmmTgKjt6C8CCa53rcRGHKIPR412VllMWvVkZbaDkvoWj 3FkvUL8WAl9S4zn3SEeyDluFFw/JitsAmjoE3CmfHJbLPz6ESeiG1jjYczZziStLgv KExtuJnx51AZoVIaBAtnx2IdzIOZE5OZaqB8ptkTMEC1TjE7h5RjUqBHe+uMvANf55 QoradKfdNj6SGZX/myb9j13ziGOCuwftMv25MuAD93JYzvgOZombc8hqH0E9hOpy3v /2V6zIG2k+2bW+Od6tt1/jlYV8MMWwxRvvzOQTkf6UQ1PWWu678fqXejcMW8l95RrX Q3kyQYMUsrHwQ== Date: Tue, 28 May 2024 16:22:42 +0100 From: Conor Dooley To: Alexandre Ghiti Cc: Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Peter Zijlstra , Ingo Molnar , Will Deacon , Waiman Long , Boqun Feng , Arnd Bergmann , Leonardo Bras , Guo Ren , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arch@vger.kernel.org Subject: Re: [PATCH 4/7] riscv: Implement xchg8/16() using Zabha Message-ID: <20240528-prenatal-grating-2b6096cc2a1b@spud> References: <20240528151052.313031-1-alexghiti@rivosinc.com> <20240528151052.313031-5-alexghiti@rivosinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0GTOFQLtWJu+ErMd" Content-Disposition: inline In-Reply-To: <20240528151052.313031-5-alexghiti@rivosinc.com> --0GTOFQLtWJu+ErMd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 28, 2024 at 05:10:49PM +0200, Alexandre Ghiti wrote: \ > diff --git a/arch/riscv/include/asm/hwcap.h b/arch/riscv/include/asm/hwca= p.h > index e17d0078a651..f71ddd2ca163 100644 > --- a/arch/riscv/include/asm/hwcap.h > +++ b/arch/riscv/include/asm/hwcap.h > @@ -81,6 +81,7 @@ > #define RISCV_ISA_EXT_ZTSO 72 > #define RISCV_ISA_EXT_ZACAS 73 > #define RISCV_ISA_EXT_XANDESPMU 74 > +#define RISCV_ISA_EXT_ZABHA 75 > =20 > #define RISCV_ISA_EXT_XLINUXENVCFG 127 > =20 > diff --git a/arch/riscv/kernel/cpufeature.c b/arch/riscv/kernel/cpufeatur= e.c > index 3ed2359eae35..8d0f56dd2f53 100644 > --- a/arch/riscv/kernel/cpufeature.c > +++ b/arch/riscv/kernel/cpufeature.c > @@ -257,6 +257,7 @@ const struct riscv_isa_ext_data riscv_isa_ext[] =3D { > __RISCV_ISA_EXT_DATA(zihintpause, RISCV_ISA_EXT_ZIHINTPAUSE), > __RISCV_ISA_EXT_DATA(zihpm, RISCV_ISA_EXT_ZIHPM), > __RISCV_ISA_EXT_DATA(zacas, RISCV_ISA_EXT_ZACAS), > + __RISCV_ISA_EXT_DATA(zabha, RISCV_ISA_EXT_ZABHA), > __RISCV_ISA_EXT_DATA(zfa, RISCV_ISA_EXT_ZFA), > __RISCV_ISA_EXT_DATA(zfh, RISCV_ISA_EXT_ZFH), > __RISCV_ISA_EXT_DATA(zfhmin, RISCV_ISA_EXT_ZFHMIN), You're missing a dt-binding patch in this series adding zabha. Thanks, Conor. --0GTOFQLtWJu+ErMd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZlX2wgAKCRB4tDGHoIJi 0sMPAQDF0+IXL0mMgc3HglnXcCxaxr8V2FlJsd42Fa3JmGHPNAEAwEvb+htVAMAp Oz7amAHz+PXP7m/FfiQEjyXQXz+PsQg= =ven9 -----END PGP SIGNATURE----- --0GTOFQLtWJu+ErMd--