schwarze [Thu, 28 Apr 2022 10:23:31 +0000 (10:23 +0000)]
oops, fix wrong .TH name
schwarze [Thu, 28 Apr 2022 10:17:37 +0000 (10:17 +0000)]
Element next-line scopes may nest, so man_breakscope() may have to
break multiple element next-line scopes at the same time, similar to
what man_descope() already does for unconditional rewinding.
This fixes an assertion failure that tb@ found with afl(1), caused
by .SH .I .I .BI and similar sequences of macros without arguments.
mpi [Thu, 28 Apr 2022 09:59:28 +0000 (09:59 +0000)]
Call uvm_pageactivate() from uvm_pageunwire() instead of rerolling it.
Having fewer places manipulating the global list of active/inactive pages
will help future LRU improvements.
ok kettenis@, kn@
mpi [Thu, 28 Apr 2022 09:58:11 +0000 (09:58 +0000)]
Update uvmexp.swpgonly only once in uvm_swap_get().
Prevent a small window where a check could be incorrect in case an error
occurs in uvm_swap_io().
ok kettenis@, kn@
espie [Thu, 28 Apr 2022 08:39:18 +0000 (08:39 +0000)]
glue for 7.2
anton [Thu, 28 Apr 2022 05:28:57 +0000 (05:28 +0000)]
Get rid of set but not used compiler warning.
jsg [Thu, 28 Apr 2022 05:11:48 +0000 (05:11 +0000)]
drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in intel_psr2_config_valid() fails
From Jose Roberto de Souza
79957134ca1d82fad69dba79f56d36a78512ef12 in linux 5.15.y/5.15.36
bb02330408a7bde33b5f46aa14fd5d7bfe6093b7 in mainline linux
jmatthew [Thu, 28 Apr 2022 04:17:57 +0000 (04:17 +0000)]
add Sabrent NT-SS5G, sort the device list alphabetically
from Brad
djm [Thu, 28 Apr 2022 02:53:31 +0000 (02:53 +0000)]
avoid printing hash algorithm twice; from lucas AT sexy.is
bluhm [Wed, 27 Apr 2022 23:34:46 +0000 (23:34 +0000)]
The timeout in ospf6d regress seems to be too short. Increase it
to make the test more stable.
debugged by Anton Borowka
bluhm [Wed, 27 Apr 2022 18:28:40 +0000 (18:28 +0000)]
Send packets with IPv4 option or IPv6 extension header over loopback
interface and check which of the packets are dropped by pf. The
bad packets appear in pflog0 tcpdump. This regress is testing rules
with and without allow-opts.
anton [Wed, 27 Apr 2022 18:02:05 +0000 (18:02 +0000)]
Add test case capable of triggering the recently fixed use after free,
based on the syzkaller reproducer.
anton [Wed, 27 Apr 2022 18:01:23 +0000 (18:01 +0000)]
Remove the lock if an identical overlapping one is already present.
Preventing a use after free discovered by syzkaller.
ok visa@
Reported-by: syzbot+a2649c1d77e9d2463f33@syzkaller.appspotmail.com
Reported-by: syzbot+182df9087f5f182daa44@syzkaller.appspotmail.com
Reported-by: syzbot+46d03139d7ed5e81ed2f@syzkaller.appspotmail.com
Reported-by: syzbot+892e886a6113db341da1@syzkaller.appspotmail.com
jsing [Wed, 27 Apr 2022 17:56:13 +0000 (17:56 +0000)]
Decode via c2i_ASN1_INTEGER_cbs() from asn1_ex_c2i().
jsing [Wed, 27 Apr 2022 17:43:41 +0000 (17:43 +0000)]
Ensure we clear the error stack before running tests that print errors.
jsing [Wed, 27 Apr 2022 17:43:06 +0000 (17:43 +0000)]
Enable ASN.1 INTEGER tests with invalid lengths/encodings.
jsing [Wed, 27 Apr 2022 17:42:08 +0000 (17:42 +0000)]
Rewrite c2i_ASN1_INTEGER() using CBS.
This also makes validation stricter and inline with X.690 - we now reject
zero length inputs (rather than treating them as zero values) and enforce
minimal encoding.
ok tb@
jsing [Wed, 27 Apr 2022 17:28:34 +0000 (17:28 +0000)]
Remove the ASN.1 decoder tag/length cache (TLC).
Currently, every time an ASN.1 identifier and length is decoded it is
stored in a tag/length cache for potential reuse. However, the only time
this is actually of benefit is when decoding CHOICE or SEQUENCE with
OPTIONAL fields (or MSTRING and ANY due to less than ideal
implementation). For CHOICE and SEQUENCE with OPTIONAL fields the
current code attempts to decode the first option and if that fails, it
moves onto the next option and attempts to decode it, repeating until
it succeeds (or runs out of options).
There are a number of problems with the cache. Firstly, it adds complexity
to the ASN.1 decoder since it has to be passed up and down through the
various layers. Secondly, there is nothing that keeps the cached data in
synchronisation with the input stream. This makes it fragile and a
potential security risk. Thirdly, the type is in the public headers and
API, meaning that we cannot readily change the types or fields to improve
the code.
Testing also suggests that in typical decoding cases we actually get a
small performance increase by removing the cache. There are also several
other options that would improve decoding performance, which we can visit
once we have simpler and more robust code.
ok beck@ inoguchi@ tb@
schwarze [Wed, 27 Apr 2022 17:04:15 +0000 (17:04 +0000)]
The .AT, .DT, and .UC macros are allowed inside next-line scope
and never produce output at the place of their invocation.
Minibugs found while investigating unrelated afl(1) reports from tb@.
espie [Wed, 27 Apr 2022 15:27:45 +0000 (15:27 +0000)]
have use_old_libs say something if it's the reason a package gets updated
espie [Wed, 27 Apr 2022 15:19:03 +0000 (15:19 +0000)]
split the code in figure_out_kept:
we need a somewhat complete updateset so we can proceed with handling
dependencies.
The case where the signature is equal is not an issue, but the case
where we need to keep the package because it still contains oldlibs is!
So we do that AFTER dependencies so that dependencies have been updated
and we possibly depend on old libs (which may happen even if the signature
didn't change)
espie [Wed, 27 Apr 2022 15:15:45 +0000 (15:15 +0000)]
add a test case for the Imath update, along with notes about what's
exactly going on, if one day we trust wantlib enough to be accurate
(hello libsets)
espie [Wed, 27 Apr 2022 15:04:11 +0000 (15:04 +0000)]
"pretty print" verbose messages: more context, and indent them to make
clearer those message are grouped together
espie [Wed, 27 Apr 2022 14:55:08 +0000 (14:55 +0000)]
give a bit more context in verbose message
claudio [Wed, 27 Apr 2022 14:52:25 +0000 (14:52 +0000)]
vgone() is vgonel() with curproc as 2nd argument. Use vgonel() like the
other call in vop_generic_revoke().
OK semarie@
dv [Wed, 27 Apr 2022 14:23:37 +0000 (14:23 +0000)]
vmm(4): dt(4) tracepoints for vm exit reporting previous exit.
On Intel/VMX, the tracepoint for vm exits was before extracting the
vm exit reason meaning we either reported stack garbage (on first
exit) or the prior exit reason. Move the tracepoint to after
extraction and refactor the logic to collect all exit info processing
in one place. (We were extracting the guest RFLAGS register state
before checking the exit info extraction success.)
On AMD/SVM, the tracepoint was always triggered even on unsuccessful
vm entry leading to garbage data. Tuck the tracepoint into the If
block and merge them.
ok mlarkin@
espie [Wed, 27 Apr 2022 14:11:27 +0000 (14:11 +0000)]
note to myself for 7.2
schwarze [Wed, 27 Apr 2022 13:30:19 +0000 (13:30 +0000)]
Fix three bugs regarding the interaction of \z and \h:
1. The combination \z\h is a no-op whatever the argument may be.
In the past, the \z only affected the first space character generated
by the \h, which was wrong.
2. For the conbination \zX\h with a positive argument, the first
space resulting from the \h is not printed but consumed by the \z.
3. For the combination \zX\h with a negative argument, application
of the \z needs to be completed before the \h can be started.
In the past, if this combination occurred at the beginning of an
output line, the \h backed up to the beginning of the line and
after that, the \z attempted to back up even further, triggering
an assertion.
Bugs found during an audit of assignments to termp->col that i
started after the bugfix tbl_term.c rev. 1.65. The assertion
triggered by bug 3 was *not* yet found by afl(1).
tb [Wed, 27 Apr 2022 11:46:19 +0000 (11:46 +0000)]
typo: exceded -> exceed
dtucker [Wed, 27 Apr 2022 11:08:55 +0000 (11:08 +0000)]
Add authfd path to debug output. ok markus@
tb [Wed, 27 Apr 2022 08:06:37 +0000 (08:06 +0000)]
ASN1_{,const_}check_infinite_end(3) were removed in the last major bump,
so there's no longer a need to document that they are undocumented.
jsing [Tue, 26 Apr 2022 20:00:18 +0000 (20:00 +0000)]
Decode via c2i_ASN1_BIT_STRING_cbs() from asn1_ex_c2i().
ok inoguchi@ tb@
dv [Tue, 26 Apr 2022 15:31:14 +0000 (15:31 +0000)]
Bump __mp_lock_spinout to INT_MAX.
The previous value set years ago was causing amd64 kernels to spin
out when run with MP_LOCKDEBUG during boot.
ok kettenis@
schwarze [Tue, 26 Apr 2022 15:04:46 +0000 (15:04 +0000)]
typo in example text: unsused -> unused; noticed by tb@
florian [Tue, 26 Apr 2022 14:50:04 +0000 (14:50 +0000)]
Do not send a hostname option when we don't have a hostname.
The minimum length of a hostname is 1 according to RFC 2132.
Found the hard way by Ibrahim Khalifa (ibo AT trukonsult.se) with DHCP
Relay on a Cisco ASA in the installer where we don't have a hostname
yet.
Ibrahim also provided a diff which I simplified a bit.
OK tb
schwarze [Tue, 26 Apr 2022 14:46:30 +0000 (14:46 +0000)]
At the end of every tbl(7) cell, clear the \z state.
This is needed because the TERMP_MULTICOL mode is designed such
that term_tbl() buffers all the cells of the table row before the
normal reset logic near the end of term_flushln() can be reached.
This fixes an assertion failure triggered by \z near the end
of a table cell, found by tb@ using afl(1).
schwarze [Tue, 26 Apr 2022 11:28:35 +0000 (11:28 +0000)]
If a node is tagged explicitly, skip implicit tagging for that node.
Apart from making sense in the first place, this fixes an assertion
failure that happened when the calculated implicit tag did not match
the string value of the first child of the node,
Bug found by tb@ using afl(1).
claudio [Tue, 26 Apr 2022 10:48:20 +0000 (10:48 +0000)]
No need for line wrap here.
claudio [Tue, 26 Apr 2022 08:35:30 +0000 (08:35 +0000)]
On CPUs that have MPERF/APERF support use that information to install a
cpu frequency sensor for each core. This works on many "modern" Intel and
AMD cpus (probably anything that has some kind of turbo mode).
OK kettenis@
dtucker [Tue, 26 Apr 2022 07:41:44 +0000 (07:41 +0000)]
Check sshauthopt_new() for NULL. bz#3425, from tessgauthier at
microsoft.com. ok djm@
kettenis [Mon, 25 Apr 2022 21:53:09 +0000 (21:53 +0000)]
Reimplement the page allocation code using bus_dma(9) APIs to make sure
that on architectures with an IOMMU, DMA addresses are translated
properly.
Fixes radeondrm(4) and amdgpu(4) on powerpc64, sparc64 and arm64 machines
with smmu(4).
ok jsg@
krw [Mon, 25 Apr 2022 17:10:09 +0000 (17:10 +0000)]
Push DISK_[read|write]sectors() down to disk.c local functions
and expose new DISK_[read|write]bytes() functions.
Eliminates many bytes <-> sector i/o dances and makes the code
much easier to understand.
Be a bit more careful to consistently write only bytes that
checksums are calculated over.
No intentional functional change.
claudio [Mon, 25 Apr 2022 16:17:19 +0000 (16:17 +0000)]
Extend ksmn(4) driver to also show CCD tempratures if available.
Based information from the linux k10temp driver.
OK brynet@
krw [Mon, 25 Apr 2022 13:07:53 +0000 (13:07 +0000)]
gh_csum an gh_part_csum are not used between initializing
the GPT and calculating them when writing the GPT to disk.
No need to update them in add_partition().
Pointed out by jmatthew@
job [Mon, 25 Apr 2022 10:52:09 +0000 (10:52 +0000)]
Fix spelling error in warnx()
Thanks Marco D'Itri
tb [Sun, 24 Apr 2022 22:26:44 +0000 (22:26 +0000)]
zap extra blank line
tb [Sun, 24 Apr 2022 18:20:12 +0000 (18:20 +0000)]
Wrap two overlong lines
tb [Sun, 24 Apr 2022 18:19:52 +0000 (18:19 +0000)]
trailing whitespace
schwarze [Sun, 24 Apr 2022 17:39:31 +0000 (17:39 +0000)]
When we open a new .while loop, let's not attempt to close out
another enclosing .while loop at the same time.
Instead, postpone the closing until the next iteration of ROFF_RERUN.
This prevents one-line constructions like ".while 0 .while 0 something"
and ".while rx .while rx .rr x" (which admittedly aren't particularly
useful) from dying of abort(3), which was a bug tb@ found with afl(1).
schwarze [Sun, 24 Apr 2022 13:34:53 +0000 (13:34 +0000)]
If a .shift request has a negative argument, do not use a negative array
index but use 0 instead of the argument, just like groff.
Warn about the invalid argument.
While here, fix the column number in another warning message.
Segfault reported by tb@, found with afl(1).
job [Sun, 24 Apr 2022 12:25:25 +0000 (12:25 +0000)]
In filemode emit the hash which uniquely identifies a given Signed Object
RPKI Signed Objects are not malleable; this means the SHA256 digest
of an input file containing a signed object is a very stable identifier
to associate with the decoded (validated) output shown in filemode.
The SHA256 in hash_id is base64 encoded (just like hashes on manifest listings).
OK tb@
krw [Sun, 24 Apr 2022 12:13:37 +0000 (12:13 +0000)]
Use warnx() if errno is not relevant. close() after errno of
interest is checked, not before.
Less confusing error messages.
jmatthew [Sun, 24 Apr 2022 00:04:10 +0000 (00:04 +0000)]
Increase rx buffer size to 62kB (same as linux). It turns out the device
doesn't fit packets into the host's rx buffer until it's full, it keeps
going as long as it has space in its own receive buffer, and then
truncates to fit the usb transfer. The packet descriptors are at the end,
so this means losing all the packets in the buffer. At 32kB, it's fairly
easy to overrun, but 62kB seems fine.
tested by and ok mlarkin@
jsing [Sat, 23 Apr 2022 18:56:54 +0000 (18:56 +0000)]
Rewrite c2i_ASN1_BIT_STRING() using CBS.
Also switch to freeing and allocating, rather than attempting to recycle.
While here, factor out the flags ASN1_STRING_FLAG_BITS_LEFT bit bashing
and use the name "unused bits" rather than "bits left", to be more inline
with X.690 wording.
ok inoguchi@ tb@
jsing [Sat, 23 Apr 2022 18:47:08 +0000 (18:47 +0000)]
Convert asn1_ex_c2i() to CBS.
This allows us to make direct use of c2i_ASN1_OBJECT_cbs().
ok inoguchi@ tb@
schwarze [Sat, 23 Apr 2022 18:41:13 +0000 (18:41 +0000)]
tweak previous: update .Bl -column line
jsing [Sat, 23 Apr 2022 18:23:48 +0000 (18:23 +0000)]
Add ASN1_INTEGER test coverage.
sthen [Sat, 23 Apr 2022 18:15:02 +0000 (18:15 +0000)]
Show which bwfm(4) chipsets are 11n and which are 11ac. ok miod@
mbuhl [Sat, 23 Apr 2022 16:04:05 +0000 (16:04 +0000)]
Fix compilation on octeon, arm64, and riscv64.
krw [Sat, 23 Apr 2022 14:39:16 +0000 (14:39 +0000)]
Add missing uuid_dec_le() to init_gp() so -A works on
big-endian architectures too.
schwarze [Sat, 23 Apr 2022 13:58:09 +0000 (13:58 +0000)]
If the last data row of a tbl(7) contains nothing but a horizontal line,
do not skip closing the table and cleaning up memory at the end of the
table in the HTML output module.
This bug resulted in skipping the tblcalc() function and reusing
the existing roffcol array for the next tbl(7) processed. If the
next table had more columns than the one ending with a horizontal
line in the last data row, uninitialized memory was read, potentially
resulting in near-infinite output.
The bug was introduced in rev. 1.24 (2018/11/26) but only fully exposed
by rev. 1.33 (2021/09/09). Until rev. 1.32, it could only cause
misformatting and invalid HTML output syntax but not huge output
because up to that point, the function did not use the roffcol array.
Nasty bug found the hard way by Michael Stapelberg on the production
server manpages.debian.org. Michael also supplied example files
and excellent instructions how to reproduce the bug, which was very
difficult because no real-world manual page is known that triggers
the bug by itself, so to reproduce the bug, mandoc(1) had to be
invoked with at least two file name arguments.
tobias [Sat, 23 Apr 2022 08:57:52 +0000 (08:57 +0000)]
Verify sizes before arithmetic operations
Unsigned overflows are not a bug in C but we have to make sure that
requested buffer sizes will be actually available.
If not, set errno to ERANGE and return an error value.
ok deraadt, millert
jmc [Fri, 22 Apr 2022 21:09:48 +0000 (21:09 +0000)]
escape the word "An" in an Rs/Re block, since it can be
interpreted as a macro;
otto [Fri, 22 Apr 2022 18:05:29 +0000 (18:05 +0000)]
Remove some of the workarounds for the tests by inputing the right numbers
(without impliciit conversion from int to long double).
The previous commit message talked about reading numbers, but the issue
(loss of precision due to too little digits) actually occurred when printing
the input to be read by bc.
otto [Fri, 22 Apr 2022 17:37:47 +0000 (17:37 +0000)]
arm64 has real IEEE quads, it needs more digits when reading the
bc results otherwise truncation and loss of precision occurs, making the
test fail.
Test failure on arm64 noted by anton@ and bluhmn@
deraadt [Fri, 22 Apr 2022 17:25:10 +0000 (17:25 +0000)]
checking for /mnt and /root in is_rootdisk() is excessively zealous,
the remaining directory list is good enough
ok sthen
tb [Fri, 22 Apr 2022 15:50:07 +0000 (15:50 +0000)]
Check tkp->output != NULL before taking strlen for both command mappings
and input mappings. This adds a missing check for command mappings and
simplifies the input mappings.
ok millert
millert [Fri, 22 Apr 2022 15:48:29 +0000 (15:48 +0000)]
vi: apply expandtab to the output of a ! command
This is consistent with vim's expandtab behavior.
From nvi2 (Craig Leres). OK tb@
bluhm [Fri, 22 Apr 2022 12:10:57 +0000 (12:10 +0000)]
ARP, ND6 and PPPoE are not MP safe. Protect them with kernel lock
for now. Then IP forward can run in parallel and this can be fixed
later.
OK sashan@
anton [Fri, 22 Apr 2022 05:08:43 +0000 (05:08 +0000)]
Only run agent-ptrace.sh if gdb is available as all architectures do not
ship with gdb.
dlg [Fri, 22 Apr 2022 00:29:20 +0000 (00:29 +0000)]
handle 16 bit kstat_kv types
dlg [Fri, 22 Apr 2022 00:27:55 +0000 (00:27 +0000)]
add 16 bit types to kstat_kv structs.
of course it is a realtek card that needs this because they provide
some 16 bit counters.
stsp [Thu, 21 Apr 2022 21:03:02 +0000 (21:03 +0000)]
Use memset() to initialize struct ieee80211_rxinfo properly.
Sven Wolf noticed that scans on ral(4) are buggy ever since I added a new
field to this struct. Turns out a lot of drivers were initializing fields
one-by-one, leaving any newly added fields uninitialized by default.
Affected drivers may report wrong channel numbers for received beacons.
The net80211 stack will discard such beacons, assuming they were received
on the wrong channel due to signal leakage. Scanning is broken as result.
ok miod@
danj [Thu, 21 Apr 2022 20:48:50 +0000 (20:48 +0000)]
Remove _switchd user/group/alias
ok millert deraadt
switchd(8) was removed back in November. Commit message was:
Retire switchd and switchctl. While interesting they never managed to
really get into a usable state. The OpenFlow API is mostly superseeded
by P4 and so this is a bit of a dead end.
kettenis [Thu, 21 Apr 2022 20:48:33 +0000 (20:48 +0000)]
Our malloc(3) guarantees 16-byte alignment.
ok sthen@, tb@
bluhm [Thu, 21 Apr 2022 19:21:04 +0000 (19:21 +0000)]
In vmm regress skip all corner cases that do not support vmm. Link
dump_tables and vmm to the build. Adopt all makefiles to skip tests
on non amd64 machines.
OK dv@
tb [Thu, 21 Apr 2022 18:01:09 +0000 (18:01 +0000)]
Add missing self. From anton
millert [Thu, 21 Apr 2022 17:50:29 +0000 (17:50 +0000)]
v_event_get: check qp->output for NULL before passing to e_memcmp().
Other users of qp->output already include a NULL check.
Avoids a crash when cursor key support is disabled in cl/cl_term.c.
From Jeremy Mates. OK tb@
sashan [Thu, 21 Apr 2022 15:22:49 +0000 (15:22 +0000)]
Introduce a dedicated link entries for snapshots in pfsync(4). The purpose
of snapshots is to allow pfsync(4) to move items from global lists
to local lists (a.k.a. snapshots) under a mutex protection. Snapshots
are then processed without holding any mutexes. Such idea does not fly
well if link entry is currently used for global lists as well as snapshots.
Feedback by bluhm@ Credits also goes to hrvoje@ for extensive testing.
OK bluhm@
espie [Thu, 21 Apr 2022 14:59:58 +0000 (14:59 +0000)]
-current recognizes that a symlink was deleted and just keep going with
a warning and no fuss.
claudio [Thu, 21 Apr 2022 12:59:03 +0000 (12:59 +0000)]
Further refactor and cleanup filemode.c mainly remove the copies of
proc_parser_cert_validate() and proc_parser_root_cert() adjust
parse_load_certchain() and parse_load_ta() respectivly.
Also cleanup the functions in parser.c and make it possible to call
ta_parse and cert_parse with a NULL cert.
OK tb@
jsg [Thu, 21 Apr 2022 10:01:24 +0000 (10:01 +0000)]
drm/i915: Sunset igpu legacy mmap support based on GRAPHICS_VER_FULL
From Matt Roper
14785927a1d46817b1648806ed5124be049bea75 in linux 5.15.y/5.15.35
1acb34e7dd7720a1fff00cbd4d000ec3219dc9d6 in mainline linux
jsg [Thu, 21 Apr 2022 09:59:41 +0000 (09:59 +0000)]
drm/amdgpu: Enable gfxoff quirk on MacBook Pro
From Tomasz Mon
2dd7d2eddf8e1ff3556e333979af99e4c167a7b5 in linux 5.15.y/5.15.35
4593c1b6d159f1e5c35c07a7f125e79e5a864302 in mainline linux
jsg [Thu, 21 Apr 2022 09:55:25 +0000 (09:55 +0000)]
drm/amd/display: don't ignore alpha property on pre-multiplied mode
From Melissa Wen
804c096d640ece718d6505c5252eb66544bbc2c9 in linux 5.15.y/5.15.35
e4f1541caf60fcbe5a59e9d25805c0b5865e546a in mainline linux
jsg [Thu, 21 Apr 2022 09:53:32 +0000 (09:53 +0000)]
drm/amd/display: Fix allocate_mst_payload assert on resume
From Roman Li
6a03581ccffa571bfa1a9f3a097e1a4d7164fd2d in linux 5.15.y/5.15.35
f4346fb3edf7720db3f7f5e1cab1f667cd024280 in mainline linux
claudio [Thu, 21 Apr 2022 09:53:07 +0000 (09:53 +0000)]
The filemode code is enough different from the regular parser code that it
makes sense to totally split it out. Duplicate proc_parser_cert_validate()
and proc_parser_root_cert() for now.
The valid_x509() plus the required static functions are moved to validate.c.
The crl_tree code moved into crl.c similar to the auth_tree handling in
cert.c. All the proc functions are now tagged with __attribute(noreturn)
which allows to remove the errx() after them.
OK tb@
jsg [Thu, 21 Apr 2022 09:51:39 +0000 (09:51 +0000)]
drm/amd/display: Revert FEC check in validation
From Martin Leung
ac2eb310af0582428400186173d070320a8bfd6f in linux 5.15.y/5.15.35
b2075fce104b88b789c15ef1ed2b91dc94198e26 in mainline linux
jsg [Thu, 21 Apr 2022 09:49:14 +0000 (09:49 +0000)]
drm/amd/display: Enable power gating before init_pipes
From Roman Li
eab8e585840f84c6a352eaab70e5495eda7ebb6f in linux 5.15.y/5.15.35
58e16c752e9540b28a873c44c3bee83e022007c1 in mainline linux
jsg [Thu, 21 Apr 2022 09:47:25 +0000 (09:47 +0000)]
drm/amdkfd: Check for potential null return of kmalloc_array()
From QintaoShen
f2658d5966bcee8c3eb487875f459756d4f7cdfc in linux 5.15.y/5.15.35
ebbb7bb9e80305820dc2328a371c1b35679f2667 in mainline linux
jsg [Thu, 21 Apr 2022 09:45:53 +0000 (09:45 +0000)]
drm/amdgpu/vcn: improve vcn dpg stop procedure
From Tianci Yin
9f0fabf30b486e3d5c9b578073cea369ffc05c43 in linux 5.15.y/5.15.35
6ea239adc2a712eb318f04f5c29b018ba65ea38a in mainline linux
jsg [Thu, 21 Apr 2022 09:44:07 +0000 (09:44 +0000)]
drm/amdkfd: Fix Incorrect VMIDs passed to HWS
From Tushar Patel
25efb191d86b108f100f82f414229f8269d00b28 in linux 5.15.y/5.15.35
b7dfbd2e601f3fee545bc158feceba4f340fe7cf in mainline linux
jsg [Thu, 21 Apr 2022 09:42:38 +0000 (09:42 +0000)]
drm/amd/display: Update VTEM Infopacket definition
From Leo (Hanghong) Ma
7a3bc11a40346987649018ecd82caa744117c347 in linux 5.15.y/5.15.35
c9fbf6435162ed5fb7201d1d4adf6585c6a8c327 in mainline linux
jsg [Thu, 21 Apr 2022 09:40:40 +0000 (09:40 +0000)]
drm/amd/display: FEC check in timing validation
From Chiawen Huang
92951699a5f11043b9d1402ea21787f420b36094 in linux 5.15.y/5.15.35
7d56a154e22ffb3613fdebf83ec34d5225a22993 in mainline linux
jsg [Thu, 21 Apr 2022 09:37:52 +0000 (09:37 +0000)]
drm/amd/display: fix audio format not updated after edid updated
From Charlene Liu
b054e8183fbdec15955311956df8a9ce47e0ab6d in linux 5.15.y/5.15.35
5e8a71cf13bc9184fee915b2220be71b4c6cac74 in mainline linux
jsg [Thu, 21 Apr 2022 09:36:10 +0000 (09:36 +0000)]
drm/amdgpu/gmc: use PCI BARs for APUs in passthrough
From Alex Deucher
37bc29a445384f4bdfc734dfe7f763ede604acfe in linux 5.15.y/5.15.35
b818a5d374542ccec73dcfe578a081574029820e in mainline linux
jsg [Thu, 21 Apr 2022 09:33:45 +0000 (09:33 +0000)]
drm/amdgpu: conduct a proper cleanup of PDB bo
From Guchun Chen
5a3b56a4a1c79111bc4aaa9caba5eb5e9cfaeaeb in linux 5.15.y/5.15.35
2d505453f38e18d42ba7d5428aaa17aaa7752c65 in mainline linux
jsg [Thu, 21 Apr 2022 09:31:58 +0000 (09:31 +0000)]
drm/amd: Add USBC connector ID
From Aurabindo Pillai
6dded62e5aa6e29f18a1079002109cb6068e9bf6 in linux 5.15.y/5.15.35
c5c948aa894a831f96fccd025e47186b1ee41615 in mainline linux
sthen [Thu, 21 Apr 2022 09:31:28 +0000 (09:31 +0000)]
Fix previous rc.d/spamlogd commit, the check in rc_pre is not needed
because rc.subr has special-casing for spamd/spamlogd.
Teach the script to detect the pflog interface from spamlogd flags and
create the correct interface if needed.
ok jturner@
jsg [Thu, 21 Apr 2022 09:30:18 +0000 (09:30 +0000)]
drm/amd/display: Fix p-state allow debug index on dcn31
From Nicholas Kazlauskas
8e663865f5284124196bc04e010e7344d8a278f3 in linux 5.15.y/5.15.35
3107e1a7ae088ee94323fe9ab05dbefd65b3077f in mainline linux
jsg [Thu, 21 Apr 2022 09:28:16 +0000 (09:28 +0000)]
drm/amd/display: Add pstate verification and recovery for DCN31
From Nicholas Kazlauskas
685a19fa6ae99dc7a18a9af2a7626162e1db7aff in linux 5.15.y/5.15.35
e7031d8258f1b4d6d50e5e5b5d92ba16f66eb8b4 in mainline linux