jsg [Tue, 19 Sep 2023 12:54:40 +0000 (12:54 +0000)]
drm/amd/display: Fix a bug when searching for insert_above_mpcc
From Wesley Chalmers
77b49370a261c9c79587d4a83960d5db39ee6cfa in linux-6.1.y/6.1.54
3d028d5d60d516c536de1ddd3ebf3d55f3f8983b in mainline linux
jsg [Tue, 19 Sep 2023 12:52:45 +0000 (12:52 +0000)]
drm/amdgpu: register a dirty framebuffer callback for fbcon
From Hamza Mahfooz
cb30ff2adb10a660ded094b088aca763aaf74dea in linux-6.1.y/6.1.54
0a611560f53bfd489e33f4a718c915f1a6123d03 in mainline linux
jsg [Tue, 19 Sep 2023 12:49:35 +0000 (12:49 +0000)]
drm/amd/display: Remove wait while locked
From Gabe Teeger
b53fee19ec5e07e5553f362cad8a3e00cf6d16ab in linux-6.1.y/6.1.54
5a3ccb1400339268c5e3dc1fa044a7f6c7f59a02 in mainline linux
jsg [Tue, 19 Sep 2023 12:46:20 +0000 (12:46 +0000)]
drm/amd/display: always switch off ODM before committing more streams
From Wenjing Liu
2d7a6fcb1f232c91fe405161d2ba5731ccb97a34 in linux-6.1.y/6.1.54
49a30c3d1a2258fc93cfe6eea8e4951dabadc824 in mainline linux
jsg [Tue, 19 Sep 2023 12:42:34 +0000 (12:42 +0000)]
drm/amd/display: prevent potential division by zero errors
From Hamza Mahfooz
ff536a96687cf976d89bed08d40fcaae6bf50304 in linux-6.1.y/6.1.54
07e388aab042774f284a2ad75a70a194517cdad4 in mainline linux
jsg [Tue, 19 Sep 2023 12:39:18 +0000 (12:39 +0000)]
drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
From Melissa Wen
e1769b1dfcaebb7e4272528fa2f198c6549f619b in linux-6.1.y/6.1.54
57a943ebfcdb4a97fbb409640234bdb44bfa1953 in mainline linux
jsg [Tue, 19 Sep 2023 12:36:35 +0000 (12:36 +0000)]
drm/i915/gvt: Drop unused helper intel_vgpu_reset_gtt()
From Sean Christopherson
bd9bd085c6816885dedcd690de22d088975e6df2 in linux-6.1.y/6.1.54
a90c367e5af63880008e21dd199dac839e0e9e0f in mainline linux
jsg [Tue, 19 Sep 2023 12:34:56 +0000 (12:34 +0000)]
drm/i915/gvt: Put the page reference obtained by KVM's gfn_to_pfn()
From Sean Christopherson
2b7510bb92c1fc19292801778e971cbb46e2499f in linux-6.1.y/6.1.54
708e49583d7da863898b25dafe4bcd799c414278 in mainline linux
jsg [Tue, 19 Sep 2023 12:31:43 +0000 (12:31 +0000)]
drm/i915/gvt: Verify pfn is "valid" before dereferencing "struct page"
From Sean Christopherson
f5738399ed965be3ba734bd039bf96a455bb5ac0 in linux-6.1.y/6.1.54
f046923af79158361295ed4f0a588c80b9fdcc1d in mainline linux
jsg [Tue, 19 Sep 2023 12:30:02 +0000 (12:30 +0000)]
drm/i915: mark requests for GuC virtual engines to avoid use-after-free
From Andrzej Hajda
8017a27cec32eac8c8f9430b0a3055840136b856 in linux-6.1.y/6.1.54
5eefc5307c983b59344a4cb89009819f580c84fa in mainline linux
claudio [Tue, 19 Sep 2023 11:36:33 +0000 (11:36 +0000)]
Document the new 'show proc /t TID' way of showing a proc via thread id.
claudio [Tue, 19 Sep 2023 11:35:30 +0000 (11:35 +0000)]
Improve the output of ddb "show proc" command
Include missing fields -- like the sleep channel and message -- and
show both the PID and TID of the proc.
Also add '/t' as an argument that can be used to specify a proc by TID
instead of by address.
OK mpi@
claudio [Tue, 19 Sep 2023 11:31:51 +0000 (11:31 +0000)]
Add a KASSERT for p->p_wchan == NULL to setrunqueue()
There is the same check in sched_chooseproc() but that is too late
to know where the bad insertion into the runqueue was done.
OK mpi@
claudio [Tue, 19 Sep 2023 10:43:33 +0000 (10:43 +0000)]
Before coredump or in pledge_fail use SINGLE_UNWIND to stop all threads.
SINGLE_UNWIND unwinds to the kernel boundary. On the other hand
SINGLE_SUSPEND will sleep inside tsleep(9) and other sleep functions.
Since the code will exit1() very soon after it is better to already unwind.
Now one could argue that for coredumps all threads should stop asap to
get a clean dump. Using SINGLE_UNWIND the sleep will fail with ERESTART
and no copyout should happen in that case.
This is a bit of a workaround since SINGLE_SUSPEND has a small race
where single_thread_wait() returns before all threads are really stopped.
When SINGLE_EXIT is called quickly after this can blow up inside
sleep_finish.
Reported-by: syzbot+3ef066fcfaf991f2ac2c@syzkaller.appspotmail.com
OK mpi@ kettenis@
schwarze [Tue, 19 Sep 2023 09:40:35 +0000 (09:40 +0000)]
Mention a subtle difference between PEM_def_callback(3) and the example.
It's relevant not only for the example, but also because the functions
documented here use PEM_def_callback(3) by default, and that exhibits
surprising and potentially dangerous behaviour by not NUL-terminating.
OK tb@
nicm [Tue, 19 Sep 2023 08:35:44 +0000 (08:35 +0000)]
Fix a couple of mouse mode flag names.
schwarze [Tue, 19 Sep 2023 08:18:13 +0000 (08:18 +0000)]
Remove the duplicate documentation of pem_password_cb(3).
While here, also:
* Avoid the misleading term "default password callback" because none of
the functions in SSL_CTX_use_certificate(3) support overriding it.
* Do not talk about "storing", "writing", and "encryption" since the cb
passed to SSL_CTX_set_default_passwd_cb(3) is never used for any of that.
* List the functions using cb.
* Document what happens by default.
* Remove the misleading words "which must be provided by the application"
because all this is actually optional.
* Make several wordings more precise.
* Below EXAMPLES, fix argument naming to agree with pem_password_cb(3),
clarify the description of what the example does, and, as suggested by tb@,
use strlcpy(3).
OK tb@
tb [Tue, 19 Sep 2023 01:22:31 +0000 (01:22 +0000)]
More 0/NULL confusions in SSL_CTX_new()
tb [Tue, 19 Sep 2023 01:19:45 +0000 (01:19 +0000)]
Fix some NULL/0 misspellings in SSL_CTX_new()
millert [Tue, 19 Sep 2023 01:14:05 +0000 (01:14 +0000)]
Compare int value against 0, not '\0', for consistency.
millert [Mon, 18 Sep 2023 23:33:21 +0000 (23:33 +0000)]
Fix a bad cast to char * that causes incorrect results on big endian.
Now that awk stores chars as int we need to cast the Node * to int *.
deraadt [Mon, 18 Sep 2023 22:38:16 +0000 (22:38 +0000)]
aesni_ctr32_encrypt_blocks() is called indirectly from C code, so it
needs endbr64
ok kettenis tb
millert [Mon, 18 Sep 2023 19:32:19 +0000 (19:32 +0000)]
Disable utf-8 for non-multibyte locales, such as C or POSIX.
This makes it possible to get the old awk behavior (where chars are
bytes) by setting LC_CTYPE to C or POSIX. OK schwarze@
anton [Mon, 18 Sep 2023 18:33:17 +0000 (18:33 +0000)]
Favor jot while generating characters within the [1, 256) range as awk
recently became utf-8 aware.
ok millert@
schwarze [Mon, 18 Sep 2023 17:25:15 +0000 (17:25 +0000)]
remove tls_reset(3) from the NAME, SYNOPSIS, and HISTORY sections
because it is documented in the separate tls_client(3) manual page
jca [Mon, 18 Sep 2023 17:01:41 +0000 (17:01 +0000)]
Reuse pmap_pte_insert() in pmap_clear_modify()
Stricter code which further reduces the difference between the pmap of
arm64 and riscv64 and also the number of functions where member pted_pte
is manipulated.
ok drahn@ kettenis@
schwarze [Mon, 18 Sep 2023 15:26:46 +0000 (15:26 +0000)]
PEM_def_callback(3) does not truncate its argument but merely the copy,
plus a few wording improvements
jmc [Mon, 18 Sep 2023 15:20:48 +0000 (15:20 +0000)]
add --csv to usage(), and reformat it to match manual; while here,
reformat a lengthy line in awk.1;
ok millert
deraadt [Mon, 18 Sep 2023 15:16:22 +0000 (15:16 +0000)]
2 cases of c99 for-scope variable decl, when a variable already exists
in scope. but a 3rd similar situation in the same scope exists also,
which does not create a new variable, and uses the upper scope variable.
Pretty sloppy stuff.
ok millert
schwarze [Mon, 18 Sep 2023 14:49:43 +0000 (14:49 +0000)]
Rewrite RSA_get_ex_new_index(3) and CRYPTO_set_ex_data(3) from scratch.
The defects of the old pages were too numerous to list in full but included
vagueness, gaps, misleading statements, bad ordering, and duplication.
Use my Copyright since none of the text we inherited from OpenSSL remains.
Without doing a thorough review, tb@ thinks he likes the new pages
after quickly reading through both of them.
sobrado [Mon, 18 Sep 2023 14:44:21 +0000 (14:44 +0000)]
match style used in revision 1.16 of src/etc/examples/radiusd.conf
ok yasuoka@
deraadt [Mon, 18 Sep 2023 14:25:04 +0000 (14:25 +0000)]
sync to 7.4
robert [Mon, 18 Sep 2023 13:29:00 +0000 (13:29 +0000)]
The CTA-861 standards have been updated to refer to opRGB instead
of AdobeRGB. The official standard is in fact named opRGB, so
switch to that.
The two old defines referring to ADOBERGB in the public API are
put under #ifndef _KERNEL and a comment mentions that they are
deprecated.
This keeps us in sync with the linux header.
ok feinerer@, mpi@, deraadt@
deraadt [Mon, 18 Sep 2023 13:18:24 +0000 (13:18 +0000)]
crank to 7.4-beta
deraadt [Mon, 18 Sep 2023 13:16:13 +0000 (13:16 +0000)]
crank to 7.4-beta
jmatthew [Mon, 18 Sep 2023 06:47:21 +0000 (06:47 +0000)]
Add 100GB LR4 Ethernet capability and map it to IFM_100G_LR4.
This isn't listed in the public PRM but it can be found in the Linux driver.
from Olivier Croquin
cheloha [Sun, 17 Sep 2023 15:24:35 +0000 (15:24 +0000)]
clockintr.h: forward-declare "struct cpu_info" for clockintr_establish()
With input from claudio@ and deraadt@.
cheloha [Sun, 17 Sep 2023 15:05:44 +0000 (15:05 +0000)]
struct clockintr_queue: rename "cq_est" to "cq_all"
"cq_all" is a more obvious name than "cq_est". It's the list of all
established clockintrs. Duh.
cheloha [Sun, 17 Sep 2023 14:50:50 +0000 (14:50 +0000)]
clockintr: remove clockintr_init(), clockintr_flags
All the state initialization once done in clockintr_init() has been
moved to other parts of the kernel. It's a dead function. Remove it.
Likewise, the clockintr_flags variable no longer sports any meaningful
flags. Remove it. This frees up the CL_* flag namespace, which might
be useful to the clockintr frontend if we ever need to add behavior
flags to any of those functions.
millert [Sun, 17 Sep 2023 14:49:44 +0000 (14:49 +0000)]
Update to the One True Awk, 2nd edition (Sep 12, 2023).
This corresponds to the 2nd edition of "The AWK Programming Language"
and adds support for UTF-8 and comma-separated value inputs.
cheloha [Sun, 17 Sep 2023 13:02:24 +0000 (13:02 +0000)]
scheduler_start: move static timeout structs into callback functions
Move the schedcpu() and update_loadavg() timeout structs from
scheduler_start() into their respective callback functions and
statically initialize them with TIMEOUT_INITIALIZER(9).
The structs are already hidden from the global namespace and the
timeouts are already self-managing, so we may as well fully
consolidate things.
Thread: https://marc.info/?l=openbsd-tech&m=
169488184019047&w=2
"Sure." claudio@
jmatthew [Sat, 16 Sep 2023 23:25:16 +0000 (23:25 +0000)]
Skip non-MSI interrupt controllers when looking for one matching the ITS id
given in the IORT node. Using a non-MSI interrupt controller here will
crash as ic->ic_establish_msi will be NULL.
tested by phessler@
ok phessler@ patrick@
deraadt [Sat, 16 Sep 2023 19:59:32 +0000 (19:59 +0000)]
sync
robert [Sat, 16 Sep 2023 18:06:26 +0000 (18:06 +0000)]
add 7.5 syspatch key
nicm [Sat, 16 Sep 2023 16:18:29 +0000 (16:18 +0000)]
Remove next- and previous-prompt added in error. GitHub issue 3696.
naddy [Sat, 16 Sep 2023 13:28:39 +0000 (13:28 +0000)]
7.5 packages key
sthen [Sat, 16 Sep 2023 11:45:03 +0000 (11:45 +0000)]
add 7.5 firmware key
mpi [Sat, 16 Sep 2023 09:33:27 +0000 (09:33 +0000)]
Allow counters_read(9) to take an optional scratch buffer.
Using a scratch buffer makes it possible to take a consistent snapshot of
per-CPU counters without having to allocate memory.
Makes ddb(4) show uvmexp command work in OOM situations.
ok kn@, mvs@, cheloha@
espie [Sat, 16 Sep 2023 09:33:13 +0000 (09:33 +0000)]
forgot to kill that
op [Sat, 16 Sep 2023 08:01:31 +0000 (08:01 +0000)]
remove empty line in PORTHOME description
op [Sat, 16 Sep 2023 07:59:44 +0000 (07:59 +0000)]
document CHECK_LIB_DEPENDS_ARGS
nicm [Fri, 15 Sep 2023 15:49:05 +0000 (15:49 +0000)]
Change UTF-8 combining to inspect the previous character at the cursor
position rather than keeping the last character from the input stream,
this is how most terminals work and fixes problems with displaying these
characters in vim. GitHub issue 3600.
jsg [Fri, 15 Sep 2023 15:07:08 +0000 (15:07 +0000)]
update awk book reference for the second edition
it will be published in 2023 with a copyright date of 2024
ok jmc@ millert@
deraadt [Fri, 15 Sep 2023 11:48:48 +0000 (11:48 +0000)]
work around cpu.h not coming into early scope on all arch
claudio [Fri, 15 Sep 2023 10:59:02 +0000 (10:59 +0000)]
Also update usage() to include [-p file].
claudio [Fri, 15 Sep 2023 10:56:46 +0000 (10:56 +0000)]
Even if support for utsack is very limited, document the option needed.
OK mpi@
tb [Fri, 15 Sep 2023 07:13:35 +0000 (07:13 +0000)]
Default REGRESS_FAIL_EARLY to yes
The current fail open behavior may be desirable in some circumstances,
but it is an unexpected and dangerous default since one expects some
kind of feedback when running a test suite. Currently failing tests are
only visible on inspecting the log, which led to unsuspecting people
missing failures several times in the past. Flip the default to fail
closed. For those that want to have the old behavior, it is easy enough
to set the variable to no.
Positive feedback job and schwarze
ok kn
nicm [Fri, 15 Sep 2023 06:31:49 +0000 (06:31 +0000)]
Add -t to source-file, GitHub issue 3473.
nicm [Fri, 15 Sep 2023 06:28:15 +0000 (06:28 +0000)]
Add some more WINOPS and a placeholder for SMGRAPHICS.
florian [Fri, 15 Sep 2023 05:32:00 +0000 (05:32 +0000)]
Improve handling of ENOBUFS by not running in a tight loop forever.
This cherry-picks upstream git commit
0ee44ef384593ed0382d1ce6048d5a9c9440b45c.
Issue reported by landry@, which could be traced back to a buggy WiFi
driver that would constantly return ENOBUFS. This in turn lead
unwind(8) enter a tight loop through poll / sendto without making any
progress and burning 100% cpu.
OK sthen
I missed to commit this file when commiting to unbound.
Pointed out by tb, thanks!
deraadt [Thu, 14 Sep 2023 23:42:56 +0000 (23:42 +0000)]
satisfy non-c99 compilers
deraadt [Thu, 14 Sep 2023 22:42:48 +0000 (22:42 +0000)]
satisfy non-c99 compilers
cheloha [Thu, 14 Sep 2023 22:27:09 +0000 (22:27 +0000)]
clockintr: move hz(9)-based initialization out to initclocks()
To separate the hardclock from the clock interrupt subsystem we'll
need to move all related state out first.
hz(9) is set when we return from cpu_initclocks(), so it's safe to
move hardclock_period and roundrobin_period initialization out into
initclocks(). Move hardclock_period itself out into kern_clock.c
alongside the statclock variables.
cheloha [Thu, 14 Sep 2023 22:07:11 +0000 (22:07 +0000)]
clockintr, scheduler: move statclock handle from clockintr_queue to schedstate_percpu
Move the statclock handle from clockintr_queue.cq_statclock to
schedstate_percpu.spc_statclock. Establish spc_statclock during
sched_init_cpu() alongside the other scheduler clock interrupts.
Thread: https://marc.info/?l=openbsd-tech&m=
169428749720476&w=2
cheloha [Thu, 14 Sep 2023 20:58:51 +0000 (20:58 +0000)]
clockintr, statclock: eliminate clockintr_statclock() wrapper
- Move remaining statclock variables from kern_clockintr.c to
kern_clock.c. Move statclock variable initialization from
clockintr_init() into initclocks().
- Change statclock() prototype to make it a legal clockintr
callback function and establish the handle with statclock()
instead clockintr_statclock().
- Merge the contents of clockintr_statclock() into statclock().
statclock() can now reschedule itself and handles multiple
expirations transparently.
- Make statclock_avg visible from sys/systm.h so that clockintr_cpu_init()
can use it to advance the statclock across suspend/hibernate.
Thread: https://marc.info/?l=openbsd-tech&m=
169428749720476&w=2
jmc [Thu, 14 Sep 2023 19:59:12 +0000 (19:59 +0000)]
use Fn notation instead of Nm, as the rest of the page does;
from josiah frentsos
cheloha [Thu, 14 Sep 2023 19:51:17 +0000 (19:51 +0000)]
clockintr: move clockintr_advance_random() prototype into sys/clockintr.h
statclock() is going to need this. Move the prototype into the public API.
Thread: https://marc.info/?l=openbsd-tech&m=
169428749720476&w=2
cheloha [Thu, 14 Sep 2023 19:39:47 +0000 (19:39 +0000)]
clockintr: replace CL_RNDSTAT with global variable statclock_is_randomized
In order to separate the statclock from the clock interrupt subsystem
we need to move all statclock state out into the broader kernel.
Start by replacing the CL_RNDSTAT flag with a new global variable,
"statclock_is_randomized", in kern_clock.c. Update all clockintr_init()
callers to set the boolean instead of passing the flag.
Thread: https://marc.info/?l=openbsd-tech&m=
169428749720476&w=2
cheloha [Thu, 14 Sep 2023 18:32:03 +0000 (18:32 +0000)]
sh(1), ksh(1): reimplement p_tv() with p_ts()
p_tv() is identical to p_ts(). Better to not have two copies: in
p_tv(), convert the timeval to a timespec and pass it to p_ts().
With input from tb@ and millert@.
Thread: https://marc.info/?l=openbsd-tech&m=
169448818503541&w=2
ok tb@ millert@
jca [Thu, 14 Sep 2023 16:39:00 +0000 (16:39 +0000)]
Instead of ld -dc use ld -d, supported by both ld.bfd and ld.lld >= 15
Upstream LLVM decided to drop the -dc flag and keep its -d alias for
some time:
https://github.com/llvm/llvm-project/commit/
0688b00fc39fe87ec6dd3d37a732d067ff487f16
So this is only a workaround to let us update llvm to a recent release.
We'll probably need another fix not so distant future. Another approach
would be to just drop -dc from the linker invocation, and use
cc -fno-common when building instbin with base-gcc (already the default
with base-clang). But this approach needs more testing than I can
provide, as deraadt@ feared it would break in subtle ways.
ld -d compat alias pointed out by robert@, ok robert@
dv [Thu, 14 Sep 2023 15:25:43 +0000 (15:25 +0000)]
vmd(8)/vioblk: use zero-copy approach & vectored io.
The original version of the virtio block device dynamically allocated
buffers to hold intermediate data when reading or writing to the
underlying disk fd(s). Since vioblk drivers may chain multiple
segments together, this leads to overly complex logic and on
read(2)/write(2) call per data segment.
Additionally, the virtio block logic in vmd didn't handle segments
that weren't block aligned (e.g. 512 bytes). If a guest provided
unaligned segments, garbage will be read or written.
Since virtio descriptors mimic iovec structures, this changes vmd's
device emulation to use that model. (This is how other hypervisors
emulate virtio devices.) This allows for zero-copy semantics using
iovec's, reducing memcpy and multiple read/write syscalls per io
transaction.
Testing by phessler@ and mlarkin@. OK mlarkin@.
sthen [Thu, 14 Sep 2023 14:06:13 +0000 (14:06 +0000)]
document print-plist-libs
nicm [Thu, 14 Sep 2023 13:01:35 +0000 (13:01 +0000)]
Reset combine flag only if text is actually processed.
yasuoka [Thu, 14 Sep 2023 09:55:28 +0000 (09:55 +0000)]
Clarify the interval after 30sec.
yasuoka [Thu, 14 Sep 2023 09:54:31 +0000 (09:54 +0000)]
Revert the previous. It was committed by my mistake.
yasuoka [Thu, 14 Sep 2023 09:51:14 +0000 (09:51 +0000)]
Clarify the interval after 30sec.
bentley [Thu, 14 Sep 2023 03:53:26 +0000 (03:53 +0000)]
Update to reflect FONT_DISTSUBDIR removal.
jsg [Thu, 14 Sep 2023 00:29:35 +0000 (00:29 +0000)]
revert previous, it doesn't help
reporter had radeondrm disabled when testing
schwarze [Wed, 13 Sep 2023 14:57:21 +0000 (14:57 +0000)]
replace the outdated statement that everything uses SHA-1
by a table showing the supported algorithms
schwarze [Wed, 13 Sep 2023 14:39:54 +0000 (14:39 +0000)]
Document the special meaning of NID_undef in this context.
From Matt Caswell <matt at openssl dot org>
via OpenSSL commit
1212818e (Sep 11, 2018)
from the OpenSSL 1.1 branch, which is still under a free license.
Wording slightly tweaked by me.
claudio [Wed, 13 Sep 2023 14:25:49 +0000 (14:25 +0000)]
Revert commitid: yfAefyNWibUyjkU2, ESyyH5EKxtrXGkS6 and itscfpFvJLOj8mHB;
The change to the single thread API results in crashes inside exit1()
as found by Syzkaller. There seems to be a race in the exit codepath.
What exactly fails is not really clear therefor revert for now.
This should fix the following Syzkaller reports:
Reported-by: syzbot+38efb425eada701ca8bb@syzkaller.appspotmail.com
Reported-by: syzbot+ecc0e8628b3db39b5b17@syzkaller.appspotmail.com
and maybe more.
Reverted commits:
----------------------------
Protect ps_single, ps_singlecnt and ps_threadcnt by the process mutex.
The single thread API needs to lock the process to enter single thread
mode and does not need to stop the scheduler.
This code changes ps_singlecount from a count down to zero to ps_singlecnt
which counts up until equal to ps_threadcnt (in which case all threads
are properly asleep).
Tested by phessler@, OK mpi@ cheloha@
----------------------------
Change how ps_threads and p_thr_link are locked away from using SCHED_LOCK.
The per process thread list can be traversed (read) by holding either
the KERNEL_LOCK or the per process ps_mtx (instead of SCHED_LOCK).
Abusing the SCHED_LOCK for this makes it impossible to split up the
scheduler lock into something more fine grained.
Tested by phessler@, ok mpi@
----------------------------
Fix SCHED_LOCK() leak in single_thread_set()
In the (q->p_flag & P_WEXIT) branch is a continue that did not release
the SCHED_LOCK. Refactor the code a bit to simplify the places SCHED_LOCK
is grabbed and released.
Reported-by: syzbot+ea26d351acfad3bb3f15@syzkaller.appspotmail.com
OK kettenis@
mvs [Wed, 13 Sep 2023 14:24:37 +0000 (14:24 +0000)]
Replace sys/selinfo.h header with sys/event.h. drm_device.h has no
selinfo stuff, but the `note' member of 'drm_device' structure with type
of klist.
ok jsg
schwarze [Wed, 13 Sep 2023 14:18:21 +0000 (14:18 +0000)]
Various improvements:
* Document the ASN1_PKEY_CTRL_DEFAULT_MD_NID control operation.
* Mention that EVP_PKEY_asn1_new(3) sets ASN1_PKEY_DYNAMIC.
* Fix the description of EVP_PKEY_asn1_copy(3), which was totally wrong.
* Warn about the crazy ASN1_PKEY_DYNAMIC handling in EVP_PKEY_asn1_free(3).
* Be more precise about EVP_PKEY_asn1_new(3) RETURN VALUES.
schwarze [Wed, 13 Sep 2023 13:55:50 +0000 (13:55 +0000)]
document the EVP_PKEY_ASN1_METHOD flags
ASN1_PKEY_ALIAS, ASN1_PKEY_DYNAMIC, and ASN1_PKEY_SIGPARAM_NULL
mpi [Wed, 13 Sep 2023 13:47:58 +0000 (13:47 +0000)]
Properly evaluate variables when inserting them into a map.
Somehow missed in previous, regression reported by anton@.
schwarze [Wed, 13 Sep 2023 13:46:52 +0000 (13:46 +0000)]
minor markup fixes: add one missing .Dv and one missing .Vt macro
schwarze [Wed, 13 Sep 2023 13:32:01 +0000 (13:32 +0000)]
document the EVP_PKEY_CTRL_MD and EVP_PKEY_CTRL_GET_MD command constants
jsg [Wed, 13 Sep 2023 13:07:29 +0000 (13:07 +0000)]
drm/amd/display: Add smu write msg id fail retry process
From Fudong Wang
b23c96589ff7f25ad2232524f6c74e0067be2369 in linux-6.1.y/6.1.53
72105dcfa3d12b5af49311f857e3490baa225135 in mainline linux
jsg [Wed, 13 Sep 2023 13:04:19 +0000 (13:04 +0000)]
drm/amd/display: register edp_backlight_control() for DCN301
From Hamza Mahfooz
9a9b8596c3dce99a0bac3951ed257e87f30d0445 in linux-6.1.y/6.1.53
1611917f39bee1abfc01501238db8ac19649042d in mainline linux
jsg [Wed, 13 Sep 2023 13:01:54 +0000 (13:01 +0000)]
drm/radeon: Use RMW accessors for changing LNKCTL
From Ilpo Jarvinen
433330fb1296119d74cc5c8f1e05b5829ddc52f9 in linux-6.1.y/6.1.53
7189576e8a829130192b33c5b64e8a475369c776 in mainline linux
jsg [Wed, 13 Sep 2023 12:59:27 +0000 (12:59 +0000)]
drm/amdgpu: Use RMW accessors for changing LNKCTL
From Ilpo Jarvinen
a0f0daf60bc1d3d78afded5931a56a015f2a17e8 in linux-6.1.y/6.1.53
ce7d88110b9ed5f33fe79ea6d4ed049fb0e57bce in mainline linux
jsg [Wed, 13 Sep 2023 12:55:18 +0000 (12:55 +0000)]
drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()
From Yang Wang
f27dff881f0b8f1a5bc64d48a19802dd520bc482 in linux-6.1.y/6.1.53
25e6373a5b8efc623443f2699d2b929bf3067d76 in mainline linux
jsg [Wed, 13 Sep 2023 12:53:38 +0000 (12:53 +0000)]
drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
From Srinivasan Shanmugam
8dcc23191a6d2181855422741d73a96d91526c87 in linux-6.1.y/6.1.53
a0cc8e1512ad72c9f97cdcb76d42715730adaf62 in mainline linux
jsg [Wed, 13 Sep 2023 12:51:49 +0000 (12:51 +0000)]
drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
From Arnd Bergmann
fd28ce30b525bccba4504499de625085a6def1c6 in linux-6.1.y/6.1.53
822130b5e8834ab30ad410cf19a582e5014b9a85 in mainline linux
jsg [Wed, 13 Sep 2023 12:50:04 +0000 (12:50 +0000)]
drm/amd/display: ensure async flips are only accepted for fast updates
From Hamza Mahfooz
7ac1467f9472af5e7bee1ce923569677fc84fe5b in linux-6.1.y/6.1.53
a7c0cad0dc060bb77e9c9d235d68441b0fc69507 in mainline linux
jsg [Wed, 13 Sep 2023 12:48:02 +0000 (12:48 +0000)]
drm/amdgpu: Match against exact bootloader status
From Lijo Lazar
5251c835324bee81894fdad1a844d15a79e54883 in linux-6.1.y/6.1.53
d3de41ee5febe5c2d9989fe9810bce2bb54a3a8e in mainline linux
jsg [Wed, 13 Sep 2023 12:46:32 +0000 (12:46 +0000)]
drm/amd/display: Exit idle optimizations before attempt to access PHY
From Leo Chen
ae1cb9656ef4c7aa366d1201d366866bc0989df7 in linux-6.1.y/6.1.53
de612738e9771bd66aeb20044486c457c512f684 in mainline linux
jsg [Wed, 13 Sep 2023 12:44:35 +0000 (12:44 +0000)]
drm/amd/display: Guard DCN31 PHYD32CLK logic against chip family
From George Shen
faa77cf5f28f4bbfbbb00f7e0caa2c8561f7dfe0 in linux-6.1.y/6.1.53
25b054c3c89cb6a7106a7982f0f70e83d0797dab in mainline linux
jsg [Wed, 13 Sep 2023 12:42:17 +0000 (12:42 +0000)]
drm/amd/smu: use AverageGfxclkFrequency* to replace previous GFX Curr Clock
From Jane Jian
d7b1aa3e209841834965541988154c296196a808 in linux-6.1.y/6.1.53
4a37c55b859a69f429bfa7fab4fc43ee470b60ed in mainline linux
jsg [Wed, 13 Sep 2023 12:40:30 +0000 (12:40 +0000)]
Revert "Revert drm/amd/display: Enable Freesync Video Mode by default"
From Aurabindo Pillai
7f483ce4699ac4158879833d08a86b57697b05b3 in linux-6.1.y/6.1.53
11b92df8a2f7f4605ccc764ce6ae4a72760674df in mainline linux