espie [Sat, 16 Apr 2022 09:32:40 +0000 (09:32 +0000)]
refactor the code so that caching is setup in the repository that's
linked to quirks during do_quirks.
then add a pre-cache that does run locate once on the full list of things
we want to update/install (assuming "regular" pkgsets, that is, where the
names are the ones we want).
Then the actual fetching of caching info will look in that pre-cache before
resorting to locate itself (or going straight to the wire).
The code isn't active yet, the XXX comment in
OpenBSD/PackageRepository/Installed.pm
says it all.
dtucker [Sat, 16 Apr 2022 04:30:10 +0000 (04:30 +0000)]
ssh-keygen's -G/-T have been replaced with -M generate/screen.
tj [Sat, 16 Apr 2022 00:22:31 +0000 (00:22 +0000)]
list the correct version number when usage of the sftp protocol became default
and fix a typo
from ed maste
tb [Fri, 15 Apr 2022 12:59:44 +0000 (12:59 +0000)]
Allow more than one CRL URI in certificates
The spec (RFC 6487, 4.8.6) expresses a preference for a single rsync URI
but allows for other URIs in the CRL distributionPoint. This doesn't
currently happen in practice but could come at some point. So look for
the rsync URI and skip over others, which is more correct and might help
in the future.
Pointed out by & ok claudio
espie [Fri, 15 Apr 2022 10:54:00 +0000 (10:54 +0000)]
make use of the fact that repositories are unique objects: we don't need
string comparison, we can simply annotate the quirks repository as cached.
this does streamline the code somewhat
so simply activate warp-speed by uncommenting one line.
espie [Fri, 15 Apr 2022 08:03:33 +0000 (08:03 +0000)]
we probably already have that info, but in any case, we don't need
the full plist for a signature.
shaves most of the remaining time with caching active
deraadt [Fri, 15 Apr 2022 03:04:52 +0000 (03:04 +0000)]
delete an ancient paragraph suggesting the wrong reason to use close(2)
(and we all laughed a little)
bluhm [Thu, 14 Apr 2022 20:24:15 +0000 (20:24 +0000)]
The XOR instruction affects the carry and zero flag. Move it before
the VM instructions so that SETNA propagates the error condition
of the latter. Avoids "cpu0: failed to enter VMM mode" errors.
Fixes previous commit.
tested by Hrvoje; OK dv@
naddy [Thu, 14 Apr 2022 19:47:10 +0000 (19:47 +0000)]
ddb: constify command tables
ok jca@
krw [Thu, 14 Apr 2022 16:33:25 +0000 (16:33 +0000)]
Move ((gh_part_size % d_secsize) == 0) validity check
to get_header() with the rest of the header validity
checks.
No functional change.
claudio [Thu, 14 Apr 2022 14:10:22 +0000 (14:10 +0000)]
Relax address availability check for multicast binds.
While it makes sense to limit bind(2) of unicast addresses that overlap
each other to be all from the same UID (like 0.0.0.0:53 and 127.0.0.1:53)
it makes little sense for multicast. Multicast is delivered to all sockets
that match so there is no risk of someone stealing traffic from someone
else. This should hopefully help with mDNS as reported by robert@
OK deraadt@ bluhm@
bluhm [Thu, 14 Apr 2022 11:39:44 +0000 (11:39 +0000)]
pf and pfsync are running without kernel lock, so the mutexes must
have at least mpfloor spl protection. Fix witness issue found by
Hrvoje where pfsync holds mutex and interrupt grabs kernel lock.
OK sashan@
jsg [Thu, 14 Apr 2022 08:55:23 +0000 (08:55 +0000)]
drm/amdgpu: don't use BACO for reset in S3
From Alex Deucher
b536cf3eb6f949f8bedae7b26713e7ffec13b89b in linux 5.15.y/5.15.34
ebc002e3ee78409c42156e62e4e27ad1d09c5a75 in mainline linux
jsg [Thu, 14 Apr 2022 08:52:38 +0000 (08:52 +0000)]
drm/amdkfd: Create file descriptor after client is added to smi_clients list
From Lee Jones
3c8902bbf2ab5a15443f3daa73e8da18e7792172 in linux 5.15.y/5.15.34
e79a2398e1b2d47060474dca291542368183bc0f in mainline linux
jsg [Thu, 14 Apr 2022 08:51:00 +0000 (08:51 +0000)]
drm/amdgpu/vcn: Fix the register setting for vcn1
From Emily Deng
6a5d209898a605c31c26dbd2b002529e37ff0c6e in linux 5.15.y/5.15.34
02fc996d5098f4c3f65bdf6cdb6b28e3f29ba789 in mainline linux
jsg [Thu, 14 Apr 2022 08:49:35 +0000 (08:49 +0000)]
drm/amdgpu/smu10: fix SoC/fclk units in auto mode
From Alex Deucher
155338be5d9078a569a723d8695b501ab369bdf9 in linux 5.15.y/5.15.34
2f25d8ce09b7ba5d769c132ba3d4eb84a941d2cb in mainline linux
jsg [Thu, 14 Apr 2022 08:47:59 +0000 (08:47 +0000)]
drm/amdgpu/display: change pipe policy for DCN 2.1
From Benjamin Marty
0115e4f2f6bc984bc8fdba41ada55f586dc28502 in linux 5.15.y/5.15.34
879791ad8bf3dc5453061cad74776a617b6e3319 in mainline linux
jsg [Thu, 14 Apr 2022 08:46:31 +0000 (08:46 +0000)]
amd/display: set backlight only if required
From Shirish S
a551e6629247dc84f8cea5d494542c532ea69161 in linux 5.15.y/5.15.34
4052287a75eb3fc0f487fcc5f768a38bede455c8 in mainline linux
jsg [Thu, 14 Apr 2022 08:44:29 +0000 (08:44 +0000)]
drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
From Dan Carpenter
5ba9d78a72948325ecdb4dca2a31a46bc9169574 in linux 5.15.y/5.15.34
1647b54ed55d4d48c7199d439f8834626576cbe9 in mainline linux
jsg [Thu, 14 Apr 2022 08:42:44 +0000 (08:42 +0000)]
drm/amdkfd: make CRAT table missing message informational only
From Alex Deucher
f325d3e1dcc85fc3cd984f30fd443ab2f3b42631 in linux 5.15.y/5.15.34
9dff13f9edf755a15f6507874185a3290c1ae8bb in mainline linux
jsg [Thu, 14 Apr 2022 08:40:39 +0000 (08:40 +0000)]
drm/amdgpu: Fix recursive locking warning
From Rajneesh Bhardwaj
0a922366d6d9b2532344b3763a54090ab9b50f59 in linux 5.15.y/5.15.34
447c7997b62a5115ba4da846dcdee4fc12298a6a in mainline linux
jsg [Thu, 14 Apr 2022 08:38:48 +0000 (08:38 +0000)]
drm/amdkfd: Don't take process mutex for svm ioctls
From Philip Yang
e84b0438010d3359ae4830ba44108150f4839a92 in linux 5.15.y/5.15.34
ac7c48c0cce00d03b3c95fddcccb0a45257e33e3 in mainline linux
jsg [Thu, 14 Apr 2022 08:37:17 +0000 (08:37 +0000)]
drm/amd/display: Use PSR version selected during set_psr_caps
From Nicholas Kazlauskas
6040c99cb1a18c8da3f84e5051db12b6353a2576 in linux 5.15.y/5.15.34
b80ddeb29d9df449f875f0b6f5de08d7537c02b8 in mainline linux
jsg [Thu, 14 Apr 2022 08:35:27 +0000 (08:35 +0000)]
drm/amd/display: Fix memory leak
From Yongzhi Liu
7e10369c72db7a0e2f77b2e306aadc07aef6b07a in linux 5.15.y/5.15.34
5d5c6dba2b43e28845d7d7ed32a36802329a5f52 in mainline linux
jsg [Thu, 14 Apr 2022 08:33:54 +0000 (08:33 +0000)]
drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
From Xin Xiong
3edd8646cb7c11b57c90e026bda6f21076223f5b in linux 5.15.y/5.15.34
dfced44f122c500004a48ecc8db516bb6a295a1b in mainline linux
jsg [Thu, 14 Apr 2022 08:32:15 +0000 (08:32 +0000)]
drm/amd/display: Add signal type check when verify stream backends same
From Dale Zhao
c4b64a80554e57a68b594f2920988f4bc39768d9 in linux 5.15.y/5.15.34
047db281c026de5971cedb5bb486aa29bd16a39d in mainline linux
jsg [Thu, 14 Apr 2022 08:30:38 +0000 (08:30 +0000)]
drm: Add orientation quirk for GPD Win Max
From Anisse Astier
b3ca02c1ee93b9a998cf26e1734986ba570422c4 in linux 5.15.y/5.15.34
0b464ca3e0dd3cec65f28bc6d396d82f19080f69 in mainline linux
nicm [Thu, 14 Apr 2022 06:59:29 +0000 (06:59 +0000)]
Fix clearphist alias, from Jacqueline Jolicoeur via jmc@.
krw [Wed, 13 Apr 2022 22:29:30 +0000 (22:29 +0000)]
Correct a gh_part_csum calculation used in debug output.
Always calculate the GPT partition entries checksum over
gh_part_num * gh_part_size bytes, not the maximal size of the
internal partition entries array.
No functional change.
millert [Wed, 13 Apr 2022 22:17:33 +0000 (22:17 +0000)]
Fix typo in last commit.
espie [Wed, 13 Apr 2022 21:22:40 +0000 (21:22 +0000)]
scaffolding from using the locate db that's now in quirks to avoid
asking the network about updateinfo (not active yet, you need to uncomment
some lines)
espie [Wed, 13 Apr 2022 21:20:23 +0000 (21:20 +0000)]
track ::Sample and ::Extra across an UpdateSet so that we may eventually
give out more accurate diagnostic (soon !)
espie [Wed, 13 Apr 2022 21:19:16 +0000 (21:19 +0000)]
add Paths to the quirks locate db and the locate binary proper
deraadt [Wed, 13 Apr 2022 20:54:55 +0000 (20:54 +0000)]
IKED_LIFETIME_BYTES is > 2GB, and potentially used in strange place,
it should really be marked ULL
ok bluhm tobhe
schwarze [Wed, 13 Apr 2022 20:19:18 +0000 (20:19 +0000)]
To prevent infinite recursion while expanding eqn(7) definitions,
we must not reset the recursion counter when moving beyond the end
of the *previous* expansion, but we may only do so when moving
beyond the rightmost position reached by *any* expansion in the
current equation. This matters because definitions can nest;
consider:
.EQ
define inner "content"
define outer "inner outer"
outer
.EN
This endless loop was found by tb@ using afl(1).
Incidentally, GNU eqn(1) also performs an infinite loop in this
situation and then crashes when memory runs out, but that's not an
excuse for nasty behaviour of mandoc(1).
While here, consistently print the expanded content even when the
expansion is finally truncated. While that is not likely to help
end-users, it may help authors of eqn(7) code to understand what's
going on. Besides, it sends a very clear signal that something is
amiss, which was easy to miss in the past unless people
enabled -W error or used -T lint.
espie [Wed, 13 Apr 2022 18:00:34 +0000 (18:00 +0000)]
we're not 2000 anymore, direct the user to using binary packages, the ports
tree should be about on par with release(8)
okay schwarze@, sthen@
millert [Wed, 13 Apr 2022 16:23:53 +0000 (16:23 +0000)]
ftok: avoid left shift of a signed in by 24 places
Fix "left shift of 255 by 24 places cannot be represented in type 'int'"
error from UBSAN. Adapted from a FreeBSD diff via tb@. OK tb@ deraadt@
millert [Wed, 13 Apr 2022 16:20:11 +0000 (16:20 +0000)]
inet_net_pton_ipv6: avoid signed vs unsigned comparison
Use a temporary variable to store the number of bytes to be copied
(size_t) and also use it as the memcpy(3) length. Previously we
copied "size" bytes instead of just the necessary number.
OK claudio@ tb@
krw [Wed, 13 Apr 2022 15:32:33 +0000 (15:32 +0000)]
Correct a gh_csum calculation used in debug output.
Always calculate the GPT header checksum over gh_size bytes
(a.k.a. 92), not sizeof(struct gpt_header). Compilers in their
wisdom may pad the struct to a nice round size, e.g. 96 bytes.
No functional change.
krw [Wed, 13 Apr 2022 15:07:25 +0000 (15:07 +0000)]
Eliminate a couple of 'XXX' assumptions by calculating the actual
number of sectors a given number of GPT partition entries
require.
No intentional functional change.
schwarze [Wed, 13 Apr 2022 14:37:34 +0000 (14:37 +0000)]
Do not die on an assertion if an input file contains no section
whatsoever and ends with a broken next-line scope. Obviously, this
cannot happen in a real manual page, but mandoc(1) should not die
even when fed absurd input.
This bug was independently reported by both jsg@ and tb@ who both
found it with afl(1).
schwarze [Wed, 13 Apr 2022 13:11:33 +0000 (13:11 +0000)]
Surprisingly, groff supports multiple copy mode escapes at the
beginning of an escape sequence: \, \E, \EE, \EEE, and so on all do
the same outside copy mode, so let them do the same in mandoc(1), too.
This fixes an assertion failure triggered by \EE*X that tb@ found
with afl(1). The first E was consumed by roff_expand(), but that
function failed to recognize the escape sequence as the expansion
of a user-defined string and handed it over to mandoc_escape(),
which consumed the second E and then died on an assertion because
it is not prepared to handle user-defined strings. Fix this by
letting *both* functions handly arbitrary numbers of 'E's correctly.
tobhe [Wed, 13 Apr 2022 11:06:15 +0000 (11:06 +0000)]
Document sntrup761x25519 key exchange.
sthen [Wed, 13 Apr 2022 10:08:10 +0000 (10:08 +0000)]
Use a simpler "formula" to decide a default kern.maxthread value;
just 2*NPROCESS rather than NPROCESS+8*MAXUSERS. Results in a slightly
higher maxthread value - the previous value was fairly likely to be
exceeded on a system running a couple of heavily threaded processes.
> previous new
> MAXUSERS NPROCESS maxthread (2*NPROCESS)
> 80 1310 1950 2620
> 64 1054 1566 2108
> 32 542 798 1084
ok kettenis@
naddy [Tue, 12 Apr 2022 19:44:31 +0000 (19:44 +0000)]
ddb: simplify machine command handling
Define a consistently named db_machine_command_table[] across all
archs that implement the MD "machine" command, and hook this into
the main command table instead of patching it at runtime.
ok mpi@ jca@
naddy [Tue, 12 Apr 2022 19:41:11 +0000 (19:41 +0000)]
constify USB host controller method tables and root hub descriptors
ok mglocker@
ajacoutot [Tue, 12 Apr 2022 14:54:32 +0000 (14:54 +0000)]
Make this more readable.
Document gi-docgen which is coming to gnome.port.mk soon.
claudio [Tue, 12 Apr 2022 14:51:04 +0000 (14:51 +0000)]
Do not convert the int value twice from little to host endian.
io_read_int() already does the conversion so don't double up in
io_read_ulong(). Fixes openrsync on sparc64.
OK miod@ deraadt@
semarie [Tue, 12 Apr 2022 14:34:11 +0000 (14:34 +0000)]
struct vnode: document the protection required for manipulating v_numoutput
correct sr_rw() and sr_ccb_rw() to properly manipulate v_numoutput under splbio.
ok visa@
jmc [Tue, 12 Apr 2022 12:54:09 +0000 (12:54 +0000)]
fix bad space;
job [Tue, 12 Apr 2022 11:05:50 +0000 (11:05 +0000)]
Extend -f filemode to decode & print TAL details
"fine" claudio@ tb@
tb [Tue, 12 Apr 2022 10:42:35 +0000 (10:42 +0000)]
KNF for a brace and zap trailing blank line
tb [Tue, 12 Apr 2022 09:48:23 +0000 (09:48 +0000)]
Add a colon to warning for consistency
tb [Tue, 12 Apr 2022 09:32:23 +0000 (09:32 +0000)]
Shuffle sbgp_sia() a bit down to a place where it makes more sense
ok claudio
tb [Tue, 12 Apr 2022 08:46:33 +0000 (08:46 +0000)]
Adjust regress for x509_location() change
tb [Tue, 12 Apr 2022 08:45:34 +0000 (08:45 +0000)]
Generalize sbgp_sia_location() to x509_location()
AIA and CRL URIs can reuse the code in sbgp_sia_location and thus get the
same checks as the SIA locations. This eliminates some more duplication
and makes the checks more stringent in that embedded NULs and "./" are no
longer allowed.
ok claudio
dtucker [Tue, 12 Apr 2022 05:09:49 +0000 (05:09 +0000)]
Correct path for system known hosts file in description of
IgnoreUserKnownHosts. Patch from Martin Vahlensieck via tech@
afresh1 [Tue, 12 Apr 2022 02:54:51 +0000 (02:54 +0000)]
Improve test and clean targets
They failed if there was nothing to clean.
The test target now depends on the all target so we have something
to run tests against. They still don't like to pass in-tree,
but that is a separate issue.
Noticed by deraadt@, suggestions and improvements from geunther@ and bluhm@
djm [Mon, 11 Apr 2022 22:52:08 +0000 (22:52 +0000)]
clear io_want/io_ready flags at start of poll() cycle;
avoids plausible spin during rekeying if channel io_want flags are
reused across cycles. ok markus@ deraadt@
tobhe [Mon, 11 Apr 2022 20:41:21 +0000 (20:41 +0000)]
Fix leak of esnxf if esn ore noesn are configured explicitly.
claudio [Mon, 11 Apr 2022 18:59:23 +0000 (18:59 +0000)]
Refactor on how the subprocesses are started.
Move the unveil and pledges to the actuall subprocesses and put all the
common code to start these into process_start(). Reduces the lenght of
main() a fair bit.
OK tb@
mvs [Mon, 11 Apr 2022 18:18:17 +0000 (18:18 +0000)]
Keep `fdp' locked until we finish the second loop of unp_externalize().
This prevents descriptors from being closed concurrently on receiver side.
ok bluhm@ claudio@
mpi [Mon, 11 Apr 2022 16:43:49 +0000 (16:43 +0000)]
Remove trailing spaces.
visa [Mon, 11 Apr 2022 14:30:05 +0000 (14:30 +0000)]
gpio: Add missing device_unref() calls
device_lookup() returns a reference that the caller has to release.
OK jca@
tb [Mon, 11 Apr 2022 10:39:45 +0000 (10:39 +0000)]
Simplify SIA extension parsing further
Inline sbgp_sia_resource_entry() into sbgp_sia(). Add sbgp_sia_location()
to deduplicate sbgp_sia_resource_{notify,mft,carepo}(). Pull the GEN_URI
check into sbgp_sia_location() now that it doesn't have to be repeated
three times.
ok claudio
claudio [Mon, 11 Apr 2022 10:03:12 +0000 (10:03 +0000)]
Sort RTYPE in case alphabetically and mention ASPA in the comment.
No functional change.
sthen [Mon, 11 Apr 2022 09:32:20 +0000 (09:32 +0000)]
Fix spamlogd's rc_pre to avoid creating pflog0 if spamd is disabled.
The conditional was not checked (prior to r1.2 the exit code from the
conditional was implicitly used as the exit code from the whole shell
function, but this wasn't adapted when pflog creation was added).
Reported/tested by Clint Pachl
tb [Mon, 11 Apr 2022 08:29:34 +0000 (08:29 +0000)]
Adjust regress: test-cert now needs mft.c for rtype_from_file_extension().
tb [Mon, 11 Apr 2022 08:28:54 +0000 (08:28 +0000)]
Merge sbgp_sia() and sbgp_sia_resource()
These two functions are now short and easy, so there's no need for a split.
Also, pull the .mft extension check out of sbgp_sia_resource_mft() and use
rtype_from_file_extension() instead.
ok claudio
tb [Mon, 11 Apr 2022 08:04:43 +0000 (08:04 +0000)]
Simplify cert_parse_pre()
Remove rc and c and check things the straightforward way. Avoids some
contorted code and shaves off a few lines.
ok claudio
jsg [Mon, 11 Apr 2022 06:50:58 +0000 (06:50 +0000)]
don't warn on output type 0 result in dm_edid_parser_send_cea()
shows on renoir when using HP ZR2440w display via hdmi
[drm] Unknown EDID CEA parser results
tb [Mon, 11 Apr 2022 06:47:38 +0000 (06:47 +0000)]
Let the templated ASN.1 parse the SIA extension
Instead of using super low level ASN.1 fiddling, let libcrypto's templated
ASN.1 take care of parsing the SIA extension. This trivializes much of this
code. Resolves one FIXME and adds a missing check for URI type of the SIA
repo resources.
ok claudio
jsg [Mon, 11 Apr 2022 04:10:47 +0000 (04:10 +0000)]
drm/connector: Fix typo in documentation
From Maxime Ripard
b9cf1208af36f6552e6f3b8fdf364983e3cc8e60 in linux 5.15.y/5.15.33
dca384a3bf5af1c781cfa6aec63904bdb5018c36 in mainline linux
jsg [Mon, 11 Apr 2022 04:08:37 +0000 (04:08 +0000)]
drm/i915: Reject unsupported TMDS rates on ICL+
From Ville Syrjala
f5a0cf225f8d3cf06aff181b291a0ff32f4ad2c8 in linux 5.15.y/5.15.33
9cddf03b2af07443bebdc73cba21acb360c079e8 in mainline linux
jsg [Mon, 11 Apr 2022 04:06:32 +0000 (04:06 +0000)]
drm/i915: Fix PSF GV point mask when SAGV is not possible
From Ville Syrjala
beeebae6ea82979d0fdeaa5e2f8ce9949ec22a24 in linux 5.15.y/5.15.33
3ef8b5e19ead5a79600ea55f9549658281415893 in mainline linux
jsg [Mon, 11 Apr 2022 04:04:30 +0000 (04:04 +0000)]
drm/i915: Treat SAGV block time 0 as SAGV disabled
From Ville Syrjala
102cba6d5ae2378a8467504c71ac1008658f36c6 in linux 5.15.y/5.15.33
1937f3feb0e84089ae4065e09c871b8ab4676f01 in mainline linux
jsg [Mon, 11 Apr 2022 04:01:52 +0000 (04:01 +0000)]
drm/dp: Fix off-by-one in register cache size
From Kees Cook
e912d697400c5f4bc8c1c8090416dad6c59cb28c in linux 5.15.y/5.15.33
d4da1f27396fb1dde079447a3612f4f512caed07 in mainline linux
jsg [Mon, 11 Apr 2022 03:57:39 +0000 (03:57 +0000)]
drm/i915/display: Fix HPD short pulse handling for eDP
From Jose Souza
7ff346ee019bcf3b008a56a43b7aac45e771479b in linux 5.15.y/5.15.33
3a84fd1ed53582b31e843a152ee3219e9e4ccb8c in mainline linux
jsg [Mon, 11 Apr 2022 03:55:26 +0000 (03:55 +0000)]
drm/amd/display: Remove vupdate_int_entry definition
From Maira Canal
bd443887ed2adbc7d89b12b6b2980024da1f8d31 in linux 5.15.y/5.15.33
3679b8518cd213c25d555553ef212e233faf698c in mainline linux
jsg [Mon, 11 Apr 2022 03:53:42 +0000 (03:53 +0000)]
drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
From Roman Li
0f47edc22c2b7e4c1903d74c3992f09db9453d11 in linux 5.15.y/5.15.33
128f8ed5902a287a6bb4afe0ffdae8a80b2a64ec in mainline linux
jsg [Mon, 11 Apr 2022 03:51:41 +0000 (03:51 +0000)]
drm/amd/pm: enable pm sysfs write for one VF mode
From Yiqing Yao
ac98fdec111485b5eb88cb91d20473fb67631684 in linux 5.15.y/5.15.33
e610941c45bad75aa839af015c27d236ab6749e5 in mainline linux
jsg [Mon, 11 Apr 2022 03:50:08 +0000 (03:50 +0000)]
drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
From Tom Rix
b175bc58641032cfdb89f92afd76939be2ae22b4 in linux 5.15.y/5.15.33
430e6a0212b2a0eb1de5e9d47a016fa79edf3978 in mainline linux
jsg [Mon, 11 Apr 2022 03:48:23 +0000 (03:48 +0000)]
drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
From Zhou Qingyang
bdc7429708a0772d90c208975694f7c2133b1202 in linux 5.15.y/5.15.33
588a70177df3b1777484267584ef38ab2ca899a2 in mainline linux
jsg [Mon, 11 Apr 2022 03:46:07 +0000 (03:46 +0000)]
drm/edid: Split deep color modes between RGB and YUV444
From Maxime Ripard
da491fc54e4e387419948840636df15f4a611ec4 in linux 5.15.y/5.15.33
4adc33f36d80489339f1b43dfeee96bb9ea8e459 in mainline linux
jsg [Mon, 11 Apr 2022 03:41:03 +0000 (03:41 +0000)]
drm/edid: Don't clear formats if using deep color
From Maxime Ripard
19da408ab41c984d49c55582b265645b964b6619 in linux 5.15.y/5.15.33
75478b3b393bcbdca4e6da76fe3a9f1a4133ec5d in mainline linux
jsg [Mon, 11 Apr 2022 03:38:46 +0000 (03:38 +0000)]
drm/i915/gem: add missing boundary check in vm_access
From Mastan Katragadda
312d3d4f49e12f97260bcf972c848c3562126a18 in linux 5.15.y/5.15.33
3886a86e7e6cc6ce2ce93c440fecd8f42aed0ce7 in mainline linux
jsg [Mon, 11 Apr 2022 03:36:37 +0000 (03:36 +0000)]
drm/i915/opregion: check port number bounds for SWSCI
From Jani Nikula
d8b8bd1d03ee7db8e7cb79748a70c2eef4dd706f in linux 5.15.y/5.15.33
24a644ebbfd3b13cda702f98907f9dd123e34bf9 in mainline linux
jsg [Mon, 11 Apr 2022 03:34:20 +0000 (03:34 +0000)]
drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB
From Thomas Zimmermann
51f0af904fb621721d2c95c1eb349fb46af63a04 in linux 5.15.y/5.15.33
cd9f7f7ac5932129fe81b4c7559cfcb226ec7c5c in mainline linux
jsg [Mon, 11 Apr 2022 03:31:42 +0000 (03:31 +0000)]
drm/syncobj: flatten dma_fence_chains on transfer
From Christian Koenig
7585d0f56f29b5a7900ba21ff9a1a9d48cbe9860 in linux 5.15.y/5.15.33
721255b52700b320c4ae2e23d57f7d9ad1db50b9 in mainline linux
jsg [Mon, 11 Apr 2022 03:29:27 +0000 (03:29 +0000)]
drm/edid: check basic audio support on CEA extension block
From Cooper Chiou
6e72980d588e220adbc2469181735399ceb9f9a8 in linux 5.15.y/5.15.33
5662abf6e21338be6d085d6375d3732ac6147fd2 in mainline linux
jsg [Mon, 11 Apr 2022 03:27:24 +0000 (03:27 +0000)]
drm/amdgpu: only check for _PR3 on dGPUs
From Alex Deucher
fe953e0f77e55d004a5b0c533262e389d01e3198 in linux 5.15.y/5.15.33
85ac2021fe3ace59cc0afd6edf005abad35625b0 in mainline linux
jsg [Mon, 11 Apr 2022 03:24:33 +0000 (03:24 +0000)]
drm/amdgpu: move PX checking into amdgpu_device_ip_early_init
From Alex Deucher
0884abb259f180bc737cdb2c681d907b86f266e8 in linux 5.15.y/5.15.33
901e2be20dc55079997ea1885ea77fc72e6826e7 in mainline linux
jsg [Mon, 11 Apr 2022 03:02:40 +0000 (03:02 +0000)]
add pci_upstream_bridge() and pci_pr3_present()
needed for changes to amdgpu_device.c in 5.15.y
for now always return false when checking for ACPI _PR3 method
jsg [Mon, 11 Apr 2022 01:28:50 +0000 (01:28 +0000)]
include dma-fence-array.h
needed for changes to drm_syncobj.c in 5.15.y
dv [Sun, 10 Apr 2022 19:36:58 +0000 (19:36 +0000)]
Free vm_info_result in error paths.
vmd(8)'s get_info_vm() mallocs vm_info_result structs when using
the VMM_IOC_INFO ioctl. The error paths failed to free the resulting
objects.
Diff adapted from suggestions by jca@. ok mlarkin@.
jca [Sun, 10 Apr 2022 18:05:39 +0000 (18:05 +0000)]
Print a more accurate message when -v is used with -k
Report and different proposal by "prx", ok millert@
jca [Sun, 10 Apr 2022 17:47:54 +0000 (17:47 +0000)]
Add more missing archs to "categories": aarch64, mips64el and powerpc64
The categories listing is long and maybe adding archs in there isn't
very relevant (any more?).
claudio [Sun, 10 Apr 2022 14:08:35 +0000 (14:08 +0000)]
Print the strerror of the expected error. errno is not valid here since
bind(2) succeeded.
visa [Sun, 10 Apr 2022 13:23:14 +0000 (13:23 +0000)]
mips64: Enforce memory ordering on SMP rendezvous
Make sure that each CPU sees the initiator's pre-action state when
running the action function, and that the initiator sees the combined
post-action state.
Use CPU_BUSY_CYCLE() when busy-waiting.
inoguchi [Sun, 10 Apr 2022 12:42:33 +0000 (12:42 +0000)]
Set ASN1_OBJECT_FLAG_DYNAMIC_DATA flag with t2i_ASN1_OBJECT_internal
'flags' should have ASN1_OBJECT_FLAG_DYNAMIC_DATA bit to free 'data'
by ASN1_OBJECT_free as c2i_ASN1_OBJECT_cbs does.
ok jsing@ tb@