svn commit: r333743 - head/sys/dev/usb/net

2018-05-17 Thread Andreas Tobler
Author: andreast Date: Thu May 17 17:57:41 2018 New Revision: 333743 URL: https://svnweb.freebsd.org/changeset/base/333743 Log: Fix build if USB_DEBUG is defined. Modified: head/sys/dev/usb/net/if_muge.c Modified: head/sys/dev/usb/net/if_muge.c ===

Re: svn commit: r333919 - in head/contrib/file: . doc magic magic/Magdir python src tests

2018-05-21 Thread Andreas Tobler
Hi Eitan, On 20.05.18 07:06, Eitan Adler wrote: Author: eadler Date: Sun May 20 05:06:42 2018 New Revision: 333919 URL: https://svnweb.freebsd.org/changeset/base/333919 Log: MFV: file 5.33 Merge the latest file(1) in. Relevent Changelog: - extend the support for ${x?:} expa

svn commit: r327530 - in head/sys/powerpc: include powerpc

2018-01-03 Thread Andreas Tobler
Author: andreast Date: Wed Jan 3 20:20:43 2018 New Revision: 327530 URL: https://svnweb.freebsd.org/changeset/base/327530 Log: The recent bump of MAXDSIZ made 32-bit binary execution on 64-bit powerpc fail. The data segement was too big. Add a fix-up function like on ia32 for MAXDSIZ.

Re: svn commit: r319722 - in head: sys/cam/ctl sys/dev/iscsi sys/kern sys/netgraph sys/netgraph/bluetooth/socket sys/netinet sys/ofed/drivers/infiniband/core sys/ofed/drivers/infiniband/ulp/sdp sys/rp

2017-06-14 Thread Andreas Tobler
Hi Gleb, with this revision I get either a kernel panic or a hang. This happens on powerpc (32-bit). The powerpc64 looks stable. Here you can see the backtrace in case of the panic: https://people.freebsd.org/~andreast/r319722_ppc32_1.jpg In the source code I see a comment with XXXGL... Is th

Re: svn commit: r319722 - in head: sys/cam/ctl sys/dev/iscsi sys/kern sys/netgraph sys/netgraph/bluetooth/socket sys/netinet sys/ofed/drivers/infiniband/core sys/ofed/drivers/infiniband/ulp/sdp sys/rp

2017-06-14 Thread Andreas Tobler
On 15.06.17 07:00, Gleb Smirnoff wrote: Hi, On Wed, Jun 14, 2017 at 09:59:50AM +0200, Andreas Tobler wrote: A> with this revision I get either a kernel panic or a hang. This happens A> on powerpc (32-bit). The powerpc64 looks stable. A> A> Here you can see the backtrace in case

Re: svn commit: r320043 - in head: contrib/netbsd-tests/kernel/kqueue lib/libc/include lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys tests/sys/kqueue/libkqueue usr.bin/truss

2017-06-27 Thread Andreas Tobler
Hi Kib, On 17.06.17 02:57, Konstantin Belousov wrote: Author: kib Date: Sat Jun 17 00:57:26 2017 New Revision: 320043 URL: https://svnweb.freebsd.org/changeset/base/320043 Log: Add abstime kqueue(2) timers and expand struct kevent members. This change implements NOTE_ABSTIME flag for

Re: svn commit: r320043 - in head: contrib/netbsd-tests/kernel/kqueue lib/libc/include lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys tests/sys/kqueue/libkqueue usr.bin/truss

2017-06-27 Thread Andreas Tobler
On 27.06.17 22:43, Konstantin Belousov wrote: On Tue, Jun 27, 2017 at 10:21:42PM +0200, Andreas Tobler wrote: Hi Kib, On 17.06.17 02:57, Konstantin Belousov wrote: Author: kib Date: Sat Jun 17 00:57:26 2017 New Revision: 320043 URL: https://svnweb.freebsd.org/changeset/base/320043 Log

Re: svn commit: r308725 - in head/sys: conf dev/hyperv/pcib modules/hyperv/pcib

2016-11-17 Thread Andreas Tobler
On 16.11.16 10:25, Dexuan Cui wrote: Author: dexuan Date: Wed Nov 16 09:25:00 2016 New Revision: 308725 URL: https://svnweb.freebsd.org/changeset/base/308725 Modified: head/sys/conf/files.amd64 == --- head/sys/conf/fil

Re: svn commit: r357463 - head/sys/vm

2020-02-03 Thread Andreas Tobler
On 03.02.20 20:29, Mark Johnston wrote: Author: markj Date: Mon Feb 3 19:29:02 2020 New Revision: 357463 URL: https://svnweb.freebsd.org/changeset/base/357463 Log: Disable the smallest UMA bucket size on 32-bit platforms. With r357314, sizeof(struct uma_bucket) grew to 16 bytes on 32-

svn commit: r361985 - head/sys/arm/freescale/imx

2020-06-09 Thread Andreas Tobler
Author: andreast Date: Tue Jun 9 20:27:35 2020 New Revision: 361985 URL: https://svnweb.freebsd.org/changeset/base/361985 Log: Fix boot of wandquad after DTS update In the recent dts sync the name of the aips-bus@ changed to bus@. Reflect this change and add an additional OF_finddevice i

svn commit: r358720 - head/sys/dev/iicbus

2020-03-06 Thread Andreas Tobler
se-FreeBSD * * Copyright (c) 2010 Andreas Tobler - * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -124,7 +123,7 @@ max6690_read(device_t dev, uint32_t addr, uint8_t reg,

svn commit: r358721 - head/sys/dev/iicbus

2020-03-06 Thread Andreas Tobler
se-FreeBSD * * Copyright (c) 2012 Andreas Tobler - * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -135,7 +134,7 @@ ds1631_write(device_t dev, uint32_t addr, u

Re: svn commit: r358720 - head/sys/dev/iicbus

2020-03-06 Thread Andreas Tobler
On 06.03.20 22:21, Andreas Tobler wrote: Author: andreast Date: Fri Mar 6 21:21:01 2020 New Revision: 358720 URL: https://svnweb.freebsd.org/changeset/base/358720 Log: - Drop 'All rights reserved' - Replace hardcoded size by nitems The CTLFLAG_MPSAFE I forgot to mention since

svn commit: r358722 - head/sys/dev/iicbus

2020-03-06 Thread Andreas Tobler
se-FreeBSD * * Copyright (c) 2010 Andreas Tobler - * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -104,7 +103,7 @@ ds1775_read_2(device_t dev, uint32_t addr, uint8_t reg

svn commit: r358723 - head/sys/dev/iicbus

2020-03-06 Thread Andreas Tobler
Fri Mar 6 21:26:35 2020 (r358722) +++ head/sys/dev/iicbus/ad7417.cFri Mar 6 21:32:42 2020 (r358723) @@ -2,7 +2,6 @@ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2010 Andreas Tobler - * All rights reserved. * * Redistribution and use in source

svn commit: r358724 - head/sys/powerpc/powermac

2020-03-06 Thread Andreas Tobler
ys/powerpc/powermac/fcu.c Fri Mar 6 21:51:28 2020 (r358724) @@ -2,7 +2,6 @@ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2010 Andreas Tobler - * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are

svn commit: r358725 - head/sys/powerpc/powermac

2020-03-06 Thread Andreas Tobler
== --- head/sys/powerpc/powermac/fcu.c Fri Mar 6 21:51:28 2020 (r358724) +++ head/sys/powerpc/powermac/fcu.c Fri Mar 6 23:01:49 2020 (r358725) @@ -2,6 +2,7 @@ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2010 Andreas Tobler + * All rights

svn commit: r219718 - head/sys/powerpc/include

2011-03-17 Thread Andreas Tobler
Author: andreast Date: Thu Mar 17 19:44:00 2011 New Revision: 219718 URL: http://svn.freebsd.org/changeset/base/219718 Log: Remove duplicate definition of FIRSTARG. Approved by: nwhitehorn (mentor) Modified: head/sys/powerpc/include/frame.h Modified: head/sys/powerpc/include/frame.h ==

svn commit: r220638 - head/sys/powerpc/powerpc

2011-04-14 Thread Andreas Tobler
Author: andreast Date: Thu Apr 14 18:14:43 2011 New Revision: 220638 URL: http://svn.freebsd.org/changeset/base/220638 Log: Add stoppcbs[] arrays on powerpc(64) and have each CPU save its current context in the IPI_STOP handler. Similar as done on other architectures. Approved by: nwhit

svn commit: r220639 - head/sys/powerpc/aim

2011-04-14 Thread Andreas Tobler
Author: andreast Date: Thu Apr 14 18:26:50 2011 New Revision: 220639 URL: http://svn.freebsd.org/changeset/base/220639 Log: The macro MOEA_PVO_CHECK is empty and not used. It is a left over from the NetBSD import. Remove the definition and all its occurrences. Approved by: nwhitehorn (men

svn commit: r220642 - head/sys/powerpc/aim

2011-04-14 Thread Andreas Tobler
Author: andreast Date: Thu Apr 14 19:37:31 2011 New Revision: 220642 URL: http://svn.freebsd.org/changeset/base/220642 Log: Adjust debugging string to match the actual function. Approved by: nwhitehorn (mentor) Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/mm

svn commit: r220818 - head/sys/powerpc/aim

2011-04-19 Thread Andreas Tobler
Author: andreast Date: Tue Apr 19 07:49:58 2011 New Revision: 220818 URL: http://svn.freebsd.org/changeset/base/220818 Log: Add leading zeros when printing the physical memory chunks on __powerpc64__. Approved by: nwhitehorn (mentor) Modified: head/sys/powerpc/aim/machdep.c Modified: h

Re: svn commit: r228330 - in head: include sys/sys

2011-12-08 Thread Andreas Tobler
On 07.12.11 22:17, David Chisnall wrote: Author: theraven Date: Wed Dec 7 21:17:50 2011 New Revision: 228330 URL: http://svn.freebsd.org/changeset/base/228330 Log: As per das@'s suggestion, s/__noreturn/_Noreturn/, since the latter is an identifier reserved for the implementation in C99 a

Re: svn commit: r228330 - in head: include sys/sys

2011-12-11 Thread Andreas Tobler
On 08.12.11 21:40, Andreas Tobler wrote: On 07.12.11 22:17, David Chisnall wrote: Author: theraven Date: Wed Dec 7 21:17:50 2011 New Revision: 228330 URL: http://svn.freebsd.org/changeset/base/228330 Log: As per das@'s suggestion, s/__noreturn/_Noreturn/, since the latter

Re: svn commit: r228955 - head/include

2011-12-29 Thread Andreas Tobler
On 29.12.11 15:41, Ed Schouten wrote: Author: ed Date: Thu Dec 29 14:41:17 2011 New Revision: 228955 URL: http://svn.freebsd.org/changeset/base/228955 Log: Don't define static_assert for C++. Even though _Static_assert() is pretty robust for C code, it cannot work correctly with C++ co

Re: svn commit: r228955 - head/include

2011-12-29 Thread Andreas Tobler
Hi Ed, On 29.12.11 19:32, Ed Schouten wrote: * Andreas Tobler, 20111229 18:43: Thank you Ed! gcc-4.6 bootstrap successful. But it seems GCC 4.7 is still broken. I am not planning to fix that, because it's a shortcoming of GCC. As soon as the GNU folks implement C++11 [[noreturn]], it s

svn commit: r229494 - head/sys/powerpc/include

2012-01-04 Thread Andreas Tobler
Author: andreast Date: Wed Jan 4 16:02:52 2012 New Revision: 229494 URL: http://svn.freebsd.org/changeset/base/229494 Log: Introduce internal macros for __U/INT64_C to define the U/INT64_MAX/MIN values properly. The previous definition only worked if __STDC_LIMIT_MACROS and __STDC_CONSTANT_

svn commit: r229496 - head/sys/mips/include

2012-01-04 Thread Andreas Tobler
Author: andreast Date: Wed Jan 4 16:07:16 2012 New Revision: 229496 URL: http://svn.freebsd.org/changeset/base/229496 Log: Apply the same change as in r229494. Requested by: ed Modified: head/sys/mips/include/_stdint.h Modified: head/sys/mips/include/_stdint.h =

svn commit: r229660 - head/sys/powerpc/conf

2012-01-05 Thread Andreas Tobler
Author: andreast Date: Thu Jan 5 22:06:01 2012 New Revision: 229660 URL: http://svn.freebsd.org/changeset/base/229660 Log: Fix build on powerpc64 too. The same as r229640. Modified: head/sys/powerpc/conf/GENERIC64 Modified: head/sys/powerpc/conf/GENERIC64 ===

svn commit: r229693 - in head/lib/libc: powerpc powerpc64

2012-01-06 Thread Andreas Tobler
Author: andreast Date: Fri Jan 6 09:21:40 2012 New Revision: 229693 URL: http://svn.freebsd.org/changeset/base/229693 Log: Use the macro WEAK_ALIAS. Tested on 32 and 64-bit. Modified: head/lib/libc/powerpc/SYS.h head/lib/libc/powerpc64/SYS.h Modified: head/lib/libc/powerpc/SYS.h =

svn commit: r229715 - head/contrib/gcc/config

2012-01-06 Thread Andreas Tobler
Author: andreast Date: Fri Jan 6 18:37:49 2012 New Revision: 229715 URL: http://svn.freebsd.org/changeset/base/229715 Log: Silence a warning about redefinition of TARGET_ELF on powerpc. Modified: head/contrib/gcc/config/freebsd.h Modified: head/contrib/gcc/config/freebsd.h =

Re: svn commit: r229693 - in head/lib/libc: powerpc powerpc64

2012-01-06 Thread Andreas Tobler
Hi Bruce, thank you for the feedback. I wasn't aware about the fine details. I try to understand and implement what you suggest. It may take several iterations until I match everything. On 06.01.12 14:12, Bruce Evans wrote: On Fri, 6 Jan 2012, Andreas Tobler wrote: Log: Use the

svn commit: r229806 - in head/lib/libc: powerpc/gen powerpc64/gen

2012-01-08 Thread Andreas Tobler
Author: andreast Date: Sun Jan 8 11:57:38 2012 New Revision: 229806 URL: http://svn.freebsd.org/changeset/base/229806 Log: Two other places where we can use WEAK_ALIAS. Modified: head/lib/libc/powerpc/gen/setjmp.S head/lib/libc/powerpc64/gen/setjmp.S Modified: head/lib/libc/powerpc/gen/se

svn commit: r230390 - head/sys/conf

2012-01-20 Thread Andreas Tobler
Author: andreast Date: Fri Jan 20 18:49:47 2012 New Revision: 230390 URL: http://svn.freebsd.org/changeset/base/230390 Log: Disable GUPROF on archs other than i386/amd64 since the fine details are not implemented. Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk

svn commit: r230391 - head/sys/conf

2012-01-20 Thread Andreas Tobler
Author: andreast Date: Fri Jan 20 18:52:31 2012 New Revision: 230391 URL: http://svn.freebsd.org/changeset/base/230391 Log: Add the .opd section, this is helps booting a profiled kernel. Adjust the OUTPUT_ARCH and use the builtin ALIGN() to adjust the data segment. Modified: head/sys/conf/l

svn commit: r230400 - in head: lib/libc/powerpc64/sys sys/powerpc/aim sys/powerpc/include sys/powerpc/ofw sys/powerpc/powerpc

2012-01-20 Thread Andreas Tobler
Author: andreast Date: Fri Jan 20 22:34:19 2012 New Revision: 230400 URL: http://svn.freebsd.org/changeset/base/230400 Log: This commit adds profiling support for powerpc64. Now we can do application profiling and kernel profiling. To enable kernel profiling one has to build kgmon(8). I will

Re: svn commit: r230390 - head/sys/conf

2012-01-20 Thread Andreas Tobler
On 21.01.12 03:52, Bruce Evans wrote: On Fri, 20 Jan 2012, Andreas Tobler wrote: Log: Disable GUPROF on archs other than i386/amd64 since the fine details are not implemented. This was intentionally not done. Just don't use config -pp on arches that don't suppport it. &quo

Re: svn commit: r229693 - in head/lib/libc: powerpc powerpc64

2012-01-21 Thread Andreas Tobler
I write this reply from another machine... Here is what I have tested so far. Is this the right approach? Thank you in advance, Andreas Index: lib/libc/powerpc/SYS.h === --- lib/libc/powerpc/SYS.h (revision 230383) +++ lib

svn commit: r230422 - head/sys/conf

2012-01-21 Thread Andreas Tobler
Author: andreast Date: Sat Jan 21 11:42:40 2012 New Revision: 230422 URL: http://svn.freebsd.org/changeset/base/230422 Log: Revert r230390. Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk == -

Re: svn commit: r229693 - in head/lib/libc: powerpc powerpc64

2012-01-21 Thread Andreas Tobler
On 01/21/12 12:46, Bruce Evans wrote: On Sat, 21 Jan 2012, Andreas Tobler wrote: I write this reply from another machine... Here is what I have tested so far. Is this the right approach? Seems mostly what I want. I wouldn't change the right-justification of the backslashes, since

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Andreas Tobler
Hi Eitan, On 20.01.12 02:38, Eitan Adler wrote: Author: eadler Date: Fri Jan 20 01:38:21 2012 New Revision: 230353 URL: http://svn.freebsd.org/changeset/base/230353 Log: Fix warning when compiling with gcc46: error: variable 'temp' set but not used Approved by: dim Approved

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Andreas Tobler
On 25.01.12 01:40, Hiroki Sato wrote: Andreas Tobler wrote in<4f1f3585.8060...@freebsd.org>: an> Hi Eitan, an> an> On 20.01.12 02:38, Eitan Adler wrote: an> > Author: eadler an> > Date: Fri Jan 20 01:38:21 2012 an> > New Revision: 230353 an> >

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Andreas Tobler
On 25.01.12 06:50, Garrett Cooper wrote: On Tue, Jan 24, 2012 at 9:35 PM, Andreas Tobler wrote: ... It is actually r230354, this is the commit which shows the failure. And I reverted back to 230353 and onfirmed that it 'works'. I additionally built with -O0 -g, see below. I

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Andreas Tobler
On 25.01.12 07:03, Hiroki Sato wrote: Andreas Tobler wrote in<4f1f94b3.6020...@freebsd.org>: an> On 25.01.12 01:40, Hiroki Sato wrote: an> > Andreas Tobler wrote an> > in<4f1f3585.8060...@freebsd.org>: an> > an> > an> Hi Eitan, a

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-25 Thread Andreas Tobler
sd.org> wrote > in <20120125.151236.688056751317619770@allbsd.org>: > > hr> Andreas Tobler <andre...@freebsd.org> wrote > hr> in <4f1f9cd1.9070...@freebsd.org>: > hr> > hr> an> It is a powerpc64 crossbuild installation, built on amd64. It is

Re: svn commit: r221550 - head/sys/powerpc/conf

2011-05-08 Thread Andreas Tobler
On 08.05.11 00:17, Attilio Rao wrote: 2011/5/6 Attilio Rao: 2011/5/6 Nathan Whitehorn: Author: nwhitehorn Date: Fri May 6 20:43:02 2011 New Revision: 221550 URL: http://svn.freebsd.org/changeset/base/221550 Log: SMP has worked perfectly for a very long time on 32-bit PowerPC on both UP an

Re: svn commit: r221550 - head/sys/powerpc/conf

2011-05-09 Thread Andreas Tobler
On 09.05.11 00:15, Attilio Rao wrote: 2011/5/8 Andreas Tobler: On 08.05.11 00:17, Attilio Rao wrote: 2011/5/6 Attilio Rao: 2011/5/6 Nathan Whitehorn: Author: nwhitehorn Date: Fri May 6 20:43:02 2011 New Revision: 221550 URL: http://svn.freebsd.org/changeset/base/221550 Log: SMP has

svn commit: r222449 - in head/sys: conf dev/iicbus powerpc/conf

2011-05-29 Thread Andreas Tobler
right (c) 2010 Andreas Tobler + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice,

svn commit: r222450 - head/sys/boot/powerpc/ofw

2011-05-29 Thread Andreas Tobler
Author: andreast Date: Sun May 29 14:27:11 2011 New Revision: 222450 URL: http://svn.freebsd.org/changeset/base/222450 Log: Add some missing files. Without we hang in the OF prompt asking for screen.4th. Approved by: nwhitehorn (mentor) Modified: head/sys/boot/powerpc/ofw/Makefile Mod

svn commit: r222658 - head/sys/dev/iicbus

2011-06-03 Thread Andreas Tobler
Author: andreast Date: Fri Jun 3 18:58:32 2011 New Revision: 222658 URL: http://svn.freebsd.org/changeset/base/222658 Log: - Improve error handling. - Add a retry loop for the i2c sensor reading. - Update the sensor handling for sensors which do not have a location entry. [1] Submitt

svn commit: r222659 - head/sys/powerpc/powermac

2011-06-03 Thread Andreas Tobler
Author: andreast Date: Fri Jun 3 20:43:12 2011 New Revision: 222659 URL: http://svn.freebsd.org/changeset/base/222659 Log: - Introduce a define for ZERO_C_TO_K. - Fix the printing of the temperature when we exceed the critical value. Approved by: nwhitehorn (mentor) Modified: head/sy

svn commit: r222673 - head/sys/dev/iicbus

2011-06-04 Thread Andreas Tobler
Author: andreast Date: Sat Jun 4 09:19:53 2011 New Revision: 222673 URL: http://svn.freebsd.org/changeset/base/222673 Log: Replace the FCU_ZERO_C_TO_K with the ZERO_C_TO_K from powermac_thermal.h. Approved by: nwhitehorn (mentor) Modified: head/sys/dev/iicbus/ds1775.c Modified: head/s

svn commit: r222674 - head/sys/dev/iicbus

2011-06-04 Thread Andreas Tobler
Author: andreast Date: Sat Jun 4 09:23:54 2011 New Revision: 222674 URL: http://svn.freebsd.org/changeset/base/222674 Log: - Improve error handling. - Add a retry loop for the i2c sensor reading. - Check on busy status of the chip and on invalid values. - Fix a typo in a comment. - Repl

svn commit: r222675 - head/sys/powerpc/powermac

2011-06-04 Thread Andreas Tobler
Author: andreast Date: Sat Jun 4 09:25:59 2011 New Revision: 222675 URL: http://svn.freebsd.org/changeset/base/222675 Log: - Improve error handling. - Add retry loops for the i2c read/write functions. Approved by: nwhitehorn (mentor) Modified: head/sys/powerpc/powermac/fcu.c Modifie

Re: svn commit: r222449 - in head/sys: conf dev/iicbus powerpc/conf

2011-06-04 Thread Andreas Tobler
Hi, sorry for the delay. On 29.05.11 17:10, Henrik Brix Andersen wrote: Hi, On May 29, 2011, at 16:25, Andreas Tobler wrote: Author: andreast Date: Sun May 29 14:25:42 2011 New Revision: 222449 URL: http://svn.freebsd.org/changeset/base/222449 Log: Add a new driver, the ad7417, to read

svn commit: r222686 - in head/sys: conf powerpc/conf powerpc/powermac

2011-06-04 Thread Andreas Tobler
/windtunnel.c Sat Jun 4 15:17:35 2011 (r222686) @@ -0,0 +1,216 @@ +/*- + * Copyright (c) 2011 Justin Hibbits + * Copyright (c) 2010 Andreas Tobler + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided

Re: svn commit: r222666 - head/sys/powerpc/aim

2011-06-05 Thread Andreas Tobler
On 04.06.11 05:22, Nathan Whitehorn wrote: Author: nwhitehorn Date: Sat Jun 4 03:22:16 2011 New Revision: 222666 URL: http://svn.freebsd.org/changeset/base/222666 Log: Fix a typo derived from a mismerge from mmu_oea that would cause pmap_sync_icache() to sync random (possibly uncached or

svn commit: r222860 - head/sys/dev/iicbus

2011-06-08 Thread Andreas Tobler
Author: andreast Date: Wed Jun 8 16:00:30 2011 New Revision: 222860 URL: http://svn.freebsd.org/changeset/base/222860 Log: - Improve error handling. - Add retry loops in the i2c read/write functions. - Combied the ADC channel selection and readout of the value into one iicbus_transfer t

svn commit: r223082 - head/contrib/gdb/gdb

2011-06-14 Thread Andreas Tobler
Author: andreast Date: Tue Jun 14 15:20:30 2011 New Revision: 223082 URL: http://svn.freebsd.org/changeset/base/223082 Log: - Check on target wordsize instead of compile time define if we build on 64-bit PowerPC or 32-bit PowerPC. - Make gdb work on powerpc64, the code for this is obtained

svn commit: r223470 - head/sys/powerpc/powerpc

2011-06-23 Thread Andreas Tobler
Author: andreast Date: Thu Jun 23 09:43:53 2011 New Revision: 223470 URL: http://svn.freebsd.org/changeset/base/223470 Log: Add leading zeros when printing the stackframe on __powerpc64__. Modified: head/sys/powerpc/powerpc/db_trace.c Modified: head/sys/powerpc/powerpc/db_trace.c ===

svn commit: r223471 - head/sys/powerpc/aim

2011-06-23 Thread Andreas Tobler
Author: andreast Date: Thu Jun 23 09:46:12 2011 New Revision: 223471 URL: http://svn.freebsd.org/changeset/base/223471 Log: Fix merge typo. Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/mmu_oea64.c ==

svn commit: r212260 - in head: share/misc usr.bin/calendar/calendars

2010-09-06 Thread Andreas Tobler
sdMon Sep 6 19:00:00 2010(r212260) @@ -180,6 +180,7 @@ 06/19 Charlie Root born in Portland, Oregon, United States, 1993 06/21 Ganbold Tsagaankhuu born in Ulaanbaatar, Mongolia, 1971 06/21 Niels Heinen born in Markelo, the Netherlands, 1978 +06/22 Andreas Tobler born in Heide

svn commit: r212261 - head/share/misc

2010-09-06 Thread Andreas Tobler
Author: andreast Date: Mon Sep 6 20:16:10 2010 New Revision: 212261 URL: http://svn.freebsd.org/changeset/base/212261 Log: Point out who is my mentor. Approved by: nwhitehorn (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot ==

svn commit: r212687 - head/sys/powerpc/powermac

2010-09-15 Thread Andreas Tobler
Author: andreast Date: Wed Sep 15 19:08:41 2010 New Revision: 212687 URL: http://svn.freebsd.org/changeset/base/212687 Log: Increase register access delay to deal with the high-latency I2C chipset found in some models of Powermac G5. Approved by: nwhitehorn (mentor) Modified: head/sys

Re: svn commit: r213098 - in head/sys: amd64/conf i386/conf pc98/conf powerpc/conf sparc64/conf

2010-09-25 Thread Andreas Tobler
Hi! On 24.09.10 11:04, David Xu wrote: Author: davidxu Date: Fri Sep 24 09:04:16 2010 New Revision: 213098 URL: http://svn.freebsd.org/changeset/base/213098 Log: Now userland POSIX semaphore is based on umtx. The kernel module is only used to support binary compatible, if want to run old

svn commit: r213904 - in head/sys: conf dev/iicbus powerpc/conf powerpc/powermac

2010-10-15 Thread Andreas Tobler
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/iicbus/ds1775.cFri Oct 15 20:08:16 2010 (r213904) @@ -0,0 +1,255 @@ +/*- + * Copyright (c) 2010 Andreas Tobler + * All

svn commit: r215435 - head/sys/boot/powerpc/ofw

2010-11-17 Thread Andreas Tobler
Author: andreast Date: Wed Nov 17 19:25:37 2010 New Revision: 215435 URL: http://svn.freebsd.org/changeset/base/215435 Log: Load the full 16k stack space. Approved by: nwhitehorn (mentor) Modified: head/sys/boot/powerpc/ofw/start.c Modified: head/sys/boot/powerpc/ofw/start.c ==

svn commit: r215436 - head/sys/boot/powerpc/ofw

2010-11-17 Thread Andreas Tobler
Author: andreast Date: Wed Nov 17 19:28:48 2010 New Revision: 215436 URL: http://svn.freebsd.org/changeset/base/215436 Log: Make sure the .bss is cleared at the beginning. The pSeries OF ELF loader does not clear .bss automatically. Approved by: nwhitehorn (mentor) Modified: head/sys/

svn commit: r215437 - head/sys/boot/ofw/libofw

2010-11-17 Thread Andreas Tobler
Author: andreast Date: Wed Nov 17 19:31:48 2010 New Revision: 215437 URL: http://svn.freebsd.org/changeset/base/215437 Log: Move the declaration of the eh struct (used only when debugging is enabled) from ofwn_put into the debug section. Approved by: nwhitehorn (mentor) Modified: head

svn commit: r215438 - head/sys/boot/ofw/libofw

2010-11-17 Thread Andreas Tobler
Author: andreast Date: Wed Nov 17 19:35:56 2010 New Revision: 215438 URL: http://svn.freebsd.org/changeset/base/215438 Log: Check the real-mode? OF property to find out whether we operate in real or virtual mode. In virtual mode we have to do memory mapping. On PowerMacs it is usually false

svn commit: r215441 - head/sys/boot/powerpc/ofw

2010-11-17 Thread Andreas Tobler
Author: andreast Date: Wed Nov 17 20:37:16 2010 New Revision: 215441 URL: http://svn.freebsd.org/changeset/base/215441 Log: Revert r215435. We need to figure out the exact value to be loaded. Approved by: nwhitehorn (mentor) Modified: head/sys/boot/powerpc/ofw/start.c Modified: head/sy

svn commit: r215577 - head/sys/boot/ofw/libofw

2010-11-20 Thread Andreas Tobler
Author: andreast Date: Sat Nov 20 19:23:16 2010 New Revision: 215577 URL: http://svn.freebsd.org/changeset/base/215577 Log: Check the OF_getprop() return value before proceeding. Allocate only as much space as needed for the mode buffer. Use strcmp, relying on OF giving back NULL terminated

svn commit: r216360 - head/sys/dev/iicbus

2010-12-10 Thread Andreas Tobler
Author: andreast Date: Fri Dec 10 20:27:50 2010 New Revision: 216360 URL: http://svn.freebsd.org/changeset/base/216360 Log: On the Xserve G5 we find the LM75 instead of the DS1775. The core functionality is the same, a difference is that the DS1775 has a better precision than the LM75. But w

svn commit: r217027 - head/sys/powerpc/ofw

2011-01-05 Thread Andreas Tobler
Author: andreast Date: Wed Jan 5 21:38:02 2011 New Revision: 217027 URL: http://svn.freebsd.org/changeset/base/217027 Log: Fix null string handling in ofw_real_nextprop function. Pass the right length to ofw_real_map in case of a null string. This makes ofwdump(8) work correctly when trying

svn commit: r217065 - in head/sys/powerpc: aim cpufreq powermac

2011-01-06 Thread Andreas Tobler
Author: andreast Date: Thu Jan 6 20:19:01 2011 New Revision: 217065 URL: http://svn.freebsd.org/changeset/base/217065 Log: Remove unused variables. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) Modified: head/sys

svn commit: r217286 - head/sys/powerpc/powermac

2011-01-11 Thread Andreas Tobler
Author: andreast Date: Tue Jan 11 21:18:29 2011 New Revision: 217286 URL: http://svn.freebsd.org/changeset/base/217286 Log: Add new functions, fcu_fan_set_pwm and fcu_fan_get_pwm, to set and get the pwm values. We can now set the fan's speed of a PWM controlled fan with % numbers between 30

svn commit: r217451 - head/sys/powerpc/aim

2011-01-15 Thread Andreas Tobler
Author: andreast Date: Sat Jan 15 19:16:05 2011 New Revision: 217451 URL: http://svn.freebsd.org/changeset/base/217451 Log: Remove unused variables. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) Modified: head/sys

svn commit: r217452 - head/sys/dev/iicbus

2011-01-15 Thread Andreas Tobler
Author: andreast Date: Sat Jan 15 19:16:56 2011 New Revision: 217452 URL: http://svn.freebsd.org/changeset/base/217452 Log: Remove unused variable. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) Modified: head/sys/

svn commit: r217560 - head/sys/dev/iicbus

2011-01-18 Thread Andreas Tobler
Author: andreast Date: Tue Jan 18 21:47:30 2011 New Revision: 217560 URL: http://svn.freebsd.org/changeset/base/217560 Log: There are PowerMacs which do not have a hwsensor-location property for this sensor. Instead of leaving this location empty we use here the default name 'sensor'. S

svn commit: r217658 - head/sys/powerpc/powermac

2011-01-20 Thread Andreas Tobler
Author: andreast Date: Thu Jan 20 20:22:19 2011 New Revision: 217658 URL: http://svn.freebsd.org/changeset/base/217658 Log: Correct parsing of the grackle and uninorthpci ranges property. Approved by: nwhitehorn (mentor) Modified: head/sys/powerpc/powermac/grackle.c head/sys/powerpc/po

svn commit: r217659 - head/sys/powerpc/powermac

2011-01-20 Thread Andreas Tobler
Author: andreast Date: Thu Jan 20 20:23:03 2011 New Revision: 217659 URL: http://svn.freebsd.org/changeset/base/217659 Log: Remove unused variables. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) Modified: head/sys

Re: svn commit: r224216 - in head/sys: ia64/ia64 mips/mips powerpc/aim sparc64/sparc64

2011-07-25 Thread Andreas Tobler
On 24.07.11 23:35, Nathan Whitehorn wrote: On 07/19/11 07:41, Attilio Rao wrote: Author: attilio Date: Tue Jul 19 12:41:57 2011 New Revision: 224216 URL: http://svn.freebsd.org/changeset/base/224216 Log: On 64 bit architectures size_t is 8 bytes, thus it should use an 8 bytes storage.

svn commit: r224400 - head/sys/powerpc/aim

2011-07-25 Thread Andreas Tobler
Author: andreast Date: Mon Jul 25 20:10:01 2011 New Revision: 224400 URL: http://svn.freebsd.org/changeset/base/224400 Log: This a follow up commit from r224216 for powerpc 32-bit. Increase the storage size for sintrcnt/sintrnames to .long. Reviewed by: nwhitehorn Approved by: re (kib)

Re: svn commit: r224216 - in head/sys: ia64/ia64 mips/mips powerpc/aim sparc64/sparc64

2011-07-29 Thread Andreas Tobler
On 28.07.11 04:59, Attilio Rao wrote: I think that the following patch may better reflect the definition of size_t: http://www.freebsd.org/~attilio/sintrcnt-fixup32.diff Do you think you can test it out? PowerPC 32-bit built, booted and completed a buildworld. Thanks, Andreas ___

svn commit: r227586 - head/contrib/gcc/config/rs6000

2011-11-16 Thread Andreas Tobler
Author: andreast Date: Wed Nov 16 21:22:51 2011 New Revision: 227586 URL: http://svn.freebsd.org/changeset/base/227586 Log: Copy over the ASM_DECLARE_FUNCTION_SIZE macro from linux64.h. This macro declares the proper size of a function. Without this macro recent GNU as will complain about wi

svn commit: r227739 - in head: . contrib/binutils/ld/emulparams contrib/gcc/config/rs6000 contrib/llvm/tools/clang/lib/Driver gnu/usr.bin/binutils/ld sys/boot/ofw sys/boot/powerpc sys/boot/uboot

2011-11-19 Thread Andreas Tobler
Author: andreast Date: Sat Nov 19 19:25:57 2011 New Revision: 227739 URL: http://svn.freebsd.org/changeset/base/227739 Log: Rename the linker emulation name for powerpc and powerc64. This is needed that we can also use the upstream binutils linker where we have to have a unique name for the

svn commit: r338893 - head/share/mk

2018-09-22 Thread Andreas Tobler
Author: andreast Date: Sat Sep 22 20:58:43 2018 New Revision: 338893 URL: https://svnweb.freebsd.org/changeset/base/338893 Log: Set the default loader for powerpc(32- and 64-bit) back to to forth. There are some issues with the lua-loader. To be on the safe side, use a well known and working

Re: svn commit: r338486 - in head/libexec/rtld-elf: . aarch64 arm mips powerpc powerpc64 riscv

2018-09-23 Thread Andreas Tobler
Hi Brooks, On 06.09.18 01:23, Brooks Davis wrote: Author: brooks Date: Wed Sep 5 23:23:16 2018 New Revision: 338486 URL: https://svnweb.freebsd.org/changeset/base/338486 Log: Rework rtld's TLS Variant I implementation to match r326794 The above commit fixed handling overaligned TLS s

Re: svn commit: r338486 - in head/libexec/rtld-elf: . aarch64 arm mips powerpc powerpc64 riscv

2018-09-24 Thread Andreas Tobler
On 23.09.18 22:41, Andreas Tobler wrote: Hi Brooks, On 06.09.18 01:23, Brooks Davis wrote: Author: brooks Date: Wed Sep 5 23:23:16 2018 New Revision: 338486 URL: https://svnweb.freebsd.org/changeset/base/338486 Log: Rework rtld's TLS Variant I implementation to match r326794

svn commit: r338930 - head/libexec/rtld-elf/powerpc

2018-09-25 Thread Andreas Tobler
Author: andreast Date: Tue Sep 25 19:29:35 2018 New Revision: 338930 URL: https://svnweb.freebsd.org/changeset/base/338930 Log: Bring the 32-bit powerpc (PowerMac) back to live. The commit 338486 reworked some TLS bits. This broke operation on the PowerMac. Namely one could not login. At lo

Re: svn commit: r338930 - head/libexec/rtld-elf/powerpc

2018-09-27 Thread Andreas Tobler
On 27.09.18 20:48, Michael Tuexen wrote: On 25. Sep 2018, at 21:29, Andreas Tobler wrote: Author: andreast Date: Tue Sep 25 19:29:35 2018 New Revision: 338930 URL: https://svnweb.freebsd.org/changeset/base/338930 Log: Bring the 32-bit powerpc (PowerMac) back to live. The commit 338486

Re: svn commit: r338930 - head/libexec/rtld-elf/powerpc

2018-09-28 Thread Andreas Tobler
On 28.09.18 01:12, Konstantin Belousov wrote: On Thu, Sep 27, 2018 at 09:37:31PM +0200, Andreas Tobler wrote: On 27.09.18 20:48, Michael Tuexen wrote: On 25. Sep 2018, at 21:29, Andreas Tobler wrote: Author: andreast Date: Tue Sep 25 19:29:35 2018 New Revision: 338930 URL: https

svn commit: r339072 - head/libexec/rtld-elf/powerpc

2018-10-01 Thread Andreas Tobler
Author: andreast Date: Mon Oct 1 18:46:35 2018 New Revision: 339072 URL: https://svnweb.freebsd.org/changeset/base/339072 Log: This commit reverts 338930. The approach was wrong. Fix the issue with subtracting the TLS_TCB_SIZE too when we are trying to get the 'where' in the R_PPC_TPREL3

svn commit: r339173 - head/share/mk

2018-10-03 Thread Andreas Tobler
Author: andreast Date: Wed Oct 3 19:09:09 2018 New Revision: 339173 URL: https://svnweb.freebsd.org/changeset/base/339173 Log: Set the default loader for powerpc64 back to to forth too. The commit from r338893 covered only the powerpc build. Approved by: re (kib) Modified: head/share

Re: svn commit: r339350 - head/contrib/elftoolchain/elfcopy

2018-10-19 Thread Andreas Tobler
On 19.10.18 15:54, Gerald Pfeifer wrote: On Thu, 18 Oct 2018, Ed Maste wrote: I think this is probably the right approach, although I also have an ELF Tool Chain fix in D17596 which is waiting on the code freeze to end. I'm a little confused: This was broken most recently (as the mail bomb th

Re: svn commit: r306272 - head/sys/sys

2016-09-23 Thread Andreas Tobler
On 23.09.16 18:47, Mateusz Guzik wrote: Author: mjg Date: Fri Sep 23 16:47:12 2016 New Revision: 306272 URL: https://svnweb.freebsd.org/changeset/base/306272 Log: fd: hide fd_modified under CAPABILITIES It has no use without it and is now less error prone. Modified: head/sys/sys/filedesc

Re: svn commit: r306272 - head/sys/sys

2016-09-23 Thread Andreas Tobler
On 23.09.16 22:03, Mateusz Guzik wrote: On Fri, Sep 23, 2016 at 09:59:32PM +0200, Andreas Tobler wrote: On 23.09.16 18:47, Mateusz Guzik wrote: Author: mjg Date: Fri Sep 23 16:47:12 2016 New Revision: 306272 URL: https://svnweb.freebsd.org/changeset/base/306272 Log: fd: hide fd_modified

Re: svn commit: r313037 - in head/sys: amd64/include kern mips/include net powerpc/include sparc64/include

2017-02-04 Thread Andreas Tobler
On 04.02.17 07:27, Jason Harmening wrote: It's hard to argue with that:) I've backed it out until we can figure out what's going on. Sorry for the breakage. For the record, powerpc64 was also affected. Andreas On Fri, Feb 3, 2017 at 9:54 PM, Kurt Lidl mailto:l...@pix.net>> wrote: Havi

Re: svn commit: r313037 - in head/sys: amd64/include kern mips/include net powerpc/include sparc64/include

2017-02-04 Thread Andreas Tobler
On 04.02.17 20:54, Jason Harmening wrote: I suspect this broke rmlocks for mips because the rmlock implementation takes the address of the per-CPU pc_rm_queue when building tracker lists. That address may be later accessed from another CPU and will then translate to the wrong physical region if

Re: svn commit: r313037 - in head/sys: amd64/include kern mips/include net powerpc/include sparc64/include

2017-02-05 Thread Andreas Tobler
On 05.02.17 19:59, Jason Harmening wrote: Actually attaching the patch this time ( gmail client) On Sun, Feb 5, 2017 at 10:58 AM, Jason Harmening mailto:jason.harmen...@gmail.com>> wrote: Hmm, it's a good idea to consider the possibility of a barrier issue. It wouldn't be the first

  1   2   3   >