created | 2023-05-26T22:29:14Z |
---|---|
begin | 2023-04-29T00:00:00Z |
end | 2023-05-06T00:00:00Z |
path | src/sys |
commits | 28 |
date | 2023-04-29T08:50:53Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/arm64/cpu.c | log | diff | annotate |
message |
Print VHE feature in dmesg. ok mlarkin@, patrick@ |
date | 2023-04-29T10:12:33Z | |||
---|---|---|---|---|
author | mlarkin | |||
files | src/sys/arch/amd64/amd64/ioapic.c | log | diff | annotate |
message | whitespace |
date | 2023-04-29T10:18:06Z | |||
---|---|---|---|---|
author | mlarkin | |||
files | src/sys/arch/amd64/amd64/ioapic.c | log | diff | annotate |
message |
remove some 19 year old #if 0 code ok deraadt |
date | 2023-04-29T10:25:32Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/net/pf_ioctl.c | log | diff | annotate |
message |
Remove net lock from DIOCGETQUEUE Same logic and argument as for the parent *S ioctl unlocked in r1.400, might as well have committed them together: Both ticket and number of queues stem from the pf_queues_active list which is effectively static to pf_ioctl.c and fully protected by the pf lock. OK sashan |
date | 2023-04-29T12:10:08Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/arch/sparc64/sparc64/autoconf.c | log | diff | annotate |
message |
Add "counter-timer" to openboot_special[] in order to not mention it as unconfigured during boot, now that timer(4) is gone. |
date | 2023-04-30T17:16:36Z | |||
---|---|---|---|---|
author | sf | |||
files | src/sys/msdosfs/msdosfs_fat.c | log | diff | annotate |
message |
msdosfs: Never allocate clusters outside the volume - Assert that usemap_alloc() and usemap_free() cluster number argument is valid. - In chainlength(), return 0 if cluster start is after the max cluster. - In chainlength(), cut the calculated cluster chain length at the max cluster. Adapted from FreeBSD commit 097a1d5fbb7990980f8f806c6878537c964adf32 ok miod@ |
date | 2023-04-30T17:24:24Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/amd64/amd64/efi_machdep.c | log | diff | annotate |
message |
Remove the EFI RTC implementation on amd64. Since all amd64 systems we know have a MC146818A compatible RTC this code isn't actually used. But there are systems that have a buggy EFI implementation that blows up when we call the GetTime runtime service to check whether the RTC functionality is implemented. ok mlarkin@, dlg@ |
date | 2023-04-30T22:28:27Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/arch/octeon/stand/boot/Makefile | log | diff | annotate |
message |
Fix typo in MRDISKTYPE. 'rdroot' (size 10,240 blocks) is not the same as 'rdboot' (size 2,048 blocks). Noticed by deraadt@ |
date | 2023-04-30T23:38:52Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/pcidevs | log | diff | annotate |
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h | log | diff | annotate | |
message |
add Ryzen 7040 "Phoenix" APU device id spotted in notebookcheck review of Asus ROG Zephyrus G14 (2023) GA402XY, Ryzen 9 7940HS (Radeon 780M) |
date | 2023-04-30T23:40:12Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/pcidevs.h | log | diff | annotate |
src/sys/dev/pci/pcidevs_data.h | log | diff | annotate | |
message | regen |
date | 2023-05-01T01:24:02Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/drm_fb_helper.c | log | diff | annotate |
message |
drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var From Daniel Vetter d27acf15c8fac00a251e2a24da09fcc1bb3337dd in linux-6.1.y/6.1.27 1935f0deb6116dd785ea64d8035eab0ff441255b in mainline linux |
date | 2023-05-01T07:24:04Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/dev/pci/pcidevs | log | diff | annotate |
message | Intel Braswell SDIO |
date | 2023-05-01T07:24:20Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/dev/pci/pcidevs.h | log | diff | annotate |
src/sys/dev/pci/pcidevs_data.h | log | diff | annotate | |
message | regen |
date | 2023-05-01T08:25:55Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/pci/if_aq_pci.c | log | diff | annotate |
message |
The built-in 10G Ethernet on Apple arm64 hardware does not have a MAC address programmed into the hardware. Get it from the device tree instead. ok dlg@, jmatthew@ |
date | 2023-05-02T06:06:13Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet6/nd6.c | log | diff | annotate |
src/sys/netinet6/nd6.h | log | diff | annotate | |
src/sys/netinet6/nd6_nbr.c | log | diff | annotate | |
message |
Call nd6_ns_output() without kernel lock from nd6_resolve(). OK kn@ |
date | 2023-05-02T08:05:18Z | |||
---|---|---|---|---|
author | tb | |||
files | src/sys/lib/libz/zconf.h | log | diff | annotate |
src/sys/lib/libz/zlib.h | log | diff | annotate | |
message | sync with userland |
date | 2023-05-02T12:32:22Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/pci/if_aq_pci.c | log | diff | annotate |
message |
Remove bogus newline in printf. ok jmatthew@ |
date | 2023-05-02T19:39:10Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/apldc.c | log | diff | annotate |
message |
Sometimes the touchpad doesn't attach. Try to solve this issue be reloading the firmware. ok tobhe@ |
date | 2023-05-03T10:32:47Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/net/pf.c | log | diff | annotate |
message |
Remove net lock from DIOCGETRULESET and DIOCGETRULESETS Both walk the list of rulesets aka. anchors, to yield a total count and specific anchor name, respectively. Same access, different copy out. pf_anchor_global are contained within pf_ioctl.c and pf_ruleset.c and fully protected by the pf lock, as is pf_main_ruleset and its pf.c usage. Rely on and assert for pf lock alone. 'pfctl -sr' on 60k unique rules gets noticably faster, around 2.1s instead of 3.5s. OK sashan |
date | 2023-05-03T10:32:48Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/net/pf_ioctl.c | log | diff | annotate |
message |
Remove net lock from DIOCGETRULESET and DIOCGETRULESETS Both walk the list of rulesets aka. anchors, to yield a total count and specific anchor name, respectively. Same access, different copy out. pf_anchor_global are contained within pf_ioctl.c and pf_ruleset.c and fully protected by the pf lock, as is pf_main_ruleset and its pf.c usage. Rely on and assert for pf lock alone. 'pfctl -sr' on 60k unique rules gets noticably faster, around 2.1s instead of 3.5s. OK sashan |
date | 2023-05-03T11:43:31Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet6/nd6.c | log | diff | annotate |
message |
Some checks in nd6_resolve() do not require kernel lock. The analog code for ARP has been unlocked a while ago. OK kn@ |
date | 2023-05-03T15:25:25Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/fdt/dwpcie.c | log | diff | annotate |
message |
avoid use after free ok miod@ millert@ |
date | 2023-05-04T05:38:17Z | |||
---|---|---|---|---|
author | kevlo | |||
files | src/sys/dev/pci/pcidevs | log | diff | annotate |
message |
Add another Lenovo NVMe device id found in my ThinkPad X1 Extreme Gen 1. ok miod@ |
date | 2023-05-04T05:38:50Z | |||
---|---|---|---|---|
author | kevlo | |||
files | src/sys/dev/pci/pcidevs.h | log | diff | annotate |
src/sys/dev/pci/pcidevs_data.h | log | diff | annotate | |
message | regen |
date | 2023-05-04T06:56:56Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet6/nd6.c | log | diff | annotate |
src/sys/netinet6/nd6.h | log | diff | annotate | |
src/sys/netinet6/nd6_nbr.c | log | diff | annotate | |
message |
Introduce a neighbor discovery mutex like ARP uses it. For now it only protects nd6_list. It does not unlock ND6 from kernel lock yet. OK kn@ |
date | 2023-05-04T09:40:36Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/kern/kern_sysctl.c | log | diff | annotate |
src/sys/kern/syscalls.master | log | diff | annotate | |
src/sys/kern/uipc_domain.c | log | diff | annotate | |
message |
Push kernel lock deep down to sys_sysctl(). At least network subset of sysctl(8) MIBs relies on netlock or another locks and doesn't require kernel lock, so unlock it. The protocols layer *_sysctl()s are left under kernel lock and will be sequentially unlocked later. ok bluhm@ |
date | 2023-05-04T09:41:15Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/kern/init_sysent.c | log | diff | annotate |
src/sys/kern/syscalls.c | log | diff | annotate | |
src/sys/sys/syscall.h | log | diff | annotate | |
src/sys/sys/syscallargs.h | log | diff | annotate | |
message | regen |
date | 2023-05-05T01:19:51Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/kern/uipc_mbuf.c | log | diff | annotate |
src/sys/sys/mbuf.h | log | diff | annotate | |
message |
The mbuf_queue API allows read access to integer variables which another CPU may change simultaneously. To prevent miss optimisation by the compiler, they need the READ_ONCE() macro. Otherwise there could be two read operations with inconsistent values. Writing to integer in mq_set_maxlen() needs mutex protection. Otherwise the value could change within critical sections. Again the compiler could optimize to multiple read operations within the critical section. With inconsistent values, the behavior is undefined. OK dlg@ |