Re: [PATCH v6 3/8] riscv: Add support for srmcfg CSR from Ssqosid extension

From: Paul Walmsley

Date: Wed Aug 05 2026 - 21:27:10 EST


On Wed, 5 Aug 2026, Drew Fustini wrote:

> Thanks for queuing this patch. It is okay to leave out the READ_ONCE()
> since only Patches 1-3 are being applied.
>
> The READ_ONCE() is meant to pair with the WRITE_ONCE() in
> resctrl_arch_set_closid_rmid(), which comes in patch 5. RCID and MCID
> share the srmcfg csr, and resctrl can update thread.srmcfg from another
> hart while this task is switched in.

OK thanks, that makes sense; I've put it back.


- Paul