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

2023-07-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Jul 11 11:02:07 UTC 2023 Modified Files: src/sys/arch/sparc64/include: psl.h Log Message: Move the definition of ipl_cookie_t out of the kernel-only sections, some _KMEMUSER applications need it. To generate a diff of this c

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

2023-07-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Jul 11 11:02:07 UTC 2023 Modified Files: src/sys/arch/sparc64/include: psl.h Log Message: Move the definition of ipl_cookie_t out of the kernel-only sections, some _KMEMUSER applications need it. To generate a diff of this c

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

2023-07-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Jul 11 09:34:34 UTC 2023 Modified Files: src/sys/arch/sparc64/include: mutex.h Log Message: Include psl.h for ipl_cookie_t if __MUTEX_PRIVATE To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sparc64/i

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

2023-07-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Jul 11 09:34:34 UTC 2023 Modified Files: src/sys/arch/sparc64/include: mutex.h Log Message: Include psl.h for ipl_cookie_t if __MUTEX_PRIVATE To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sparc64/i

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

2023-02-07 Thread Harold Gutch
Module Name:src Committed By: hgutch Date: Tue Feb 7 14:11:16 UTC 2023 Modified Files: src/sys/arch/sparc64/include: vmparam.h Log Message: Avoid using (1<<64)-1 for VM_MAX{,USER}_ADDRESS as rounding that up to the next page boundary gives 0 and instead make the VA space

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

2023-02-07 Thread Harold Gutch
Module Name:src Committed By: hgutch Date: Tue Feb 7 14:11:16 UTC 2023 Modified Files: src/sys/arch/sparc64/include: vmparam.h Log Message: Avoid using (1<<64)-1 for VM_MAX{,USER}_ADDRESS as rounding that up to the next page boundary gives 0 and instead make the VA space

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

2019-11-13 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Wed Nov 13 10:06:39 UTC 2019 Modified Files: src/sys/arch/sparc64/include: ctlreg.h psl.h Log Message: Revert workarounds for clang. In-tree clang can now handle the "r" asm constraint for 64-bit values properly. To generate a

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

2019-11-13 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Wed Nov 13 10:06:39 UTC 2019 Modified Files: src/sys/arch/sparc64/include: ctlreg.h psl.h Log Message: Revert workarounds for clang. In-tree clang can now handle the "r" asm constraint for 64-bit values properly. To generate a

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 th

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 > > > > > > M

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 M

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 Mess

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 for

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 i

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 hypve

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 Tue, Dec 30, 2014 at 04:34:42PM -0600, Dennis Ferguson wrote: > > On 30 Dec, 2014, at 12:52 , David Laight 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. > > > > Certainly t

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

2014-12-30 Thread Dennis Ferguson
On 30 Dec, 2014, at 12:52 , David Laight 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. > > Certainly the way those asm functions are defined looks to be > rather more obfuscated tha

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

2014-12-30 Thread David Laight
On Thu, Dec 25, 2014 at 02:02:04PM +, Takeshi Nakayama wrote: > Modified Files: > src/sys/arch/sparc64/include: psl.h > > Log Message: > Put "memory" to asm inline for reading privilege registers on sun4v > to avoid issuing rdpr %ver before checking cputyp as a result of > code moving by

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

2014-01-09 Thread Takeshi Nakayama
>>> "Michael Lorenz" 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 fix, but

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

2010-02-23 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 23 22:52:21 UTC 2010 Modified Files: src/sys/arch/sparc64/include: pmap.h Log Message: oops. don't call sp_tlb_flush_pte_usiii() on USI/USII. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/arch/sparc6

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

2010-02-22 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 23 05:24:50 UTC 2010 Modified Files: src/sys/arch/sparc64/include: ctlreg.h Log Message: add some bits to set to access all the cheetah dtlb/itlb's. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/arch

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

2010-02-22 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 23 05:24:50 UTC 2010 Modified Files: src/sys/arch/sparc64/include: ctlreg.h Log Message: add some bits to set to access all the cheetah dtlb/itlb's. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/arch

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

2010-02-20 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 21 00:57:44 UTC 2010 Modified Files: src/sys/arch/sparc64/include: ctlreg.h Log Message: s/D-cache/I-cache/ in some comments. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/arch/sparc64/include/ctlreg

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

2010-02-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Feb 13 08:46:23 UTC 2010 Modified Files: src/sys/arch/sparc64/include: ctlreg.h Log Message: add some defines for the sizes of TLBs in various CPUs. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/arch/spa

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

2010-01-15 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Jan 15 23:55:55 UTC 2010 Modified Files: src/sys/arch/sparc64/include: psl.h Log Message: Add processor implementation codes, from OpenBSD. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/arch/sparc64

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

2010-01-15 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Jan 15 15:05:02 UTC 2010 Modified Files: src/sys/arch/sparc64/include: psl.h Log Message: Add function names defined by macro in comment for reference. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/

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

2010-01-15 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Jan 15 15:02:48 UTC 2010 Modified Files: src/sys/arch/sparc64/include: pte.h Log Message: Fix typo in previous. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/sparc64/include/pte.h Please note

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

2009-06-01 Thread Michael
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, On Jun 1, 2009, at 8:51 AM, Martin Husemann wrote: On Mon, Jun 01, 2009 at 01:14:07AM +, Michael Lorenz wrote: Module Name:src Committed By: macallan Date: Mon Jun 1 01:14:07 UTC 2009 Modified Files: src/sys/ar

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

2009-06-01 Thread Martin Husemann
On Mon, Jun 01, 2009 at 01:14:07AM +, Michael Lorenz wrote: > Module Name: src > Committed By: macallan > Date: Mon Jun 1 01:14:07 UTC 2009 > > Modified Files: > src/sys/arch/sparc64/include: bus.h > > Log Message: > #define BUS_SPACE_MAP_LARGE 0 so SBus framebuffer drivers co