lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJFTR8QyphR6sWdnri1uvw0Nwmg=4G_Xb02+CvH4LhpO3=-GhQ@mail.gmail.com>
Date: Mon, 6 Jan 2025 22:34:13 -0500
From: Jesse T <mr.bossman075@...il.com>
To: Clément Léger <cleger@...osinc.com>
Cc: Paul Walmsley <paul.walmsley@...ive.com>, Palmer Dabbelt <palmer@...belt.com>, 
	Anup Patel <anup@...infault.org>, Atish Patra <atishp@...shpatra.org>, 
	linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org, 
	kvm@...r.kernel.org, kvm-riscv@...ts.infradead.org
Subject: Re: [PATCH 5/6] riscv: export unaligned_ctl_available() as a GPL symbol

On Mon, Jan 6, 2025 at 10:51 AM Clément Léger <cleger@...osinc.com> wrote:
>
> This symbol will be used by the KVM SBI firmware feature extension
> implementation. Since KVM can be built as a module, this needs to be
> exported. Export it using EXPORT_SYMBOL_GPL().
>
> Signed-off-by: Clément Léger <cleger@...osinc.com>
Reviewed-by: Jesse Taube <mr.bossman075@...il.com>

> ---
>  arch/riscv/kernel/traps_misaligned.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/riscv/kernel/traps_misaligned.c b/arch/riscv/kernel/traps_misaligned.c
> index 4aca600527e9..7118d74673ee 100644
> --- a/arch/riscv/kernel/traps_misaligned.c
> +++ b/arch/riscv/kernel/traps_misaligned.c
> @@ -684,6 +684,8 @@ bool unaligned_ctl_available(void)
>  {
>         return unaligned_ctl;
>  }
> +EXPORT_SYMBOL_GPL(unaligned_ctl_available);
> +
>  #else
>  bool check_unaligned_access_emulated_all_cpus(void)
>  {
> --
> 2.47.1
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ