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. The
I know 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: 36
e same?
Who will be resolving any merge conflicts resulting from my changes?
--
Andriy Gapon
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
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.
U
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
=
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
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 m
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:
head/sys/
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
M
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
Mod
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
=
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 w
was inappropriate. I apologize.
--
Andriy Gapon
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
day but 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
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 continuo
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 case
-&sysctl_fibs, "IU",
> +CTLFLAG_VNET | CTLTYPE_U32 | CTLFLAG_RWTUN | CTLFLAG_NOFETCH |
> CTLFLAG_MPSAFE,
> +NULL, 0, &sysctl_fibs, "IU",
> "set number of fibs");
>
> /*
>
Just upgraded and this version works perfectly.
Thank
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:
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 silence the
the label. So, 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-head@freebsd.org mailing list
h
N much later. 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
___
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 sure
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
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
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
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
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 set
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: head/sys/dev/usb/controller/musb_otg_allwi
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 co
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:
head/sy
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.
T
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
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 c
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 funct
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: undefin
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: head/
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:
head/sys/dev/i
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: head/sys/de
20200824:
>> 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
; + 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;
>
printf("best freq (%llu) < requested freq(%llu)\n",
> + best, *fout);
> return (ERANGE);
> }
> if ((best > *fout) &&
> ((flags & CLK_SET_ROUND_UP) == 0)) {
> *stop
same cachefile 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-head@freebsd.org mailing list
https://l
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
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
tions
for migration, but I think that it does not make sense to split pools between
the cache files.
> + fi
> + done
> +}
--
Andriy Gapon
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
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 possi
f fallout from this.
Will you handle it?
A warning from WITNESS is one thing, a panic is another.
--
Andriy Gapon
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
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: head/share/man/man4/Mak
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: head/share/man/man4/M
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 length
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.
O
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
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: head/sys/arm/allwinner/
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 aft
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 the
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 constan
+ *
+ * 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, and the
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
===
(r363905)
@@ -0,0 +1,152 @@
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+.\"
+.\" Copyright (c) 2020 Andriy Gapon
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that th
Author: avg
Date: Mon Jul 27 09:10:02 2020
New Revision: 363597
URL: https://svnweb.freebsd.org/changeset/base/363597
Log:
actually enable gate control for allwinner's r-ccu ir clock
The gate control bit offset was correctly specified, but AW_CLK_HAS_GATE
flag was not set.
Tested with (
On 21/07/2020 10:35, Andriy Gapon wrote:
> Author: avg
> Date: Tue Jul 21 07:35:03 2020
> New Revision: 363382
> URL: https://svnweb.freebsd.org/changeset/base/363382
>
> Log:
> gpioiic: never drive lines active high
>
> I2C communication is done by a combinati
Author: avg
Date: Tue Jul 21 07:41:36 2020
New Revision: 363383
URL: https://svnweb.freebsd.org/changeset/base/363383
Log:
dtrace/fbt: fix return probe arguments on arm
arg0 should be an offset of the return point within the function, arg1
should be the return value. Previously the retur
Author: avg
Date: Tue Jul 21 07:35:03 2020
New Revision: 363382
URL: https://svnweb.freebsd.org/changeset/base/363382
Log:
gpioiic: never drive lines active high
I2C communication is done by a combination of driving a line low or
letting it float, so that it is either pulled up or driven
Author: avg
Date: Wed Jul 15 18:04:01 2020
New Revision: 363232
URL: https://svnweb.freebsd.org/changeset/base/363232
Log:
build DTS for Orange Pi PC Plus as well
Reviewed by: manu
MFC after:1 week
Modified:
head/sys/modules/dtb/allwinner/Makefile
Modified: head/sys/modules/dtb/a
On 26/06/2020 12:32, Andriy Gapon wrote:
> Author: avg
> Date: Fri Jun 26 09:32:57 2020
> New Revision: 362645
> URL: https://svnweb.freebsd.org/changeset/base/362645
>
> Log:
> ena: fix module build after r362530
Or rather, _standalone_ module bui
Author: avg
Date: Fri Jun 26 09:46:03 2020
New Revision: 362647
URL: https://svnweb.freebsd.org/changeset/base/362647
Log:
sound/hda: fix interrupt handler endless loop after r362294
Not all interrupt sources that affect CIS bit were acknowledged.
Specifically, bits in STATESTS (aka WAKES
Author: avg
Date: Fri Jun 26 09:32:57 2020
New Revision: 362645
URL: https://svnweb.freebsd.org/changeset/base/362645
Log:
ena: fix module build after r362530
Somehow I missed the makefile when moving the change from phabricator to
svn.
MFC after:1 week
X-MFC with: r362530
M
Author: avg
Date: Tue Jun 23 04:58:36 2020
New Revision: 362530
URL: https://svnweb.freebsd.org/changeset/base/362530
Log:
teach ena driver about RSS kernel option
Networking is broken if the driver configures its (virtual) hardware to
use a hash algorithm (or a key) different from the on
Author: avg
Date: Mon Jun 22 10:32:41 2020
New Revision: 362492
URL: https://svnweb.freebsd.org/changeset/base/362492
Log:
gpiobus_release_pin: remove incorrect prefix from error messages
It's interesting that similar messages from gpiobus_acquire_pin never
had any prefix while gpiobus_re
BSTS_RINTFL) {
@@ -1530,6 +1534,7 @@ hdac_attach2(void *arg)
device_printf(sc->dev, "Scanning HDA codecs ...\n");
);
statests = HDAC_READ_2(&sc->mem, HDAC_STATESTS);
+ HDAC_WRITE_2(&sc->mem, HDAC_STATESTS, statests);
hdac_unlock(sc);
.
>
> s/Master Boot/Main Boot/ (also called MBR)
Where does your hate for word 'master', especially in the technical context,
come from?
https://www.merriam-webster.com/dictionary/master
> MFC after: 1 week
> Sponsored by:
Author: avg
Date: Thu Jun 18 06:12:06 2020
New Revision: 362294
URL: https://svnweb.freebsd.org/changeset/base/362294
Log:
hdac_intr_handler: keep working until global interrupt status clears
It is plausible that the hardware interrupts a host only when GIS goes
from zero to one. GIS is
Author: avg
Date: Thu Jun 11 11:35:30 2020
New Revision: 362048
URL: https://svnweb.freebsd.org/changeset/base/362048
Log:
fix up r362047: a call to zvol_*_minors() was not hidden from userland
Reported by: CI/FreeBSD-head-powerpc64-build
MFC after:5 weeks
X-MFC with: r362047
Mo
Author: avg
Date: Thu Jun 11 10:41:31 2020
New Revision: 362047
URL: https://svnweb.freebsd.org/changeset/base/362047
Log:
rework how ZVOLs are updated in response to DSL operations
With this change all ZVOL updates are initiated from the SPA sync
context instead of a mix of the sync and
Author: avg
Date: Thu Jun 11 05:34:31 2020
New Revision: 362042
URL: https://svnweb.freebsd.org/changeset/base/362042
Log:
iicbb: rebuild the bit-banging algorithms using different primitives
I2C_SET was quite inflexible, it used too long delays as well as some
unnecessary delays. The ne
On 04/06/2020 16:06, Andriy Gapon wrote:
> +Channel agility.
> +.It Li B
> +PBCC modulation.
> +.It Li C
> +Poll request capability.
I would like to invite anyone who can expand short descriptions like the above
to do so.
--
Andriy Gapon
Author: avg
Date: Thu Jun 4 13:18:21 2020
New Revision: 361788
URL: https://svnweb.freebsd.org/changeset/base/361788
Log:
superio: do not assume that current LDN cannot change after config exit
That assumption should be true when superio(4) uses the hardware
exlusively. But it turns out
Author: avg
Date: Thu Jun 4 13:06:49 2020
New Revision: 361787
URL: https://svnweb.freebsd.org/changeset/base/361787
Log:
ifconfig.8: fix cpability and flag descriptions for list scan / sta
Some capability descriptions under list scan actually described flags.
Some capability description
Author: avg
Date: Fri May 29 07:50:55 2020
New Revision: 361621
URL: https://svnweb.freebsd.org/changeset/base/361621
Log:
do not enable pci bridge decoding on resume until I/O windows are restored
PCI bus driver restores most but not all of a child PCI-PCI bridge
configuration. The brid
Author: avg
Date: Fri May 29 07:44:02 2020
New Revision: 361620
URL: https://svnweb.freebsd.org/changeset/base/361620
Log:
corefile_open_last: don't keep a locked vnode while locking other ones
Consider this scenario:
- kern.corefile=/var/coredumps/%N.%U.%I.core
- multiple processes wit
Author: avg
Date: Sun May 24 14:54:21 2020
New Revision: 361434
URL: https://svnweb.freebsd.org/changeset/base/361434
Log:
libprocstat: try to fix fallout from r361363
The revision caused libprocstat to have two undefined symbols:
- __start_set_pcpu
- __stop_set_pcpu
probably because
On 23/05/2020 18:43, Niclas Zeising wrote:
> On 2020-05-22 13:20, Andriy Gapon wrote:
>> Author: avg
>> Date: Fri May 22 11:20:23 2020
>> New Revision: 361363
>> URL: https://svnweb.freebsd.org/changeset/base/361363
>>
>> Log:
>> libprocstat: f
On 22/05/2020 18:23, Andriy Gapon wrote:
> On 22/05/2020 18:15, Conrad Meyer wrote:
>> Hi Andriy,
>>
>> Would it make sense to also export sizes of those members? Currently
>> the code assumes the members may be relocated in the struct, but never
>> changed in s
#x27;s type is more likely to prompt
a check of possible uses.
But less likely does not equal will never happen, of course.
So, I think that this is a good suggestion.
> On Fri, May 22, 2020 at 4:20 AM Andriy Gapon wrote:
>>
>> Author: avg
>> Date: Fri May 22 11:20:23 2020
&
Author: avg
Date: Fri May 22 11:25:45 2020
New Revision: 361364
URL: https://svnweb.freebsd.org/changeset/base/361364
Log:
net80211: post RTM_IFINFO notification after toggling IFF_DRV_RUNNING
This is useful when a wireless driver is stopped or started in response
to events like an RF Kil
S+= -fno-builtin -nostdlib
all: ${OBJS}
CLEANFILES= ${OBJS}
Added: head/lib/libprocstat/zfs_defs.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/libprocstat/zfs_defs.c Fri May 22 1
Author: avg
Date: Thu May 21 13:46:30 2020
New Revision: 361330
URL: https://svnweb.freebsd.org/changeset/base/361330
Log:
libprocstat: fix reading of file descriptor table via kvm
This seems to have been broken since r247602 (from year 2013!).
Can be easily tested with
fstat -N /boot
Author: avg
Date: Wed May 20 08:15:09 2020
New Revision: 361273
URL: https://svnweb.freebsd.org/changeset/base/361273
Log:
iwm: improve rfkill handling
Previously the driver handled the bit within itself, but did not expose
the state change to net80211 and interface layers.
This change
Author: avg
Date: Wed May 13 07:47:56 2020
New Revision: 361006
URL: https://svnweb.freebsd.org/changeset/base/361006
Log:
linuxkpi: print stack trace in WARN_ON macros
Reviewed by: hselasky, kib
MFC after:1 week
Differential Revision: https://reviews.freebsd.org/D24779
Modified:
Author: avg
Date: Wed May 13 06:26:30 2020
New Revision: 361002
URL: https://svnweb.freebsd.org/changeset/base/361002
Log:
snd_hda: fix typos related to quirks set via 'config' tunable
One wrong quirk bit, one wrong variable name.
MFC after:1 week
Modified:
head/sys/dev/sound/pc
Author: avg
Date: Wed May 13 06:24:54 2020
New Revision: 361001
URL: https://svnweb.freebsd.org/changeset/base/361001
Log:
sound/hda: newer AMD devices still require the same PCIe snoop
So, replicate the ATI vendor snoop configuration for the AMD vendor.
I think that this should fix a num
Author: avg
Date: Tue May 12 09:31:48 2020
New Revision: 360957
URL: https://svnweb.freebsd.org/changeset/base/360957
Log:
amd64/pmap: unbreak !NUMA case for fictitious pages
A fictitious page can have a physical address beyond the end of the RAM.
In the NUMA case there is some special co
Author: avg
Date: Tue May 12 09:04:57 2020
New Revision: 360956
URL: https://svnweb.freebsd.org/changeset/base/360956
Log:
zfs allow/unallow should work with numeric uid/gid
And that should work even (especially) if there is no matching user or
group name. This change allows to see and m
Author: avg
Date: Thu May 7 13:11:32 2020
New Revision: 360779
URL: https://svnweb.freebsd.org/changeset/base/360779
Log:
gpioiic_attach: fix a NULL pointer crash on hints-based systems
The attach method uses GPIO_GET_BUS() to get a "newbus" device
that provides a pin. But on hints-base
Author: avg
Date: Wed May 6 15:24:31 2020
New Revision: 360692
URL: https://svnweb.freebsd.org/changeset/base/360692
Log:
usbhid: add several missing usages from Digitizer page
This is applicable to HID in general, not just USB HID.
Inspired by: wulf
MFC after:1 week
Modified:
Author: avg
Date: Tue May 5 12:14:11 2020
New Revision: 360657
URL: https://svnweb.freebsd.org/changeset/base/360657
Log:
acpi_video: try our best to work on systems without non-essential methods
Only _BCL and _BCM methods seem to be essential to the driver's
operation. If _BQC is missi
Author: avg
Date: Thu Apr 30 15:45:01 2020
New Revision: 360499
URL: https://svnweb.freebsd.org/changeset/base/360499
Log:
ig4iic_acpi_probe: remove set but unused variable
MFC after:1 week
Modified:
head/sys/dev/ichiic/ig4_acpi.c
Modified: head/sys/dev/ichiic/ig4_acpi.c
===
(iicbus, iichb, ...) in icbus.c.
That's essentially the same approach that is used for gpio.
Maybe it's the way.
But there was something that spooked me about many drivers having the same name,
but can't recall what.
--
Andriy Gapon
_
On 24/04/2020 18:11, Warner Losh wrote:
>
>
> On Fri, Apr 24, 2020 at 8:47 AM Andriy Gapon <mailto:a...@freebsd.org>> wrote:
>
> On 24/04/2020 17:29, Warner Losh wrote:
> >
> >
> > On Fri, Apr 24, 2020 at 1:49 AM Andriy Gapon &
On 24/04/2020 17:29, Warner Losh wrote:
>
>
> On Fri, Apr 24, 2020 at 1:49 AM Andriy Gapon <mailto:a...@freebsd.org>> wrote:
>
> Author: avg
> Date: Fri Apr 24 07:49:21 2020
> New Revision: 360241
> URL: https://svnweb.freebsd.org/changeset/base
1 - 100 of 1749 matches
Mail list logo