2025-07-28T18:50:10+02:00, Paolo Bonzini <pbonzini@xxxxxxxxxx>: > Il lun 28 lug 2025, 18:21 Anup Patel <apatel@xxxxxxxxxxxxxxxx> ha scritto: >> Currently, userspace only has a way to enable/disable the entire >> SBI FWFT extension. We definitely need to extend ONE_REG >> interface to allow userspace save/restore SBI FWFT state. I am >> sure this will happen pretty soon (probably next merge window). >> >> At the moment, I am not sure whether userspace also needs a >> way to enable/disable individual features of SBI FWFT extension. >> What do you think ? > > Yes, you do. FWFT extensions are equivalent to CPU extensions. But all > this should have been done before including Clement's work. Without it > userspace has no way to support FWFT. > > Drew, I see you have Reviewed-by on the patches; please keep an eye on > this stuff. Sorry, I didn't try too hard to convince others after noticing it, and planned to fix the most significant breakage in later rcs. (If FWFT wasn't enabled by default, sane userspace just wouldn't expose FWFT to the guest until a proper KVM configuration was added).