Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20401022rwd; Thu, 29 Jun 2023 01:34:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ72l4UwWS1dLqeUk06/ldryNFEgnhM7yD/4GOqBMzJKCUcFEsCbZv8aQXmOEOgDo3/3Gczv X-Received: by 2002:a05:6808:1210:b0:3a0:5cd6:8773 with SMTP id a16-20020a056808121000b003a05cd68773mr27026009oil.54.1688027699069; Thu, 29 Jun 2023 01:34:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688027699; cv=none; d=google.com; s=arc-20160816; b=vlCNO0TQ25lL7zDGbE5M+ZdEkecHaQ9+eZ75Ep+wsW0tYOmWvorKJm+jYxFd9PWSUW 6dWIhhMfKn9LZ7bjmp/L4oegDyKd6Khq73Z96xwdTxjmpPVCKpflItXtEOnnv0KlaNTW GTor/mD84wVrKxhdtlaus/Io5H1zTut8fgqe1EAHsiONLeliQ7oDAQg3Y5RqVrAcqhCj uEvwsF4NCzTdSwoqeoaFaOSP6NE1McUqHd8/OnSJ7knY76QNQXBej5/OWLNaF+tUNstB sgFFcmK7j2NJuf+Y5l0a6xFmdQMaYlwwFLc/C0O2LWQUkwYHA9q14HaXAdtafQwrEF+h /IEw== 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=u8mf/2O9I/RF8ttUvq9zoQAg85XCNfsX3A9sXIXheSY=; fh=id5NoWTfrmVnmm2w/Ed5X4erHGUuViLdGWw+WL1NNbc=; b=xYDJNzu6AIUpcN6rKYDUensLDpnqoffMCAQ/CfqWA8kR9G3GTm4qjYyBjJxLUgt+xW LsX3n4VkTcUUDlo/37XdkFYpPVGy51nv8CVBCobLMbuMPHws3DFN+ZmKonBByFPEc5rM RHaL88KzvQILZwvk8Hc6gJK9YYetmm0Avn0JO6XQmY79uz8ps8tseGiPLJge4OQRzg3g fgltrCaK2Lqq2Deyi3kGSRVPXTxI8qNkylbGgroAWI3qI3CSXAcz1XLldEmH8qZZXv2S a3BZ4wqFR64OZmv8NMiFo6UdwV046WXINHzIVvD/Tlj5oYGAy0qEDIo+BFwFCbcSRYjs gpYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=sT0AOZM5; 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 g12-20020a056a000b8c00b00647514cfd36si7039052pfj.242.2023.06.29.01.34.44; Thu, 29 Jun 2023 01:34:59 -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=sT0AOZM5; 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 S232550AbjF2IbN (ORCPT + 99 others); Thu, 29 Jun 2023 04:31:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232630AbjF2IaL (ORCPT ); Thu, 29 Jun 2023 04:30:11 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6F15268F; Thu, 29 Jun 2023 01:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1688027408; x=1719563408; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HPRtOyIqm/BcHFGgw0cl0PQB3rNvTkemYLiSjsKMtC8=; b=sT0AOZM5Pjboy+PjBFw3Fli4cBuimhYwGucWRwZYKQmrsV/vQAww2LpG A6grQARV7+1POOyM4nQpRKjWtfm+UG4XKdenNFQxJUrVYRwpGC80CbP6H kCyxiEaGNFtTJt9dqnFdpHvzFRTqFSDf4k7n93rinZsZdlAH3ADt9h56p SQXuJVP3GIrWa9iMW4vm4uWIH1jjH2llrTHe1f+4eTXkET7YaN9LHmxXC 2KuzmCLvlmvXgIixP9C0P02oU51cfz7KO4TgwiuEVWhHJeMJPM85UmniZ M1gMbofUgVBlhA3848woQxw5HQMnOthxvp2klMPnTKp5TfbFUSR80eGfK g==; X-IronPort-AV: E=Sophos;i="6.01,168,1684825200"; d="scan'208";a="221156087" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 29 Jun 2023 01:30:08 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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; Thu, 29 Jun 2023 01:30:00 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Thu, 29 Jun 2023 01:29:58 -0700 From: Conor Dooley To: CC: , , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Andrew Jones , Heiko Stuebner , "Evan Green" , Sunil V L , , , Subject: [PATCH v2 05/10] RISC-V: add missing single letter extension definitions Date: Thu, 29 Jun 2023 09:28:51 +0100 Message-ID: <20230629-disengage-cornbread-3876ec5b9e96@wendy> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230629-rebuttal-vagueness-a699deb7c7b3@wendy> References: <20230629-rebuttal-vagueness-a699deb7c7b3@wendy> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1204; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=HPRtOyIqm/BcHFGgw0cl0PQB3rNvTkemYLiSjsKMtC8=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDClzHQ7l626WmZpff9hgpUqIwsNvnc17glU4/tntZbpiHPBh YvKNjlIWBjEOBlkxRZbE230tUuv/uOxw7nkLM4eVCWQIAxenAEzksg0jw2WVLce/L9aw9RHdfex1V2 rOlk/Tz/k+WP1ztVFgodn540AVz840NX8qvsLX+sm97Faa3GYfTTaxRBXutvvbRC/PWDuZFQA= 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=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 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