12–14 Sept 2022
Europe/Dublin timezone

The Odyssey of HWCAP on RISC-V platforms

13 Sept 2022, 15:05
35m
"Meeting 1&2" (Clayton Hotel on Burlington Road)

"Meeting 1&2"

Clayton Hotel on Burlington Road

90
RISC-V MC RISC-V MC

Speaker

"Ruinland" ChuanTzu Tsai (SiFive)

Description

It's always been challenging for operating systems to tell the (userspace) programs about the underlying hardware capabilities on RISC-V platforms.

For most computer architectures, a bit vector may suffice since the 64 bit platforms are most likely the enhancement of their 32 bit predecessors.

Yet sadly that's more than complicated for RISC-V, which has a much more diverse ecosystem.

In this talk we would like to discuss a proof of concept on Linux in which we utilize the vDSO data section as the intermediate for showing hardware capabilities - - either directly accessing it via a pointer passed from HWCAP2 or a vdso function call (with an architecture-specific syscall as the fallback).

We will tell the story about the good, the bad and the ugly sides of this approach and we sincerely hope to hear the comments from the community.

I agree to abide by the anti-harassment policy Yes

Primary author

"Ruinland" ChuanTzu Tsai (SiFive)

Presentation materials

Diamond Sponsor

Platinum Sponsors





Gold Sponsors




Silver Sponsors





Speaker Gift Sponsor

Catchbox Sponsor

Video Recording Sponsor

Livestream Sponsor

T-Shirt Sponsor

Conference Services Provided by