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

Paul Walmsley <[email protected]>
Newsgroups gmane.linux.ports.riscv,gmane.linux.kernel,gmane.linux.drivers.devicetree,gmane.linux.documentation
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.