[PATCH 1/1] riscv: Get cache information through sysconf
Zong Li
zong.li@sifive.com
Tue Oct 27 06:05:02 GMT 2020
On Mon, Oct 26, 2020 at 4:27 PM Florian Weimer <fw@deneb.enyo.de> wrote:
>
> * Zong Li:
>
> > Add support to query cache information on RISC-V through sysconf()
> > function. The cache information had been added in AUX vector of RISC-V
> > architecture in Linux kernel v.5.10-rc1.
>
> I think this needs error reporting in case the auxiliary vector does
> not contain the requested information.
Does the error reporting mean that we need to check the errno and
return the error number when AUX vector is unavailable?
More information about the Libc-alpha
mailing list