Page MenuHomeFreeBSD

riscv: Fix handling of interrupts during kernel page faults
ClosedPublic

Authored by markj on Fri, Apr 18, 8:35 PM.

Details

Summary

We were checking the wrong status bit when deciding whether to enable
interrupts.

Fixes: c226f193515c ("riscv: Permit spurious faults in kernel mode")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Fri, Apr 18, 8:35 PM
jrtc27 added a subscriber: jrtc27.

Oh, yes, I failed to spot that in the review but this was clearly wrong and a no-op

This revision is now accepted and ready to land.Fri, Apr 18, 9:07 PM