Page MenuHomeFreeBSD

vexeduxr (Ahmad Khalifa)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 23 2024, 6:07 PM (50 w, 5 d)

Recent Activity

Sat, Oct 11

vexeduxr committed rG25cca51ed294: libm: remainder: make sure x is zero (authored by vexeduxr).
libm: remainder: make sure x is zero
Sat, Oct 11, 10:19 AM
vexeduxr closed D53023: libm: remainder: make sure x is zero.
Sat, Oct 11, 10:19 AM
vexeduxr added a comment to D53023: libm: remainder: make sure x is zero.

On Sat Oct 11, 2025 at 2:26 AM +0300, Steve Kargl wrote:

I do not have a phabricator account. That method to
review patches came after I stopped committing.

I did look at your patch, and do believe that it
is the correct fix. If you compare to remainderf(),
you'll see that the float version considers the
entire significand. I also checked remainderl().
It calls remquol() and it's implementation is
much different than the float and double versions.

Sat, Oct 11, 7:11 AM

Fri, Oct 10

vexeduxr added a comment to D53023: libm: remainder: make sure x is zero.

Will do. I tried to add him to the review before uploading the patch but couldn't find an account.

Fri, Oct 10, 5:24 PM
vexeduxr accepted D53000: GitHub: Use parens for hashes listed by checklist.
Fri, Oct 10, 2:46 PM
vexeduxr updated the summary of D53023: libm: remainder: make sure x is zero.
Fri, Oct 10, 2:41 PM
vexeduxr updated the test plan for D53023: libm: remainder: make sure x is zero.
Fri, Oct 10, 1:11 PM
vexeduxr requested review of D53023: libm: remainder: make sure x is zero.
Fri, Oct 10, 12:57 PM

Wed, Oct 1

vexeduxr committed rG555c30611c26: rk_gpio: Fix register read/write on rk3568 (authored by devivanov_proton.me).
rk_gpio: Fix register read/write on rk3568
Wed, Oct 1, 9:41 AM
vexeduxr committed rG1488828f451c: gpioc: allocate new fifo size (authored by vexeduxr).
gpioc: allocate new fifo size
Wed, Oct 1, 9:40 AM
vexeduxr committed rG4472ecb362b0: gpioc: fix race in ioctl(GPIOCONFIGEVENTS) (authored by vexeduxr).
gpioc: fix race in ioctl(GPIOCONFIGEVENTS)
Wed, Oct 1, 9:40 AM
vexeduxr committed rG51cac1f186f5: ng_tty: copy to the correct mbuf (authored by vexeduxr).
ng_tty: copy to the correct mbuf
Wed, Oct 1, 9:40 AM
vexeduxr committed rG80ef1216d773: gpioc: allocate new fifo size (authored by vexeduxr).
gpioc: allocate new fifo size
Wed, Oct 1, 9:40 AM
vexeduxr committed rGd8ee81cb8a86: gpioc: allocate priv->events with the correct size (authored by vexeduxr).
gpioc: allocate priv->events with the correct size
Wed, Oct 1, 9:40 AM
vexeduxr committed rG2dc10f2a49af: ng_tty: don't increment m_data (authored by vexeduxr).
ng_tty: don't increment m_data
Wed, Oct 1, 9:40 AM
vexeduxr committed rG6163ced966b4: gpioc: fix race in ioctl(GPIOCONFIGEVENTS) (authored by vexeduxr).
gpioc: fix race in ioctl(GPIOCONFIGEVENTS)
Wed, Oct 1, 9:40 AM
vexeduxr committed rG39139fec932e: gpioc: allocate priv->events with the correct size (authored by vexeduxr).
gpioc: allocate priv->events with the correct size
Wed, Oct 1, 9:40 AM
vexeduxr committed rGb6ad8caa24c2: ng_tty: copy to the correct mbuf (authored by vexeduxr).
ng_tty: copy to the correct mbuf
Wed, Oct 1, 9:40 AM
vexeduxr committed rG3c4b41a93af0: gpioc: allocate new fifo size (authored by vexeduxr).
gpioc: allocate new fifo size
Wed, Oct 1, 9:40 AM
vexeduxr committed rGe05342f3618f: ng_tty: don't increment m_data (authored by vexeduxr).
ng_tty: don't increment m_data
Wed, Oct 1, 9:40 AM
vexeduxr committed rG8fef0ee89497: gpioc: fix race in ioctl(GPIOCONFIGEVENTS) (authored by vexeduxr).
gpioc: fix race in ioctl(GPIOCONFIGEVENTS)
Wed, Oct 1, 9:40 AM
vexeduxr committed rG7432a95653de: gpio: implement bus_setup_intr and bus_teardown_intr (authored by vexeduxr).
gpio: implement bus_setup_intr and bus_teardown_intr
Wed, Oct 1, 9:40 AM
vexeduxr committed rG0f92b4049931: gpioc: allocate priv->events with the correct size (authored by vexeduxr).
gpioc: allocate priv->events with the correct size
Wed, Oct 1, 9:40 AM
vexeduxr committed rGcddbc26251d6: rk_gpio: Enable gpio allocation via fdt (authored by devivanov_proton.me).
rk_gpio: Enable gpio allocation via fdt
Wed, Oct 1, 9:40 AM
vexeduxr committed rG9fd527140ae8: rk_gpio: Fix register read/write on rk3568 (authored by devivanov_proton.me).
rk_gpio: Fix register read/write on rk3568
Wed, Oct 1, 9:40 AM
vexeduxr committed rG2ae71a5e9ffb: ng_tty: copy to the correct mbuf (authored by vexeduxr).
ng_tty: copy to the correct mbuf
Wed, Oct 1, 9:39 AM
vexeduxr committed rGe73cc0abe140: ng_tty: don't increment m_data (authored by vexeduxr).
ng_tty: don't increment m_data
Wed, Oct 1, 9:39 AM

Tue, Sep 30

vexeduxr added inline comments to D52783: gpioc: fix race in ioctl(GPIOCONFIGEVENTS).
Tue, Sep 30, 9:25 PM
vexeduxr committed rG2679636b4412: gpioc: allocate new fifo size (authored by vexeduxr).
gpioc: allocate new fifo size
Tue, Sep 30, 12:05 PM
vexeduxr committed rGfa26e445544e: gpioc: allocate priv->events with the correct size (authored by vexeduxr).
gpioc: allocate priv->events with the correct size
Tue, Sep 30, 11:22 AM
vexeduxr committed rGd000adfe41e6: gpioc: fix race in ioctl(GPIOCONFIGEVENTS) (authored by vexeduxr).
gpioc: fix race in ioctl(GPIOCONFIGEVENTS)
Tue, Sep 30, 11:22 AM
vexeduxr closed D52783: gpioc: fix race in ioctl(GPIOCONFIGEVENTS).
Tue, Sep 30, 11:21 AM
vexeduxr updated the diff for D52783: gpioc: fix race in ioctl(GPIOCONFIGEVENTS).

Allocate fifo before locking priv->mtx

Tue, Sep 30, 9:20 AM
vexeduxr added inline comments to D52783: gpioc: fix race in ioctl(GPIOCONFIGEVENTS).
Tue, Sep 30, 9:17 AM
vexeduxr added inline comments to D52783: gpioc: fix race in ioctl(GPIOCONFIGEVENTS).
Tue, Sep 30, 6:53 AM
vexeduxr updated the diff for D52783: gpioc: fix race in ioctl(GPIOCONFIGEVENTS).

malloc priv->events with the correct size

Tue, Sep 30, 6:30 AM
vexeduxr closed D52197: gpio: implement bus_setup_intr and bus_teardown_intr.
Tue, Sep 30, 4:23 AM
vexeduxr committed rGf1a372ed88b1: gpio: implement bus_setup_intr and bus_teardown_intr (authored by vexeduxr).
gpio: implement bus_setup_intr and bus_teardown_intr
Tue, Sep 30, 4:23 AM

Mon, Sep 29

vexeduxr updated the test plan for D52783: gpioc: fix race in ioctl(GPIOCONFIGEVENTS).
Mon, Sep 29, 3:50 PM
vexeduxr requested review of D52783: gpioc: fix race in ioctl(GPIOCONFIGEVENTS).
Mon, Sep 29, 3:47 PM

Thu, Sep 25

vexeduxr committed rGace98a8fb8fe: rk_gpio: Enable gpio allocation via fdt (authored by devivanov_proton.me).
rk_gpio: Enable gpio allocation via fdt
Thu, Sep 25, 5:49 PM
vexeduxr committed rG34ec8c9ccaa4: rk_gpio: Fix register read/write on rk3568 (authored by devivanov_proton.me).
rk_gpio: Fix register read/write on rk3568
Thu, Sep 25, 5:49 PM
vexeduxr closed D52513: rk_gpio: Enable gpio allocation via fdt.
Thu, Sep 25, 5:48 PM
vexeduxr closed D52512: rk_gpio: Fix register read/write on rk3568.
Thu, Sep 25, 5:48 PM
vexeduxr committed rGe05521121f05: ng_tty: copy to the correct mbuf (authored by vexeduxr).
ng_tty: copy to the correct mbuf
Thu, Sep 25, 4:58 PM
vexeduxr closed D52713: ng_tty: copy to the correct mbuf.
Thu, Sep 25, 4:58 PM
vexeduxr accepted D52513: rk_gpio: Enable gpio allocation via fdt.
Thu, Sep 25, 9:21 AM
vexeduxr accepted D52512: rk_gpio: Fix register read/write on rk3568.

I don't have the hardware to test this, but cross referencing the documentation, it looks good to me.

Thu, Sep 25, 9:18 AM
vexeduxr added a comment to D52197: gpio: implement bus_setup_intr and bus_teardown_intr.

Bump
Userspace GPIO interrupts are currently broken because of this. (after D51932)
I believe that we do need to implement the resource allocation functions too (for cross-tree consumers), just not on the GPIO controller.

Thu, Sep 25, 8:32 AM

Wed, Sep 24

vexeduxr requested review of D52713: ng_tty: copy to the correct mbuf.
Wed, Sep 24, 3:55 PM
vexeduxr committed rG57d5a8feda3f: ng_tty: don't increment m_data (authored by vexeduxr).
ng_tty: don't increment m_data
Wed, Sep 24, 3:05 PM
vexeduxr closed D52702: ng_tty: don't increment m_data.
Wed, Sep 24, 3:04 PM
vexeduxr added a comment to D52702: ng_tty: don't increment m_data.

No problem :)

Wed, Sep 24, 3:01 PM
vexeduxr added inline comments to D52702: ng_tty: don't increment m_data.
Wed, Sep 24, 10:22 AM

Tue, Sep 23

vexeduxr requested review of D52702: ng_tty: don't increment m_data.
Tue, Sep 23, 9:38 PM

Sun, Sep 21

vexeduxr committed rGf3ecec554bf5: gpioled: use hw pin inversion if available (authored by stephane.rochoy_stormshield.eu).
gpioled: use hw pin inversion if available
Sun, Sep 21, 10:47 AM
vexeduxr committed rG7fcd41dfa6ee: gpioled: remove redundant -1 check (authored by vexeduxr).
gpioled: remove redundant -1 check
Sun, Sep 21, 10:47 AM

Sat, Sep 20

vexeduxr committed rG856510e16058: rk_tsadc: use tsadc_temp_to_raw for shutdown_temp (authored by devivanov_proton.me).
rk_tsadc: use tsadc_temp_to_raw for shutdown_temp
Sat, Sep 20, 7:55 AM
vexeduxr committed rG8f9a7ea9cf25: rk_tsadc: use tsadc_temp_to_raw for shutdown_temp (authored by devivanov_proton.me).
rk_tsadc: use tsadc_temp_to_raw for shutdown_temp
Sat, Sep 20, 7:55 AM

Thu, Sep 18

vexeduxr committed rGe0c83ab3b362: gpioled: remove redundant -1 check (authored by vexeduxr).
gpioled: remove redundant -1 check
Thu, Sep 18, 10:09 PM
vexeduxr accepted D52513: rk_gpio: Enable gpio allocation via fdt.

LGTM, just one nit.

Thu, Sep 18, 8:07 AM

Wed, Sep 17

vexeduxr closed D52309: rk_tsadc: use tsadc_temp_to_raw for shutdown_temp.
Wed, Sep 17, 2:22 PM
vexeduxr committed rG2b0f8c6907b9: rk_tsadc: use tsadc_temp_to_raw for shutdown_temp (authored by devivanov_proton.me).
rk_tsadc: use tsadc_temp_to_raw for shutdown_temp
Wed, Sep 17, 2:22 PM
vexeduxr added a comment to D52309: rk_tsadc: use tsadc_temp_to_raw for shutdown_temp.

No worries.

Wed, Sep 17, 2:14 PM

Mon, Sep 15

vexeduxr committed rG27699e31fa50: boot/universe.sh: toggle LOADER_BIOS_TEXTONLY (authored by vexeduxr).
boot/universe.sh: toggle LOADER_BIOS_TEXTONLY
Mon, Sep 15, 9:40 PM
vexeduxr closed D52559: boot/universe.sh: toggle LOADER_BIOS_TEXTONLY.
Mon, Sep 15, 9:40 PM
vexeduxr added a comment to D52559: boot/universe.sh: toggle LOADER_BIOS_TEXTONLY.

I got toolchain errors when running the script for amd64, but I verified that it does actually build with MK_LOADER_BIOS_TEXTONLY=no on amd64.

Mon, Sep 15, 8:39 PM
vexeduxr requested review of D52559: boot/universe.sh: toggle LOADER_BIOS_TEXTONLY.
Mon, Sep 15, 8:38 PM
vexeduxr added a comment to D52309: rk_tsadc: use tsadc_temp_to_raw for shutdown_temp.

Bumping
This seems important, should make it to 15.0

Mon, Sep 15, 3:00 PM

Sun, Sep 14

vexeduxr added inline comments to D52512: rk_gpio: Fix register read/write on rk3568.
Sun, Sep 14, 1:12 PM
vexeduxr added inline comments to D52512: rk_gpio: Fix register read/write on rk3568.
Sun, Sep 14, 12:36 PM

Sep 10 2025

vexeduxr committed rG80661e2153d2: loader/efi: fix non-x86 build (authored by vexeduxr).
loader/efi: fix non-x86 build
Sep 10 2025, 8:00 AM

Sep 9 2025

vexeduxr committed rG101a35e84da3: efi: translate errno to EFI status on exit (authored by vexeduxr).
efi: translate errno to EFI status on exit
Sep 9 2025, 5:31 PM
vexeduxr committed rGb4c5d5827fdd: loader/efi: plug memory leak (authored by vexeduxr).
loader/efi: plug memory leak
Sep 9 2025, 5:31 PM
vexeduxr committed rG18141961df8c: loader/efi: remove is_last parameter from find_currdev (authored by vexeduxr).
loader/efi: remove is_last parameter from find_currdev
Sep 9 2025, 5:31 PM
vexeduxr committed rGcd9b43edd5a7: loader/efi: return error from efi_find_framebuffer (authored by vexeduxr).
loader/efi: return error from efi_find_framebuffer
Sep 9 2025, 5:31 PM
vexeduxr committed rG7d48a5620522: stand: remove unused variables (authored by vexeduxr).
stand: remove unused variables
Sep 9 2025, 5:31 PM
vexeduxr closed D52433: loader/efi: plug memory leak.
Sep 9 2025, 5:31 PM
vexeduxr closed D52434: loader/efi: remove is_last parameter from find_currdev.
Sep 9 2025, 5:31 PM
vexeduxr committed rGd81b84d6de65: loader/efi: build with -Wall (authored by vexeduxr).
loader/efi: build with -Wall
Sep 9 2025, 5:31 PM
vexeduxr closed D52432: loader/efi: return error from efi_find_framebuffer.
Sep 9 2025, 5:31 PM
vexeduxr closed D52431: loader/efi: build with -Wall.
Sep 9 2025, 5:30 PM
vexeduxr updated the diff for D52432: loader/efi: return error from efi_find_framebuffer.

Return actual errno values in other code paths.

Sep 9 2025, 11:08 AM
vexeduxr added a comment to D52431: loader/efi: build with -Wall.

The BIOS loader uses -Wall, but I'm not sure about the rest.

Sep 9 2025, 11:07 AM
vexeduxr added a comment to D52432: loader/efi: return error from efi_find_framebuffer.

Ah, I don't mind. :)

Sep 9 2025, 11:06 AM
vexeduxr committed rG54cc3da443da: moused: fix GCC build (authored by vexeduxr).
moused: fix GCC build
Sep 9 2025, 5:07 AM
vexeduxr added a comment to D50995: linuxkpi: Use `__builtin_popcountg()` instead of `bitcount*()`.
In D50995#1164515, @bz wrote:

Lastly contrib/llvm-project/libcxx/include/__bit/popcount.h says:

"__builtin_popcountg is available since Clang 19 and GCC 14"

No idea what our bare minimum is.

Sep 9 2025, 5:00 AM

Sep 8 2025

vexeduxr updated the diff for D52432: loader/efi: return error from efi_find_framebuffer.

Remove redundant initialization

Sep 8 2025, 9:13 PM
vexeduxr added a comment to D52431: loader/efi: build with -Wall.

Most errors generated by this are trivial to fix. I just opened reviews for the ones that weren't.

Sep 8 2025, 9:07 PM
vexeduxr requested review of D52434: loader/efi: remove is_last parameter from find_currdev.
Sep 8 2025, 9:05 PM
vexeduxr requested review of D52433: loader/efi: plug memory leak.
Sep 8 2025, 9:04 PM
vexeduxr requested review of D52432: loader/efi: return error from efi_find_framebuffer.
Sep 8 2025, 9:04 PM
vexeduxr requested review of D52431: loader/efi: build with -Wall.
Sep 8 2025, 9:03 PM

Sep 3 2025

vexeduxr committed rGccc6cf3b67ed: libgpio: Add and document gpio interrupt utility functions (authored by devivanov_proton.me).
libgpio: Add and document gpio interrupt utility functions
Sep 3 2025, 6:09 PM
vexeduxr closed D52102: libgpio: Add and document gpio interrupt utility functions.
Sep 3 2025, 6:09 PM

Aug 31 2025

vexeduxr added a comment to D52305: gpiobus: use bus_generic_detach when detaching.

This fixes the BUS_DELETED_CHILD call for acpi_gpiobus. I think it might be papering over a bug though.
When device_delete_child is called, say with device_delete_child(gpio0, gpiobus0), it calls device_detach on gpiobus0. It then goes through it's children and recursively calls device_delete_child on them. When one of these children reach the BUS_CHILD_DELETED call, gpiobus0 has already been detached, so the call never reaches it's implementation.

Aug 31 2025, 2:46 PM
vexeduxr requested review of D52305: gpiobus: use bus_generic_detach when detaching.
Aug 31 2025, 2:46 PM
vexeduxr added inline comments to D52246: gpio: Add support for mcp23008/mcp23017/mcp23s08/mcp23s17 IO expanders.
Aug 31 2025, 12:45 PM
vexeduxr added a comment to D52246: gpio: Add support for mcp23008/mcp23017/mcp23s08/mcp23s17 IO expanders.

The inline comments are in wildly incorrect places now, I'm not sure if I can fix that.

Aug 31 2025, 12:24 PM

Aug 30 2025

vexeduxr added reviewers for D52246: gpio: Add support for mcp23008/mcp23017/mcp23s08/mcp23s17 IO expanders: mmel, imp, andrew, manu.

The new files (excluding the makefiles) are missing licenses.

Aug 30 2025, 12:11 PM