Re: riscv: supports_extension() broken for long isa strings

2024-03-04 Thread Conor Dooley
Apologies for the delay replying here. On Thu, Feb 22, 2024 at 01:36:41PM +0100, Heinrich Schuchardt wrote: > On 21.02.24 18:59, Conor Dooley wrote: > > I mentioned this last night to Heinrich on IRC, supports_extension() is > > broken for ISA strings longer than 32 characters. M-Mode U-Boot doesn

Re: riscv: supports_extension() broken for long isa strings

2024-02-22 Thread Heinrich Schuchardt
On 21.02.24 18:59, Conor Dooley wrote: Yo, I mentioned this last night to Heinrich on IRC, supports_extension() is broken for ISA strings longer than 32 characters. M-Mode U-Boot doesn't parse a devicetree, so this doesn't apply there, but for S-mode supports_extension() looks like: static inli

riscv: supports_extension() broken for long isa strings

2024-02-21 Thread Conor Dooley
Yo, I mentioned this last night to Heinrich on IRC, supports_extension() is broken for ISA strings longer than 32 characters. M-Mode U-Boot doesn't parse a devicetree, so this doesn't apply there, but for S-mode supports_extension() looks like: static inline bool supports_extension(char ext) {