Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35117579rwd; Mon, 10 Jul 2023 02:52:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlFBLiY6VWxxaUS6avpHqucNG/kdDpiLaCdAHKXjb400MihRU/VefBRaweLdRJOP/MKI5jRD X-Received: by 2002:a05:6a20:3955:b0:131:4a84:7cce with SMTP id r21-20020a056a20395500b001314a847ccemr6531910pzg.35.1688982721528; Mon, 10 Jul 2023 02:52:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688982721; cv=none; d=google.com; s=arc-20160816; b=Miin8CRiYvIn5KfdnrQLTGIbZF9ujw6R2oCRet/pFRYVpXDnGi186Gf3orkUWITt3e 0lVDGvnJfBIhAlg9wDcuWSM3BW2T6zK9Te76rJei+3M4KDVvzMYAZCTQGwL2aWiCxfrI 3WLBwAe3NcF97Du+NDVdNzpTrBKO0yKzqFM0eIryIqbjMlllR16EbcqXW0t/hJlffK3M cNHbpuWeBQ6bULtwLxt9j2UaR9WR+X83gug4PRnV9n4C0OrW72NwqcyY2i0ohZRkhbYp 0MqZzUtZZUYzOm+AQHrQF83HAIYVCL3B09HWUIVNTDvhSqoEAzzqFVHMBj3mo9QcD4vi lnNA== 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 :dkim-signature; bh=AmiNFdYZFn4mjB/fE7V6VDEdxpSHVJibcGVkPb5f1Og=; fh=+t+G/OXZaGbelVlx/PAQKy/ssq96RZ9Njlv0n65gx60=; b=crIjx4r+yCkDWL1R3srFnXvddVCGY+kRf4PXRRCj9vhKOdkH/KDU/p/Ljv6ykswdVi Ya1I6pgxmDJnv04N1D2pN01kb2f8eNhkfYOFojVGDTyNvxdm+wr0PyYR3Ljo5oDm/0Z3 ovrfGGQFJ3Qe1PYU3DBcU34Xld7J4YxcyKDiW22k5+cDsGU086iBJIRHPQlgzHA+JOsi PWuOfpnbcpw80drVOyEEM9+k/YNRRPWgtreq8YcGO8NMxnLtLeYIKwDsprcdQjzBB0K+ WzhFttAo5dO6hIn3oTevzFKoV07OM7uIccL/p2D8LnKTbvxqSzpwxAXRJ87/ghuZRRP+ 0tOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=MqPsTCJz; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020aa788c3000000b0067e18c6d2d2si9577244pff.14.2023.07.10.02.51.49; Mon, 10 Jul 2023 02:52:01 -0700 (PDT) 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; dkim=pass header.i=@microchip.com header.s=mchp header.b=MqPsTCJz; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230419AbjGJJku (ORCPT + 99 others); Mon, 10 Jul 2023 05:40:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232524AbjGJJjb (ORCPT ); Mon, 10 Jul 2023 05:39:31 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 349CF2723; Mon, 10 Jul 2023 02:37:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1688981841; x=1720517841; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=f+gmfGrxcQqjXfZd/zTckfTRTww6zd62gI4c22r/Xm8=; b=MqPsTCJzw0lIR4N4Ts7Es1ot6chiKOmemTqvIk+M1M/Oz0yB78vfXTzY jJQYpPdIs19BAJR/uXXmFkPotbO4VGtOx8d0c3YfkFySYQn+Ou0qrySEP arQ8e5M6X0M0V10csmAZ6DXRjcxwPh3NKIvI5X4LIorV/sjZW4hBnD1rn skym32QD99Hbkgq75ed4yTovXYS0k4jVgerxnZQ+BceGEcVoKz0N8XckU xeJK9yBVPttY3wax3KMBqcGBQPEXO4qyvoV4+jY1avuIarPmq0Zpnus5n KXFvuozCHtKpBYNjaSANAIhvMbHj9fniApS0fkcflDJytAfkqCpKrdXbw A==; X-IronPort-AV: E=Sophos;i="6.01,194,1684825200"; d="scan'208";a="160600105" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 10 Jul 2023 02:36:48 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 10 Jul 2023 02:36:45 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Mon, 10 Jul 2023 02:36:42 -0700 From: Conor Dooley To: CC: , , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , "Jonathan Corbet" , Andrew Jones , "Heiko Stuebner" , Evan Green , Sunil V L , , , , Subject: [PATCH v4 06/11] RISC-V: add missing single letter extension definitions Date: Mon, 10 Jul 2023 10:35:41 +0100 Message-ID: <20230710-chamber-juvenile-6df500da0d7b@wendy> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230710-equipment-stained-dd042d66ba5d@wendy> References: <20230710-equipment-stained-dd042d66ba5d@wendy> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1249; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=f+gmfGrxcQqjXfZd/zTckfTRTww6zd62gI4c22r/Xm8=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCmrL1yXWFp0ddnsKCMrvpr//ixviqf8vlSnefH74tW5u1Id H7ss7yhlYRDjYJAVU2RJvN3XIrX+j8sO5563MHNYmUCGMHBxCsBEFlUwMixOPpqx1zRp3+sN8957FS jd2fCpal1ee9hpO751M1aW/ZvPyDDTIEKUX2JO9IWF2TMXP623NA6SNArjfqHe7turI7bKmx8A X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 To facilitate adding single letter extensions to riscv_isa_ext, add definitions for the extensions present in base_riscv_exts that do not already have them. Reviewed-by: Andrew Jones Reviewed-by: Evan Green Signed-off-by: Conor Dooley --- arch/riscv/include/asm/hwcap.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/riscv/include/asm/hwcap.h b/arch/riscv/include/asm/hwcap.h index 2460ac2fc7ed..a20e4ade1b53 100644 --- a/arch/riscv/include/asm/hwcap.h +++ b/arch/riscv/include/asm/hwcap.h @@ -14,12 +14,17 @@ #include #define RISCV_ISA_EXT_a ('a' - 'a') +#define RISCV_ISA_EXT_b ('b' - 'a') #define RISCV_ISA_EXT_c ('c' - 'a') #define RISCV_ISA_EXT_d ('d' - 'a') #define RISCV_ISA_EXT_f ('f' - 'a') #define RISCV_ISA_EXT_h ('h' - 'a') #define RISCV_ISA_EXT_i ('i' - 'a') +#define RISCV_ISA_EXT_j ('j' - 'a') +#define RISCV_ISA_EXT_k ('k' - 'a') #define RISCV_ISA_EXT_m ('m' - 'a') +#define RISCV_ISA_EXT_p ('p' - 'a') +#define RISCV_ISA_EXT_q ('q' - 'a') #define RISCV_ISA_EXT_s ('s' - 'a') #define RISCV_ISA_EXT_u ('u' - 'a') #define RISCV_ISA_EXT_v ('v' - 'a') -- 2.40.1