Message ID | 20240110231359.1239367-2-atishp@rivosinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-22877-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1110061dyi; Wed, 10 Jan 2024 15:15:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhEbdmFCAWvB7T5+caR+bqJma/YlbfG9JPGDzVgN9DGQYvct7xhQE1eLhqZCwEmgfTKWWh X-Received: by 2002:a05:6214:400b:b0:67f:ad06:4868 with SMTP id kd11-20020a056214400b00b0067fad064868mr307857qvb.81.1704928543728; Wed, 10 Jan 2024 15:15:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704928543; cv=none; d=google.com; s=arc-20160816; b=C2dOXivJvoQ+V9WVZAFN8oisZEgFLqzmmwUhRo2vmDe1ZrBZ7pFuul3U6eSRO9FEz7 Ngy9N4fOq6NoMPw9+r7huMkxXlIpqSiiFQq0saIJGEpPnJ0bbYllnY7hbXJ6pr9imNnN T9HtzccnkrWMk6DAROVUCaZ5RoXlromWmXzYOwG8hXL6RH6vVQFIcR8zG2TiS7gs/qLb UoIE0TbUpJOUY1qs2IrqNRjsMTXJK5waL1klrHz0NA6T9qTrvMMp0ct2H/K5tnHM7oPF rPYci1kfncDKPTXQyx3wDWSQJ7jgbpDcgNV1hfkQX4TU0i00DfBX0Vq1pVWK3IvWxFco 7row== ARC-Message-Signature: i=1; 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=EzYVT3U62jOpimrVBwbFtsr3YzUGPIXyIVj0onyqTs4=; fh=GUONBiPXFlfMAlwlN34bAK0Q/sgEvcY22ARTS56U1VU=; b=LlYgfok85YNa1aEKYIQc14zraxEaorm/nF1wv/a0LAkyPj9z85RxXKh/2CXtMfkNUz jWd1nrJe5o343hbtceCstrRy4RCEPmK0/KmGS+Pj9bQ0g4dgJ80v4kv2UrYlMXYbxA8n 4hAqnx9tctdjUEswl0uVuhThV7mr9gS8ZyutGrzXFX/r2ojUTzokGaqtuJ6RwHG4wtG3 6Nhs1kETumz4duoYcMUDtgMFeWGB2qv9F1pSY8iv6vyMSda+9+mCoiRyKYEejkSY5g3v TkR3PV7zv+ggCJEBMn3sklKsA56BW31oeYuguYSvf/x/sdTQfKkO7DffLqVyikxd+ilM zXHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=Wr57N0GF; spf=pass (google.com: domain of linux-kernel+bounces-22877-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22877-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c6-20020a0ce146000000b00680506b5aa9si5217293qvl.14.2024.01.10.15.15.43 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 15:15:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22877-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=Wr57N0GF; spf=pass (google.com: domain of linux-kernel+bounces-22877-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22877-ouuuleilei=gmail.com@vger.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 57C6F1C217A3 for <ouuuleilei@gmail.com>; Wed, 10 Jan 2024 23:15:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE87751038; Wed, 10 Jan 2024 23:14:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="Wr57N0GF" Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACA5E4F89F for <linux-kernel@vger.kernel.org>; Wed, 10 Jan 2024 23:14:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-io1-f47.google.com with SMTP id ca18e2360f4ac-7beda6a274bso71207339f.2 for <linux-kernel@vger.kernel.org>; Wed, 10 Jan 2024 15:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1704928480; x=1705533280; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EzYVT3U62jOpimrVBwbFtsr3YzUGPIXyIVj0onyqTs4=; b=Wr57N0GF9FCH05IyXCuhWmHZX0l+bZe+kIK+c1oRB6QHWSCB/DuXXqMzjijbGwNfoB /lgWKIrKjSVsIYVPfi0OduAAdtvoKC5ZfMQKsB8GbMaNKKO1u6Ft6/X3CbBFJzN+OFi0 0HLG7Xh/qTk3YEDIxXJAgmFk5tXxu/vwkgMnP448fDGEzKlVz2i6IwofNb0jcChgpvsR AUrskYhOXGXvv1+XRmQBn/MNjxolUb3Tw+nc0qI4u4EGUZMkyALJfbjyZ/WYCwIRmtkK uyB7j2Vp7LwI4OSoenCKHmZ7DQ1u+KRwG4fr1s46xDyZW1v7+Orph15bz8j4b04rtCi2 90eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704928480; x=1705533280; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EzYVT3U62jOpimrVBwbFtsr3YzUGPIXyIVj0onyqTs4=; b=LJSEQSGmdFRb09gsLIbUg+pOJI8+243MkBKpiJe00iTqzubgRxUO/Y2RHz9DMznW46 3DV5ZMq9ySmqfEIJB2A7U7PaWIEkSpJIuMfJRkt6gPjjg1qdGAWB2KVNr6BPSROxHyMn Iu8OT55I4+LlyxNtDP7fl6uWS5tqo8UfdhoVN/hMqEUsaFRtQac1RB36rcIYCmXamsQc mD5JtA7M32WqPUAuLH2V2fFOHC24arXmvpWC+ZEt8lBehFcsZ4K0u7QWBggnn9boD8q9 47LPhyZ1FyXcd7HKcrncNX5JrZYK7b6phrM13x4T931zloNHIXB1MPWK5zxeQUW9zlt/ atFw== X-Gm-Message-State: AOJu0YyITtP2Fw+/aZ9HLHc/NT6rzYdWdPZbb4LlJSxhsb8C7eACcPmd x11XxIfW+owQEOEiANgni4BS2dD3UW/Vkp/M6AWv/rwc6d8= X-Received: by 2002:a5e:dc44:0:b0:7ba:77f3:b7e2 with SMTP id s4-20020a5edc44000000b007ba77f3b7e2mr364158iop.42.1704928479976; Wed, 10 Jan 2024 15:14:39 -0800 (PST) Received: from atishp.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id co13-20020a0566383e0d00b0046e3b925818sm1185503jab.37.2024.01.10.15.14.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 15:14:39 -0800 (PST) From: Atish Patra <atishp@rivosinc.com> To: linux-kernel@vger.kernel.org Cc: Atish Patra <atishp@rivosinc.com>, Conor Dooley <conor.dooley@microchip.com>, Anup Patel <anup@brainfault.org>, Alexandre Ghiti <alexghiti@rivosinc.com>, Andrew Jones <ajones@ventanamicro.com>, Atish Patra <atishp@atishpatra.org>, Guo Ren <guoren@kernel.org>, Icenowy Zheng <uwu@icenowy.me>, kvm-riscv@lists.infradead.org, kvm@vger.kernel.org, linux-riscv@lists.infradead.org, Mark Rutland <mark.rutland@arm.com>, Palmer Dabbelt <palmer@dabbelt.com>, Paul Walmsley <paul.walmsley@sifive.com>, Will Deacon <will@kernel.org>, Vladimir Isaev <vladimir.isaev@syntacore.com> Subject: [v3 01/10] RISC-V: Fix the typo in Scountovf CSR name Date: Wed, 10 Jan 2024 15:13:50 -0800 Message-Id: <20240110231359.1239367-2-atishp@rivosinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240110231359.1239367-1-atishp@rivosinc.com> References: <20240110231359.1239367-1-atishp@rivosinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787747152653917729 X-GMAIL-MSGID: 1787747152653917729 |
Series |
[v3,01/10] RISC-V: Fix the typo in Scountovf CSR name
|
|
Commit Message
Atish Patra
Jan. 10, 2024, 11:13 p.m. UTC
The counter overflow CSR name is "scountovf" not "sscountovf". Fix the csr name. Fixes: 4905ec2fb7e6 ("RISC-V: Add sscofpmf extension support") Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Atish Patra <atishp@rivosinc.com> --- arch/riscv/include/asm/csr.h | 2 +- arch/riscv/include/asm/errata_list.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/riscv/include/asm/csr.h b/arch/riscv/include/asm/csr.h index 306a19a5509c..88cdc8a3e654 100644 --- a/arch/riscv/include/asm/csr.h +++ b/arch/riscv/include/asm/csr.h @@ -281,7 +281,7 @@ #define CSR_HPMCOUNTER30H 0xc9e #define CSR_HPMCOUNTER31H 0xc9f -#define CSR_SSCOUNTOVF 0xda0 +#define CSR_SCOUNTOVF 0xda0 #define CSR_SSTATUS 0x100 #define CSR_SIE 0x104 diff --git a/arch/riscv/include/asm/errata_list.h b/arch/riscv/include/asm/errata_list.h index 83ed25e43553..7026fba12eeb 100644 --- a/arch/riscv/include/asm/errata_list.h +++ b/arch/riscv/include/asm/errata_list.h @@ -152,7 +152,7 @@ asm volatile(ALTERNATIVE_2( \ #define ALT_SBI_PMU_OVERFLOW(__ovl) \ asm volatile(ALTERNATIVE( \ - "csrr %0, " __stringify(CSR_SSCOUNTOVF), \ + "csrr %0, " __stringify(CSR_SCOUNTOVF), \ "csrr %0, " __stringify(THEAD_C9XX_CSR_SCOUNTEROF), \ THEAD_VENDOR_ID, ERRATA_THEAD_PMU, \ CONFIG_ERRATA_THEAD_PMU) \