Commit Briefs

b9a400644a yasuoka

Add missing "module standard". It is needed before use it. (master)


af1a00f9e0 jsg

remove __mp_release_all_but_one(), unused since sched_bsd.c rev 1.92

ok claudio@


72859e7f07 kettenis

regen


d13065bfb6 kettenis

Add Qualcomm X1E80100


471eefa0ba kettenis

Fix unintended comparison between signed and unsigned integer.

C type conversion rules are hard, let's go shopping. ok patrick@


c53ff863a7 patrick

Support the Qualcomm Snapdragon X Elite (X1E80100) PCIe controller. We do

not do anything fancy for the SC8280XP either, so treat it equally. ok kettenis@


ed73469472 patrick

From what we currently use, the Qualcomm Snapdragon X Elite (X1E80100)

GPIO controller is to be treated equally as the SC8280XP, apart from the new one having a few more pins. ok kettenis@


60036ea565 patrick

Give the Qualcomm Snapdragon X Elite (X1E80100) the same treatment as its

predecessors and don't touch the SMMUv2. ok kettenis@


0e25137aac bluhm

Read IPsec forwarding information once.

Fix MP race between reading ip_forwarding in ip_input() and checking ip_forwarding == 2 in ip_output(). In theory ip_forwarding could be 2 during ip_input() and later 0 in ip_output(). Then a packet would be forwarded that was never allowed. Currently exclusive netlock in sysctl(2) prevents all races. Introduce IP_FORWARDING_IPSEC and pass it with the flags parameter that was introduced for IP_FORWARDING. Instead of calling m_tag_find(), traversing the list, and comparing with NULL, just check the PACKET_TAG_IPSEC_IN_DONE bit. Reading ipsec_in_use in ip_output() is a performance hack that is not necessary. New code only checks tree bits. OK mvs@


11d381874a florian

Use correct idiom to get mac addresses from ethernet-like interfaces.

This unbreaks rad(8) on top of carp(4). OK deraadt, bluhm


1c92b4e794 deraadt

sync


02c537a6b3 deraadt

minor cleanups, especially DPADD


dca69f4c0d kettenis

The traditional LL/SC atomics perform poorly on modern arm64 systems with

many CPU cores. With the recent conversion of the sched lock to a mutex some systems appear to hang if the sched lock is contended. ARMv8.1 introduced an LSE feature that provides atomic instructions such as CAS that perform much better. Unfortunately these can't be used on older ARMv8.0 systems. Use -moutline-atomics to make the compiler generate function calls for atomic operations and provide an implementation for the functions we use in the kernel that use LSE when available and fall back on LL/SC. Fixes regressions seen on Ampere Altra and Apple M2 Pro/Max/Ultra since the conversion of the sched lock to a mutex. tested by claudio@, phessler@, mpi@ ok patrick@


26a40d9e37 kettenis

Do not attach acpitz(4) if the _STA method indicates that a thermal zone

isn't present. While it isn't clear whether _STA applies to thermal zones according to the ACPI standard, this prevents issues on the Asus Vivobook S15. ok miod@, patrick@, deraadt@



997966b117 gkoehler

Support numpad on newer macppc Apple PowerBooks

This is for newer PowerBooks with ukbd(4), and doesn't affect older models with akbd(4). The Fn key now makes a numpad, 7 8 9 0 - 7 8 9 / = U I O P => 4 5 6 * J K L ; 1 2 3 - M . / 0 . + Also, Fn+F6 is Num Lock. This acts like Num Lock on other USB keyboards, and unlike Num Lock on akbd(4). From jon (at) elytron (dot) openbsd (dot) amsterdam



bd8e467115 jsg

remove unused agp_flush_cache_range()


bb20f6ed50 jsg

remove unused agp_map functions

last use (in inteldrm) was removed in March



747da5e94e yasuoka

Add support for RADIUS accounting.


da2270739c yasuoka

Change the syntax for "module" and "authenticate". "module" can have

a {} block now. On the other hand, "authentication" can be without a {} block. The previous syntax is still accepted. Also make specifying the path of "module" be optional.


4a4dce94ac yasuoka

Stop scheduling an I/O event by the timer when the imsg_buf has the data

larger than the imsg header. It prevented the receiver from receiving the following parts of the message.


b21c4c927d deraadt

signal handler must use the save_errno dance, and massage a variable

of type 'volatile sig_atomic_t' ok tb