Re: svn commit: r286880 - head/sys/kern

2015-08-26 Thread Hans Petter Selasky
On 08/18/15 12:15, Julien Charbon wrote: Author: jch Date: Tue Aug 18 10:15:09 2015 New Revision: 286880 URL: https://svnweb.freebsd.org/changeset/base/286880 Log: callout_stop() should return 0 (fail) when the callout is currently being serviced and indeed unstoppable. A scenario to r

Re: svn commit: r286880 - head/sys/kern

2015-08-26 Thread Hans Petter Selasky
On 08/26/15 09:25, Hans Petter Selasky wrote: On 08/18/15 12:15, Julien Charbon wrote: Author: jch Date: Tue Aug 18 10:15:09 2015 New Revision: 286880 URL: https://svnweb.freebsd.org/changeset/base/286880 Log: callout_stop() should return 0 (fail) when the callout is currently being servi

svn commit: r287160 - head/sys/arm64/conf

2015-08-26 Thread Andrew Turner
Author: andrew Date: Wed Aug 26 10:32:23 2015 New Revision: 287160 URL: https://svnweb.freebsd.org/changeset/base/287160 Log: Add a above the virtio section. Modified: head/sys/arm64/conf/GENERIC Modified: head/sys/arm64/conf/GENERIC ==

svn commit: r287161 - head/sys/dev/mmc/host

2015-08-26 Thread Andrew Turner
Author: andrew Date: Wed Aug 26 10:54:14 2015 New Revision: 287161 URL: https://svnweb.freebsd.org/changeset/base/287161 Log: Only access the Samsung registers when targeting Samsung hardware. Sponsored by: ABT Systems Ltd Modified: head/sys/dev/mmc/host/dwmmc.c Modified: head/sys/dev/m

svn commit: r287162 - in head/sys: arm64/conf conf

2015-08-26 Thread Andrew Turner
Author: andrew Date: Wed Aug 26 11:36:23 2015 New Revision: 287162 URL: https://svnweb.freebsd.org/changeset/base/287162 Log: Add an option to select which SoCs we are building for. It is intended to be used with any SoC specific drivers, for example a ThunderX nic driver would use something

svn commit: r287163 - head/usr.bin/script

2015-08-26 Thread Sergey Kandaurov
Author: pluknet Date: Wed Aug 26 11:54:40 2015 New Revision: 287163 URL: https://svnweb.freebsd.org/changeset/base/287163 Log: Fix SEE ALSO. The history mechanism applies to csh. Sponsored by: Nginx, Inc. Modified: head/usr.bin/script/script.1 Modified: head/usr.bin/script/script.1

svn commit: r287164 - head/sys/arm64/arm64

2015-08-26 Thread Zbigniew Bodek
Author: zbb Date: Wed Aug 26 12:32:46 2015 New Revision: 287164 URL: https://svnweb.freebsd.org/changeset/base/287164 Log: Fix race condition in its_cmd_send() its_cmd_send() can be called by multiple CPUs simultaneously. After the command is pushed to ITS command ring the completion st

svn commit: r287165 - head/sys/dev/drm2/i915

2015-08-26 Thread Baptiste Daroussin
Author: bapt Date: Wed Aug 26 13:23:56 2015 New Revision: 287165 URL: https://svnweb.freebsd.org/changeset/base/287165 Log: Reduce diff on i915_dma.c against linux 3.8.13 No functional changes Discussed with: dumbbell Reviewed by: dumbbell Modified: head/sys/dev/drm2/i915/i

Re: svn commit: r286880 - head/sys/kern

2015-08-26 Thread Julien Charbon
Hi Hans, On 26/08/15 09:25, Hans Petter Selasky wrote: > On 08/18/15 12:15, Julien Charbon wrote: >> Author: jch >> Date: Tue Aug 18 10:15:09 2015 >> New Revision: 286880 >> URL: https://svnweb.freebsd.org/changeset/base/286880 >> >> Log: >>callout_stop() should return 0 (fail) when the call

svn commit: r287166 - head/sys/kern

2015-08-26 Thread George V. Neville-Neil
Author: gnn Date: Wed Aug 26 16:36:41 2015 New Revision: 287166 URL: https://svnweb.freebsd.org/changeset/base/287166 Log: Summary: Add the interactivity equations to the header comment for our interactivity calculation routine. Suggested by: rwatson Modified: head/sys/kern/sched_ule.c

svn commit: r287167 - head/share/mk

2015-08-26 Thread Warner Losh
Author: imp Date: Wed Aug 26 17:10:43 2015 New Revision: 287167 URL: https://svnweb.freebsd.org/changeset/base/287167 Log: After consultations with the arm community, don't define softfp for armv6. It's too ambiguous. We do use the softfp ABI for the moment on armv6, but we allow floating po

svn commit: r287168 - in head: sys/conf sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/contrib/dev/acpica/compon...

2015-08-26 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 26 17:13:47 2015 New Revision: 287168 URL: https://svnweb.freebsd.org/changeset/base/287168 Log: Merge ACPICA 20150818. Modified: head/sys/conf/files head/sys/contrib/dev/acpica/changes.txt head/sys/contrib/dev/acpica/common/adisasm.c head/sys/contrib/dev/acpi

svn commit: r287169 - in head/sys: arm64/conf conf

2015-08-26 Thread Andrew Turner
Author: andrew Date: Wed Aug 26 18:09:17 2015 New Revision: 287169 URL: https://svnweb.freebsd.org/changeset/base/287169 Log: Add the SOC_HISI_HI6220 option. This will be used to enable drivers for the HiSilicon hi6220 SoC used in the HiKey 96boards board. Sponsored by: ABT Systems Ltd M

Re: svn commit: r286880 - head/sys/kern

2015-08-26 Thread Julien Charbon
Hi Hans, On 26/08/15 10:12, Hans Petter Selasky wrote: > On 08/26/15 09:25, Hans Petter Selasky wrote: >> On 08/18/15 12:15, Julien Charbon wrote: >>> Author: jch >>> Date: Tue Aug 18 10:15:09 2015 >>> New Revision: 286880 >>> URL: https://svnweb.freebsd.org/changeset/base/286880 >>> >>> Log: >>

svn commit: r287170 - head

2015-08-26 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 26 18:22:59 2015 New Revision: 287170 URL: https://svnweb.freebsd.org/changeset/base/287170 Log: Belatedly add entries for libugidfw.so.4 to catch up with r284745. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

Re: svn commit: r286880 - head/sys/kern

2015-08-26 Thread Hans Petter Selasky
On 08/26/15 20:14, Julien Charbon wrote: Let say that if nobody screams until Friday 8/28, I will put back r284245 and revert this change_and_ I will make this case clear in the man page. Hi, If you can update the manual page about this special case for MPSAFE callouts only I presume, then

svn commit: r287171 - head/sys/dev/drm2/i915

2015-08-26 Thread Baptiste Daroussin
Author: bapt Date: Wed Aug 26 21:17:48 2015 New Revision: 287171 URL: https://svnweb.freebsd.org/changeset/base/287171 Log: Synchronize i915_reg.h with linux 3.8.13 version Keep a couple of old macros that will be removed lated when the rest of the code will be updated to 3.8.13 equivale

svn commit: r287172 - head/sys/dev/drm2

2015-08-26 Thread Baptiste Daroussin
Author: bapt Date: Wed Aug 26 21:31:04 2015 New Revision: 287172 URL: https://svnweb.freebsd.org/changeset/base/287172 Log: Add more DRM_* debug macros from linux 3.8.13 Modified: head/sys/dev/drm2/drmP.h Modified: head/sys/dev/drm2/drmP.h

svn commit: r287173 - head/sys/dev/drm2/i915

2015-08-26 Thread Baptiste Daroussin
Author: bapt Date: Wed Aug 26 21:33:43 2015 New Revision: 287173 URL: https://svnweb.freebsd.org/changeset/base/287173 Log: Reduce diff with linux 3.8.13 on i915_drv.c While here update the list of devices id to match the one in linux 3.8.13 Reviewed by: dumbbell Differential Revisi

svn commit: r287174 - head/sys/dev/drm2/i915

2015-08-26 Thread Baptiste Daroussin
Author: bapt Date: Wed Aug 26 21:35:16 2015 New Revision: 287174 URL: https://svnweb.freebsd.org/changeset/base/287174 Log: Reduce diff against linux 3.8 Reviewed by: dumbbell Differential Revision:https://reviews.freebsd.org/D3492 Modified: head/sys/dev/drm2/i915/i915_gem.c

Re: svn commit: r287174 - head/sys/dev/drm2/i915

2015-08-26 Thread Konstantin Belousov
On Wed, Aug 26, 2015 at 09:35:16PM +, Baptiste Daroussin wrote: > -static bool > +static inline bool > i915_gem_object_is_inactive(struct drm_i915_gem_object *obj) > { > - > - return !obj->active; > + return obj->gtt_space && !obj->active; Why is this correct ? ___

svn commit: r287175 - head/sys/dev/drm2/i915

2015-08-26 Thread Baptiste Daroussin
Author: bapt Date: Wed Aug 26 22:00:40 2015 New Revision: 287175 URL: https://svnweb.freebsd.org/changeset/base/287175 Log: backout a change that should not have crept in Modified: head/sys/dev/drm2/i915/i915_gem_context.c Modified: head/sys/dev/drm2/i915/i915_gem_context.c =

Re: svn commit: r287174 - head/sys/dev/drm2/i915

2015-08-26 Thread Baptiste Daroussin
On Thu, Aug 27, 2015 at 12:53:11AM +0300, Konstantin Belousov wrote: > On Wed, Aug 26, 2015 at 09:35:16PM +, Baptiste Daroussin wrote: > > -static bool > > +static inline bool > > i915_gem_object_is_inactive(struct drm_i915_gem_object *obj) > > { > > - > > - return !obj->active; > > + ret

Re: svn commit: r287174 - head/sys/dev/drm2/i915

2015-08-26 Thread Jean-Sébastien Pédron
On 26.08.2015 23:53, Konstantin Belousov wrote: > On Wed, Aug 26, 2015 at 09:35:16PM +, Baptiste Daroussin wrote: >> -static bool >> +static inline bool >> i915_gem_object_is_inactive(struct drm_i915_gem_object *obj) >> { >> - >> -return !obj->active; >> +return obj->gtt_space && !obj

svn commit: r287176 - head/sys/dev/drm2/i915

2015-08-26 Thread Baptiste Daroussin
Author: bapt Date: Wed Aug 26 22:09:12 2015 New Revision: 287176 URL: https://svnweb.freebsd.org/changeset/base/287176 Log: Back out a change which should not have been committed yet Modified: head/sys/dev/drm2/i915/i915_gem.c Modified: head/sys/dev/drm2/i915/i915_gem.c =

svn commit: r287177 - head/sys/dev/drm2/i915

2015-08-26 Thread Baptiste Daroussin
Author: bapt Date: Wed Aug 26 22:19:53 2015 New Revision: 287177 URL: https://svnweb.freebsd.org/changeset/base/287177 Log: Merge i915_emit_box_p and i915_emit_box as done in linux 3.8 Reviewed by: dumbbell Differential Revision:https://reviews.freebsd.org/D3495 Modified: head

svn commit: r287178 - head/usr.bin/sockstat

2015-08-26 Thread Michael Tuexen
Author: tuexen Date: Wed Aug 26 22:50:53 2015 New Revision: 287178 URL: https://svnweb.freebsd.org/changeset/base/287178 Log: Print the status on the first line of a socket description, not at the last one. This doesn't matter for TCP, but it does for the upcoming SCTP support. PR:

svn commit: r287179 - head/usr.bin/sockstat

2015-08-26 Thread Michael Tuexen
Author: tuexen Date: Wed Aug 26 22:52:18 2015 New Revision: 287179 URL: https://svnweb.freebsd.org/changeset/base/287179 Log: Remove a variable which is set but never used. PR: 201585 MFC after:3 weeks Modified: head/usr.bin/sockstat/sockstat.c Modified: head/usr.bin/soc

svn commit: r287181 - head/lib/libc/string

2015-08-26 Thread Xin LI
Author: delphij Date: Wed Aug 26 23:28:10 2015 New Revision: 287181 URL: https://svnweb.freebsd.org/changeset/base/287181 Log: Replace strndup with OpenBSD's implementation. MFC after:2 weeks Modified: head/lib/libc/string/strndup.c Modified: head/lib/libc/string/strndup.c =

svn commit: r287182 - head/usr.bin/sockstat

2015-08-26 Thread Michael Tuexen
Author: tuexen Date: Wed Aug 26 23:45:06 2015 New Revision: 287182 URL: https://svnweb.freebsd.org/changeset/base/287182 Log: Add SCTP support. PR: 201585 MFC after:3 weeks Modified: head/usr.bin/sockstat/sockstat.1 head/usr.bin/sockstat/sockstat.c Modified: head/usr.b

svn commit: r287183 - head/sys/kern

2015-08-26 Thread Warner Losh
Author: imp Date: Wed Aug 26 23:58:03 2015 New Revision: 287183 URL: https://svnweb.freebsd.org/changeset/base/287183 Log: When the kernel is compiled with INVARIANTS, export that as debug.invariants. Differential Revision: https://reviews.freebsd.org/D3488 MFC after: 3 days Modified:

Re: svn commit: r287174 - head/sys/dev/drm2/i915

2015-08-26 Thread Bjoern A. Zeeb
> On 26 Aug 2015, at 21:35 , Baptiste Daroussin wrote: > > Author: bapt > Date: Wed Aug 26 21:35:16 2015 > New Revision: 287174 > URL: https://svnweb.freebsd.org/changeset/base/287174 > > Log: > Reduce diff against linux 3.8 > > Reviewed by: dumbbell > Differential Revision: https://r

Re: svn commit: r287174 - head/sys/dev/drm2/i915

2015-08-26 Thread Bjoern A. Zeeb
> On 27 Aug 2015, at 00:23 , Bjoern A. Zeeb wrote: > > >> On 26 Aug 2015, at 21:35 , Baptiste Daroussin wrote: >> >> Author: bapt >> Date: Wed Aug 26 21:35:16 2015 >> New Revision: 287174 >> URL: https://svnweb.freebsd.org/changeset/base/287174 >> >> Log: >> Reduce diff against linux 3.8 >>

svn commit: r287185 - head/share/mk

2015-08-26 Thread Warner Losh
Author: imp Date: Thu Aug 27 01:52:45 2015 New Revision: 287185 URL: https://svnweb.freebsd.org/changeset/base/287185 Log: For each FOO in FILESLISTS, append the value of FOO.yes, sort, and remove duplicates. Modified: head/share/mk/bsd.files.mk Modified: head/share/mk/bsd.files.mk ===

svn commit: r287186 - head/share/mk

2015-08-26 Thread Warner Losh
Author: imp Date: Thu Aug 27 01:55:00 2015 New Revision: 287186 URL: https://svnweb.freebsd.org/changeset/base/287186 Log: Automatically append SUBDIR.yes to the SUBDIR variable, and remove duplicates. We cannot sort SUBDIR because many Makefiles have .WAIT in the list which is strongly orde

svn commit: r287187 - head/share/mk

2015-08-26 Thread Warner Losh
Author: imp Date: Thu Aug 27 02:59:48 2015 New Revision: 287187 URL: https://svnweb.freebsd.org/changeset/base/287187 Log: Make sys.mk more compatible with fmake by refraining from using :U modifiers. Differential Revision: https://reviews.freebsd.org/D3228 Modified: head/share/mk/sys.

Re: svn commit: r287006 - head/share/mk

2015-08-26 Thread Eric van Gyzen
On 8/21/15 2:51 PM, Warner Losh wrote: Author: imp Date: Fri Aug 21 19:51:19 2015 New Revision: 287006 URL: https://svnweb.freebsd.org/changeset/base/287006 Log: Document CFLAGS_NO_SIMD. Modified: head/share/mk/bsd.README Thank you. Eric ___

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

2015-08-26 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 27 03:44:06 2015 New Revision: 287188 URL: https://svnweb.freebsd.org/changeset/base/287188 Log: Use the macro definition for EXC_PGM_TRAP, instead of the magic number. Modified: head/sys/powerpc/powerpc/trap.c Modified: head/sys/powerpc/powerpc/trap.c

svn commit: r287189 - in head/sys: conf dev/mmc powerpc/mpc85xx

2015-08-26 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 27 03:47:56 2015 New Revision: 287189 URL: https://svnweb.freebsd.org/changeset/base/287189 Log: Fix freescale sdhc driver, and add it to the files list. Also, add it to the mmc DRIVER_MODULE attachment list. Modified: head/sys/conf/files.powerpc head/sys

svn commit: r287190 - head/sys/kern

2015-08-26 Thread Marcel Moolenaar
Author: marcel Date: Thu Aug 27 04:25:27 2015 New Revision: 287190 URL: https://svnweb.freebsd.org/changeset/base/287190 Log: An error of -1 from parse_mount() indicates that the specification was invalid. Don't trigger a mount failure (which by default means a panic), but instead just move

svn commit: r287191 - head/sys/dev/drm2

2015-08-26 Thread Baptiste Daroussin
Author: bapt Date: Thu Aug 27 05:27:18 2015 New Revision: 287191 URL: https://svnweb.freebsd.org/changeset/base/287191 Log: Fix typo in new macros Modified: head/sys/dev/drm2/drmP.h Modified: head/sys/dev/drm2/drmP.h ===

svn commit: r287192 - head/sys/dev/drm2

2015-08-26 Thread Baptiste Daroussin
Author: bapt Date: Thu Aug 27 05:39:32 2015 New Revision: 287192 URL: https://svnweb.freebsd.org/changeset/base/287192 Log: More fixes to the new macros Modified: head/sys/dev/drm2/drmP.h Modified: head/sys/dev/drm2/drmP.h =

svn commit: r287193 - head/usr.sbin/pkg

2015-08-26 Thread Xin LI
Author: delphij Date: Thu Aug 27 06:28:42 2015 New Revision: 287193 URL: https://svnweb.freebsd.org/changeset/base/287193 Log: Plug a possible memory leak. MFC after:2 weeks Modified: head/usr.sbin/pkg/dns_utils.c Modified: head/usr.sbin/pkg/dns_utils.c =