[PATCH] riscv: Add runtime constant support
Charlie Jenkins
charlie at rivosinc.com
Mon Jan 27 10:47:21 PST 2025
On Mon, Jan 27, 2025 at 08:51:04AM +0000, Ben Dooks wrote:
> On 27/01/2025 08:18, Charlie Jenkins wrote:
> > Implement the runtime constant infrastructure for riscv. Use this
> > infrastructure to generate constants to be used by the d_hash()
> > function.
> >
> > This is the riscv variant of commit 94a2bc0f611c ("arm64: add 'runtime
> > constant' support") and commit e3c92e81711d ("runtime constants: add
> > x86 architecture support").
> >
> > Signed-off-by: Charlie Jenkins <charlie at rivosinc.com>
>
> I think my only comment on this is we should treat instructions as
> __le32 type and add the proper conversions when maniuplating them.
Fair enough, I will make the proper adjustements.
- Charlie
>
> --
> Ben Dooks http://www.codethink.co.uk/
> Senior Engineer Codethink - Providing Genius
>
> https://www.codethink.co.uk/privacy.html
More information about the linux-riscv
mailing list