Re: CVS commit: src/sys/arch/sparc64/include

2019-04-10 Thread Joerg Sonnenberger
On Sat, Apr 06, 2019 at 09:40:15PM +, Takeshi Nakayama wrote: > Module Name: src > Committed By: nakayama > Date: Sat Apr 6 21:40:15 UTC 2019 > > Modified Files: > src/sys/arch/sparc64/include: psl.h > > Log Message: > The real cause for removing asm inline code on clang is

Re: CVS commit: src/sys/arch/sparc64/include

2019-04-05 Thread Joerg Sonnenberger
On Sat, Apr 06, 2019 at 07:05:22AM +0900, Takeshi Nakayama wrote: > >>> Joerg Sonnenberger wrote > > > On Fri, Apr 05, 2019 at 12:15:41PM +, Takeshi Nakayama wrote: > > > Module Name: src > > > Committed By: nakayama > > > Date: Fri Apr 5 12:15:41 UTC 2019 > > > > > >

Re: CVS commit: src/sys/arch/sparc64/include

2019-04-05 Thread Takeshi Nakayama
>>> Joerg Sonnenberger wrote > On Fri, Apr 05, 2019 at 12:16:13PM +, Takeshi Nakayama wrote: > > Module Name:src > > Committed By: nakayama > > Date: Fri Apr 5 12:16:13 UTC 2019 > > > > Modified Files: > > src/sys/arch/sparc64/include: ctlreg.h > > > > Log

Re: CVS commit: src/sys/arch/sparc64/include

2019-04-05 Thread Takeshi Nakayama
>>> Joerg Sonnenberger wrote > On Fri, Apr 05, 2019 at 12:15:41PM +, Takeshi Nakayama wrote: > > Module Name:src > > Committed By: nakayama > > Date: Fri Apr 5 12:15:41 UTC 2019 > > > > Modified Files: > > src/sys/arch/sparc64/include: psl.h > > > > Log

Re: CVS commit: src/sys/arch/sparc64/include

2019-04-05 Thread Joerg Sonnenberger
On Fri, Apr 05, 2019 at 12:15:41PM +, Takeshi Nakayama wrote: > Module Name: src > Committed By: nakayama > Date: Fri Apr 5 12:15:41 UTC 2019 > > Modified Files: > src/sys/arch/sparc64/include: psl.h > > Log Message: > Put "memory" to asm inline reading privilege registers

Re: CVS commit: src/sys/arch/sparc64/include

2019-04-05 Thread Joerg Sonnenberger
On Fri, Apr 05, 2019 at 12:16:13PM +, Takeshi Nakayama wrote: > Module Name: src > Committed By: nakayama > Date: Fri Apr 5 12:16:13 UTC 2019 > > Modified Files: > src/sys/arch/sparc64/include: ctlreg.h > > Log Message: > Add dummy constraints to avoid excessive optimization

Re: CVS commit: src/sys/arch/sparc64/include

2014-12-31 Thread David Laight
On Tue, Dec 30, 2014 at 04:34:42PM -0600, Dennis Ferguson wrote: On 30 Dec, 2014, at 12:52 , David Laight da...@l8s.co.uk wrote: Is that the correct fix? Unless the rdpr actually accesses memory (don't think it does) then then problem is probably a missing 'volatile' instead.

Re: CVS commit: src/sys/arch/sparc64/include

2014-12-31 Thread Martin Husemann
On Wed, Dec 31, 2014 at 10:05:22AM +, David Laight wrote: In this case I suspect removing __constfunc and making the asm volatile will force correct sequencing. Check the commit history. Can we make only the hypverisor call __constfunc? Martin

Re: CVS commit: src/sys/arch/sparc64/include

2014-12-31 Thread David Laight
On Wed, Dec 31, 2014 at 11:15:24AM +0100, Martin Husemann wrote: On Wed, Dec 31, 2014 at 10:05:22AM +, David Laight wrote: In this case I suspect removing __constfunc and making the asm volatile will force correct sequencing. Check the commit history. Can we make only the hypverisor

Re: CVS commit: src/sys/arch/sparc64/include

2014-01-09 Thread Takeshi Nakayama
Michael Lorenz macal...@netbsd.org wrote Module Name: src Committed By: macallan Date: Thu Jan 9 12:51:27 UTC 2014 Modified Files: src/sys/arch/sparc64/include: cpu.h Log Message: allow non-SUN4V kernels to build I think that fixing sparc64/genassym.cf is a porper