From: Conor Dooley <conor.dooley@microchip.com>
To: Samuel Holland <samuel.holland@sifive.com>
Cc: <linux-riscv@lists.infradead.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Andrew Jones <ajones@ventanamicro.com>,
Conor Dooley <conor@kernel.org>, <linux-kernel@vger.kernel.org>,
Deepak Gupta <debug@rivosinc.com>
Subject: Re: [PATCH v2 3/3] riscv: Call riscv_user_isa_enable() only on the boot hart
Date: Fri, 14 Jun 2024 11:32:44 +0100 [thread overview]
Message-ID: <20240614-ambition-machine-e7ece59835b2@wendy> (raw)
In-Reply-To: <20240613171447.3176616-4-samuel.holland@sifive.com>
[-- Attachment #1.1: Type: text/plain, Size: 609 bytes --]
On Thu, Jun 13, 2024 at 10:14:41AM -0700, Samuel Holland wrote:
> Now that the [ms]envcfg CSR value is maintained per thread, not per
> hart, riscv_user_isa_enable() only needs to be called once during boot,
> to set the value for the init task. This also allows it to be marked as
> __init. riscv_isa_extension_check() sets any_cpu_has_zicboz, so it also
> needs to be marked __init; it could have had this annotation already.
>
> Reviewed-by: Deepak Gupta <debug@rivosinc.com>
> Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
WARNING: multiple messages have this Message-ID (diff)
From: Conor Dooley <conor.dooley@microchip.com>
To: Samuel Holland <samuel.holland@sifive.com>
Cc: <linux-riscv@lists.infradead.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Andrew Jones <ajones@ventanamicro.com>,
Conor Dooley <conor@kernel.org>, <linux-kernel@vger.kernel.org>,
Deepak Gupta <debug@rivosinc.com>
Subject: Re: [PATCH v2 3/3] riscv: Call riscv_user_isa_enable() only on the boot hart
Date: Fri, 14 Jun 2024 11:32:44 +0100 [thread overview]
Message-ID: <20240614-ambition-machine-e7ece59835b2@wendy> (raw)
In-Reply-To: <20240613171447.3176616-4-samuel.holland@sifive.com>
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]
On Thu, Jun 13, 2024 at 10:14:41AM -0700, Samuel Holland wrote:
> Now that the [ms]envcfg CSR value is maintained per thread, not per
> hart, riscv_user_isa_enable() only needs to be called once during boot,
> to set the value for the init task. This also allows it to be marked as
> __init. riscv_isa_extension_check() sets any_cpu_has_zicboz, so it also
> needs to be marked __init; it could have had this annotation already.
>
> Reviewed-by: Deepak Gupta <debug@rivosinc.com>
> Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-06-14 10:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-13 17:14 [PATCH v2 0/3] riscv: Per-thread envcfg CSR support Samuel Holland
2024-06-13 17:14 ` Samuel Holland
2024-06-13 17:14 ` [PATCH v2 1/3] riscv: Enable cbo.zero only when all harts support Zicboz Samuel Holland
2024-06-13 17:14 ` Samuel Holland
2024-06-14 10:31 ` Conor Dooley
2024-06-14 10:31 ` Conor Dooley
2024-06-13 17:14 ` [PATCH v2 2/3] riscv: Add support for per-thread envcfg CSR values Samuel Holland
2024-06-13 17:14 ` Samuel Holland
2024-06-13 17:14 ` [PATCH v2 3/3] riscv: Call riscv_user_isa_enable() only on the boot hart Samuel Holland
2024-06-13 17:14 ` Samuel Holland
2024-06-14 10:32 ` Conor Dooley [this message]
2024-06-14 10:32 ` Conor Dooley
2024-06-21 12:54 ` [PATCH v2 0/3] riscv: Per-thread envcfg CSR support Andrew Jones
2024-06-21 12:54 ` Andrew Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240614-ambition-machine-e7ece59835b2@wendy \
--to=conor.dooley@microchip.com \
--cc=ajones@ventanamicro.com \
--cc=conor@kernel.org \
--cc=debug@rivosinc.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=samuel.holland@sifive.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.