svn commit: r357161 - head/sys/dev/msk

2020-01-26 Thread Alexander Kabaev
Author: kan Date: Mon Jan 27 00:14:51 2020 New Revision: 357161 URL: https://svnweb.freebsd.org/changeset/base/357161 Log: Enter net epoch in msk_tick. One more instance of if_input being called outside of interrupt, by means of msk_handle_events. Differential Revision:

svn commit: r353011 - in head/usr.bin: killall split

2019-10-02 Thread Alexander Kabaev
Author: kan Date: Wed Oct 2 16:08:01 2019 New Revision: 353011 URL: https://svnweb.freebsd.org/changeset/base/353011 Log: Revert r352953: Convert pnmatch to single element array in regexec calls Requested by: cem Modified: head/usr.bin/killall/killall.c head/usr.bin/split/split.c

svn commit: r352953 - in head/usr.bin: killall split

2019-10-02 Thread Alexander Kabaev
Author: kan Date: Wed Oct 2 06:15:30 2019 New Revision: 352953 URL: https://svnweb.freebsd.org/changeset/base/352953 Log: Convert pnmatch to single element array in regexec calls The regexec function is declared as taking an array of regmatch_t elements, and passing in the pointer to

svn commit: r327173 - in head/sys: arm/allwinner arm/allwinner/clk arm/arm arm/broadcom/bcm2835 arm64/arm64 cam/ata cam/scsi dev/al_eth dev/axgbe dev/e1000 dev/extres/clk dev/extres/regulator dev/f...

2017-12-24 Thread Alexander Kabaev
Author: kan Date: Mon Dec 25 04:48:39 2017 New Revision: 327173 URL: https://svnweb.freebsd.org/changeset/base/327173 Log: Do pass removing some write-only variables from the kernel. This reduces noise when kernel is compiled by newer GCC versions, such as one used by external toolchain

svn commit: r327163 - head/usr.sbin/efibootmgr

2017-12-24 Thread Alexander Kabaev
Author: kan Date: Sun Dec 24 16:39:57 2017 New Revision: 327163 URL: https://svnweb.freebsd.org/changeset/base/327163 Log: Remove write-only opt and useless optlen variables. This squashes the warning gebnerated by GCC 6.x. Since variables that are now removed had come documentation

svn commit: r327114 - head/sys/kern

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 17:55:19 2017 New Revision: 327114 URL: https://svnweb.freebsd.org/changeset/base/327114 Log: Reverse the check to allocate the buffer if cached pointer is NULL. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D13596 Modified:

svn commit: r327113 - head/sys/kern

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:49:57 2017 New Revision: 327113 URL: https://svnweb.freebsd.org/changeset/base/327113 Log: Remove dead store to local variable. Modified: head/sys/kern/kern_shutdown.c Modified: head/sys/kern/kern_shutdown.c

svn commit: r327112 - head/sys/netinet6

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:45:26 2017 New Revision: 327112 URL: https://svnweb.freebsd.org/changeset/base/327112 Log: Silence clang analyzer false positive. clang does not know that two lookup calls will return the same pointer, so it assumes correctly that using the old pointer

svn commit: r327111 - head/sys/net

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:45:24 2017 New Revision: 327111 URL: https://svnweb.freebsd.org/changeset/base/327111 Log: Do not pass NULL pointer to copyout in if_clone_list. Sometimes caller is only interested in how many clones are there and NULL pointer is passed for the destination

svn commit: r327109 - head/sys/net

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:24:00 2017 New Revision: 327109 URL: https://svnweb.freebsd.org/changeset/base/327109 Log: Remove some trailing whitespace. Reviewed by: glebius, ae Differential Revision: https://reviews.freebsd.org/D10386 Modified: head/sys/net/if_clone.c Modified:

svn commit: r327108 - head/sys/net

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:23:58 2017 New Revision: 327108 URL: https://svnweb.freebsd.org/changeset/base/327108 Log: Do not double free the memory in if_clone. if_clone_attach function will drop the reference on failure which will free the if_clone structure. No need to do it

svn commit: r327110 - head/sys/ufs/ffs

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:24:02 2017 New Revision: 327110 URL: https://svnweb.freebsd.org/changeset/base/327110 Log: Remove dead initialization of the inode pointer. The pointer gets initialized again later in the code. This also improves code style(9). Modified:

svn commit: r316757 - in head/sys: arm/arm arm64/arm64

2017-04-13 Thread Alexander Kabaev
Author: kan Date: Thu Apr 13 14:23:27 2017 New Revision: 316757 URL: https://svnweb.freebsd.org/changeset/base/316757 Log: Use proper fields to check for interrupt trigger mode. Modified: head/sys/arm/arm/gic.c head/sys/arm64/arm64/gic_v3.c Modified: head/sys/arm/arm/gic.c

svn commit: r316649 - head/lib/libz

2017-04-08 Thread Alexander Kabaev
Author: kan Date: Sun Apr 9 03:50:48 2017 New Revision: 316649 URL: https://svnweb.freebsd.org/changeset/base/316649 Log: Add missing double quote to fix r316635 commit. Modified: head/lib/libz/Makefile Modified: head/lib/libz/Makefile

svn commit: r316625 - in head: share/mk sys/boot/efi sys/boot/efi/boot1 sys/boot/efi/fdt sys/boot/efi/libefi sys/boot/efi/loader/arch/arm64

2017-04-07 Thread Alexander Kabaev
Author: kan Date: Fri Apr 7 22:58:25 2017 New Revision: 316625 URL: https://svnweb.freebsd.org/changeset/base/316625 Log: Do not use -msoft-float with intention of disabling FP on aarch64 GNU GCC does does recognise it as a valid option and we already use -mgeneral-regs-only that has

svn commit: r316627 - head/usr.sbin/acpi/acpiconf

2017-04-07 Thread Alexander Kabaev
Author: kan Date: Fri Apr 7 22:58:31 2017 New Revision: 316627 URL: https://svnweb.freebsd.org/changeset/base/316627 Log: Use int to receive the return value of getopt function. getopt returns int and not char, so assigning the value to char is not ideal, especially on platforms with

svn commit: r316624 - head/lib/libc/aarch64

2017-04-07 Thread Alexander Kabaev
Author: kan Date: Fri Apr 7 22:58:20 2017 New Revision: 316624 URL: https://svnweb.freebsd.org/changeset/base/316624 Log: Do not use b.cs instruction to jump to cerror. The conditional jump can only be performed to targets up to 1MB in either direction and does not work too well when

svn commit: r316628 - head/sys/boot/efi/boot1

2017-04-07 Thread Alexander Kabaev
Author: kan Date: Fri Apr 7 22:58:34 2017 New Revision: 316628 URL: https://svnweb.freebsd.org/changeset/base/316628 Log: Silence GCC warning by initializing the local variable. GCC 6.3 is unable to trace all code paths that lead to this variable being left uninitialized and correlate

svn commit: r316626 - head/sys/arm64/include

2017-04-07 Thread Alexander Kabaev
Author: kan Date: Fri Apr 7 22:58:28 2017 New Revision: 316626 URL: https://svnweb.freebsd.org/changeset/base/316626 Log: Define 'lr' as x30 on aarch64 GNU toolchain does not recognize LR as standard register alias, but clang does. Use of #define will work on both. Place the

svn commit: r315338 - head/sys/mips/cavium

2017-03-15 Thread Alexander Kabaev
Author: kan Date: Thu Mar 16 00:49:59 2017 New Revision: 315338 URL: https://svnweb.freebsd.org/changeset/base/315338 Log: Add cavium octeon 'bootoctlinux' boot argument support While there, parse u-boot provided command line arguments for supported switches and update boothowto

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

2017-02-06 Thread Alexander Kabaev
Author: kan Date: Mon Feb 6 14:00:28 2017 New Revision: 313341 URL: https://svnweb.freebsd.org/changeset/base/313341 Log: Use 64bit store instruction in atomic_fcmpset_64. Reported by: br Modified: head/sys/mips/include/atomic.h Modified: head/sys/mips/include/atomic.h

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

2017-02-04 Thread Alexander Kabaev
ue is a cyclic list consisting of just one element pc_rm_queue, the loop terminating condition will never be met, as >pc_rm_qeue value will be very different from the one that pc->pc_rm_queue.rmq_next was set at initialisation time. This affects MIPS in SMP configuration only, UP con

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

2017-02-03 Thread Alexander Kabaev
rations using cpu_to_cpuid array. I therefore officially am requesting this change to be reverted until reasonable solution is found to unbreak architectures that use wired TLBs to access local per-CPU data. -- Alexander Kabaev pgpfUhLU9V2ah.pgp Description: Цифровая подпись OpenPGP

Re: svn commit: r313040 - head/sys/mips/include

2017-02-01 Thread Alexander Kabaev
t on why one behavior is more desired than other? I am not against the change, but I need to understand the reasoning behind it better. Since atomic_cmpset retries too, it will have to be adjusted as well. -- Alexander Kabaev pgpzgDy6O5ezk.pgp Description: Цифровая подпись OpenPGP

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

2017-01-31 Thread Alexander Kabaev
Author: kan Date: Wed Feb 1 05:00:34 2017 New Revision: 313040 URL: https://svnweb.freebsd.org/changeset/base/313040 Log: Add atomic_fcmpset_*() inlines for MIPS atomic_fcmpset_*() is analogous to atomic_cmpset(), but saves off the read value from the target memory location into the

svn commit: r312858 - stable/11/sys/dev/nand

2017-01-26 Thread Alexander Kabaev
Author: kan Date: Fri Jan 27 03:44:50 2017 New Revision: 312858 URL: https://svnweb.freebsd.org/changeset/base/312858 Log: MFC r311993: Fix typo in r311971 and now in r312405 too. Modified: stable/11/sys/dev/nand/nand_geom.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r311993 - head/sys/dev/nand

2017-01-12 Thread Alexander Kabaev
Author: kan Date: Thu Jan 12 18:05:12 2017 New Revision: 311993 URL: https://svnweb.freebsd.org/changeset/base/311993 Log: Fix typo in r311971. Reported by: ohartmann at walstatt.org Modified: head/sys/dev/nand/nand_geom.c Modified: head/sys/dev/nand/nand_geom.c

svn commit: r311463 - head/sys/mips/ingenic

2017-01-05 Thread Alexander Kabaev
Author: kan Date: Fri Jan 6 00:07:36 2017 New Revision: 311463 URL: https://svnweb.freebsd.org/changeset/base/311463 Log: Remove redundant cache initialization in JZ4780 SMP startup code This was done out of pure paranoia when hunting for bugs in cache and is not really required.

svn commit: r311458 - in head/sys/boot/mips/beri: boot2 common loader

2017-01-05 Thread Alexander Kabaev
Author: kan Date: Thu Jan 5 19:17:14 2017 New Revision: 311458 URL: https://svnweb.freebsd.org/changeset/base/311458 Log: Use compiler driver to link BERI boot loaders Do not hardcode elf64-tradbigmips as output format in BERI linker scrips. Unfortunately, in-tree toolchain and external

svn commit: r311299 - head/sys/mips/conf

2017-01-04 Thread Alexander Kabaev
Author: kan Date: Wed Jan 4 18:36:30 2017 New Revision: 311299 URL: https://svnweb.freebsd.org/changeset/base/311299 Log: Remove duplicate iic and iicbus devices from JZ4780 kernel Modified: head/sys/mips/conf/JZ4780 Modified: head/sys/mips/conf/JZ4780

svn commit: r310829 - head/sys/conf

2016-12-30 Thread Alexander Kabaev
Author: kan Date: Fri Dec 30 17:12:41 2016 New Revision: 310829 URL: https://svnweb.freebsd.org/changeset/base/310829 Log: Restore status quo: mips64 does not need subr_sfbuf.c Reported by: br Modified: head/sys/conf/files.mips Modified: head/sys/conf/files.mips

Re: svn commit: r310789 - head/lib/libpam/static_libpam

2016-12-29 Thread Alexander Kabaev
ly operation with compile+link as you suggest. It feeds .o file to to the compiler driver which then invokes ld with all the correct parameters for the target object format. -- Alexander Kabaev pgpy3RvvpdUjZ.pgp Description: Цифровая подпись OpenPGP

svn commit: r310794 - in head/sys: conf mips/conf

2016-12-29 Thread Alexander Kabaev
Author: kan Date: Fri Dec 30 00:34:52 2016 New Revision: 310794 URL: https://svnweb.freebsd.org/changeset/base/310794 Log: Support mips[*]hf variants in config files Recognize new MACHINE_ARCH names now as we have added hardfloat support. Switch JZ4780 to mipselhf and remove all uses of

svn commit: r310790 - head/sys/conf

2016-12-29 Thread Alexander Kabaev
Author: kan Date: Thu Dec 29 21:36:04 2016 New Revision: 310790 URL: https://svnweb.freebsd.org/changeset/base/310790 Log: Use TARGET_ARCH instead of MACHINE_ARCH for MIPS kernel MACHINE_ARCH is overwritten by config file and will not contain -hf suffix, so uname -p reported by kernel

svn commit: r310789 - head/lib/libpam/static_libpam

2016-12-29 Thread Alexander Kabaev
Author: kan Date: Thu Dec 29 21:30:52 2016 New Revision: 310789 URL: https://svnweb.freebsd.org/changeset/base/310789 Log: Use compiler driver to build relocatable object This works better with external toolchains where LD will not necessarily defailt to emulation we want. Compiler

svn commit: r310784 - head/sys/mips/mips

2016-12-29 Thread Alexander Kabaev
Author: kan Date: Thu Dec 29 20:11:50 2016 New Revision: 310784 URL: https://svnweb.freebsd.org/changeset/base/310784 Log: Use mips_dcache_wbinv_range instead of mips_dcache_wb_range on CPU_XBURST Ingenic CPUs treat plain cache writeback as local-only operation and do nothing if that is

svn commit: r310722 - head/sys/mips/ingenic

2016-12-28 Thread Alexander Kabaev
Author: kan Date: Wed Dec 28 19:40:59 2016 New Revision: 310722 URL: https://svnweb.freebsd.org/changeset/base/310722 Log: Do not use read-modify-write on MSC control register. The register is write-only, so just write only bits we want. Submitted by: jmcneill Modified:

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

2016-12-28 Thread Alexander Kabaev
Author: kan Date: Wed Dec 28 13:48:00 2016 New Revision: 310700 URL: https://svnweb.freebsd.org/changeset/base/310700 Log: Be more conservative when enabling write-combining on MIPS Some MIPS revisions do implement uncached-accelerate caching attribute, but place extra requirement on

Re: svn commit: r310650 - in head/sys/mips: include mips

2016-12-28 Thread Alexander Kabaev
. I committed change that does not map UA to WC unconditionally and will let people who need write combining to enable it on a case by case basis. For now, only Ingenic XBursts are doing so as these are ones I have tested. -- Alexander Kabaev pgpYq0r3kEHcY.pgp Description: Цифровая подпись OpenPGP

svn commit: r310650 - in head/sys/mips: include mips

2016-12-27 Thread Alexander Kabaev
Author: kan Date: Wed Dec 28 02:55:26 2016 New Revision: 310650 URL: https://svnweb.freebsd.org/changeset/base/310650 Log: Implement pmap_change_attr and related APIs on MIPS On platforms that have uncached-accelerate cache attribute, map it to VM_MEMATTR_WRITE_COMBINING. Otherwise,

svn commit: r310493 - head/sys/mips/ingenic

2016-12-23 Thread Alexander Kabaev
@@ +/*- + * Copyright 2016 Alexander Kabaev <k...@freebsd.org> + * 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 cop

svn commit: r310486 - head/sys/mips/ingenic

2016-12-23 Thread Alexander Kabaev
Author: kan Date: Fri Dec 23 19:30:14 2016 New Revision: 310486 URL: https://svnweb.freebsd.org/changeset/base/310486 Log: Pass memattrs to fb device so that user mappings can inherit them Reviewed by: jmcneill Modified: head/sys/mips/ingenic/jz4780_lcd.c Modified:

svn commit: r308872 - head/sys/mips/ingenic

2016-11-19 Thread Alexander Kabaev
Author: kan Date: Sun Nov 20 01:59:22 2016 New Revision: 308872 URL: https://svnweb.freebsd.org/changeset/base/308872 Log: Use ofw_gpiobus instead of plain gpiobus for CI20 Requesed by: mmel Modified: head/sys/mips/ingenic/jz4780_gpio.c Modified: head/sys/mips/ingenic/jz4780_gpio.c

svn commit: r308807 - in head/sys: conf mips/include

2016-11-18 Thread Alexander Kabaev
Author: kan Date: Fri Nov 18 16:23:31 2016 New Revision: 308807 URL: https://svnweb.freebsd.org/changeset/base/308807 Log: Subject: [PATCH] Pass MACHINE_ARCH on command line for MIPS kernels. While there, make param.h guess proper MACHINE_ARCH on hardfloat targets correctly as well, so

svn commit: r308713 - head/sys/conf

2016-11-15 Thread Alexander Kabaev
Author: kan Date: Wed Nov 16 03:24:20 2016 New Revision: 308713 URL: https://svnweb.freebsd.org/changeset/base/308713 Log: Compile trampoline with soft-float on MIPS, to match the rest of the kernel Core kernel is always compiled with -msoft-float on all of our platforms, make sure we

svn commit: r308712 - head/lib/csu/mips

2016-11-15 Thread Alexander Kabaev
Author: kan Date: Wed Nov 16 03:21:49 2016 New Revision: 308712 URL: https://svnweb.freebsd.org/changeset/base/308712 Log: Make MIPS startup assembly files use neutral float ABI. This allows these files to be used with hard and softfloat targets with no special flags passed to the

svn commit: r308711 - head/share/mk

2016-11-15 Thread Alexander Kabaev
Author: kan Date: Wed Nov 16 03:19:36 2016 New Revision: 308711 URL: https://svnweb.freebsd.org/changeset/base/308711 Log: Set endianness and floating point flags explicitly for MIPS targets The tree can be build with an external toolchain that will not necessarily default to desired

Re: svn commit: r302350 - in head: share/man/man9 sys/kern sys/sys

2016-07-08 Thread Alexander Kabaev
ike if (callout_stop(>lle_timer) > 0) LLE_REMREF(lle); This results in panics as described in: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210884 -- Alexander Kabaev pgpVCFBQ1YtV4.pgp Description: Цифровая подпись OpenPGP

Re: svn commit: r301849 - head/sys/mips/mips

2016-06-13 Thread Alexander Kabaev
ommit/5735b8108c8831a5a649815318391789e977a198 is a bit more complete version that only enables hardfloat in routines that need it, not in random place of the file and for the rest of it. -- Alexander Kabaev pgpc4ovEuZDdH.pgp Description: Цифровая подпись OpenPGP

svn commit: r299034 - head/sys/dev/nvram2env

2016-05-03 Thread Alexander Kabaev
Author: kan Date: Wed May 4 01:56:37 2016 New Revision: 299034 URL: https://svnweb.freebsd.org/changeset/base/299034 Log: Fix nvram2env after bus_space_fdt removal. The generic bus space does the mapping now, no need to pre-translate phys addresses to KSEG1 anymore. Submitted by:

svn commit: r297329 - head/sys/dev/mmc

2016-03-27 Thread Alexander Kabaev
Author: kan Date: Sun Mar 27 23:19:21 2016 New Revision: 297329 URL: https://svnweb.freebsd.org/changeset/base/297329 Log: Use correct response bits for MMC_RSP_R4-R7 types Modified: head/sys/dev/mmc/mmcreg.h Modified: head/sys/dev/mmc/mmcreg.h

svn commit: r297327 - head/libexec/dma

2016-03-27 Thread Alexander Kabaev
Author: kan Date: Sun Mar 27 23:19:14 2016 New Revision: 297327 URL: https://svnweb.freebsd.org/changeset/base/297327 Log: Do not override top level CFLAGS in libexec/dma Modified: head/libexec/dma/Makefile.inc Modified: head/libexec/dma/Makefile.inc

svn commit: r297328 - head/sys/dev/extres/clk

2016-03-27 Thread Alexander Kabaev
Author: kan Date: Sun Mar 27 23:19:20 2016 New Revision: 297328 URL: https://svnweb.freebsd.org/changeset/base/297328 Log: Do nothing if requested clk frequency is already correct. Reviewed by: mmel Modified: head/sys/dev/extres/clk/clk.c Modified: head/sys/dev/extres/clk/clk.c

Re: svn commit: r296138 - in head/sys: arm/arm arm/include kern sys

2016-02-27 Thread Alexander Kabaev
optionally? > > Nope, mips shares no IPI code with ARM and probably shouldn't too, since IPI delivery and mapping between IPI types and IRQs are very platform specific. -- Alexander Kabaev pgpKO5YnTbuKk.pgp Description: Цифровая подпись OpenPGP

svn commit: r294936 - head/libexec/rtld-elf

2016-01-27 Thread Alexander Kabaev
Author: kan Date: Wed Jan 27 20:20:37 2016 New Revision: 294936 URL: https://svnweb.freebsd.org/changeset/base/294936 Log: Do not unlock rtld_phdr_lock over callback invocations. The dl_iterate_phdr consumer code in libgcc does not expect multiple callbacks running concurrently. This was

svn commit: r294935 - head/gnu/lib/libgcc

2016-01-27 Thread Alexander Kabaev
Author: kan Date: Wed Jan 27 20:20:35 2016 New Revision: 294935 URL: https://svnweb.freebsd.org/changeset/base/294935 Log: Make .debug file for libgcc_s.so.1 more useful. The files compiled into libgcc_s.so.1 did not have -g on compiler command line, making generated .debug quite

Re: svn commit: r294936 - head/libexec/rtld-elf

2016-01-27 Thread Alexander Kabaev
On Wed, 27 Jan 2016 20:20:37 + (UTC) Alexander Kabaev <k...@freebsd.org> wrote: > Author: kan > Date: Wed Jan 27 20:20:37 2016 > New Revision: 294936 > URL: https://svnweb.freebsd.org/changeset/base/294936 > > Log: > Do not unlock rtld_phdr_loc

Re: svn commit: r294470 - head/libexec/rtld-elf

2016-01-26 Thread Alexander Kabaev
On Sat, 23 Jan 2016 12:00:23 + Antoine Brodin <anto...@freebsd.org> wrote: > On Thu, Jan 21, 2016 at 11:36 PM, Alexander Kabaev <kab...@gmail.com> > wrote: > > On Thu, 21 Jan 2016 22:20:12 +0100 > > Antoine Brodin <anto...@freebsd.org> wrote: > &g

Re: svn commit: r294470 - head/libexec/rtld-elf

2016-01-21 Thread Alexander Kabaev
On Thu, 21 Jan 2016 22:20:12 +0100 Antoine Brodin <anto...@freebsd.org> wrote: > On Thu, Jan 21, 2016 at 12:26 AM, Alexander Kabaev <k...@freebsd.org> > wrote: > > Author: kan > > Date: Wed Jan 20 23:26:35 2016 > > New Revision: 294470 > > URL: https:

svn commit: r294470 - head/libexec/rtld-elf

2016-01-20 Thread Alexander Kabaev
Author: kan Date: Wed Jan 20 23:26:35 2016 New Revision: 294470 URL: https://svnweb.freebsd.org/changeset/base/294470 Log: Fix initlist_add_object invocation parameters. The tail parameter should point to the last object for which dependencies should be processed. In most cases, this

Re: svn commit: r289728 - head

2015-10-21 Thread Alexander Kabaev
AN} > .endif > .if defined(NO_CLEANDIR) For some definition of 'correct'. It definitely is not for those who have -DNOCLEAN wired into their finger memory and above mentioned decade did not help with that any. I think some of the common spellings were left as is in great NO_ revolution fo

svn commit: r289075 - head/libexec/rtld-elf/powerpc64

2015-10-09 Thread Alexander Kabaev
Author: kan Date: Fri Oct 9 18:39:52 2015 New Revision: 289075 URL: https://svnweb.freebsd.org/changeset/base/289075 Log: Remove some trailing space. Modified: head/libexec/rtld-elf/powerpc64/reloc.c Modified: head/libexec/rtld-elf/powerpc64/reloc.c

svn commit: r289076 - in head/contrib/elftoolchain: common readelf

2015-10-09 Thread Alexander Kabaev
Author: kan Date: Fri Oct 9 18:39:55 2015 New Revision: 289076 URL: https://svnweb.freebsd.org/changeset/base/289076 Log: Add definitions for MIPS TLS relocations to elftoolchain. This makes our readelf more useful when looking for TLS-related issues. Modified:

Re: svn commit: r287358 - head

2015-09-02 Thread Alexander Kabaev
On Wed, 2 Sep 2015 16:20:34 +0300 Gleb Smirnoff <gleb...@freebsd.org> wrote: > On Wed, Sep 02, 2015 at 09:08:25AM -0400, Alexander Kabaev wrote: > A> > > A> > Does that happen to you, or do you just suppose that this is > A> > going to happen looking at the c

Re: svn commit: r287358 - head

2015-09-02 Thread Alexander Kabaev
On Wed, 2 Sep 2015 16:20:34 +0300 Gleb Smirnoff <gleb...@freebsd.org> wrote: > On Wed, Sep 02, 2015 at 09:08:25AM -0400, Alexander Kabaev wrote: > A> > A> > Modi

Re: svn commit: r287358 - head

2015-09-02 Thread Alexander Kabaev
On Wed, 02 Sep 2015 16:57:01 +0300 Alexander Motin <mav...@gmail.com> wrote: > On 02.09.2015 16:36, Alexander Kabaev wrote: > > On Wed, 2 Sep 2015 16:20:34 +0300 > > Gleb Smirnoff <gleb...@freebsd.org> wrote: > > > >> On Wed, Sep 02, 2015 a

Re: svn commit: r287358 - head

2015-09-02 Thread Alexander Kabaev
On Wed, 2 Sep 2015 15:50:24 +0300 Gleb Smirnoff <gleb...@freebsd.org> wrote: > Alexander, > > On Tue, Sep 01, 2015 at 10:44:38PM -0400, Alexander Kabaev wrote: > A> On Tue, 1 Sep 2015 11:59:12 + (UTC) > A> > Log: > A> > Not only

Re: svn commit: r287358 - head

2015-09-01 Thread Alexander Kabaev
or > > distributekernel distributekernel.debug: > .if empty(INSTALLKERNEL) This is probably not doing what you think it is doing. Now, when installing my kernel, built from config file , I get it installed into /boot/kernel, which is good and normal, and I get an extra and highly undesi

svn commit: r287204 - head/usr.bin/vi/catalog

2015-08-27 Thread Alexander Kabaev
Author: kan Date: Thu Aug 27 14:00:16 2015 New Revision: 287204 URL: https://svnweb.freebsd.org/changeset/base/287204 Log: Unbreak nvi message catalog generation for 8 bit locales. Feeding any file encoded in 8 bit locales such as KOI8-RU to sort utility running under UTF-8 locale

svn commit: r287206 - head/sys/sys

2015-08-27 Thread Alexander Kabaev
Author: kan Date: Thu Aug 27 14:00:23 2015 New Revision: 287206 URL: https://svnweb.freebsd.org/changeset/base/287206 Log: Repair sys/cdefs.h enough to be usable with GCC 5.x The __alloc_size and __alloc_align need to be defined to nothingness for lint, but the existing check is

svn commit: r287205 - head/contrib/ncurses/ncurses/base

2015-08-27 Thread Alexander Kabaev
Author: kan Date: Thu Aug 27 14:00:20 2015 New Revision: 287205 URL: https://svnweb.freebsd.org/changeset/base/287205 Log: Make ncurses build with GCC 5.0 and up Merge the end result of two upstream changes: Original fix from 20141206: + modify MKlib_gen.sh to work around change

Re: svn commit: r285910 - in head: lib/libc/sys sys/kern sys/sys

2015-08-09 Thread Alexander Kabaev
On Sun, 9 Aug 2015 09:37:13 +0200 Ed Schouten e...@nuxi.nl wrote: Hi Alexander, 2015-08-08 21:05 GMT+02:00 Alexander Kabaev kab...@gmail.com: this commit broke more than just syslogd. rtsol and rtsold both are victims of the change as they are trying to shutdown unconnected raw sockets

Re: svn commit: r285910 - in head: lib/libc/sys sys/kern sys/sys

2015-08-08 Thread Alexander Kabaev
, this commit broke more than just syslogd. rtsol and rtsold both are victims of the change as they are trying to shutdown unconnected raw sockets to make then 'send-only' and fail. -- Alexander Kabaev pgpwl4d037HQo.pgp Description: OpenPGP digital signature

Re: svn commit: r285284 - head/lib/liblzma

2015-07-08 Thread Alexander Kabaev
. Thanks, -adrian IIRC, FreeBSD's internal GCC defines __FreeBSD_cc_version, while stock one does not. -- Alexander Kabaev pgph8eGhdprQc.pgp Description: OpenPGP digital signature

svn commit: r284494 - head/bin/ls

2015-06-16 Thread Alexander Kabaev
Author: kan Date: Wed Jun 17 04:26:48 2015 New Revision: 284494 URL: https://svnweb.freebsd.org/changeset/base/284494 Log: Continue ubreaking ``env LANG=ru_RU.KOI8-R ls -l''. File names are in current locale as well. Modified: head/bin/ls/print.c Modified: head/bin/ls/print.c

Re: svn commit: r284489 - head/bin/ls

2015-06-16 Thread Alexander Kabaev
); + xo_emit({dk:name/%hs}, name); -- Alexander Kabaev pgpww0IEEcOez.pgp Description: OpenPGP digital signature

svn commit: r284340 - head/contrib/libxo/libxo

2015-06-13 Thread Alexander Kabaev
Author: kan Date: Sat Jun 13 15:14:39 2015 New Revision: 284340 URL: https://svnweb.freebsd.org/changeset/base/284340 Log: Unbreak libxo's handling of characters not representable in current locale The xo_format_string_direct function loops forever never advancing the processed string

Re: svn commit: r284198 - head/bin/ls

2015-06-12 Thread Alexander Kabaev
? -- Alexander Kabaev pgpzkVIZZnztp.pgp Description: OpenPGP digital signature

Re: svn commit: r284198 - head/bin/ls

2015-06-12 Thread Alexander Kabaev
On Fri, 12 Jun 2015 20:43:09 -0400 Alexander Kabaev kab...@gmail.com wrote: On Wed, 10 Jun 2015 01:27:39 + (UTC) Marcel Moolenaar mar...@freebsd.org wrote: Author: marcel Date: Wed Jun 10 01:27:38 2015 New Revision: 284198 URL: https://svnweb.freebsd.org/changeset/base/284198

Re: svn commit: r282971 - in head/sys: kern sys

2015-05-20 Thread Alexander Kabaev
On Wed, 20 May 2015 09:54:45 -0700 Matthew Ahrens m...@mahrens.org wrote: On Wed, May 20, 2015 at 9:00 AM, Alexander Kabaev kab...@gmail.com wrote: On Fri, 15 May 2015 13:50:38 + (UTC) John Baldwin j...@freebsd.org wrote: Author: jhb Date: Fri May 15 13:50:37 2015 New

Re: svn commit: r281280 - head/sys/dev/nvme

2015-04-08 Thread Alexander Kabaev
approach than what we have here, would you consider it? -- Alexander Kabaev pgp6xiNIrRWfM.pgp Description: OpenPGP digital signature

svn commit: r279412 - head/sys/fs/nandfs

2015-02-28 Thread Alexander Kabaev
Author: kan Date: Sat Feb 28 22:24:45 2015 New Revision: 279412 URL: https://svnweb.freebsd.org/changeset/base/279412 Log: Do not leak 'copy' buffer if bmap_truncate_indirect fails. Reported by: Brainy Code Scanner, by Maxime Villard. MFC after: 2 weeks Modified:

svn commit: r279405 - head/sys/nfs

2015-02-28 Thread Alexander Kabaev
Author: kan Date: Sat Feb 28 20:30:29 2015 New Revision: 279405 URL: https://svnweb.freebsd.org/changeset/base/279405 Log: Avoid closing unallocated socket in case socreate fails. Found by: Brainy Code Scanner Reported by: Maxime Villard m...@m00nbsd.net MFC after: 2 weeks Modified:

svn commit: r279404 - head/lib/libc/iconv

2015-02-28 Thread Alexander Kabaev
Author: kan Date: Sat Feb 28 20:30:25 2015 New Revision: 279404 URL: https://svnweb.freebsd.org/changeset/base/279404 Log: Avoid lookup of CODESET aliases using uninitialized path We do not use iconv.alias file, so avoid using the vestiges of the code that do. Differential Revision:

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

2014-11-08 Thread Alexander Kabaev
user requested debug symbols explicitly. Your change seems to be breaking that. -- Alexander Kabaev pgpa2c2n0IxnD.pgp Description: OpenPGP digital signature

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

2014-11-08 Thread Alexander Kabaev
On Sat, 08 Nov 2014 22:09:38 +0200 Andriy Gapon a...@freebsd.org wrote: On 08/11/2014 19:00, Alexander Kabaev wrote: On Thu, 6 Nov 2014 22:46:40 + (UTC) Mark Johnston ma...@freebsd.org wrote: Author: markj Date: Thu Nov 6 22:46:40 2014 New Revision: 274200 URL: https

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Alexander Kabaev
for several minutes after 'writing entropy file' until random is unblocked. Anecdotally, banging on the keyboard trying to help the entropy gathering along seems to speed the process up. -- Alexander Kabaev pgpqoadi7RLpT.pgp Description: OpenPGP digital signature

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Alexander Kabaev
the result? Do you have anything random-related in your rc.conf? Could you please do a verbose boot on a kernel with options RANDOM_DEBUG set and send me the dmesg output from a failing box. M On 1 Nov 2014, at 22:15, Alexander Kabaev kab...@gmail.com wrote: On Sat, 1 Nov 2014 14:57

svn commit: r272215 - head/sys/dev/firewire

2014-09-27 Thread Alexander Kabaev
Author: kan Date: Sat Sep 27 16:50:24 2014 New Revision: 272215 URL: http://svnweb.freebsd.org/changeset/base/272215 Log: Do not pass whole descriptor block size as align to fwdma_malloc_multiseg Do not pass wrong alignment value to fwdma_malloc_multiseg and ultimately to contigalloc. In

svn commit: r272214 - in head/sys: boot/i386/libfirewire dev/firewire

2014-09-27 Thread Alexander Kabaev
Author: kan Date: Sat Sep 27 16:50:21 2014 New Revision: 272214 URL: http://svnweb.freebsd.org/changeset/base/272214 Log: Remove obsolete compatibility glue and improve firewire code readability. Commit my version of style(9) pass over the firewire code. Now that other people have

svn commit: r271562 - head/sys/mips/cavium

2014-09-13 Thread Alexander Kabaev
Author: kan Date: Sun Sep 14 00:02:40 2014 New Revision: 271562 URL: http://svnweb.freebsd.org/changeset/base/271562 Log: Fix RTC clock writes on many Octeon boards. The struct clocktime uses 0-based week day number, so back out part of r229161 by gonzo, which actually broke the RTC

svn commit: r271561 - head/sys/mips/cavium/octe

2014-09-13 Thread Alexander Kabaev
Author: kan Date: Sun Sep 14 00:02:37 2014 New Revision: 271561 URL: http://svnweb.freebsd.org/changeset/base/271561 Log: Add delay to Octeon MDIO access routines. Prevent saturattion of the bus by constant polling which in extreme cases can cause interface lockup. This makes FreeBSD

svn commit: r270277 - head/include

2014-08-21 Thread Alexander Kabaev
Author: kan Date: Thu Aug 21 15:10:10 2014 New Revision: 270277 URL: http://svnweb.freebsd.org/changeset/base/270277 Log: Add guards to ptrdiff_t definition in include/stddef.h Back in 2011 obrien has added the #define macro in sys/sys/stddef.h to guard ptrdiff_t. Add similar protection

Re: svn commit: r270149 - head/sys/geom

2014-08-18 Thread Alexander Kabaev
seems to be pretty much related to the stated goal. -- Alexander Kabaev signature.asc Description: PGP signature

svn commit: r267762 - head/sys/dev/sound/pcm

2014-06-22 Thread Alexander Kabaev
Author: kan Date: Mon Jun 23 03:45:39 2014 New Revision: 267762 URL: http://svnweb.freebsd.org/changeset/base/267762 Log: Restore the check for non-NULL dmatag in sndbuf_free. The sound drivers that use own buffer management can use sndbuf_setup and not do any busdma allocation, so the

svn commit: r267660 - head/sys/dev/firewire

2014-06-19 Thread Alexander Kabaev
Author: kan Date: Fri Jun 20 01:45:03 2014 New Revision: 267660 URL: http://svnweb.freebsd.org/changeset/base/267660 Log: Set target-sbp field to valid value when sbp device is created. The sbp_cam_detach_target can be called from sbp_post_explore function on the first target that is not

Re: svn commit: r261801 - head/contrib/libc++/include

2014-02-13 Thread Alexander Kabaev
On Thu, 13 Feb 2014 10:11:27 + David Chisnall thera...@freebsd.org wrote: On 13 Feb 2014, at 01:04, Alexander Kabaev kab...@gmail.com wrote: The refusal to use tools that are there precisely to help to help with the binary compatibility in favor of mindless library bumps is just sad

Re: svn commit: r261801 - head/contrib/libc++/include

2014-02-12 Thread Alexander Kabaev
version bump but standard compliance is also very important for us, too. Hmm... :-( The refusal to use tools that are there precisely to help to help with the binary compatibility in favor of mindless library bumps is just sad. -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-03 Thread Alexander Kabaev
libc++ does not go through same pains to maintain ABI stable as libstdc++ does. The lack of all and any symbol versions in shared library binary strongly suggests that not only they do not bother with ABI stability, they simply can't enforce it at the moment even if they wanted to. -- Alexander

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-03 Thread Alexander Kabaev
On Mon, 3 Feb 2014 18:54:46 + David Chisnall thera...@freebsd.org wrote: On 3 Feb 2014, at 18:32, Alexander Kabaev kab...@gmail.com wrote: More than likely. It does appear libc++ does not go through same pains to maintain ABI stable as libstdc++ does. The lack of all and any symbol

  1   2   3   >