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

Paul Walmsley <[email protected]> Wed, 5 Aug 2026 19:21:02 -0600 (MDT)
Newsgroups dev.linux.lists.linux-rt-devel,org.infradead.lists.linux-riscv,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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