[Bug 282308] nvidia-driver: NVIDIA MEM resource alloc failed

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Oct 2024 16:09:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282308

--- Comment #7 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to christian from comment #4)
The tunable is already gone long before [2].

[2]
https://cgit.freebsd.org/src/commit/?id=e4b59fc50065e183c020898b461f49b7ba1483bd


author  Warner Losh <imp@FreeBSD.org>   2004-01-11 06:52:31 +0000
committer       Warner Losh <imp@FreeBSD.org>   2004-01-11 06:52:31 +0000
commit  e4b59fc50065e183c020898b461f49b7ba1483bd (patch)

Add support for subtractive decoding bridges. These bridges pass all
signals to addresses to the child busses.  Typically, ProgIf of 1
means a subtractive bridge.  However, Intel has a whole lot of ones
with a ProgIf of 80 that are also subtractive.  We cope with these
bridges too.  This eliminates hw.pci.allow_unsupported_io_range
because that had almost the same effect as these patches (almost means
'buggy').  Remove the bogus checks for ISA bus locations: these cycles
aren't special and are only passed by transparent bridges.

We allow any range to succeed.  If the range is a superset of the
range that's decoded, trim the resource to that range.  Otherwise,
pass the range unchanged.  This will change the location that PC Card
and CardBus cards are attached.  This might bogusly cause some
overlapping allocation that wasn't present before, but the overlapping
fixes need to be in the pci level.

There's also a few formatting changes here.
Notes

Notes:
    svn path=/head/; revision=124365

-- 
You are receiving this mail because:
You are the assignee for the bug.