Page MenuHomeFreeBSD

vexeduxr (Ahmad Khalifa)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 23 2024, 6:07 PM (37 w, 2 d)

Recent Activity

Yesterday

vexeduxr added inline comments to D43034: jh7110_gpio: Add StarFive JH7110 GPIO controller driver.
Fri, Jul 11, 7:43 PM
vexeduxr committed rG3d5ef2982555: acpi_gpiobus: don't print error message if _AEI object doesn't exist (authored by vexeduxr).
acpi_gpiobus: don't print error message if _AEI object doesn't exist
Fri, Jul 11, 12:16 PM
vexeduxr closed D51236: acpi_gpiobus: don't print error message if _AEI object doesn't exist.
Fri, Jul 11, 12:16 PM

Thu, Jul 10

vexeduxr requested review of D51236: acpi_gpiobus: don't print error message if _AEI object doesn't exist.
Thu, Jul 10, 9:18 PM

Mon, Jul 7

vexeduxr committed rGcdba3a8f9fce: gpio: attach gpiobus when the controller is ready (authored by vexeduxr).
gpio: attach gpiobus when the controller is ready
Mon, Jul 7, 7:23 PM
vexeduxr committed rG32c90988d204: gpio: remove redundant calls to bus_attach_children (authored by vexeduxr).
gpio: remove redundant calls to bus_attach_children
Mon, Jul 7, 7:23 PM
vexeduxr committed rGc6a6b94b6613: gpiobus: add a gpiobus_add_bus function (authored by vexeduxr).
gpiobus: add a gpiobus_add_bus function
Mon, Jul 7, 7:23 PM
vexeduxr committed rGe05999a8c5a9: amd64: move efi_map_regs definition (authored by vexeduxr).
amd64: move efi_map_regs definition
Mon, Jul 7, 4:10 AM
vexeduxr closed D51183: amd64: move efi_map_regs definition.
Mon, Jul 7, 4:10 AM

Sun, Jul 6

vexeduxr updated the diff for D51183: amd64: move efi_map_regs definition.

Reword comment to make it clear what the variable is for

Sun, Jul 6, 9:11 PM
vexeduxr requested review of D51183: amd64: move efi_map_regs definition.
Sun, Jul 6, 8:01 PM
vexeduxr committed rG4add1a7a46b5: amd64/efirt: always map the first page (authored by vexeduxr).
amd64/efirt: always map the first page
Sun, Jul 6, 7:29 PM
vexeduxr committed rGefe5907279e1: amd64: fix physmap entry addition logic (authored by vexeduxr).
amd64: fix physmap entry addition logic
Sun, Jul 6, 7:29 PM
vexeduxr committed rG85dcdb7aad85: amd64: allow the mapping of other regions for efirt (authored by vexeduxr).
amd64: allow the mapping of other regions for efirt
Sun, Jul 6, 7:29 PM
vexeduxr closed D51147: amd64/efirt: always map the first page.
Sun, Jul 6, 7:28 PM
vexeduxr closed D51146: amd64: allow the mapping of other regions for efirt.
Sun, Jul 6, 7:28 PM
vexeduxr closed D51173: amd64: fix physmap entry addition logic.
Sun, Jul 6, 7:28 PM
vexeduxr added inline comments to D51173: amd64: fix physmap entry addition logic.
Sun, Jul 6, 6:00 PM
vexeduxr updated the diff for D51173: amd64: fix physmap entry addition logic.

Move physmap_idx addition further down

Sun, Jul 6, 5:32 PM
vexeduxr added inline comments to D51173: amd64: fix physmap entry addition logic.
Sun, Jul 6, 5:30 PM

Sat, Jul 5

vexeduxr requested review of D51173: amd64: fix physmap entry addition logic.
Sat, Jul 5, 8:43 PM

Fri, Jul 4

vexeduxr committed rG9c2509f831e8: gpio: hide internal gpiobus symbols (authored by vexeduxr).
gpio: hide internal gpiobus symbols
Fri, Jul 4, 8:27 PM
vexeduxr committed rGff826f8ed434: gpiopps: don't use internal gpiobus function (authored by vexeduxr).
gpiopps: don't use internal gpiobus function
Fri, Jul 4, 8:27 PM
vexeduxr committed rG7f297cdae380: regulator: don't use internal gpiobus function (authored by vexeduxr).
regulator: don't use internal gpiobus function
Fri, Jul 4, 8:26 PM
vexeduxr committed rG4a21713278a8: gpiobus: add gpio_pin_acquire (authored by vexeduxr).
gpiobus: add gpio_pin_acquire
Fri, Jul 4, 8:26 PM
vexeduxr closed D50872: gpio: hide internal gpiobus symbols.
Fri, Jul 4, 8:26 PM
vexeduxr committed rG92b352f694e8: gpiobus: gpio_pin_release: convert checks to KASSERTs (authored by vexeduxr).
gpiobus: gpio_pin_release: convert checks to KASSERTs
Fri, Jul 4, 8:26 PM
vexeduxr committed rGa2bfb7cff243: gpiobus: gpiobus_release_pin: convert errors to panic (authored by vexeduxr).
gpiobus: gpiobus_release_pin: convert errors to panic
Fri, Jul 4, 8:26 PM
vexeduxr committed rGed50879c4a95: gpiobus: gpiobus_acquire_pin: panic on invalid pin (authored by vexeduxr).
gpiobus: gpiobus_acquire_pin: panic on invalid pin
Fri, Jul 4, 8:26 PM
vexeduxr closed D50871: gpiopps: don't use internal gpiobus function.
Fri, Jul 4, 8:26 PM
vexeduxr closed D50870: regulator: don't use internal gpiobus function.
Fri, Jul 4, 8:26 PM
vexeduxr closed D50869: gpiobus: add gpio_pin_acquire.
Fri, Jul 4, 8:26 PM
vexeduxr closed D50868: gpiobus: gpio_pin_release: convert checks to KASSERTs.
Fri, Jul 4, 8:26 PM
vexeduxr closed D50939: gpiobus: gpiobus_release_pin: convert errors to panic.
Fri, Jul 4, 8:26 PM
vexeduxr closed D50940: gpiobus: gpiobus_acquire_pin: panic on invalid pin.
Fri, Jul 4, 8:26 PM
vexeduxr updated the diff for D51146: amd64: allow the mapping of other regions for efirt.

int32_t -> uint32_t

Fri, Jul 4, 7:45 PM
vexeduxr added inline comments to D51146: amd64: allow the mapping of other regions for efirt.
Fri, Jul 4, 7:45 PM
vexeduxr updated the diff for D50939: gpiobus: gpiobus_release_pin: convert errors to panic.

Remove the now redundant cast to void.

Fri, Jul 4, 2:24 PM
vexeduxr added a comment to D50939: gpiobus: gpiobus_release_pin: convert errors to panic.

Should be good to go. Although I just realized one of the callers explicitly casts this to void. That should be removed too.

Fri, Jul 4, 2:22 PM
vexeduxr committed rG4695e3aa7c68: gpio: attach gpiobus when the controller is ready (authored by vexeduxr).
gpio: attach gpiobus when the controller is ready
Fri, Jul 4, 2:09 PM
vexeduxr closed D51088: gpio: attach gpiobus when the controller is ready.
Fri, Jul 4, 2:08 PM
vexeduxr committed rG2c356c8b8f79: gpiobus: add a gpiobus_add_bus function (authored by vexeduxr).
gpiobus: add a gpiobus_add_bus function
Fri, Jul 4, 2:08 PM
vexeduxr closed D51133: gpiobus: add a gpiobus_add_bus function.
Fri, Jul 4, 2:08 PM
vexeduxr committed rGc2d8cca77152: gpio: remove redundant calls to bus_attach_children (authored by vexeduxr).
gpio: remove redundant calls to bus_attach_children
Fri, Jul 4, 2:08 PM
vexeduxr closed D51108: gpio: remove redundant calls to bus_attach_children.
Fri, Jul 4, 2:08 PM
vexeduxr updated the test plan for D51146: amd64: allow the mapping of other regions for efirt.
Fri, Jul 4, 1:37 PM
vexeduxr updated the diff for D51146: amd64: allow the mapping of other regions for efirt.

Change efi_map_regs to an int32_t.

Fri, Jul 4, 1:34 PM
vexeduxr updated the diff for D51147: amd64/efirt: always map the first page.

Remove the tunable, always map the first page.

Fri, Jul 4, 1:31 PM
vexeduxr retitled D51147: amd64/efirt: always map the first page from amd64/efirt: allow the first page to be mapped to amd64/efirt: always map the first page.
Fri, Jul 4, 1:30 PM
vexeduxr added inline comments to D51146: amd64: allow the mapping of other regions for efirt.
Fri, Jul 4, 1:28 PM

Thu, Jul 3

vexeduxr added inline comments to D51147: amd64/efirt: always map the first page.
Thu, Jul 3, 1:59 PM
vexeduxr requested review of D51147: amd64/efirt: always map the first page.
Thu, Jul 3, 1:58 PM
vexeduxr requested review of D51146: amd64: allow the mapping of other regions for efirt.
Thu, Jul 3, 1:56 PM
vexeduxr added inline comments to D51088: gpio: attach gpiobus when the controller is ready.
Thu, Jul 3, 9:56 AM

Wed, Jul 2

vexeduxr added a reviewer for D51133: gpiobus: add a gpiobus_add_bus function: andrew.
Wed, Jul 2, 4:59 PM
vexeduxr updated the diff for D51088: gpio: attach gpiobus when the controller is ready.

Move max77620 and as3722's gpio_attach functions to their original place,
and use gpiobus_add_bus instead.

Wed, Jul 2, 3:57 PM
vexeduxr updated the diff for D51108: gpio: remove redundant calls to bus_attach_children.

Revert the max77620 and as3722 changes. They are handled differently.

Wed, Jul 2, 3:53 PM
vexeduxr requested review of D51133: gpiobus: add a gpiobus_add_bus function.
Wed, Jul 2, 3:51 PM
vexeduxr added a comment to D51088: gpio: attach gpiobus when the controller is ready.

Hmm, is there a reason we need to add a child in max77620_gpio_attach/as3722_gpio_attach specifically? I think we should just move the gpiobus_attach_bus call after hw init is done.

Wed, Jul 2, 3:29 PM
vexeduxr added a comment to D51088: gpio: attach gpiobus when the controller is ready.

max77620 and as3722 are much more problematic. I think each function expects the other functions to have HW initialized before they can be consumed.

Wed, Jul 2, 2:36 PM

Tue, Jul 1

vexeduxr requested review of D51108: gpio: remove redundant calls to bus_attach_children.
Tue, Jul 1, 2:36 PM
vexeduxr updated the summary of D51088: gpio: attach gpiobus when the controller is ready.
Tue, Jul 1, 2:34 PM
vexeduxr updated the diff for D51088: gpio: attach gpiobus when the controller is ready.

Move as3722_gpio_attach and max77620_gpio_attach back up, and instead swap them with *_rtc_create.
It's hard to tell if the interrupt is needed by the controller's children (presumably it is), but
they're both currently unimplemented.

Tue, Jul 1, 2:32 PM
vexeduxr added inline comments to D51088: gpio: attach gpiobus when the controller is ready.
Tue, Jul 1, 2:19 PM
vexeduxr added a comment to D51088: gpio: attach gpiobus when the controller is ready.

and another for changes to pl061 (the ACPI/WDT interrupt changes seems unrelated).

They're required to move the intr_pic_register call to pl061_attach.

Tue, Jul 1, 1:06 PM

Sun, Jun 29

vexeduxr updated the test plan for D51088: gpio: attach gpiobus when the controller is ready.
Sun, Jun 29, 12:25 PM
vexeduxr requested review of D51088: gpio: attach gpiobus when the controller is ready.
Sun, Jun 29, 12:24 PM

Wed, Jun 25

vexeduxr added a reviewer for D50872: gpio: hide internal gpiobus symbols: mmel.
Wed, Jun 25, 6:32 AM

Mon, Jun 23

vexeduxr committed rGb2e0dfc808c1: vt_fb: account for endianness (authored by vexeduxr).
vt_fb: account for endianness
Mon, Jun 23, 6:28 AM
vexeduxr committed rG3146c8fa1969: vt_fb: fix KASSERTs (authored by vexeduxr).
vt_fb: fix KASSERTs
Mon, Jun 23, 6:28 AM
vexeduxr closed D50843: vt_fb: account for endianness.
Mon, Jun 23, 6:27 AM
vexeduxr closed D50842: vt_fb: fix KASSERTs.
Mon, Jun 23, 6:27 AM

Sun, Jun 22

vexeduxr committed rG2e91875bc2d8: libkvm/kvm_open.3: document broken full dumps (authored by vexeduxr).
libkvm/kvm_open.3: document broken full dumps
Sun, Jun 22, 3:59 AM
vexeduxr committed rG308659acbff3: libkvm/kvm_amd64: account for relocatable kernels (authored by vexeduxr).
libkvm/kvm_amd64: account for relocatable kernels
Sun, Jun 22, 3:59 AM
vexeduxr committed rG294182256116: sys: provide the kernel's pa when dumping on amd64 (authored by vexeduxr).
sys: provide the kernel's pa when dumping on amd64
Sun, Jun 22, 3:59 AM
vexeduxr added reviewers for D50843: vt_fb: account for endianness: manu, kevans.
Sun, Jun 22, 3:30 AM
vexeduxr added reviewers for D50842: vt_fb: fix KASSERTs: manu, kevans.
Sun, Jun 22, 3:30 AM

Sat, Jun 21

vexeduxr closed D50913: newbus: replace leftover device unit wildcards.

Landed as rGb670c9bafc0e31c7609969bf374b2e80bdc00211. I think I messed up the Differential Revision: tag.

Sat, Jun 21, 3:26 AM
vexeduxr committed rGb670c9bafc0e: newbus: replace leftover device unit wildcards (authored by vexeduxr).
newbus: replace leftover device unit wildcards
Sat, Jun 21, 3:14 AM

Fri, Jun 20

vexeduxr added a comment to D26407: [PREVIEW] support for gpio interrupts on !intrng platforms.

Oops, please forget the problem. The acpi infoactaully binding to iichid. So the bus can pretty easy to get the acpi information. But we still need a interface for setting a interrupt on the gpio side, right? Because we cannot use INTR_NG and bus_setup_intr need the iichid to be a children of gpio bus? I didn't see the code on the gpiobus have the ability to handle cross-tree reference. I see it needs either INTR_NG or a children of a gpio bus to enable it.

Fri, Jun 20, 1:34 PM

Thu, Jun 19

vexeduxr updated the diff for D50869: gpiobus: add gpio_pin_acquire.

Convert null check to KASSERT

Thu, Jun 19, 2:38 PM
vexeduxr updated the diff for D50872: gpio: hide internal gpiobus symbols.

rebase

Thu, Jun 19, 2:35 PM
vexeduxr requested review of D50940: gpiobus: gpiobus_acquire_pin: panic on invalid pin.
Thu, Jun 19, 2:33 PM
vexeduxr requested review of D50939: gpiobus: gpiobus_release_pin: convert errors to panic.
Thu, Jun 19, 2:32 PM
vexeduxr added a comment to D50868: gpiobus: gpio_pin_release: convert checks to KASSERTs.

I went for a KASSERT instead of a panic since it's what the other gpio_* functions do. On a non-INVARIANTS kernel, if gpio is actually NULL, it will panic when we try to dereference it anyways.

Thu, Jun 19, 2:31 PM
vexeduxr updated the diff for D50868: gpiobus: gpio_pin_release: convert checks to KASSERTs.

Convert checks to KASSERTs

Thu, Jun 19, 2:28 PM
vexeduxr retitled D50868: gpiobus: gpio_pin_release: convert checks to KASSERTs from gpiobus: allow gpio_pin_release to return errors to gpiobus: gpio_pin_release: convert checks to KASSERTs.
Thu, Jun 19, 2:27 PM
vexeduxr added a comment to D50868: gpiobus: gpio_pin_release: convert checks to KASSERTs.

Motivation? Why do we need gpio_pin_release to return errors?

Thu, Jun 19, 8:37 AM

Wed, Jun 18

vexeduxr updated the test plan for D50913: newbus: replace leftover device unit wildcards.
Wed, Jun 18, 2:56 AM
vexeduxr requested review of D50913: newbus: replace leftover device unit wildcards.
Wed, Jun 18, 2:51 AM

Tue, Jun 17

vexeduxr updated the diff for D50870: regulator: don't use internal gpiobus function.

re-add comment.

Tue, Jun 17, 5:09 PM
vexeduxr updated the diff for D50869: gpiobus: add gpio_pin_acquire.

fixup function declaration

Tue, Jun 17, 5:07 PM
vexeduxr added inline comments to D50869: gpiobus: add gpio_pin_acquire.
Tue, Jun 17, 5:01 PM
vexeduxr added a comment to D50870: regulator: don't use internal gpiobus function.

I don't really see why it would cause problems. With the current implementation at least.
Thinking about this some more, it's very possible that a future change to gpiobus_acquire_pin or gpio_pin_acquire can break this though...

Tue, Jun 17, 5:00 PM

Mon, Jun 16

vexeduxr committed rG0e8890a425bc: Add a new sysctl in order to diffrentiate UEFI architectures (authored by vexeduxr).
Add a new sysctl in order to diffrentiate UEFI architectures
Mon, Jun 16, 11:46 PM
vexeduxr added a reviewer for D50870: regulator: don't use internal gpiobus function: manu.
Mon, Jun 16, 7:54 AM
vexeduxr requested review of D50872: gpio: hide internal gpiobus symbols.
Mon, Jun 16, 7:52 AM
vexeduxr requested review of D50871: gpiopps: don't use internal gpiobus function.
Mon, Jun 16, 7:51 AM
vexeduxr requested review of D50870: regulator: don't use internal gpiobus function.
Mon, Jun 16, 7:51 AM
vexeduxr requested review of D50869: gpiobus: add gpio_pin_acquire.
Mon, Jun 16, 7:46 AM