Page MenuHomeFreeBSD

ashafer (Austin Shafer)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 2 2019, 3:06 PM (297 w, 2 d)

Recent Activity

Fri, Apr 11

ashafer closed D49715: Update x11/nvidia-driver-390 and x11/linux-nvidia-libs-390 to 390.157.
Fri, Apr 11, 2:16 PM
ashafer committed R11:ca078ddb10f6: x11/{linux-nvidia-libs,nvidia-driver}-390: update to version 390.157 (authored by junchoon_dec.sakura.ne.jp).
x11/{linux-nvidia-libs,nvidia-driver}-390: update to version 390.157
Fri, Apr 11, 2:16 PM

Tue, Apr 8

ashafer accepted D49715: Update x11/nvidia-driver-390 and x11/linux-nvidia-libs-390 to 390.157.
Tue, Apr 8, 7:29 PM

Fri, Apr 4

ashafer closed D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message.
Fri, Apr 4, 1:40 PM
ashafer committed R11:6138330314c6: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message (authored by ashafer).
x11/nvidia-driver: add note about disabling GSP firmware to pkg-message
Fri, Apr 4, 1:40 PM

Thu, Apr 3

ashafer updated the diff for D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message.

Thanks, good catch on the revision. Bumped it now.

Thu, Apr 3, 1:36 PM

Wed, Apr 2

ashafer updated the diff for D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message.

I don't think Fixes is a good fit for that but I did include the commit hash of
the 570 bump to document the previous change.

Wed, Apr 2, 8:08 PM
ashafer added a comment to D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message.

You want a Fixes tag in this commit? Or are you saying in the future commit that removes this? I don't think putting a Fixes tag in this commit makes sense, this commit doesn't contain a fix it only documents a workaround.

Wed, Apr 2, 7:51 PM
ashafer added reviewers for D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message: ziaee, kbowling.
Wed, Apr 2, 7:23 PM
ashafer requested review of D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message.
Wed, Apr 2, 7:22 PM
ashafer added a comment to D49245: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod: Upgrade to latest Production Branch of driver 570.124.04.

The suspend/resume breakage was found after this commit, it wasn't something known before committing or else it would not have landed.

Wed, Apr 2, 6:30 PM
ashafer closed D49457: Update x11/nvidia-driver-470 and x11/linux-nvidia-libs-470 to 470.256.02.
Wed, Apr 2, 1:54 PM
ashafer committed R11:a569017b31f7: x11/nvidia-driver-470, x11/linux-nvidia-libs-470: Update to 470.256.02 (authored by junchoon_dec.sakura.ne.jp).
x11/nvidia-driver-470, x11/linux-nvidia-libs-470: Update to 470.256.02
Wed, Apr 2, 1:54 PM

Tue, Apr 1

ashafer added a comment to D49457: Update x11/nvidia-driver-470 and x11/linux-nvidia-libs-470 to 470.256.02.

@grahamperrin so this "failed to allocate memory" issue happens when you are using displays connected through the HP display dock? Does it ever happen when you are just using the monitors directly connected to the NVIDIA card? Is this a laptop? Those docks have always given me all kinds of problems, the thinkpad dock I have likes to turn one particular monitor of mine off and on randomly.

Tue, Apr 1, 3:04 PM

Mon, Mar 17

ashafer closed D49245: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod: Upgrade to latest Production Branch of driver 570.124.04.
Mon, Mar 17, 9:52 PM
ashafer committed R11:0de17c4dce28: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: update to… (authored by junchoon_dec.sakura.ne.jp).
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: update to…
Mon, Mar 17, 9:51 PM
ashafer accepted D49245: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod: Upgrade to latest Production Branch of driver 570.124.04.

Still LGTM, thanks

Mon, Mar 17, 1:59 PM

Mar 6 2025

ashafer accepted D49245: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod: Upgrade to latest Production Branch of driver 570.124.04.

Looks good, thanks

Mar 6 2025, 3:06 PM

Mar 5 2025

ashafer added a comment to D49245: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod: Upgrade to latest Production Branch of driver 570.124.04.

Aside from the one note about the fbdev comment this looks good to me, thanks.

Mar 5 2025, 3:29 PM

Feb 20 2025

ashafer closed D49065: graphics/nvidia-drm-66-kmod: add new port.
Feb 20 2025, 2:49 PM
ashafer committed R11:3dc2b5a5bdb5: graphics/nvidia-drm-66-kmod: add new port (authored by ashafer).
graphics/nvidia-drm-66-kmod: add new port
Feb 20 2025, 2:49 PM

Feb 19 2025

ashafer added reviewers for D49065: graphics/nvidia-drm-66-kmod: add new port: manu, kbowling.

+mentor and also manu to double check everything looks compatible with the new drm-66-kmod.

Feb 19 2025, 7:30 PM
ashafer requested review of D49065: graphics/nvidia-drm-66-kmod: add new port.
Feb 19 2025, 7:29 PM

Feb 10 2025

ashafer closed D48909: news: correct commit bit type for ashafer.
Feb 10 2025, 6:02 PM
ashafer committed R9:a461c6afe8be: news: correct commit bit type for ashafer (authored by ashafer).
news: correct commit bit type for ashafer
Feb 10 2025, 6:02 PM
ashafer added reviewers for D48909: news: correct commit bit type for ashafer: kbowling, grahamperrin.
Feb 10 2025, 5:10 AM
ashafer requested review of D48909: news: correct commit bit type for ashafer.
Feb 10 2025, 5:10 AM

Jan 28 2025

pi renamed ashafer from ashafer_badland.io to ashafer.
Jan 28 2025, 8:04 AM

Jan 26 2025

ashafer closed D48694: New committer (ports): Austin Shafer (ashafer).
Jan 26 2025, 9:48 PM
ashafer committed R9:a52de44df1a6: New committer (ports): Austin Shafer (ashafer) (authored by ashafer).
New committer (ports): Austin Shafer (ashafer)
Jan 26 2025, 9:48 PM
ashafer committed rGbd0510a4213e: Add myself as ports committer with mentor kbowling (authored by ashafer).
Add myself as ports committer with mentor kbowling
Jan 26 2025, 9:28 PM
ashafer closed D48695: Add myself as ports committer with mentor kbowling.
Jan 26 2025, 9:28 PM
ashafer added a reviewer for D48695: Add myself as ports committer with mentor kbowling: kbowling.
Jan 26 2025, 7:44 PM
ashafer requested review of D48695: Add myself as ports committer with mentor kbowling.
Jan 26 2025, 7:44 PM
ashafer added a reviewer for D48694: New committer (ports): Austin Shafer (ashafer): kbowling.
Jan 26 2025, 7:43 PM
ashafer requested review of D48694: New committer (ports): Austin Shafer (ashafer).
Jan 26 2025, 7:43 PM

Nov 5 2024

ashafer added a comment to D47448: iichid: Fix layout of PNP ids.

So the stock MODULE_PNP_INFOs do handle structures such as that, I guess the problem is we don't use them for ACPI things. from the manpage:

static struct my_pciids {
               uint32_t devid;
               const char *desc;
       } my_ids[] = {
               { 0x12345678, "Foo bar" },
               { 0x9abcdef0, "Baz fizz" },
       };
Nov 5 2024, 6:35 PM
ashafer added a reviewer for D47448: iichid: Fix layout of PNP ids: wulf.

Curious your opinions on this. Maybe I'm misreading the pnp code but it looks like we have been handing it the wrong format and it thinks it's a list of strings when it isn't.

Nov 5 2024, 2:33 AM
ashafer requested review of D47448: iichid: Fix layout of PNP ids.
Nov 5 2024, 2:31 AM

Oct 27 2024

ashafer abandoned D47290: nvidia-drm-kmod: bump distinfo after drm-kmod updates.

No worries, thanks for submitting a fix.

Oct 27 2024, 4:40 PM

Oct 26 2024

ashafer added a reviewer for D47290: nvidia-drm-kmod: bump distinfo after drm-kmod updates: kbowling.
Oct 26 2024, 4:39 AM
ashafer requested review of D47290: nvidia-drm-kmod: bump distinfo after drm-kmod updates.
Oct 26 2024, 4:39 AM

Oct 10 2024

ashafer added a comment to D47006: rtw89: Fix TX panics.

I'm not in the wireless group but I suppose I could be. I also lurk in the kernel/desktop/gaming channels in the freebsd discord if you use that, feel free to ping or email me.

Oct 10 2024, 2:13 PM
ashafer added a comment to D47006: rtw89: Fix TX panics.

Sure, what IMPROVING file are you referring to? I'd be happy to test things, I'm trying to get a modern laptop setup on this lenovo legion laptop I have so it would be good to use rtw89 for that.

Oct 10 2024, 2:04 PM

Oct 8 2024

ashafer added inline comments to D47006: rtw89: Fix TX panics.
Oct 8 2024, 10:16 PM
ashafer added a comment to D47006: rtw89: Fix TX panics.

Huh I think I had seen the long idle disconnect thing earlier today but didn't realize that was what it was.

Oct 8 2024, 5:07 PM
ashafer added a comment to D47006: rtw89: Fix TX panics.

linuxkpi_ieee80211 has a function it calls to zero the next/prev fields called TAILQ_ELEM_INIT, so that it could do this check.

Oct 8 2024, 3:33 PM
ashafer updated the diff for D47006: rtw89: Fix TX panics.

Thanks updated, does this look more clear?

Oct 8 2024, 1:46 PM
ashafer added reviewers for D47006: rtw89: Fix TX panics: bz, adrian.

What's preventing rtw89 from getting enabled in the build? With this fix I could comfortably test youtube, iperf3, ssh. Speed was ~20mbps but stable. I think it could make sense to open this up to more people.

Oct 8 2024, 6:19 AM
ashafer requested review of D47006: rtw89: Fix TX panics.
Oct 8 2024, 6:17 AM

May 29 2024

ashafer updated subscribers of D45400: graphics/nvidia-drm-kmod: prepare for 555 update.
May 29 2024, 2:01 PM
ashafer requested review of D45400: graphics/nvidia-drm-kmod: prepare for 555 update.
May 29 2024, 2:00 PM

May 27 2024

ashafer added a comment to D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.

Pushed here: https://github.com/amshafer/freebsd/commit/214a96bb38bf5534b59eb149367369a233fa6826

May 27 2024, 8:53 PM

May 13 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Pushed it here: https://github.com/amshafer/freebsd/tree/this_module

May 13 2024, 7:45 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Added parentheses

May 13 2024, 6:30 PM
ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Yes, thanks. I don't have a committer bit.

May 13 2024, 6:01 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Thanks, updated to just remove the module_get() bits for now.

May 13 2024, 4:51 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Updated with jhb's proposal. Also implemented module_get and module_put by casting to linker_file_t and bumping the refcount. Retested with PRIME offloading to confirm this still fixes the panic. Unlike the previous (similar) version this handles the statically compiled module case.

May 13 2024, 2:04 PM

May 6 2024

ashafer added a comment to D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.

Any update on getting this merged?

May 6 2024, 7:52 PM
ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

I believe that would work and I agree it would be much simpler. @kib is there something the (b) variant provides that (a) would be missing if we went with @jhb's proposal? It seems like they provide the same functionality?

May 6 2024, 2:13 PM

Apr 28 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

I guess the last question is what linuxkpi macro should actually create the global? I had previously used LKPI_DRIVER_MODULE, but not everywhere uses that. I guess we could make our own DEFINE_THIS_MODULE() macro and then call it from LKPI_DRIVER_MODULE, and add calls elsewhere as needed?

Apr 28 2024, 12:53 AM

Apr 27 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

It seems the way it works is that THIS_MODULE is a NULL pointer during "builtin" (statically building modules into the kernel), and points to the struct module of the dynamically loaded module otherwise. I think we could do something similar where we get the current linuxkpi behavior (THIS_MODULE is null) if we aren't building a dynamically loaded module?

Apr 27 2024, 3:16 PM

Apr 26 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

how would any of proposals handle LKPI modules statically compiled into the kernel?

Apr 26 2024, 2:07 PM

Apr 23 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Instead, it should be only resolved locally, causing undefined symbol error if attempt is made to reference it from kld without the module symbol (section ?).

Apr 23 2024, 1:34 PM

Apr 22 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

So what is the expected use of THIS_MODULE in Linux? Determine that current module is not that module, or something else?

Apr 22 2024, 5:37 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Updated with KLD_DPF debug statement.

Apr 22 2024, 5:34 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Updated to be generic. I changed the name to __this_linker_file to better represent
what the variable points at. On linux __this_module points at a struct module, so
for us we point at a linker_file_t.

Apr 22 2024, 2:30 PM

Apr 20 2024

ashafer updated the diff for D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.

Updated with style, thanks.

Apr 20 2024, 4:04 PM

Apr 19 2024

ashafer updated the diff for D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.

There isn't a PR, this has been a longstanding issue with nvidia-drm that I'm
finally getting around to solving.

Apr 19 2024, 6:33 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Thanks for all the suggestions! I've implemented it by doing the special
casing in linker_file_lookup_symbol_internal as suggested. It looks like
this does work, I can see different owner fields populated in nvidia-drm
and drm. Also confirmed multiple usages of THIS_MODULE in drm.ko point to
the same thing.

Apr 19 2024, 6:27 PM
ashafer requested review of D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.
Apr 19 2024, 2:48 PM

Apr 10 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

It sounds like linux has insmod set up the __this_module variable when a module is loaded. If you're asking about doing something equivalent then I don't have a good estimate for how hard that would be. I don't know the details though.

Apr 10 2024, 2:12 AM

Apr 9 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

That's a promising idea. I wonder if instead of having an unusual inline function we could instead make it part of the build setup. Something like setting KBUILD_MODNAME_HASH to whatever sha1 -s "$KBUILD_MODNAME" returns as part of the Makefile? That seems like it might be a little cleaner and easier to debug. Only downside is we have to update all of the makefiles that use KBUILD_MODNAME, I can't think of a way to automate it off the top of my head.

Apr 9 2024, 9:32 PM

Apr 3 2024

ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Bump __FreeBSD_version for drm-kmod

Apr 3 2024, 5:36 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Since there were no comments I've gone ahead with the strategy I
outlined in my last comment: Have drm-kmod create a global variable
during LKPI_DRIVER_MODULE and point THIS_MODULE at it.

Apr 3 2024, 2:52 PM

Mar 19 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Maybe an interesting solution would be to do something a bit more DRM specific using LKPI_DRIVER_MODULE. Afaict only the DRM drivers will run into the issue that motivated this change. There's no reason we couldn't do something like this in base or just move the bits I mentioned into base.

Mar 19 2024, 6:26 PM
ashafer updated the diff for D44432: x11/nvidia-driver-470: Backport fix for nvidia-modeset panic.

Yes sorry, bumped PORTREVISION

Mar 19 2024, 6:17 PM
ashafer retitled D44432: x11/nvidia-driver-470: Backport fix for nvidia-modeset panic from x11/nvidia-driver/470: Backport fix for nvidia-modeset panic to x11/nvidia-driver-470: Backport fix for nvidia-modeset panic.
Mar 19 2024, 6:17 PM
ashafer added a reviewer for D44432: x11/nvidia-driver-470: Backport fix for nvidia-modeset panic: arrowd.

This has been tested by @grahamperrin

Mar 19 2024, 2:13 PM
ashafer requested review of D44432: x11/nvidia-driver-470: Backport fix for nvidia-modeset panic.
Mar 19 2024, 2:13 PM

Mar 18 2024

ashafer updated the diff for D44308: graphics/nvidia-drm-kmod: fix build depends and linuxkpi registration.

Moved BUILD_DEPENDS to before as suggested.

Mar 18 2024, 3:13 PM
ashafer added a reviewer for D44308: graphics/nvidia-drm-kmod: fix build depends and linuxkpi registration: arrowd.
Mar 18 2024, 2:55 PM

Mar 15 2024

ashafer added inline comments to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
Mar 15 2024, 8:06 PM
ashafer added inline comments to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
Mar 15 2024, 6:57 PM

Mar 14 2024

ashafer updated the diff for D44305: graphics/nvidia-drm-510-kmod: Fix compilation with 550.

Updated to handle 13.2 by patching conftest.sh

Mar 14 2024, 6:41 PM

Mar 13 2024

ashafer updated the diff for D44308: graphics/nvidia-drm-kmod: fix build depends and linuxkpi registration.

Updated to add back in RUN_DEPENDS

Mar 13 2024, 3:00 PM

Mar 12 2024

ashafer added inline comments to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
Mar 12 2024, 3:20 PM
ashafer added a comment to D44305: graphics/nvidia-drm-510-kmod: Fix compilation with 550.

On FreeBSD 13 this results in
../common/inc/nv-mm.h:110:31: error: too many arguments to function call, expected 5, have 8

Mar 12 2024, 3:53 AM

Mar 11 2024

ashafer requested review of D44308: graphics/nvidia-drm-kmod: fix build depends and linuxkpi registration.
Mar 11 2024, 7:18 PM
ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

That's for struct class though, right? I'm talking about struct module, and struct file_operations. Here's an example usage from nvidia-drm: https://github.com/amshafer/nvidia-driver/blob/535.98/nvidia/src/nvidia-drm/nvidia-drm-gem.c#L156. Iirc there's a couple similar ones in other drivers in base.

Mar 11 2024, 7:04 PM
ashafer added a comment to D44305: graphics/nvidia-drm-510-kmod: Fix compilation with 550.

I don't think so? The 550 build has been broken because of this so no actual version has been "released" for nvidia-drm-510-kmod with 550, so it doesn't seem like bumping the revision would do anything? I can if needed though

Mar 11 2024, 6:03 PM
ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

I'm open to other suggestions about how we can do this. We definitely want THIS_MODULE to be non-zero, but having it be an opaque pointer that isn't a struct module isn't that great. Barring fully implementing module in linuxkpi I think something like this could make sense to allow emulated code to check if devices/dmabufs/etc come from the same module?

Mar 11 2024, 5:57 PM
ashafer requested review of D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
Mar 11 2024, 5:55 PM
ashafer added a reviewer for D44305: graphics/nvidia-drm-510-kmod: Fix compilation with 550: arrowd.
Mar 11 2024, 5:55 PM
ashafer requested review of D44305: graphics/nvidia-drm-510-kmod: Fix compilation with 550.
Mar 11 2024, 5:54 PM

Feb 26 2024

ashafer added a comment to D44073: nvidia-drm-kmod: Update to 550.54.14.

I think you need to update to a more recent CURRENT, that was added at the end of december I think.

Feb 26 2024, 7:50 PM
ashafer updated the diff for D44073: nvidia-drm-kmod: Update to 550.54.14.

Odd I hadn't seen that warning. I removed the PORTVERSIONS and also reset PORTREVISION.

Feb 26 2024, 7:03 PM
ashafer updated the diff for D44073: nvidia-drm-kmod: Update to 550.54.14.

Update to add a pkg-message warning about the new modesetting sysctl

Feb 26 2024, 6:48 PM
ashafer added inline comments to D44073: nvidia-drm-kmod: Update to 550.54.14.
Feb 26 2024, 6:17 PM
ashafer updated the diff for D44073: nvidia-drm-kmod: Update to 550.54.14.

Rebase on latest main

Feb 26 2024, 4:06 PM