Page MenuHomeFreeBSD

doonbsd_gmail.com (Doongar Singh)
User

Projects

User does not belong to any projects.

User Details

User Since
Jan 23 2026, 5:58 PM (7 w, 3 d)

Recent Activity

Jan 26 2026

doonbsd_gmail.com added a comment to D54857: riscv: Add macro for hfence.gvma instruction.

So, this can't be merged now? Shall I drop that change and update new diff?

No, it's ok as-is. Indeed, style(9) doesn't require the blank line, but most of the other wrappers in this file have one so we might as well stay consistent.

Jan 26 2026, 4:04 PM
doonbsd_gmail.com added a comment to D54857: riscv: Add macro for hfence.gvma instruction.

So, this can't be merged now? Shall I drop that change and update new diff?

Jan 26 2026, 3:44 AM

Jan 25 2026

doonbsd_gmail.com added a comment to D54856: riscv: Do MPASS check on hyp pointer before using it.

I agree that we should keep arm64 consistent at the very least. I tend to think that asserting that a pointer is non-NULL is silly, but on second thought a patch that just removes assertions is also a bit silly. So I'd rather just leave these alone.

Jan 25 2026, 4:55 PM
doonbsd_gmail.com added a comment to D54857: riscv: Add macro for hfence.gvma instruction.

Hold on. I just found one style problem. There must be a empty line after start curly brace when the function has single line body.

Jan 25 2026, 4:55 PM
doonbsd_gmail.com updated the diff for D54857: riscv: Add macro for hfence.gvma instruction.

riscv: Add an inline function hfence_gvma() for hfence.gvma instruction.

Jan 25 2026, 4:55 PM

Jan 24 2026

doonbsd_gmail.com updated the summary of D54857: riscv: Add macro for hfence.gvma instruction.
Jan 24 2026, 7:48 PM
doonbsd_gmail.com updated the diff for D54857: riscv: Add macro for hfence.gvma instruction.

Moved hfence_gvma from atomic.h to cpufunc.h and changed it to an inline function.

Jan 24 2026, 7:46 PM
doonbsd_gmail.com added a comment to D54857: riscv: Add macro for hfence.gvma instruction.

Agreed. I will update the patch.

Jan 24 2026, 7:43 PM
doonbsd_gmail.com added a comment to D54856: riscv: Do MPASS check on hyp pointer before using it.

Well it is where it is because (a) asserting in vmmops_init is pointless with M_WAITOK as you say (b) vm_init is in a separate translation unit so in some world views should treat vmmops_init as a black box, and is therefore asserting that it never fails. And this pattern is copied from arm64, so we should keep the two consistent, whichever way it goes.

Jan 24 2026, 6:56 PM
doonbsd_gmail.com requested review of D54857: riscv: Add macro for hfence.gvma instruction.
Jan 24 2026, 9:28 AM
doonbsd_gmail.com requested review of D54856: riscv: Do MPASS check on hyp pointer before using it.
Jan 24 2026, 6:04 AM