svn commit: r368300 - head/cddl/contrib/opensolaris/cmd/dtrace

2020-12-03 Thread Andriy Gapon
Author: avg Date: Thu Dec 3 11:59:40 2020 New Revision: 368300 URL: https://svnweb.freebsd.org/changeset/base/368300 Log: dtrace: honor LC_NUMERIC for %'d and alike, and LC_TIME for %T Note that the public documentation on dtrace.org fails to mention %T and incorrectly documents %Y.

Re: svn commit: r367343 - in head/sys/contrib/openzfs/include/os: freebsd/zfs/sys linux/zfs/sys

2020-11-04 Thread Andriy Gapon
ow that I should? Any cross-reference would be of help both now and for the future code history archaeology. > On 11/4/20, Andriy Gapon wrote: >> On 04/11/2020 23:18, Mateusz Guzik wrote: >>> Author: mjg >>> Date: Wed Nov 4 21:18:51 2020 >>> New Revision: 367343

Re: svn commit: r367343 - in head/sys/contrib/openzfs/include/os: freebsd/zfs/sys linux/zfs/sys

2020-11-04 Thread Andriy Gapon
e same? Who will be resolving any merge conflicts resulting from my changes? -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r367098 - stable/12/sys/arm/allwinner

2020-10-28 Thread Andriy Gapon
Author: avg Date: Wed Oct 28 11:40:10 2020 New Revision: 367098 URL: https://svnweb.freebsd.org/changeset/base/367098 Log: MFC r365943: aw_usbphy: add support for device mode operation OTG mode is not supported still. It's easy to do it as a one-off detection, but the proper support

svn commit: r366827 - stable/12/sys/dev/usb/controller

2020-10-19 Thread Andriy Gapon
Author: avg Date: Mon Oct 19 07:03:04 2020 New Revision: 366827 URL: https://svnweb.freebsd.org/changeset/base/366827 Log: MFC r365402: musb/allwinner: add support for configuring phy as well as device mode At least on Orange Pi PC Plus even the host mode does not work without enabling

svn commit: r366826 - stable/12/sys/dev/usb/controller

2020-10-19 Thread Andriy Gapon
Author: avg Date: Mon Oct 19 06:44:07 2020 New Revision: 366826 URL: https://svnweb.freebsd.org/changeset/base/366826 Log: MFC r365401: musb/allwinner: add H3 support Modified: stable/12/sys/dev/usb/controller/musb_otg_allwinner.c Directory Properties: stable/12/ (props changed)

svn commit: r366746 - stable/12/sys/arm/allwinner

2020-10-16 Thread Andriy Gapon
Author: avg Date: Fri Oct 16 06:42:25 2020 New Revision: 366746 URL: https://svnweb.freebsd.org/changeset/base/366746 Log: MFC r366140: aw_pwm: fix programming of the period The programmed value is biased by one: 0 means 1 cycle, 1 means 2 cycles, etc. Modified:

svn commit: r366745 - stable/12/sys/arm/allwinner

2020-10-16 Thread Andriy Gapon
Author: avg Date: Fri Oct 16 06:40:59 2020 New Revision: 366745 URL: https://svnweb.freebsd.org/changeset/base/366745 Log: MFC r366138: aw_pwm: remove the busy bit check The bit seems to always be set on my hardware, H3. However, programming the hardware seems to work just fine.

svn commit: r366646 - stable/12/sys/dev/iicbus/twsi

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 11:40:43 2020 New Revision: 366646 URL: https://svnweb.freebsd.org/changeset/base/366646 Log: MFC r365397: twsi: some variants clear interrupt flag by writing 0, others by writing 1 Make that distinction more explicit and regular in the code. The difference

svn commit: r366645 - stable/12/sys/dev/iicbus/twsi

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 11:34:09 2020 New Revision: 366645 URL: https://svnweb.freebsd.org/changeset/base/366645 Log: MFC r363021 by manu: twsi: Fix for > Allwinner A20 Every revision of twsi after the A20 have a bug where we need to write again the control register after each

svn commit: r366643 - stable/12/usr.sbin/pwm

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 11:04:52 2020 New Revision: 366643 URL: https://svnweb.freebsd.org/changeset/base/366643 Log: MFC r366144: pwm(8): fix potential duty overflow, use unsigneds for period and duty Modified: stable/12/usr.sbin/pwm/pwm.c Directory Properties: stable/12/ (props

svn commit: r366642 - stable/12/sys/arm/allwinner

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 11:03:26 2020 New Revision: 366642 URL: https://svnweb.freebsd.org/changeset/base/366642 Log: MFC r366142: aw_pwm: add a check and some comments related to long periods The hardware supports periods as long as 196 seconds[*] when using the maximal prescaling

svn commit: r366641 - stable/12/sys/arm/allwinner

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 11:01:54 2020 New Revision: 366641 URL: https://svnweb.freebsd.org/changeset/base/366641 Log: MFC r366141: aw_pwm: ensure sane configuration, just in case Modified: stable/12/sys/arm/allwinner/aw_pwm.c Directory Properties: stable/12/ (props changed)

svn commit: r366640 - stable/12/sys/arm/allwinner

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 10:57:59 2020 New Revision: 366640 URL: https://svnweb.freebsd.org/changeset/base/366640 Log: MFC r366139: aw_pwm: fix selection of the prescaler Modified: stable/12/sys/arm/allwinner/aw_pwm.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r366639 - stable/12/sys/arm/allwinner

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 10:55:03 2020 New Revision: 366639 URL: https://svnweb.freebsd.org/changeset/base/366639 Log: MFC r366137: aw_pwm: trivially add H3 support Modified: stable/12/sys/arm/allwinner/aw_pwm.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r366638 - stable/12/sys/dev/usb/controller

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 10:53:35 2020 New Revision: 366638 URL: https://svnweb.freebsd.org/changeset/base/366638 Log: MFC r365400: musb/allwinner: apply register filter in awusbdrd_bs_r_2() as well Modified: stable/12/sys/dev/usb/controller/musb_otg_allwinner.c Directory Properties:

svn commit: r366637 - in stable/12/sys: arm/allwinner arm64/conf conf dev/usb/controller

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 10:51:34 2020 New Revision: 366637 URL: https://svnweb.freebsd.org/changeset/base/366637 Log: MFC r365398,r365399: Allwinner USB DRD support (musb_otg) Allwinner USB DRD is based on the Mentor USB OTG controller, with a different register layout and a few

svn commit: r366359 - stable/12/usr.sbin/pwm

2020-10-02 Thread Andriy Gapon
Author: avg Date: Fri Oct 2 12:49:27 2020 New Revision: 366359 URL: https://svnweb.freebsd.org/changeset/base/366359 Log: MFC r366143: pwm(8): do not exit with failure after successfully reading configuration Modified: stable/12/usr.sbin/pwm/pwm.c Directory Properties: stable/12/

svn commit: r366358 - stable/12/sys/dev/iicbus/twsi

2020-10-02 Thread Andriy Gapon
Author: avg Date: Fri Oct 2 12:48:07 2020 New Revision: 366358 URL: https://svnweb.freebsd.org/changeset/base/366358 Log: MFC r365396: twsi: use tsleep instead of pause for better responsiveness Modified: stable/12/sys/dev/iicbus/twsi/twsi.c Directory Properties: stable/12/ (props

svn commit: r366357 - stable/12/sys/dev/iicbus

2020-10-02 Thread Andriy Gapon
Author: avg Date: Fri Oct 2 12:46:28 2020 New Revision: 366357 URL: https://svnweb.freebsd.org/changeset/base/366357 Log: MFC r365290: move definition of hw.i2c sysctl node from iicbb to iicbus Modified: stable/12/sys/dev/iicbus/iicbb.c stable/12/sys/dev/iicbus/iicbus.c Directory

svn commit: r366144 - head/usr.sbin/pwm

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:55:08 2020 New Revision: 366144 URL: https://svnweb.freebsd.org/changeset/base/366144 Log: pwm(8): fix potential duty overflow, use unsigneds for period and duty For a long period value and the duty specified as a percentage, there could be an overflow.

svn commit: r366143 - head/usr.sbin/pwm

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:54:38 2020 New Revision: 366143 URL: https://svnweb.freebsd.org/changeset/base/366143 Log: pwm(8): do not exit with failure after successfully reading configuration MFC after:1 week Modified: head/usr.sbin/pwm/pwm.c Modified: head/usr.sbin/pwm/pwm.c

Re: svn commit: r366142 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
On 25/09/2020 10:41, Andriy Gapon wrote: > [*] At the same time I must note that the KPI provides for maximum > period of about 4 seconds (2^32 nanoseconds). Also, the KPI does not provide a way to invert active level of which some controllers are capable. -- Andriy

svn commit: r366141 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:40:56 2020 New Revision: 366141 URL: https://svnweb.freebsd.org/changeset/base/366141 Log: aw_pwm: ensure sane configuration, just in case Make sure that the hardware is configured to cycle mode and that the bypass is disabled. MFC after:2 weeks

svn commit: r366142 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:41:51 2020 New Revision: 366142 URL: https://svnweb.freebsd.org/changeset/base/366142 Log: aw_pwm: add a check and some comments related to long periods The hardware supports periods as long as 196 seconds[*] when using the maximal prescaling of 72000 and

svn commit: r366139 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:40:02 2020 New Revision: 366139 URL: https://svnweb.freebsd.org/changeset/base/366139 Log: aw_pwm: fix selection of the prescaler Prescaling divides the frequency, not multiplies it. MFC after:2 weeks Modified: head/sys/arm/allwinner/aw_pwm.c

svn commit: r366140 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:40:26 2020 New Revision: 366140 URL: https://svnweb.freebsd.org/changeset/base/366140 Log: aw_pwm: fix programming of the period The programmed value is biased by one: 0 means 1 cycle, 1 means 2 cycles, etc. MFC after:3 weeks Modified:

svn commit: r366137 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:39:14 2020 New Revision: 366137 URL: https://svnweb.freebsd.org/changeset/base/366137 Log: aw_pwm: trivially add H3 support MFC after:2 weeks Modified: head/sys/arm/allwinner/aw_pwm.c Modified: head/sys/arm/allwinner/aw_pwm.c

svn commit: r366138 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:39:41 2020 New Revision: 366138 URL: https://svnweb.freebsd.org/changeset/base/366138 Log: aw_pwm: remove the busy bit check The bit seems to always be set on my hardware, H3. However, programming the hardware seems to work just fine. MFC after:3

Re: svn commit: r365984 - head/usr.bin/calendar/calendars

2020-09-22 Thread Andriy Gapon
was inappropriate. I apologize. -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r365984 - head/usr.bin/calendar/calendars

2020-09-22 Thread Andriy Gapon
ut IMO calendar.history has nothing to do with BSD, computers >> or anything else of interest to FreeBSD. At the very least this file should >> be moved to ports or better yet, removed entirely. I simply don't see the >> point of it being in the tree and distributed with an O/S, any

svn commit: r365943 - head/sys/arm/allwinner

2020-09-21 Thread Andriy Gapon
Author: avg Date: Mon Sep 21 10:02:11 2020 New Revision: 365943 URL: https://svnweb.freebsd.org/changeset/base/365943 Log: aw_usbphy: add support for device mode operation OTG mode is not supported still. It's easy to do it as a one-off detection, but the proper support requires

svn commit: r365942 - in stable/12/sys: arm/allwinner/clkng dev/extres/clk

2020-09-21 Thread Andriy Gapon
Author: avg Date: Mon Sep 21 09:50:57 2020 New Revision: 365942 URL: https://svnweb.freebsd.org/changeset/base/365942 Log: MFC r363887 (by manu), r365395: allwinner: clk: Fix nm clock calculation r363887: Use the right factor when finding the best frequency and compare the absolute

svn commit: r365742 - stable/12/sys/cam/mmc

2020-09-14 Thread Andriy Gapon
Author: avg Date: Tue Sep 15 05:51:03 2020 New Revision: 365742 URL: https://svnweb.freebsd.org/changeset/base/365742 Log: MFC r365447: mmc_da: universally use uint8_t for the partition index Modified: stable/12/sys/cam/mmc/mmc_da.c Directory Properties: stable/12/ (props changed)

svn commit: r365741 - stable/12/sys/cam/mmc

2020-09-14 Thread Andriy Gapon
Author: avg Date: Tue Sep 15 05:48:55 2020 New Revision: 365741 URL: https://svnweb.freebsd.org/changeset/base/365741 Log: MFC r365445: mmc_da: make sure that part_index is not used uninitialized in sddastart Modified: stable/12/sys/cam/mmc/mmc_da.c Directory Properties: stable/12/

svn commit: r365740 - stable/12/sys/cam/mmc

2020-09-14 Thread Andriy Gapon
Author: avg Date: Tue Sep 15 05:46:51 2020 New Revision: 365740 URL: https://svnweb.freebsd.org/changeset/base/365740 Log: MFC r365446: mmc_da: fix a typo and a too long line Modified: stable/12/sys/cam/mmc/mmc_da.c Directory Properties: stable/12/ (props changed) Modified:

Re: uninitialized variables [Was: svn commit: r365445 - head/sys/cam/mmc]

2020-09-10 Thread Andriy Gapon
On 09/09/2020 16:44, Mark Johnston wrote: > On Wed, Sep 09, 2020 at 08:49:01AM +0300, Andriy Gapon wrote: >> On 08/09/2020 15:48, Mark Johnston wrote: >>> I observed the same thing recently as well: the compiler catches >>> uninitialized variables only in simple c

svn commit: r365556 - stable/12/sys/dev/iicbus/twsi

2020-09-10 Thread Andriy Gapon
Author: avg Date: Thu Sep 10 09:10:33 2020 New Revision: 365556 URL: https://svnweb.freebsd.org/changeset/base/365556 Log: MFC r365288: twsi: replace a couple of errno codes with i2c error codes Modified: stable/12/sys/dev/iicbus/twsi/twsi.c Directory Properties: stable/12/ (props

svn commit: r365555 - stable/12/sys/dev/iicbus/twsi

2020-09-10 Thread Andriy Gapon
Author: avg Date: Thu Sep 10 09:01:59 2020 New Revision: 36 URL: https://svnweb.freebsd.org/changeset/base/36 Log: MFC r365289: twsi: no need to compare boolean with boolean constant Modified: stable/12/sys/dev/iicbus/twsi/twsi.c Directory Properties: stable/12/ (props changed)

Re: svn commit: r365517 - head/sys/net/route

2020-09-09 Thread Andriy Gapon
, "IU", > +CTLFLAG_VNET | CTLTYPE_U32 | CTLFLAG_RWTUN | CTLFLAG_NOFETCH | > CTLFLAG_MPSAFE, > +NULL, 0, _fibs, "IU", > "set number of fibs"); > > /* > Just upgraded and this version works perfectly. Thank you! -- Andriy Gapon _

Re: svn commit: r364465 - in head/sys: conf net net/route

2020-09-09 Thread Andriy Gapon
On 09/09/2020 00:50, Alexander V. Chernikov wrote: > 08.09.2020, 21:03, "Andriy Gapon" : >> On 22/08/2020 00:34, Alexander V. Chernikov wrote: >>>  Author: melifaro >>>  Date: Fri Aug 21 21:34:52 2020 >>>  New Revision: 364465 >>>  URL: https:

Re: uninitialized variables [Was: svn commit: r365445 - head/sys/cam/mmc]

2020-09-08 Thread Andriy Gapon
On 09/09/2020 08:49, Andriy Gapon wrote: > On 08/09/2020 15:48, Mark Johnston wrote: >> I observed the same thing recently as well: the compiler catches >> uninitialized variables only in simple cases. In my case, any uses of >> goto within the function seemed to sile

uninitialized variables [Was: svn commit: r365445 - head/sys/cam/mmc]

2020-09-08 Thread Andriy Gapon
maybe the situation is impossible, but it is reasonable to warn about it. But the number of false positives (and "possible but impossible" situations) is too overwhelming. -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org

Re: svn commit: r364465 - in head/sys: conf net net/route

2020-09-08 Thread Andriy Gapon
er. In other words, sysctal_fibs can be called earlier than vnet_rtables_init. I think that the best way to handle the problem would be to add CTLFLAG_NOFETCH to the sysctl declaration and then to add -- if necessary at all -- an explicit query of the kenv. -- Andriy Gapon

Re: svn commit: r365445 - head/sys/cam/mmc

2020-09-08 Thread Andriy Gapon
On 08/09/2020 10:10, Andriy Gapon wrote: > On 08/09/2020 08:46, Andriy Gapon wrote: >> Author: avg >> Date: Tue Sep 8 05:46:10 2020 >> New Revision: 365445 >> URL: https://svnweb.freebsd.org/changeset/base/365445 >> >> Log: >> mmc_da: make s

Re: svn commit: r365445 - head/sys/cam/mmc

2020-09-08 Thread Andriy Gapon
On 08/09/2020 08:46, Andriy Gapon wrote: > Author: avg > Date: Tue Sep 8 05:46:10 2020 > New Revision: 365445 > URL: https://svnweb.freebsd.org/changeset/base/365445 > > Log: > mmc_da: make sure that part_index is not used uninitialized in sddastart [snip] > Modified: h

svn commit: r365447 - head/sys/cam/mmc

2020-09-08 Thread Andriy Gapon
Author: avg Date: Tue Sep 8 06:19:23 2020 New Revision: 365447 URL: https://svnweb.freebsd.org/changeset/base/365447 Log: mmc_da: universally use uint8_t for the partition index Also, assert in sdda_init_switch_part() that the index is within the defined range. MFC after:1 week

svn commit: r365446 - head/sys/cam/mmc

2020-09-08 Thread Andriy Gapon
Author: avg Date: Tue Sep 8 06:18:34 2020 New Revision: 365446 URL: https://svnweb.freebsd.org/changeset/base/365446 Log: mmc_da: fix a typo and a too long line MFC after:1 week Modified: head/sys/cam/mmc/mmc_da.c Modified: head/sys/cam/mmc/mmc_da.c

svn commit: r365445 - head/sys/cam/mmc

2020-09-07 Thread Andriy Gapon
Author: avg Date: Tue Sep 8 05:46:10 2020 New Revision: 365445 URL: https://svnweb.freebsd.org/changeset/base/365445 Log: mmc_da: make sure that part_index is not used uninitialized in sddastart This is a fix to r334065. Without this change I once got stuck I/O with endless partition

svn commit: r365402 - head/sys/dev/usb/controller

2020-09-07 Thread Andriy Gapon
Author: avg Date: Mon Sep 7 06:53:29 2020 New Revision: 365402 URL: https://svnweb.freebsd.org/changeset/base/365402 Log: musb/allwinner: add support for configuring phy as well as device mode At least on Orange Pi PC Plus even the host mode does not work without enabling the phy and

svn commit: r365401 - head/sys/dev/usb/controller

2020-09-07 Thread Andriy Gapon
Author: avg Date: Mon Sep 7 06:49:07 2020 New Revision: 365401 URL: https://svnweb.freebsd.org/changeset/base/365401 Log: musb/allwinner: add H3 support MFC after:6 weeks Modified: head/sys/dev/usb/controller/musb_otg_allwinner.c Modified:

svn commit: r365400 - head/sys/dev/usb/controller

2020-09-07 Thread Andriy Gapon
Author: avg Date: Mon Sep 7 06:48:08 2020 New Revision: 365400 URL: https://svnweb.freebsd.org/changeset/base/365400 Log: musb/allwinner: apply register filter in awusbdrd_bs_r_2() as well Otherwise, I get this panic: panic: awusbdrd_reg: Invalid register 0x342 It looks that musb

svn commit: r365399 - head/sys/dev/usb/controller

2020-09-07 Thread Andriy Gapon
Author: avg Date: Mon Sep 7 06:44:24 2020 New Revision: 365399 URL: https://svnweb.freebsd.org/changeset/base/365399 Log: fixup r365398: add a missed file with all the new Allwinner musb_otg code Obtained from:andrew MFC after:5 weeks X-MFC with: r365398 Added:

svn commit: r365398 - in head/sys: arm/allwinner arm64/conf conf

2020-09-07 Thread Andriy Gapon
Author: avg Date: Mon Sep 7 06:39:00 2020 New Revision: 365398 URL: https://svnweb.freebsd.org/changeset/base/365398 Log: Allwinner USB DRD support (musb_otg) Allwinner USB DRD is based on the Mentor USB OTG controller, with a different register layout and a few missing registers.

svn commit: r365397 - head/sys/dev/iicbus/twsi

2020-09-07 Thread Andriy Gapon
Author: avg Date: Mon Sep 7 06:32:03 2020 New Revision: 365397 URL: https://svnweb.freebsd.org/changeset/base/365397 Log: twsi: some variants clear interrupt flag by writing 0, others by writing 1 Make that distinction more explicit and regular in the code. The difference in behavior is

svn commit: r365396 - head/sys/dev/iicbus/twsi

2020-09-07 Thread Andriy Gapon
Author: avg Date: Mon Sep 7 06:29:41 2020 New Revision: 365396 URL: https://svnweb.freebsd.org/changeset/base/365396 Log: twsi: use tsleep instead of pause for better responsiveness wakeup() does not have any effect on pause(), so if a transfer was not finished by the time of the first

svn commit: r365395 - in head/sys: arm/allwinner/clkng dev/extres/clk

2020-09-07 Thread Andriy Gapon
Author: avg Date: Mon Sep 7 06:27:18 2020 New Revision: 365395 URL: https://svnweb.freebsd.org/changeset/base/365395 Log: aw_clk_nm: fix incorrect use of abs() abs() takes a (signed) int as input. Instead, it was used with unsigned 64-bit integers. So, add and use a new helper

svn commit: r365394 - stable/12/sys/arm/allwinner

2020-09-07 Thread Andriy Gapon
Author: avg Date: Mon Sep 7 06:22:30 2020 New Revision: 365394 URL: https://svnweb.freebsd.org/changeset/base/365394 Log: MFC r364149: aw_cir: in pulse encoding actual length is one greater than value Modified: stable/12/sys/arm/allwinner/aw_cir.c Directory Properties: stable/12/ (props

svn commit: r365393 - stable/12/sys/arm/allwinner

2020-09-07 Thread Andriy Gapon
Author: avg Date: Mon Sep 7 06:21:01 2020 New Revision: 365393 URL: https://svnweb.freebsd.org/changeset/base/365393 Log: MFC r364148: aw_cir: lower activation threshold to support NECx protocol Modified: stable/12/sys/arm/allwinner/aw_cir.c Directory Properties: stable/12/ (props

svn commit: r365392 - stable/12/sys/dev/gpio

2020-09-07 Thread Andriy Gapon
Author: avg Date: Mon Sep 7 06:14:42 2020 New Revision: 365392 URL: https://svnweb.freebsd.org/changeset/base/365392 Log: MFC r364145: gpiokeys: add evdev support Only linux,code is supported as it maps 1:1 to evdev key codes. No reverse mapping for freebsd,code yet. Modified:

svn commit: r365308 - head/sys/security/mac

2020-09-03 Thread Andriy Gapon
Author: avg Date: Thu Sep 3 20:30:52 2020 New Revision: 365308 URL: https://svnweb.freebsd.org/changeset/base/365308 Log: mac_framework.h: fix build with DEBUG_VFS_LOCKS and !MAC I have such a custom kernel configuration and its build failed with: linking kernel.full ld: error:

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

2020-09-03 Thread Andriy Gapon
Author: avg Date: Thu Sep 3 08:02:19 2020 New Revision: 365290 URL: https://svnweb.freebsd.org/changeset/base/365290 Log: move defintion of hw.i2c sysctl node from iicbb to iicbus MFC after:2 weeks Modified: head/sys/dev/iicbus/iicbb.c head/sys/dev/iicbus/iicbus.c Modified:

svn commit: r365289 - head/sys/dev/iicbus/twsi

2020-09-03 Thread Andriy Gapon
Author: avg Date: Thu Sep 3 08:01:21 2020 New Revision: 365289 URL: https://svnweb.freebsd.org/changeset/base/365289 Log: twsi: no need to compare boolean with boolean constant Testing the boolean directly is shorter and more idiomatic. MFC after:1 week Modified:

svn commit: r365288 - head/sys/dev/iicbus/twsi

2020-09-03 Thread Andriy Gapon
Author: avg Date: Thu Sep 3 07:42:53 2020 New Revision: 365288 URL: https://svnweb.freebsd.org/changeset/base/365288 Log: twsi: replace a couple of errno codes with i2c error codes Reviewed by: manu MFC after:1 week Modified: head/sys/dev/iicbus/twsi/twsi.c Modified:

Re: svn commit: r365249 - head

2020-09-02 Thread Andriy Gapon
0824: >>   The resume code now notifies devd with the 'kernel' system >>   rather than the old 'kern' subsystem to be consistent with > Thanks, enough people seemed to be getting tripped up by this. I think that this is a very useful note. But I

Re: svn commit: r364989 - head/sys/dev/jedec_dimm

2020-08-31 Thread Andriy Gapon
+ for (i = dstsz - 1; i > 0; i--) { If 'i' is an index into the array, then shouldn't the condition be greater-equal? > if (dst[i] == ' ') { > dst[i] = 0; > } else if (dst[i] == 0) { &

Re: svn commit: r364927 - head/sys/arm/allwinner/clkng

2020-08-30 Thread Andriy Gapon
intf("best freq (%llu) < requested freq(%llu)\n", > + best, *fout); > return (ERANGE); > } > if ((best > *fout) && > ((flags & CLK_SET_ROUND_UP) == 0)) { > *stop = 1; > +

svn commit: r364917 - in stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2020-08-28 Thread Andriy Gapon
Author: avg Date: Fri Aug 28 13:15:13 2020 New Revision: 364917 URL: https://svnweb.freebsd.org/changeset/base/364917 Log: MFC r362047,r362048: rework how ZVOLs are updated in response to DSL operations Modified: stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c

svn commit: r364916 - stable/12/sys/arm/allwinner

2020-08-28 Thread Andriy Gapon
Author: avg Date: Fri Aug 28 10:33:19 2020 New Revision: 364916 URL: https://svnweb.freebsd.org/changeset/base/364916 Log: MFC r364147: aw_cir: minor cleanups Modified: stable/12/sys/arm/allwinner/aw_cir.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r364915 - stable/12/sys/arm/allwinner

2020-08-28 Thread Andriy Gapon
Author: avg Date: Fri Aug 28 10:32:03 2020 New Revision: 364915 URL: https://svnweb.freebsd.org/changeset/base/364915 Log: MFC r364146: aw_cir: add support for allwinner,sun6i-a31-ir (found, e.g., on h3) Modified: stable/12/sys/arm/allwinner/aw_cir.c Directory Properties: stable/12/

svn commit: r364914 - stable/12/sys/dev/iicbus/mux

2020-08-28 Thread Andriy Gapon
Author: avg Date: Fri Aug 28 10:30:39 2020 New Revision: 364914 URL: https://svnweb.freebsd.org/changeset/base/364914 Log: MFC r364344: iicmux: fix a sign error in comparison Modified: stable/12/sys/dev/iicbus/mux/iicmux.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r364913 - stable/12/sys/modules/usb/cp2112

2020-08-28 Thread Andriy Gapon
Author: avg Date: Fri Aug 28 10:28:52 2020 New Revision: 364913 URL: https://svnweb.freebsd.org/changeset/base/364913 Log: MFC r364269 by eugen: Unbreak building cp2112(8) as a module... outside of kernel build environment. Modified: stable/12/sys/modules/usb/cp2112/Makefile Directory

svn commit: r364912 - in stable/12: share/man/man4 sys/conf sys/dev/usb/misc sys/modules/usb sys/modules/usb/cp2112

2020-08-28 Thread Andriy Gapon
) +++ stable/12/share/man/man4/cp2112.4 Fri Aug 28 10:27:24 2020 (r364912, copy of r364144, head/share/man/man4/cp2112.4) @@ -0,0 +1,87 @@ +.\" +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD +.\" +.\" Copyright (c) 2020 Andriy Gapon +.\" +.\" Redistribution and

Re: svn commit: r364910 - stable/12/share/man/man4

2020-08-28 Thread Andriy Gapon
On 28/08/2020 13:18, Andriy Gapon wrote: > Author: avg > Date: Fri Aug 28 10:18:30 2020 > New Revision: 364910 > URL: https://svnweb.freebsd.org/changeset/base/364910 > > Log: > MFC r364155: hook cp2112.4 to the build This was merged out-of-order. My apologies. > Modif

svn commit: r364911 - stable/12/share/man/man4

2020-08-28 Thread Andriy Gapon
Author: avg Date: Fri Aug 28 10:21:11 2020 New Revision: 364911 URL: https://svnweb.freebsd.org/changeset/base/364911 Log: MFC r364154: hook gpiokeys.4 to the build Modified: stable/12/share/man/man4/Makefile Directory Properties: stable/12/ (props changed) Modified:

svn commit: r364910 - stable/12/share/man/man4

2020-08-28 Thread Andriy Gapon
Author: avg Date: Fri Aug 28 10:18:30 2020 New Revision: 364910 URL: https://svnweb.freebsd.org/changeset/base/364910 Log: MFC r364155: hook cp2112.4 to the build Modified: stable/12/share/man/man4/Makefile Directory Properties: stable/12/ (props changed) Modified:

svn commit: r364909 - stable/12/sys/arm/allwinner/clkng

2020-08-28 Thread Andriy Gapon
Author: avg Date: Fri Aug 28 10:17:09 2020 New Revision: 364909 URL: https://svnweb.freebsd.org/changeset/base/364909 Log: MFC r363948: ccu_sun8i_r: minor comment update Modified: stable/12/sys/arm/allwinner/clkng/ccu_sun8i_r.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r364908 - stable/12/share/man/man4

2020-08-28 Thread Andriy Gapon
) +++ stable/12/share/man/man4/gpiokeys.4 Fri Aug 28 10:15:54 2020 (r364908, copy of r363905, head/share/man/man4/gpiokeys.4) @@ -0,0 +1,152 @@ +.\" +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD +.\" +.\" Copyright (c) 2020 Andriy Gapon +.\" +.\" Redistributio

svn commit: r364907 - stable/12/sys/cam

2020-08-28 Thread Andriy Gapon
Author: avg Date: Fri Aug 28 10:01:03 2020 New Revision: 364907 URL: https://svnweb.freebsd.org/changeset/base/364907 Log: MFC r358864 by imp: Eliminate xpt_copy_path. Modified: stable/12/sys/cam/cam_xpt.c stable/12/sys/cam/cam_xpt.h Directory Properties: stable/12/ (props changed)

svn commit: r364906 - stable/12/sys/cam

2020-08-28 Thread Andriy Gapon
Author: avg Date: Fri Aug 28 08:54:27 2020 New Revision: 364906 URL: https://svnweb.freebsd.org/changeset/base/364906 Log: MFC r358662 by imp: xpt_async is submitting a CCB, not finishing it up, so use xpt_action() instead of xpt_done(). Modified: stable/12/sys/cam/cam_xpt.c Directory

svn commit: r364905 - stable/12/sys/cam/scsi

2020-08-28 Thread Andriy Gapon
Author: avg Date: Fri Aug 28 08:52:00 2020 New Revision: 364905 URL: https://svnweb.freebsd.org/changeset/base/364905 Log: MFC r354668 by imp: Fix a race between daopen and damediapoll Modified: stable/12/sys/cam/scsi/scsi_da.c Directory Properties: stable/12/ (props changed) Modified:

Re: svn commit: r364817 - head/libexec/rc/rc.d

2020-08-27 Thread Andriy Gapon
file path will be imported. Multiple cache files and > pools not actually listed in a cachefile are valid scenarios for pools. Just want to express my complete agreement. -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list https://lists.f

Re: svn commit: r364817 - head/libexec/rc/rc.d

2020-08-27 Thread Andriy Gapon
On 2020-08-27 16:54, Cy Schubert wrote: > In message <202008271350.07rdogqn055...@slippy.cwsent.com>, Cy Schubert > writes: >> In message <7e55d429-482b-2277-b340-2b85c6874...@freebsd.org>, Andriy Gapon >> wri >> tes: >>> On 26/08/2020 16:13, Cy Schub

Re: svn commit: r364817 - head/libexec/rc/rc.d

2020-08-27 Thread Andriy Gapon
t; >>> Something like, for I in $(ls -t /etc/zfs/zpool.cache >>> /boot/zfs/zpool.cache) with the break? >>> >> >> /etc/zfs/zpool.cache is the new location and should generally be >> favored if it exists, I reckon. > > I retract the above. :-) ls -t

svn commit: r364865 - stable/12/sys/cam/scsi

2020-08-27 Thread Andriy Gapon
Author: avg Date: Thu Aug 27 13:38:20 2020 New Revision: 364865 URL: https://svnweb.freebsd.org/changeset/base/364865 Log: MFC r354621-r354623 by imp: scsi_da state machine improvements r354621 Require and enforce that dareprobe() has to be called with the periph lock held. r354622

Re: svn commit: r364817 - head/libexec/rc/rc.d

2020-08-27 Thread Andriy Gapon
for migration, but I think that it does not make sense to split pools between the cache files. > + fi > + done > +} -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r364344 - head/sys/dev/iicbus/mux

2020-08-18 Thread Andriy Gapon
Author: avg Date: Tue Aug 18 12:14:01 2020 New Revision: 364344 URL: https://svnweb.freebsd.org/changeset/base/364344 Log: iicmux: fix a sign error in comparison Because pcell_t is unsigned both sides of the comparison were treated as such. Because of that error iicmux created all

Re: svn commit: r364310 - in head/sys: kern vm

2020-08-17 Thread Andriy Gapon
t of fallout from this. Will you handle it? A warning from WITNESS is one thing, a panic is another. -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r364155 - head/share/man/man4

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 11:37:28 2020 New Revision: 364155 URL: https://svnweb.freebsd.org/changeset/base/364155 Log: hook cp2112.4 to the build Reported by: 0mp MFC after:1 week X-MFC with: r364144 Modified: head/share/man/man4/Makefile Modified:

svn commit: r364154 - head/share/man/man4

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 11:36:09 2020 New Revision: 364154 URL: https://svnweb.freebsd.org/changeset/base/364154 Log: hook gpiokeys.4 to the build Reported by: 0mp MFC after:3 days X-MFC with: r363905 Modified: head/share/man/man4/Makefile Modified:

svn commit: r364149 - head/sys/arm/allwinner

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:57:28 2020 New Revision: 364149 URL: https://svnweb.freebsd.org/changeset/base/364149 Log: aw_cir: in the pulse encoding the actual length is one greater than value While here change type of some variables from long to int, it's sufficient. Also, add

svn commit: r364148 - head/sys/arm/allwinner

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:56:21 2020 New Revision: 364148 URL: https://svnweb.freebsd.org/changeset/base/364148 Log: aw_cir: lower activation threshold to support NECx protocol In NECx the leading mark has length of 8T as opposed to 16T in NEC, where T is 562.5 us. So, 4.5 ms.

svn commit: r364147 - head/sys/arm/allwinner

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:52:39 2020 New Revision: 364147 URL: https://svnweb.freebsd.org/changeset/base/364147 Log: aw_cir: minor cleanups MFC after:1 week Modified: head/sys/arm/allwinner/aw_cir.c Modified: head/sys/arm/allwinner/aw_cir.c

svn commit: r364146 - head/sys/arm/allwinner

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:52:12 2020 New Revision: 364146 URL: https://svnweb.freebsd.org/changeset/base/364146 Log: aw_cir: add support for allwinner,sun6i-a31-ir (found, e.g., on h3) MFC after:1 week Modified: head/sys/arm/allwinner/aw_cir.c Modified:

svn commit: r364145 - head/sys/dev/gpio

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:49:25 2020 New Revision: 364145 URL: https://svnweb.freebsd.org/changeset/base/364145 Log: gpiokeys: add evdev support Only linux,code is supported as it maps 1:1 to evdev key codes. No reverse mapping for freebsd,code yet. Reviewed by: wulf MFC

svn commit: r364144 - head/share/man/man4

2020-08-12 Thread Andriy Gapon
se-FreeBSD +.\" +.\" Copyright (c) 2020 Andriy Gapon +.\" +.\" 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

svn commit: r364143 - head/sys/dev/usb/misc

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:07:07 2020 New Revision: 364143 URL: https://svnweb.freebsd.org/changeset/base/364143 Log: cp2112: a number of cleanups and improvements - hoist all request / response structures from function level to top level - replace magic numeric literals with

svn commit: r363951 - in head/sys: conf dev/usb/misc modules/usb modules/usb/cp2112

2020-08-06 Thread Andriy Gapon
+ * + * Copyright (c) Andriy Gapon + * + * 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, this list of conditions

svn commit: r363948 - head/sys/arm/allwinner/clkng

2020-08-06 Thread Andriy Gapon
Author: avg Date: Thu Aug 6 11:18:06 2020 New Revision: 363948 URL: https://svnweb.freebsd.org/changeset/base/363948 Log: ccu_sun8i_r: minor comment update MFC after:1 week Modified: head/sys/arm/allwinner/clkng/ccu_sun8i_r.c Modified: head/sys/arm/allwinner/clkng/ccu_sun8i_r.c

svn commit: r363944 - stable/12/sys/dev/iicbus

2020-08-06 Thread Andriy Gapon
Author: avg Date: Thu Aug 6 08:06:07 2020 New Revision: 363944 URL: https://svnweb.freebsd.org/changeset/base/363944 Log: MFC r362042: iicbb: rebuild the bit-banging algorithms using different primitives I2C_SET was quite inflexible, it used too long delays as well as some unnecessary

  1   2   3   4   5   6   7   8   9   10   >