Re: [PATCH] lpd: marvell: mark the indirect-access registers as volatile
Vasant Hegde <[email protected]> Fri, 16 Dec 2016 14:50:21 +0530
| Newsgroups | gmane.linux.tools.diag.devel |
|---|---|
| Message-ID | <[email protected]> |
On 12/13/2016 06:58 PM, Mauricio Faria de Oliveira wrote: > In optimization level -O3, a sequence of VSR read/write operations > can be incorrectly optimized away as the compiler doesn't know the > underlying memory locations can change and react to read/writes. > > So, mark the pointers used to read/write to the indirect-access > registers which access the VSRs with the 'volatile' keyword. Merged as cf718b32. -Vasant ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot