Page MenuHomeFreeBSD
Feed Advanced Search

Jan 28 2024

avg committed rG320e4beb9761: gpiopower: trigger low, high and both edges (authored by avg).
gpiopower: trigger low, high and both edges
Jan 28 2024, 11:31 AM
avg committed rG197944948e62: add allwinner overlays for enabling additional USB ports (authored by avg).
add allwinner overlays for enabling additional USB ports
Jan 28 2024, 11:14 AM
avg committed rG5b54b6ac8ca1: usbdevs: add Ralink RT7601 aka MT7601 (authored by avg).
usbdevs: add Ralink RT7601 aka MT7601
Jan 28 2024, 11:12 AM
avg committed rG34694f3da7f9: ds1307: restore hints-based configuration on FDT systems (authored by avg).
ds1307: restore hints-based configuration on FDT systems
Jan 28 2024, 11:09 AM

Oct 1 2022

avg accepted D36845: etcupdate: Fix -N support for build command.

Looks good and works good in my test.
Thank you!

Oct 1 2022, 11:14 AM

Sep 5 2022

avg added a comment to D36424: Add ITE 8613 to superio.
Sep 5 2022, 5:53 PM
avg added a comment to D36424: Add ITE 8613 to superio.

The superio.c change looks mostly good, but I think that you can use ite_devices for your chip as well.
Most likely it does have the watchdog component.
Also, you were correct about the comment and assert on the possible vendor IDs. Those were not updated when fintek support was added.

Sep 5 2022, 5:50 PM

Aug 25 2022

avg resigned from D36350: Add strndup_user() to LinuxKPI <linux/string.h>.
Aug 25 2022, 7:05 PM ยท linuxkpi, Linux Emulation

Aug 24 2022

avg committed rG6364180582b7: linuxkpi: unbreak linux_i2cbb (authored by manu).
linuxkpi: unbreak linux_i2cbb
Aug 24 2022, 1:35 PM

Aug 23 2022

avg accepted D34094: Update superiotool to latest version.

LGTM. Thank you very much!

Aug 23 2022, 12:02 PM

Aug 14 2022

avg resigned from D27318: freebsd-version(1): present -v option, to print verbose output.
Aug 14 2022, 7:08 PM

Aug 5 2022

avg updated the diff for D33302: zfs boot: prefer a pool with bootfs set for a boot pool.

Probe the boot device first to give it preferrential treatment.
In my tests this does not make a difference as the BIOS puts the boot disk
as the first disk anyway, but other implementations may have their quirks.

Aug 5 2022, 6:01 AM

Aug 1 2022

avg added a comment to D33302: zfs boot: prefer a pool with bootfs set for a boot pool.

I realized, after feedback from testers, that I changed only the way in which loader would pick a boot pool.
But loader usually does not do that, it just uses a pool that is passed to it by an earlier stage (typically [gpt]zfsboot).
It turned out that zfsboot did not consult zfs_pools at all and used its own mechanism to select a boot pool.
That mechanism made use of bootinfo.bi_bios_dev and zfs_probe_dev.
I changed zfsboot to use the same boot poo selection mechanism that I had in mind for loader.

Aug 1 2022, 4:42 PM
avg updated the diff for D33302: zfs boot: prefer a pool with bootfs set for a boot pool.

(gpt)zfsboot used its own mechanism to pick up the boot pool, so it was not
affected by the earlier changes.
The boot pool was the first pool discovered while probing the boot disk.
Pools discovered via other disks were noted, but ignored.
Now (gpt)zfsboot has been changed to use spa_first_bootable().

Aug 1 2022, 4:24 PM

Jul 20 2022

Herald added a reviewer for D33302: zfs boot: prefer a pool with bootfs set for a boot pool: manu.

@tsoome , could you please clarify the nature of our objection to this change?

Jul 20 2022, 9:49 AM

Jul 4 2022

avg accepted D35701: pca954x: harmonize pca9547 and pca954x and add pca9540 support.

One final super-small nit: I am not sure what style(9) says about it, but my personal preference is that if one block of an if-else chain needs curly braces then all blocks in the chain should have them.
To my eye, that looks prettier.
But feel free to ignore this if it looks uglier or just the same to you.

Jul 4 2022, 4:18 PM
avg added inline comments to D35701: pca954x: harmonize pca9547 and pca954x and add pca9540 support.
Jul 4 2022, 4:06 PM
avg committed rG619fe6570947: liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code (authored by avg).
liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code
Jul 4 2022, 11:34 AM
avg committed rG3c04909b9cb0: aw_mmc: add crash dumping support in MMCCAM mode (authored by avg).
aw_mmc: add crash dumping support in MMCCAM mode
Jul 4 2022, 10:20 AM
avg committed rG153664d5adc0: liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code (authored by avg).
liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code
Jul 4 2022, 10:18 AM
avg added inline comments to D35701: pca954x: harmonize pca9547 and pca954x and add pca9540 support.
Jul 4 2022, 6:23 AM
avg accepted D35701: pca954x: harmonize pca9547 and pca954x and add pca9540 support.

I think that this is a very good change. Some minor code style / improvement suggestions from me.
Thank you.

Jul 4 2022, 6:19 AM

Jun 22 2022

avg accepted D35548: mptable_hostb: Use legacy_get_pcibus() to fetch PCI bus number..
Jun 22 2022, 4:42 PM

May 24 2022

avg accepted D24927: x86/mp: don't create empty cpu groups.
May 24 2022, 10:16 AM

Feb 17 2022

avg committed rG4328d67d2542: mmc_da: create disk(9) for pre-2.0 SD cards (authored by avg).
mmc_da: create disk(9) for pre-2.0 SD cards
Feb 17 2022, 6:58 AM
avg committed rG6b3071c70e64: mmc_da: create disk(9) for pre-2.0 SD cards (authored by avg).
mmc_da: create disk(9) for pre-2.0 SD cards
Feb 17 2022, 6:58 AM
avg committed rG77eb3a831ec0: g_mirror: don't fail reads while losing next-to-last disk (authored by avg).
g_mirror: don't fail reads while losing next-to-last disk
Feb 17 2022, 6:56 AM
avg committed rGcb702452adeb: g_mirror: don't fail reads while losing next-to-last disk (authored by avg).
g_mirror: don't fail reads while losing next-to-last disk
Feb 17 2022, 6:49 AM

Feb 16 2022

avg committed rGaf8b51b0bac9: aw_mmc: add crash dumping support in MMCCAM mode (authored by avg).
aw_mmc: add crash dumping support in MMCCAM mode
Feb 16 2022, 7:59 AM
avg committed rG1a93b2288cb1: liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code (authored by avg).
liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code
Feb 16 2022, 7:58 AM
avg committed rGe32acf95ea25: cam_get_device: resolve path links before parsing device name (authored by avg).
cam_get_device: resolve path links before parsing device name
Feb 16 2022, 7:54 AM

Feb 9 2022

avg committed rGc238600e3789: add overlay for enabling i2c1 on allwinner h3 (authored by avg).
add overlay for enabling i2c1 on allwinner h3
Feb 9 2022, 9:41 AM
avg committed rGaa460944533a: add overlay for enabling spi0 on allwinner h3 (authored by avg).
add overlay for enabling spi0 on allwinner h3
Feb 9 2022, 9:41 AM
avg committed rG0237541d1520: add overlay for enabling i2c1 on allwinner h3 (authored by avg).
add overlay for enabling i2c1 on allwinner h3
Feb 9 2022, 9:37 AM
avg committed rGea331a2ef468: add overlay for enabling serial1 / uart1 on rk3328 (authored by avg).
add overlay for enabling serial1 / uart1 on rk3328
Feb 9 2022, 9:36 AM
avg committed rGb8db946c3b44: add overlay for enabling spi0 on allwinner h3 (authored by avg).
add overlay for enabling spi0 on allwinner h3
Feb 9 2022, 9:36 AM
avg committed rGb4a16940b909: add overlay for enabling i2c0 on rk3328 (authored by avg).
add overlay for enabling i2c0 on rk3328
Feb 9 2022, 9:36 AM

Feb 8 2022

avg committed rG36dbd166887d: dt_unring_buf: set dtbd_oldest to the start of the first record (authored by avg).
dt_unring_buf: set dtbd_oldest to the start of the first record
Feb 8 2022, 4:17 PM
avg committed rGb76c31036687: schedgraph.py: port to Python 3 (authored by avg).
schedgraph.py: port to Python 3
Feb 8 2022, 4:17 PM
avg committed rGcbc3c3f0d79f: dt_unring_buf: set dtbd_oldest to the start of the first record (authored by avg).
dt_unring_buf: set dtbd_oldest to the start of the first record
Feb 8 2022, 4:16 PM
avg committed rGeee25e8417cf: schedgraph.py: port to Python 3 (authored by avg).
schedgraph.py: port to Python 3
Feb 8 2022, 4:16 PM

Feb 4 2022

avg resigned from D34171: Restore access to "user.*" variables in sysctlbyname().
Feb 4 2022, 10:23 PM

Feb 2 2022

avg committed rG8934d3e7b9b9: sdhci: fix dumping support in MMCCAM configuration (authored by avg).
sdhci: fix dumping support in MMCCAM configuration
Feb 2 2022, 6:52 AM

Feb 1 2022

avg added a comment to D34117: hdac: Handle interrupts racing with device suspend.

@imp , I am not sure if we are disagreeing about anything.
I just explained why the current code the way it is (for shared interrupts).
And stated that the non-shared interrupts case is different.

Feb 1 2022, 4:05 PM
avg added a comment to D34117: hdac: Handle interrupts racing with device suspend.
In D34117#771775, @imp wrote:

But it does not make sense for exclusive interrupts: how the hardware can generate an interrupt if it's not sufficiently resumed yet?

You assume a binary condition in the resume function. Maybe the hardware needs interrupts to properly resume the device after restoring a few registers?

Feb 1 2022, 2:27 PM
avg committed rG08bc6b60c354: dwwdt: make it actually useful (authored by avg).
dwwdt: make it actually useful
Feb 1 2022, 8:13 AM
avg committed rGeacdf85d4410: dtrace: add a knob to control maximum size of principal buffers (authored by avg).
dtrace: add a knob to control maximum size of principal buffers
Feb 1 2022, 8:13 AM
avg added a comment to D34117: hdac: Handle interrupts racing with device suspend.

So this fails for at least nvme: pci_resume_child() un-suspends interrupts after resuming devices, but nvme_pci_resume() depends on having working admin interrupts, in nvme_ctrlr_identify(). It's not obvious to me exactly why we need to resume the driver before enabling interrupts. Reording fixes the problem on my laptop at least.

Feb 1 2022, 6:45 AM

Jan 31 2022

avg added a comment to D34117: hdac: Handle interrupts racing with device suspend.

I still tend to think it's better to avoid the unlocked intsts read in hdac_intr_handler().

Jan 31 2022, 9:47 PM
avg added a comment to D34117: hdac: Handle interrupts racing with device suspend.

Yes, rid 0 is for legacy PCI interrupts and rids >= 1 are for MSI / MSI-X.
So, indeed, a proper barrier would require iterating over all active interrupt resources.

Jan 31 2022, 9:32 PM
avg added a comment to D34117: hdac: Handle interrupts racing with device suspend.

@markj , hmm, maybe 82a5a2752724 should be extended to non-shared interrupts to prevent races between an interrupt handler and a suspend method?

Jan 31 2022, 9:19 PM

Jan 30 2022

avg added inline comments to D34094: Update superiotool to latest version.
Jan 30 2022, 10:03 AM
avg added inline comments to D34094: Update superiotool to latest version.
Jan 30 2022, 9:49 AM

Jan 27 2022

avg committed rG6fd84a627fa0: mmc_da: create disk(9) for pre-2.0 SD cards (authored by avg).
mmc_da: create disk(9) for pre-2.0 SD cards
Jan 27 2022, 5:03 PM
avg committed rG5d5f44623eb3: g_mirror: don't fail reads while losing next-to-last disk (authored by avg).
g_mirror: don't fail reads while losing next-to-last disk
Jan 27 2022, 11:27 AM

Jan 26 2022

avg added a comment to D33707: iic: return errnos to userspace instead of IIC_ error numbers.

I am a bit torn on this.
On the one hand, I like the simplicity that comes from returning errno codes to userland.
On the other hand, recently I had to write a program that had to use "low level" ioctl-s like I2CSTART and I needed to be able to distinguish IIC_ENOACK from other bus conditions.
In any case, the current state of matters where a return value can be either an errno code or an IIC code is clearly a mess.

Jan 26 2022, 2:15 PM
avg committed rGf4a041af299c: add overlay for enabling spi0 on allwinner h3 (authored by avg).
add overlay for enabling spi0 on allwinner h3
Jan 26 2022, 9:43 AM
avg committed rGa471646a0802: add overlay for enabling i2c1 on allwinner h3 (authored by avg).
add overlay for enabling i2c1 on allwinner h3
Jan 26 2022, 9:43 AM
avg committed rG173d0fb61672: add overlay for enabling serial1 / uart1 on rk3328 (authored by avg).
add overlay for enabling serial1 / uart1 on rk3328
Jan 26 2022, 9:34 AM
avg committed rGf41f98f0f07c: add overlay for enabling i2c0 on rk3328 (authored by avg).
add overlay for enabling i2c0 on rk3328
Jan 26 2022, 9:34 AM
avg committed rG1abf1e8c6b13: cam_get_device: resolve path links before parsing device name (authored by avg).
cam_get_device: resolve path links before parsing device name
Jan 26 2022, 9:27 AM
avg committed rG46f4697fb76e: mmc_da: use MMC_SECTOR_SIZE constant in place of literals (authored by avg).
mmc_da: use MMC_SECTOR_SIZE constant in place of literals
Jan 26 2022, 7:35 AM
avg committed rG94ff1d9cc8ff: sdhci: fix dumping support in MMCCAM configuration (authored by avg).
sdhci: fix dumping support in MMCCAM configuration
Jan 26 2022, 7:33 AM
avg committed rG098780e8fe98: mmc_da: use MMC_SECTOR_SIZE constant in place of literals (authored by avg).
mmc_da: use MMC_SECTOR_SIZE constant in place of literals
Jan 26 2022, 7:31 AM
avg committed rG79c3478e76c3: mmc_da: implement d_dump method, sddadump (authored by avg).
mmc_da: implement d_dump method, sddadump
Jan 26 2022, 7:29 AM

Jan 25 2022

avg committed rGe0cc1ce7c086: smp_targeted_tlb_shootdown has to pin the CPU on i386 (authored by avg).
smp_targeted_tlb_shootdown has to pin the CPU on i386
Jan 25 2022, 10:39 AM
avg closed D33980: smp_targeted_tlb_shootdown has to pin the CPU on i386.
Jan 25 2022, 10:39 AM
avg committed rG9f8b984392f2: add and use defintions for ATA power modes (authored by avg).
add and use defintions for ATA power modes
Jan 25 2022, 7:49 AM
avg committed rG82acfc0d7838: add and use defintions for ATA power modes (authored by avg).
add and use defintions for ATA power modes
Jan 25 2022, 7:48 AM

Jan 22 2022

avg added a comment to D33980: smp_targeted_tlb_shootdown has to pin the CPU on i386.
In D33980#768547, @kib wrote:

Did you consider putting sched_pin() at the caller' side, same as on amd64?
I do not insist, just curios: IMO i386 on 12 ought to get as little efforts as possible.

Jan 22 2022, 9:42 AM

Jan 21 2022

avg committed rGe265658e4e36: rc: make ctld depend on NETWORKING (authored by trasz).
rc: make ctld depend on NETWORKING
Jan 21 2022, 7:48 AM
avg committed rGc0163f4abef0: rc: make ctld depend on NETWORKING (authored by trasz).
rc: make ctld depend on NETWORKING
Jan 21 2022, 7:46 AM
avg requested review of D33980: smp_targeted_tlb_shootdown has to pin the CPU on i386.
Jan 21 2022, 7:36 AM
avg committed rGc902b6082a84: adaspindown: check disk power mode before sending IDLE command (authored by avg).
adaspindown: check disk power mode before sending IDLE command
Jan 21 2022, 7:02 AM
avg committed rG89ac48cf3ba1: adaspindown: check disk power mode before sending IDLE command (authored by avg).
adaspindown: check disk power mode before sending IDLE command
Jan 21 2022, 7:02 AM

Jan 19 2022

avg committed rG9fe892e8fab2: mmc_da: remove write-only local variables (authored by avg).
mmc_da: remove write-only local variables
Jan 19 2022, 7:05 AM
avg committed rG08956b8362af: mmc_da: remove write-only local variables (authored by avg).
mmc_da: remove write-only local variables
Jan 19 2022, 7:02 AM

Jan 12 2022

avg committed rGdfb1c97ab973: mmc_da: remove write-only local variables (authored by avg).
mmc_da: remove write-only local variables
Jan 12 2022, 7:19 AM
avg committed rG60b7d5a24a8f: mmc_da: use MMC_SECTOR_SIZE constant in place of literals (authored by avg).
mmc_da: use MMC_SECTOR_SIZE constant in place of literals
Jan 12 2022, 7:16 AM
avg closed D33843: mmc_da: implement d_dump method, sddadump.
Jan 12 2022, 7:04 AM
avg committed rG44682688f038: mmc_da: implement d_dump method, sddadump (authored by avg).
mmc_da: implement d_dump method, sddadump
Jan 12 2022, 7:04 AM

Jan 11 2022

avg added inline comments to D33843: mmc_da: implement d_dump method, sddadump.
Jan 11 2022, 8:30 PM
avg updated the diff for D33843: mmc_da: implement d_dump method, sddadump.

address comments from mav

Jan 11 2022, 7:04 PM
avg added inline comments to D33843: mmc_da: implement d_dump method, sddadump.
Jan 11 2022, 3:43 PM
avg added inline comments to D33843: mmc_da: implement d_dump method, sddadump.
Jan 11 2022, 3:40 PM
avg added inline comments to D33843: mmc_da: implement d_dump method, sddadump.
Jan 11 2022, 3:12 PM
avg committed rG94f4afd7720b: rk805 / rk808: re-add system poweroff support (authored by avg).
rk805 / rk808: re-add system poweroff support
Jan 11 2022, 2:26 PM
avg closed D33844: rk805: re-add system poweroff support.
Jan 11 2022, 2:25 PM
avg added a comment to D33844: rk805: re-add system poweroff support.

@manu , not sure if this is the approach that you had in mind.
But I think it's better to discuss based on some concrete code rather than abstractly.
Thank you.

Jan 11 2022, 2:09 PM
avg requested review of D33844: rk805: re-add system poweroff support.
Jan 11 2022, 2:08 PM
avg updated the test plan for D33843: mmc_da: implement d_dump method, sddadump.
Jan 11 2022, 2:06 PM
avg requested review of D33843: mmc_da: implement d_dump method, sddadump.
Jan 11 2022, 2:02 PM
avg committed rGee900888c42f: dwwdt: make it actually useful (authored by avg).
dwwdt: make it actually useful
Jan 11 2022, 1:57 PM
avg closed D33534: dwwdt: make it actually useful.
Jan 11 2022, 1:57 PM
avg committed rG7fdf0e883567: dtrace: add a knob to control maximum size of principal buffers (authored by avg).
dtrace: add a knob to control maximum size of principal buffers
Jan 11 2022, 1:52 PM
avg committed rG256c8c5df2a4: dt_unring_buf: set dtbd_oldest to the start of the first record (authored by avg).
dt_unring_buf: set dtbd_oldest to the start of the first record
Jan 11 2022, 1:52 PM
avg closed D33648: dtrace: add a knob to control maximum size of principal buffers.
Jan 11 2022, 1:52 PM
avg closed D33649: dt_unring_buf: set dtbd_oldest to the start of the first record.
Jan 11 2022, 1:52 PM
avg committed rG75bc7150f4b8: add and use defintions for ATA power modes (authored by avg).
add and use defintions for ATA power modes
Jan 11 2022, 1:43 PM
avg closed D33646: add and use defintions for ATA power modes.
Jan 11 2022, 1:42 PM