jsg [Tue, 21 Jun 2022 04:17:21 +0000 (04:17 +0000)]
add Intel 600 Series LP
jsg [Tue, 21 Jun 2022 04:09:28 +0000 (04:09 +0000)]
regen
jsg [Tue, 21 Jun 2022 04:08:53 +0000 (04:08 +0000)]
add some Intel ADL-P and 600 Series LP ids
tb [Mon, 20 Jun 2022 19:42:58 +0000 (19:42 +0000)]
Tweak a comment
tb [Mon, 20 Jun 2022 19:38:25 +0000 (19:38 +0000)]
Flip roles of lowercase and uppercase A and B.
This matches Cohen's text better and makes the entire thing easier to
read.
suggested by jsing
tb [Mon, 20 Jun 2022 19:32:35 +0000 (19:32 +0000)]
Clean up BN_kronecker()
Instead of "Cohen's step N" explain in words what is being done. Things
such as (A & B & 2) != 0 being equivalent to (-1)^((A-1)(B-1)/4) being
negative are not entirely obvious... Remove the strange error dance and
adjust variable names to what Cohen's book uses. Simplify various curly
bits.
ok jsing
gnezdo [Mon, 20 Jun 2022 16:28:42 +0000 (16:28 +0000)]
Fix console screen blanker setting timeout back to zero
Tested locally. "looks correct" to miod@
From Crystal Kolipe kolipe DOT c AT exoticsilicon DOT com
tb [Mon, 20 Jun 2022 15:02:21 +0000 (15:02 +0000)]
Fix some bizarre indentation and line breaks.
nicm [Mon, 20 Jun 2022 07:59:37 +0000 (07:59 +0000)]
Do not display configuration file errors in a pane when in control mode,
instead report them with a %config-error notification. GitHub issue 3193.
jca [Mon, 20 Jun 2022 06:45:31 +0000 (06:45 +0000)]
Fixup comment
yasuoka [Mon, 20 Jun 2022 02:22:05 +0000 (02:22 +0000)]
When there are multiple GOPs, try to select first one from which we
can get a handle of DevicePath protocol if any, otherwise select first
one. This is expected to workaround the garbled screen problem when
booting with efiboot happened on some machines.
origin diff from Alexei K.
visa [Mon, 20 Jun 2022 01:39:44 +0000 (01:39 +0000)]
Remove unused struct fileops field fo_poll and callbacks.
OK mpi@
stsp [Sun, 19 Jun 2022 18:27:06 +0000 (18:27 +0000)]
Revert previous iwn(4) commit. Later testing done by Christian Schulte
suggests that this fix did not in fact help with the issue. And this
change broke wireless for other iwn(4) users, as reported by Lucas on bugs@
tb [Sun, 19 Jun 2022 17:10:02 +0000 (17:10 +0000)]
Use uppercase for SUCCESS for consistency
tb [Sun, 19 Jun 2022 17:08:19 +0000 (17:08 +0000)]
None of these tests needs to link statically.
tb [Sun, 19 Jun 2022 17:05:31 +0000 (17:05 +0000)]
Drop bogus DPADD += ${LIBSSL}
tb [Sun, 19 Jun 2022 14:02:44 +0000 (14:02 +0000)]
Make expected output match reality again.
claudio [Sun, 19 Jun 2022 13:59:22 +0000 (13:59 +0000)]
There is no reason to print the RTF_DONE bit in the routing table output.
It is now set on all routes (and before it was never set).
OK tb@ anton@
anton [Sun, 19 Jun 2022 12:52:19 +0000 (12:52 +0000)]
pluart(4) does not report the correct baudrate for the hardware console
but instead defaults to 38400. This in turn causes the same baudrate to
end up in /etc/ttys during installation. Note that this is not a problem
as of now since pluart does not support changing the baudrate just yet.
Instead, honor and propagate the baudrate given to pluartcnattach()
while attaching the hardware console.
ok visa@
tb [Sun, 19 Jun 2022 10:58:22 +0000 (10:58 +0000)]
Since rtsock.c -r1.329 routes sent via sysctl(2) are now marked RTF_DONE.
Adjust expected output.
tb [Sun, 19 Jun 2022 10:56:25 +0000 (10:56 +0000)]
Fix rttest output after rtsock.c r1.329 that RTF_DONE to routes sent
via sysctl(2)
claudio [Sun, 19 Jun 2022 10:30:09 +0000 (10:30 +0000)]
Implement a applymask() function that works on bgpd_addr structs.
Use this function in kroute so that kroute_find and kroute6_find can switch
to use struct bgpd_addr as argument.
OK tb@
jmc [Sun, 19 Jun 2022 05:49:51 +0000 (05:49 +0000)]
grammar fix; from S M
tb [Sat, 18 Jun 2022 19:53:19 +0000 (19:53 +0000)]
Quick regression test that checks that BN_is_prime_fasttest_ex()
recognizes the primes in the primes[] table with and without trial
division. Would have caught the bug fixed in bn_primes.c r1.9.
florian [Sat, 18 Jun 2022 16:20:13 +0000 (16:20 +0000)]
sync to libunbound 1.16.0; heavy lifting by sthen
florian [Sat, 18 Jun 2022 16:17:29 +0000 (16:17 +0000)]
We were a bit too enthusiastic when we copied libunbound and some other
helper functions from unbound(8).
Delete unused shared memory functions that the unbound(8) daemon uses
for statistics gathering. While here get rid of daemon.h which is
unused, too.
With this we can remove the hack in config.h to pretend we don't have
shmget to prevent linker errors which makes syncing with unbound(8)
easier.
tb [Sat, 18 Jun 2022 15:52:35 +0000 (15:52 +0000)]
Fix prime recognition when doing trial divisions
If gcd(a, primes[i]) == 0 then a could still be a prime, namely in the
case that a == primes[i], so check for that case as well.
Problem noted by Martin Grenouilloux
ok jsing
gkoehler [Sat, 18 Jun 2022 03:23:19 +0000 (03:23 +0000)]
Fix gzip byte counts with 32-bit integers
If zlib is without our local change in lib/libz/zlib.h r1.7, then
s->z_stream.total_in and s->z_stream.total_out might overflow on
architectures where uLong has 32 bits. After overflow, the total
would be 4G below the correct total.
Calculate our own 64-bit totals. When decompressing, take
(uLong)s->z_stream.total_in as a total modulo ULONG_MAX + 1.
ok tb@
dtucker [Sat, 18 Jun 2022 02:17:16 +0000 (02:17 +0000)]
Don't attempt to fprintf a null identity comment. From Martin Vahlensieck
via tech@.
bluhm [Fri, 17 Jun 2022 13:40:21 +0000 (13:40 +0000)]
The timeout for ipsec acquire does not decrement the reference
counter to 0 properly. We have one reference count for the lists,
and one for the timeout handler. When the timout fires, it has to
decrement the reference to itself. Then the ipa is removed from
the lists and decremented again.
from Stefan Butz; OK tobhe@ mvs@
kettenis [Fri, 17 Jun 2022 10:08:36 +0000 (10:08 +0000)]
Only probe device 0 on PCI busses corresponding to a PCIe root port or a
PCIe switch/bridge downstream port. This fixes an issue where a device would
show up 32 times if the PCIe port does not terminate configuration requests
targeted at device numbers 1-31 as required by the spec and the PCIe device
does not filter requests based on its own device number. Linux, NetBSD and
FreeBSD (to some extent) already do this.
This should fix an issue seen on Ampere Altra where the BMC's PCI bridge
and USB controller would show up multiple times.
ok jsg@
claudio [Fri, 17 Jun 2022 09:12:06 +0000 (09:12 +0000)]
Adapt the KAME hack in sa2addr() to be the same as in route/show.c
Also fix the function by moving the memcpy() after the embedded scope
has been removed.
OK tb@
nicm [Fri, 17 Jun 2022 07:28:05 +0000 (07:28 +0000)]
Check cursor options when a pane is created, not just when they are changed.
dtucker [Fri, 17 Jun 2022 01:00:03 +0000 (01:00 +0000)]
Log an error if pipe() fails while accepting a connection. bz#3447, from
vincent-openssh at vinc17 net, ok djm@
bru [Thu, 16 Jun 2022 20:52:38 +0000 (20:52 +0000)]
Add boundary checks to hidms_setup.
Thanks to Sven M. Hallberg.
sashan [Thu, 16 Jun 2022 20:47:26 +0000 (20:47 +0000)]
pfctl reports existing table as being added. glitch has
been spotted and reported by jmc@
OK kn@
kettenis [Thu, 16 Jun 2022 20:45:42 +0000 (20:45 +0000)]
Bump MAXCPUS to 256, which is the maximum number of cores on a dual socket
machine with Ampere Altra Max CPUs. OpenBSD should run on such a machine
now.
ok patrick@, deraadt@
kettenis [Thu, 16 Jun 2022 20:44:09 +0000 (20:44 +0000)]
The 64-core versions of the Ampere Altra SoC still have 80 redistributors.
Presumably these are the same silicon and the 64-core version just has some
of the cores disabled. This means that the redistributors don't necessarily
all match up with a core that is actually enabled. So remove the panic
that would happen if we found a redistributor without a matching core.
ok patrick@, deraadt@
bluhm [Thu, 16 Jun 2022 18:44:43 +0000 (18:44 +0000)]
OpenBSD syslogd(8) escapes binary data with vis(3). Use the
VIS_NOSLASH option to avoid additional backslashes. Although this
option prevents to decode binaries, it makes automatic post processing
easier. Formats like JSON use backslash escaping themself, additional
escaping from syslogd would break SIEM systems. vis protection was
introduced to avoid evil characters in log files and not to make
binary logging possible.
from Matthias Pitzl; OK deraadt@
claudio [Thu, 16 Jun 2022 16:09:56 +0000 (16:09 +0000)]
RRDP serial numbers should only increase.
Warn if the serial number decreases between syncs.
On top of this only allow a small window of up to 2 deltas from the
current one to consider our cache to be in sync.
The number 2 is probably to conservative and should be adjusted once
some data points got collected.
It seems to happen that CAs restore RRDP snapshots instead of building
a fresh snapshot with a new session-id. Which results in rpki-client to
ignore the repo until the serial number is bigger again.
OK tb@
claudio [Thu, 16 Jun 2022 15:36:36 +0000 (15:36 +0000)]
Neither inet4allone nor inet6allone need global scope. Make them static.
Noticed by tb@
claudio [Thu, 16 Jun 2022 15:34:07 +0000 (15:34 +0000)]
Remove prefixlen2mask() uasge outside of util.c. Instead use inet4applymask().
Neccessary after similar change in bgpd.
OK tb@
claudio [Thu, 16 Jun 2022 15:33:05 +0000 (15:33 +0000)]
Remove prefixlen2mask() uasge outside of util.c. Instead use inet4applymask().
Using inet4applymask() makes the code similar to the IPv6 version.
Also switch kroute{,6}_match() to use a struct bgpd_addr * as argument.
OK tb@
claudio [Thu, 16 Jun 2022 15:30:12 +0000 (15:30 +0000)]
If anything in name2id conversion fails then just return 0.
Do not set any errno. So if a non empty string is used in name2id
conversion and the return value is 0 then that would be an error.
Callers in most cases do not care and accept that a label may be
lost because of conversion failure.
Noticed by and OK tb@
deraadt [Thu, 16 Jun 2022 13:54:39 +0000 (13:54 +0000)]
shmaddr is a pointer, so use NULL instead 0f
nicm [Thu, 16 Jun 2022 13:27:39 +0000 (13:27 +0000)]
Keep cursor on selected item on menu (useful for blind people), GitHub
issue 3225.
claudio [Thu, 16 Jun 2022 10:35:45 +0000 (10:35 +0000)]
Mark routes sent via sysctl(2) with RTF_DONE like it is done on the
route socket. All messages passed are by definition done. This may
allow to share more code between sysctl and route socket parsers.
OK mpi@
claudio [Thu, 16 Jun 2022 09:51:07 +0000 (09:51 +0000)]
Remove __func__ from warning messages where it does not add anything
to the warning. The messages are clear enough and unique.
OK tb@
djm [Wed, 15 Jun 2022 16:08:25 +0000 (16:08 +0000)]
make sure that UseDNS hostname lookup happens in the monitor and
not in the pledge(2)'d unprivileged process; fixes regression
caused by recent refactoring spotted by henning@
claudio [Wed, 15 Jun 2022 16:00:37 +0000 (16:00 +0000)]
Prevent busy poll loop on pfkey message error.
When pfkey_reply() detects an error in a message it needs to flush that
message out of the buffer because pfkey_read() only did a peak read.
OK tb@
claudio [Wed, 15 Jun 2022 15:06:25 +0000 (15:06 +0000)]
Need to continue to the next message for route messages with errors
or which are not marked RTF_DONE. Possible fix for bgpd exiting for
no obvious reason. Found with help from florian@
OK florian@
claudio [Wed, 15 Jun 2022 14:09:30 +0000 (14:09 +0000)]
Do not use defines from pfkeyv2.h in portable code.
Instead define our own algorithm enums for the IPsec code.
OK tb@ sthen@
claudio [Wed, 15 Jun 2022 10:10:50 +0000 (10:10 +0000)]
Adjust after chaning F_BGPD_INSERTED to F_BGPD and removal of F_DYNAMIC
claudio [Wed, 15 Jun 2022 10:10:03 +0000 (10:10 +0000)]
Rename F_BGPD_INSERTED to F_BGPD and use F_BGPD_INSERTED as a flag that
indicates that the route was successfully added to the FIB.
Filter out dynamic routes, like it is already done for ARP and ND routes) and
kill F_DYNAMIC.
Also remove the protect_lo() bits. Adding dummy kroute entries does no longer
prevent bad routes to hit the FIB. Also loopback IPs are checked in a few
other places to prevent bad routes to be installed into the FIB.
OK tb@
stsp [Wed, 15 Jun 2022 08:43:17 +0000 (08:43 +0000)]
In iwn(4), delay 40MHz RXON config until we have negotiated 11n mode.
Enabling 40MHz too early can cause firmware sysassert 0x05 on 5300 devices
when we send the initial AUTH frame to kick off association. At this point
we haven't negotiated 11n mode yet (this happens later during the association
sequence), so perhaps firmware saw an inconsistent configuration state?
It is unclear why this problem did not seem to affect any other devices.
Reported by Christian Schulte on misc@
jsg [Wed, 15 Jun 2022 07:49:55 +0000 (07:49 +0000)]
drm/amdgpu: update VCN codec support for Yellow Carp
From Alex Deucher
2b7d9fd0f3725135b40571d6a44bbbaeead132fe in linux 5.15.y/5.15.47
97e50305542f384741a5b45699aba349fe9fca73 in mainline linux
jsg [Wed, 15 Jun 2022 07:47:22 +0000 (07:47 +0000)]
drm/atomic: Force bridge self-refresh-exit on CRTC switch
From Brian Norris
cab7cd86f9e81834c407e043844779f21653ff3c in linux 5.15.y/5.15.47
e54a4424925a27ed94dff046db3ce5caf4b1e748 in mainline linux
jsg [Wed, 15 Jun 2022 07:44:36 +0000 (07:44 +0000)]
drm/amd/pm: use bitmap_{from,to}_arr32 where appropriate
From Yury Norov
b2d359f095883d10b33e74a4a404363d2312830d in linux 5.15.y/5.15.47
525d6515604eb1373ce5e6372a6b6640953b2d6a in mainline linux
jsg [Wed, 15 Jun 2022 07:40:33 +0000 (07:40 +0000)]
drm/amd/pm: Fix missing thermal throttler status
From Lijo Lazar
e0199ce728fb98a96a20136a5edb11c160d3151f in linux 5.15.y/5.15.47
b0f4d663fce6a4232d3c20ce820f919111b1c60b in mainline linux
jsg [Wed, 15 Jun 2022 07:37:40 +0000 (07:37 +0000)]
drm/radeon: fix a possible null pointer dereference
From Gong Yuanjun
7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9 in linux 5.15.y/5.15.47
a2b28708b645c5632dc93669ab06e97874c8244f in mainline linux
jsg [Wed, 15 Jun 2022 07:34:21 +0000 (07:34 +0000)]
drm/amd/display: Check if modulo is 0 before dividing.
From David Galiffi
10ef82d6e0af5536ec64770c07f6bbabfdd6977c in linux 5.15.y/5.15.47
49947b906a6bd9668eaf4f9cf691973c25c26955 in mainline linux
jsg [Wed, 15 Jun 2022 07:04:09 +0000 (07:04 +0000)]
add bitmap_to_arr32() for 5.15.47 drm
discussed with and partly from kettenis@
tb [Wed, 15 Jun 2022 06:14:59 +0000 (06:14 +0000)]
Switch to using TLS_INT instead of handrolling it
naddy [Tue, 14 Jun 2022 21:31:45 +0000 (21:31 +0000)]
m4: use ASCII quotes `...' in man page example
The m4 syntax specifically requires `...' and not the pretty Unicode
quotes that the Sq macro can produce. Use of escape sequences
clarified by schwarze@
schwarze [Tue, 14 Jun 2022 15:49:58 +0000 (15:49 +0000)]
The curly braces are tokens in the described language,
so add the missing .Cm macros; markup error reported by espie@;
OK florian@ espie@
espie [Tue, 14 Jun 2022 15:15:17 +0000 (15:15 +0000)]
my email should be @openbsd.org everywhere, and nothing else
claudio [Tue, 14 Jun 2022 14:06:48 +0000 (14:06 +0000)]
Add my copyright, I think I added enough code to justify it.
kn [Tue, 14 Jun 2022 09:56:07 +0000 (09:56 +0000)]
Document search order
Explain when and how LD_LIBRARY_PATH, DT_RUNPATH and DT_RPATH are used.
Input OK guenther
jmatthew [Tue, 14 Jun 2022 09:03:46 +0000 (09:03 +0000)]
Add Longreach airport (LRE), which I visited so long ago I had to check with
my parents.
claudio [Tue, 14 Jun 2022 07:33:58 +0000 (07:33 +0000)]
Bump version to 7.4
nicm [Tue, 14 Jun 2022 07:29:00 +0000 (07:29 +0000)]
kf* terminfo capabilities are poorly defined and rxvt uses them in a
different way from xterm, so add a feature flag for rxvt to make tmux
ignore the capabilities and instead rely on its builtin definitions.
henning [Mon, 13 Jun 2022 12:48:00 +0000 (12:48 +0000)]
fix logic bug in pf_find_state()
a state in PFTM_PURGE could potentially hide another state on the same state
key that is active and we'd incorrectly block the packet
I believe that cannot happen as things are now.
ok sashan
kettenis [Mon, 13 Jun 2022 12:40:30 +0000 (12:40 +0000)]
Fix compatible strings to match the official device tree binding.
ok patrick@, dlg@, jsg@
claudio [Mon, 13 Jun 2022 09:57:44 +0000 (09:57 +0000)]
Split dispatch_rtmsg_addr() into a function parsing a route message
into a struct kroute_full and then two functions to add/change or delete
that route from the kroute tree.
Cleanup some additional things and use the same parse funtion in fetchtable.
OK tb@
deraadt [Mon, 13 Jun 2022 03:47:12 +0000 (03:47 +0000)]
sync
dv [Sun, 12 Jun 2022 19:48:12 +0000 (19:48 +0000)]
vmm(4): remove vm teardown from vcpu run path
Remove the calling of vm_teardown from the code path in vm_run after
vmm has exited the vm/vcpu and is on its way back to userland/vmd(8).
vmd(8) and other vmm(4) users should use the VMM_IOC_TERM ioctl(2)
instead.
Help testing from Mischa Peters, OK mlarkin@
kettenis [Sun, 12 Jun 2022 16:02:33 +0000 (16:02 +0000)]
aplsart(4)
kettenis [Sun, 12 Jun 2022 16:00:12 +0000 (16:00 +0000)]
The NVMe firmware distributed with the macOS 13 developer beta does not
like some of the shortcuts we've taken in the code that talks to RTKit.
In particular it does not like our NAK of the request for ioreport buffers.
So allocate the requested buffers and ACK the request instead.
However, the hardware implements a address filter between the coprocessor
that the firmware runs on and main memory. So we have to add a mapping
into this address filter such that the firmware can access these buffers.
Support for this address filter is implemented in a new aplsart(4) driver.
ok dlg@
kettenis [Sun, 12 Jun 2022 10:51:55 +0000 (10:51 +0000)]
Add stftemp(4), a driver for the temperature sensor integrated on the
StarFive JH7100 SoC.
ok jsg@
visa [Sun, 12 Jun 2022 10:36:04 +0000 (10:36 +0000)]
Allow sleeping while clearing a sleep timeout
Since sys/kern/kern_timeout.c r1.84, timeout_barrier() has used sleeping
with soft-interrupt-driven timeouts. Adjust the sleep machinery so that
the timeout clearing can block in sleep_finish().
This adds one step of recursion inside sleep_finish(). However, the
sleep queue handling does not recurse because sleep_finish() completes
it before calling timeout_del_barrier().
This fixes the following panic:
panic: kernel diagnostic assertion "(p->p_flag & P_TIMEOUT) == 0" failed: file "sys/kern/kern_synch.c", line 373
Stopped at db_enter+0x10: popq %rbp
db_enter() at db_enter+0x10
panic() at panic+0xbf
__assert() at __assert+0x25
sleep_setup() at sleep_setup+0x1d8
cond_wait() at cond_wait+0x46
timeout_barrier() at timeout_barrier+0x109
timeout_del_barrier() at timeout_del_barrier+0xa2
sleep_finish() at sleep_finish+0x16d
tsleep() at tsleep+0xb2
sys_nanosleep() at sys_nanosleep+0x12d
syscall() at syscall+0x374
OK mpi@ dlg@
visa [Sun, 12 Jun 2022 10:34:36 +0000 (10:34 +0000)]
kqueue: Fix missing wakeup
While one thread is running kqueue_scan(), another thread can begin
scanning the same kqueue, observe that the event queue is empty, and
go to sleep. If the first thread re-inserts a knote for re-processing,
the second thread can miss the newly pending event. Wake up the kqueue
after a re-insert to correct this.
This fixes a Go test hang that jsing@ tracked down to kqueue.
Tested in snaps for a week.
OK jsing@ mpi@
gnezdo [Sun, 12 Jun 2022 05:36:20 +0000 (05:36 +0000)]
Document ext2fs traversal by locate.updatedb(8)
From Larry Hynes
kettenis [Sat, 11 Jun 2022 19:12:59 +0000 (19:12 +0000)]
whitespace
nicm [Sat, 11 Jun 2022 16:59:33 +0000 (16:59 +0000)]
Fix size of flags output buffer.
anton [Sat, 11 Jun 2022 05:29:24 +0000 (05:29 +0000)]
Bring back PL011 UART FIFO support to pluart(4). This time with working
tx interrupts.
Special treatment of Server Base System Architecture (SBSA) generic UART
devices is required as presence of the interrupt trigger level register
is not guaranteed. Therefore treat such devices of having a 1-byte FIFO.
ok visa@
tb [Fri, 10 Jun 2022 22:00:15 +0000 (22:00 +0000)]
More %i vs %d cleanup
jca [Fri, 10 Jun 2022 21:34:15 +0000 (21:34 +0000)]
Implement CPU_BUSY_CYCLE() with the ZiHintPause extension
This may help save power but also improves performance in contended
workloads.
kettenis@ helped a lot:
- pointing out the error in my newest diff
- pointing out that the ZiHintPause had been ratified in early 2021
- testing this on his visionfive board
ok kettenis@
libc make -j4 time before
17m39.06s real 22m13.85s user 34m27.88s system
17m35.60s real 22m15.01s user 34m28.51s system
17m40.78s real 22m14.89s user 34m42.91s system
17m40.61s real 22m06.99s user 34m29.58s system
17m42.79s real 22m08.04s user 34m33.19s system
17m39.21s real 22m11.27s user 34m23.18s system
17m32.81s real 22m13.84s user 34m09.67s system
libc make -j4 time after
16m35.48s real 21m57.94s user 32m05.50s system
16m49.10s real 21m58.47s user 32m42.37s system
16m42.16s real 22m00.51s user 32m22.18s system
16m41.54s real 21m53.32s user 32m19.53s system
16m45.42s real 21m52.14s user 32m37.78s system
16m46.55s real 21m58.98s user 32m36.70s system
kn [Fri, 10 Jun 2022 20:10:24 +0000 (20:10 +0000)]
Add OSW in Orsk (Аеропорт Орсрк), where I landed and departed at one of the
two gates to have a great time in the Ural last year.
nicm [Fri, 10 Jun 2022 11:55:30 +0000 (11:55 +0000)]
Ignore OSC if the first argument is not properly terminated.
tb [Fri, 10 Jun 2022 10:41:09 +0000 (10:41 +0000)]
Unify error messages on d2i failure for econtent
tb [Fri, 10 Jun 2022 10:36:43 +0000 (10:36 +0000)]
Dedup econtent version checks
Since the ASN.1 template conversions, we have three copies of mostly dead
code that validates that the econtent version is at its default value 0.
Until a new standard bumps this version and we decide to support that,
we're better off with only one copy of this code.
ok claudio
guenther [Fri, 10 Jun 2022 01:56:02 +0000 (01:56 +0000)]
Add _?ENTRY_NB() macro for doing an ASM function entry without
setting the binding to global (NB == "no binding"), as clang 13 is
now warning about changing the binding from global to weak. Use
them for bcopy, brk, and sbrk.
Add the '.L' prefix to internal labels in the bcopy implementation
to remove them from the symbol table
Start using the MI DEFS.h: delete the #defines from powerpc/SYS.h
that the MI DEFS.h provides and switch from SYS.h to DEFS.h in files
that don't do syscalls. Use END_BUILTIN from the MI DEFS.h for ffs.
ok gkoehler@
jsg [Fri, 10 Jun 2022 01:21:12 +0000 (01:21 +0000)]
drm/i915/dsi: fix VBT send packet port selection for ICL+
From Jani Nikula
35511d4fdd6b82c887ef038278fd808d7c7f98de in linux 5.15.y/5.15.46
0ea917819d12fed41ea4662cc26ffa0060a5c354 in mainline linux
jsg [Fri, 10 Jun 2022 01:19:27 +0000 (01:19 +0000)]
drm/amdgpu/cs: make commands with 0 chunks illegal behaviour.
From Dave Airlie
70276460e914d560e96bfc208695a872fe9469c9 in linux 5.15.y/5.15.46
31ab27b14daaa75541a415c6794d6f3567fea44a in mainline linux
jsg [Fri, 10 Jun 2022 01:17:26 +0000 (01:17 +0000)]
drm/i915: Fix CFI violation with show_dynamic_id()
From Nathan Chancellor
d50d1c703bbd8930d11e5bc01e2cc3c8dcda8f4b in linux 5.15.y/5.15.46
58606220a2f1407a7516c547f09a1ba7b4350a73 in mainline linux
jsg [Fri, 10 Jun 2022 01:15:31 +0000 (01:15 +0000)]
drm/edid: fix invalid EDID extension block filtering
From Jani Nikula
96db9afa4958bbaee77995eb0c84e08cdcce74ae in linux 5.15.y/5.15.46
3aefc722ff52076407203b6af9713de567993adf in mainline linux
jsg [Fri, 10 Jun 2022 01:13:38 +0000 (01:13 +0000)]
drm: fix EDID struct for old ARM OABI format
From Linus Torvalds
710051ebb77b785d637417564be7fed4c13c6ce0 in linux 5.15.y/5.15.46
47f15561b69e226bfc034e94ff6dbec51a4662af in mainline linux
jsg [Fri, 10 Jun 2022 01:09:40 +0000 (01:09 +0000)]
drm/amd/pm: update smartshift powerboost calc for smu13
From Sathishkumar S
5005002b2e12e9ac4b58e59354d38a4106906f87 in linux 5.15.y/5.15.46
cdf4c8ec39872a61a58d62f19b4db80f0f7bc586 in mainline linux
jsg [Fri, 10 Jun 2022 01:08:09 +0000 (01:08 +0000)]
drm/amd/pm: update smartshift powerboost calc for smu12
From Sathishkumar S
c525d3385f6d34d6dcce89ebe019314d83f23873 in linux 5.15.y/5.15.46
138292f1dc00e7e0724f44769f9da39cf2f3bf0b in mainline linux
jsg [Fri, 10 Jun 2022 01:06:31 +0000 (01:06 +0000)]
drm/amdgpu/ucode: Remove firmware load type check in amdgpu_ucode_free_bo
From Alice Wong
b305469ed00420e53c66064b554531d6fbd98d5b in linux 5.15.y/5.15.46
ab0cd4a9ae5b4679b714d8dbfedc0901fecdce9f in mainline linux