created | 2023-08-10T10:47:38Z |
---|---|
begin | 2023-01-24T00:00:00Z |
end | 2023-01-31T00:00:00Z |
path | src/sys |
commits | 76 |
date | 2023-01-24T00:12:03Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/kern/sys_process.c | log | diff | annotate |
message |
ptrace reads/writes memory using uvm_io, which generates an temporary alias mapping using uvm_map_extract. With xonly now operational, this alias mapping is created with minprot, which for text will be xonly, and the kernel cannot read it (unless the architecture has implied read for exec from kernel pov). Pass UVM_IO_FIXPROT to create the alias with maxprot instead. ok kettenis |
date | 2023-01-24T00:14:30Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/uvm/uvm_map.c | log | diff | annotate |
message |
uvm_map_extract() UVM_EXTRACT_FIXPROT alias mappings are only used for read/write operations, so mask out PROT_EXEC to avoid creating an pointless exec mapping in the kernel. We probably need this masking upon minprot (for the non-UVM_EXTRACT_FIXPROT case) also, but I haven't done a test yet. ok kettenis |
date | 2023-01-24T00:16:08Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/uvm/uvm_map.c | log | diff | annotate |
message | oops, a silly typo |
date | 2023-01-24T07:26:33Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/arch/sparc64/include/pmap.h | log | diff | annotate |
message |
Add and use a specific routine to fetch instructions from userland when doing floating-point emulation, as copyin will fail on exec-only mappings now. ok deraadt@ kettenis@ |
date | 2023-01-24T07:26:34Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/arch/sparc64/sparc64/pmap.c | log | diff | annotate |
src/sys/arch/sparc64/sparc64/trap.c | log | diff | annotate | |
message |
Add and use a specific routine to fetch instructions from userland when doing floating-point emulation, as copyin will fail on exec-only mappings now. ok deraadt@ kettenis@ |
date | 2023-01-24T13:28:31Z | |||
---|---|---|---|---|
author | jca | |||
files | src/sys/arch/riscv64/conf/GENERIC | log | diff | annotate |
message |
Hook up the same USB device drivers as arm64/conf/GENERIC Input from kettenis@, ok deraadt@ miod@ |
date | 2023-01-24T13:29:51Z | |||
---|---|---|---|---|
author | jca | |||
files | src/sys/arch/riscv64/riscv64/conf.c | log | diff | annotate |
message |
Enable access to usb(4), ugen(4), ulpt(4), ucom(4) and ujoy(4) Input kettenis@, ok deraadt@ miod@ |
date | 2023-01-24T16:18:22Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/dev/pci/if_iwx.c | log | diff | annotate |
message |
Fix a crash in iwx(4) when connecting to WEP networks via ifconfig join. In if_iwx.c r1.63 / CVS commit ID QzTzJtyPl10L63Yi, I fixed a problem with connecting to WPA1/TKIP networks. This change introduced a deference of the 'ni' pointer passed to ic_set_key(). This pointer will be passed in as NULL in certain situations, such as when WEP is used. Add the missing NULL check. reported by and fix tested by matthieu@ |
date | 2023-01-24T16:51:05Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/hppa/hppa/pmap.c | log | diff | annotate |
message |
Make sure pmap_page_protect() does the right thing for execute-only mappings and enforce this with a KASSERT like we do on amd64. Bring the pmap_protect() inline in line with the amd64 version. ok miod@, deraadt@ |
date | 2023-01-24T16:51:06Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/hppa/include/pmap.h | log | diff | annotate |
message |
Make sure pmap_page_protect() does the right thing for execute-only mappings and enforce this with a KASSERT like we do on amd64. Bring the pmap_protect() inline in line with the amd64 version. ok miod@, deraadt@ |
date | 2023-01-24T20:06:16Z | |||
---|---|---|---|---|
author | claudio | |||
files | src/sys/netinet6/nd6.c | log | diff | annotate |
message |
Refactor nd6_options() a bit more. Rewrite the loop to be a proper loop and not some endless loop with some gotos. OK kn@ |
date | 2023-01-24T21:48:04Z | |||
---|---|---|---|---|
author | jcs | |||
files | src/sys/arch/arm64/conf/GENERIC | log | diff | annotate |
message |
Parallels Desktop 17 emulates an azalia audio device, add it azalia0 at pci0 dev 1 function 0 "Intel 82801I HD Audio" rev 0x00: msi azalia0: codecs: Parallels/0x0001 ok patrick |
date | 2023-01-24T22:35:46Z | |||
---|---|---|---|---|
author | jan | |||
files | src/sys/dev/pci/if_ix.c | log | diff | annotate |
src/sys/dev/pci/if_ixl.c | log | diff | annotate | |
message |
consolidate mbuf header parsing on device driver layer with tweaks from mvs@, mpi@ and dlg@ ok mvs@, dlg@ |
date | 2023-01-24T22:35:47Z | |||
---|---|---|---|---|
author | jan | |||
files | src/sys/net/if_ethersubr.c | log | diff | annotate |
src/sys/netinet/if_ether.h | log | diff | annotate | |
message |
consolidate mbuf header parsing on device driver layer with tweaks from mvs@, mpi@ and dlg@ ok mvs@, dlg@ |
date | 2023-01-25T01:46:56Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_job.c | log | diff | annotate |
message |
drm/amdgpu: fix amdgpu_job_free_resources v2 From Christian Koenig af4a3c274a92ee0545d65b9102b398fb75d7cc9a in linux-6.1.y/6.1.8 74ea8e78ab349514c9f4df0be1189d91267d750d in mainline linux |
date | 2023-01-25T01:48:33Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c | log | diff | annotate |
message |
drm/amdgpu: allow multipipe policy on ASICs with one MEC From Lang Yu d693fdf73eb296081523e18d1ac3bc38787e7cab in linux-6.1.y/6.1.8 dc88063b87775971be564d79dc1b05f7b8b5c135 in mainline linux |
date | 2023-01-25T01:50:20Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/swsmu/smu12/renoir_ppt.c | log | diff | annotate |
message |
drm/amdgpu: Correct the power calcultion for Renior/Cezanne. From jie1zhan 8dabe4e0daa999b2f11e354a0f67934420e095b4 in linux-6.1.y/6.1.8 c7bae4aaa5609c1fa9761c35dbcc5fcc92915222 in mainline linux |
date | 2023-01-25T01:51:59Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/i915_pci.c | log | diff | annotate |
message |
drm/i915: re-disable RC6p on Sandy Bridge From Sasa Dragic 38a9b17d3b58a3163bc031e96c94fc2d800e02b7 in linux-6.1.y/6.1.8 67b0b4ed259e425b7eed09da75b42c80682ca003 in mainline linux |
date | 2023-01-25T01:53:30Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/display/skl_universal_plane.c | log | diff | annotate |
message |
drm/i915/display: Check source height is > 0 From Drew Davenport 597747eb58a7c8deb131f89aad7e136dbb63ef7a in linux-6.1.y/6.1.8 8565c502e7c156d190d8e6d36e443f51b257f165 in mainline linux |
date | 2023-01-25T01:55:14Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/i915_driver.c | log | diff | annotate |
src/sys/dev/pci/drm/i915/i915_switcheroo.c | log | diff | annotate | |
message |
drm/i915: Allow switching away via vga-switcheroo if uninitialized From Thomas Zimmermann 4397bcbd729dd79af4cc53615bdca59f80e74643 in linux-6.1.y/6.1.8 a273e95721e96885971a05f1b34cb6d093904d9d in mainline linux |
date | 2023-01-25T01:56:39Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/i915_driver.c | log | diff | annotate |
message |
drm/i915: Remove unused variable From Nirmoy Das 92c39d6995923103f952c94ba0e9b859e182d2a8 in linux-6.1.y/6.1.8 2293a73ad4f3b6c37c06713ff1b67659d92ef43d in mainline linux |
date | 2023-01-25T01:58:44Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c | log | diff | annotate |
message |
drm/amd/display: Fix set scaling doesn's work From hongao 032cebdff71e92d6aa6fd2a8550eb7c9898553e0 in linux-6.1.y/6.1.8 040625ab82ce6dca7772cb3867fe5c9eb279a344 in mainline linux |
date | 2023-01-25T02:01:03Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c | log | diff | annotate |
message |
drm/amd/display: Calculate output_color_space after pixel encoding adjustment From Joshua Ashton 87e84d0ff97cf8d508910d793866083a918d8cab in linux-6.1.y/6.1.8 79601b894849cb6f6d6122e6590f1887ac4a66b3 in mainline linux |
date | 2023-01-25T02:03:02Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/display/dc/core/dc_hw_sequencer.c | log | diff | annotate |
message |
drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix From Joshua Ashton b105b79ea05029ba7f55d826e6c0493a45620573 in linux-6.1.y/6.1.8 973a9c810c785ac270a6d50d8cf862b0c1643a10 in mainline linux |
date | 2023-01-25T02:04:34Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c | log | diff | annotate |
message |
drm/amd/display: disable S/G display on DCN 3.1.5 From Alex Deucher 3ad10fc4ad37be5adfb02f6d493d092dec9b4c55 in linux-6.1.y/6.1.8 e78cc6a4c7486f50c2786d91dd7d9649a87d1dcb in mainline linux |
date | 2023-01-25T02:06:05Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c | log | diff | annotate |
message |
drm/amd/display: disable S/G display on DCN 3.1.4 From Alex Deucher bf9261e4536f1165e67572ffbdd768c90f8eebef in linux-6.1.y/6.1.8 a52287d66dfa1cca32e6273623b63ba39d87f126 in mainline linux |
date | 2023-01-25T02:07:45Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c | log | diff | annotate |
message |
drm/amdgpu/discovery: enable soc21 common for GC 11.0.4 From Yifan Zhang 708509058b79aa584d4303fcfcfa397790bf657e in linux-6.1.y/6.1.8 69dc98bbd44160930b6b3ca9ca558f89435d2702 in mainline linux |
date | 2023-01-25T02:09:05Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c | log | diff | annotate |
message |
drm/amdgpu/discovery: enable gmc v11 for GC 11.0.4 From Yifan Zhang 907d5b697d850a548e6a226fef6e84f1b665bbb3 in linux-6.1.y/6.1.8 d5fd8c89ed206b2df3933bc4ea129401b2b60869 in mainline linux |
date | 2023-01-25T02:10:31Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c | log | diff | annotate |
message |
drm/amdgpu/discovery: enable gfx v11 for GC 11.0.4 From Yifan Zhang db4fa3b2d7d4eb0a5e05e477d2087c84eade50a6 in linux-6.1.y/6.1.8 b952d6b3d3ff3c1570fab77f2137d5e5280a0e57 in mainline linux |
date | 2023-01-25T02:12:15Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c | log | diff | annotate |
message |
drm/amdgpu/discovery: enable mes support for GC v11.0.4 From Yifan Zhang 2ecc26293852b3a6d093b49857f309ba7497a6be in linux-6.1.y/6.1.8 6a6af77570add4e58721386be429dbd02cd4b9dd in mainline linux |
date | 2023-01-25T02:13:53Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c | log | diff | annotate |
message |
drm/amdgpu: set GC 11.0.4 family From Yifan Zhang 333814dd71d88c1b0fe6afb1147c8493f9dc116c in linux-6.1.y/6.1.8 94ab70685844227b5c9cb9027a5c4acd3b0e4564 in mainline linux |
date | 2023-01-25T02:15:15Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c | log | diff | annotate |
message |
drm/amdgpu/discovery: set the APU flag for GC 11.0.4 From Yifan Zhang 09157e804d9e578c3bc8eff4d1ac4712f6e0fc1d in linux-6.1.y/6.1.8 dd2d9c7fd7716838d477e257f43facd68c53d3a9 in mainline linux |
date | 2023-01-25T02:16:42Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c | log | diff | annotate |
message |
drm/amdgpu: add gfx support for GC 11.0.4 From Yifan Zhang ea8f7acc35e2eb548c4ab56df22eccae69a660e6 in linux-6.1.y/6.1.8 1763cb65e870e783e26d2dc9def4edbeadcb1050 in mainline linux |
date | 2023-01-25T02:18:53Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/gmc_v11_0.c | log | diff | annotate |
message |
drm/amdgpu: add gmc v11 support for GC 11.0.4 From Yifan Zhang 7d1e2273f21fd756bfc673e3e6244dc7912d83c2 in linux-6.1.y/6.1.8 d0ca8248999e4c5b02ac64f40536ff46dc14dda7 in mainline linux |
date | 2023-01-25T02:20:44Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c | log | diff | annotate |
message |
drm/amdgpu/discovery: add PSP IP v13.0.11 support From Tim Huang 3ed03b0b42c4077806d652c8ced1acc7ff0ac001 in linux-6.1.y/6.1.8 7c1389f1b1228b96e621815e63eaa2e89b9f7511 in mainline linux |
date | 2023-01-25T02:23:18Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/swsmu/amdgpu_smu.c | log | diff | annotate |
message |
drm/amdgpu/pm: enable swsmu for SMU IP v13.0.11 From Yifan Zhang bb856053b7d7526784e596cf3be16e9d047ccb99 in linux-6.1.y/6.1.8 16412a94364d1dcebded9217ecb693c9659eaabc in mainline linux |
date | 2023-01-25T02:25:26Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c | log | diff | annotate |
src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c | log | diff | annotate | |
message |
drm/amdgpu: add smu 13 support for smu 13.0.11 From Yifan Zhang 6ed56b86918d27f72b2cf283dcec6bb822813bc5 in linux-6.1.y/6.1.8 51e7a2168769c2f46edd93a18d4cba4a6d4adb13 in mainline linux |
date | 2023-01-25T02:27:48Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c | log | diff | annotate |
message |
drm/amdgpu/pm: add GFXOFF control IP version check for SMU IP v13.0.11 From Yifan Zhang c776433afefde3f0dd74d43fb2cc5791bbd1caaf in linux-6.1.y/6.1.8 9f83e61201bb21957e4993736532edad7a11c7fa in mainline linux |
date | 2023-01-25T02:29:27Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/soc21.c | log | diff | annotate |
message |
drm/amdgpu/soc21: add mode2 asic reset for SMU IP v13.0.11 From Tim Huang fe4d9fb3326ecac3d2cdd1acbc0011013b1d7a94 in linux-6.1.y/6.1.8 18ad18853cf2d8b94cef0112ba94f7a7535a9e89 in mainline linux |
date | 2023-01-25T02:31:13Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c | log | diff | annotate |
message |
drm/amdgpu/pm: use the specific mailbox registers only for SMU IP v13.0.4 From Tim Huang 703011b41c4f0d333e731edbb632eab62c0e1810 in linux-6.1.y/6.1.8 069a5af97ce3a1448a3566ce8b63b60e51e19958 in mainline linux |
date | 2023-01-25T02:33:28Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c | log | diff | annotate |
message |
drm/amdgpu/discovery: enable nbio support for NBIO v7.7.1 From Yifan Zhang 11ffb993373095468936788ecdec3cd237f8983d in linux-6.1.y/6.1.8 7308ceb44663f40bf9e7373c3b1aa4f7f433d625 in mainline linux |
date | 2023-01-25T02:35:51Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c | log | diff | annotate |
message |
drm/amdgpu: enable PSP IP v13.0.11 support From Tim Huang 8cbe04b2e0a1a0197a47e14fbbbcf0ef18299bce in linux-6.1.y/6.1.8 2c83e3fd928b9cb1e35340e58d4b1bd2eea23ed6 in mainline linux |
date | 2023-01-25T02:35:52Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/psp_v13_0.c | log | diff | annotate |
message |
drm/amdgpu: enable PSP IP v13.0.11 support From Tim Huang 8cbe04b2e0a1a0197a47e14fbbbcf0ef18299bce in linux-6.1.y/6.1.8 2c83e3fd928b9cb1e35340e58d4b1bd2eea23ed6 in mainline linux |
date | 2023-01-25T02:38:08Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/soc21.c | log | diff | annotate |
message |
drm/amdgpu: enable GFX IP v11.0.4 CG support From Tim Huang 09af1ee53ced112a69b2a8f5d3b0c0e3818fcb4e in linux-6.1.y/6.1.8 f2b91e5a7cc0368709964994ca253781b51a486a in mainline linux |
date | 2023-01-25T02:40:03Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c | log | diff | annotate |
message |
drm/amdgpu: enable GFX Power Gating for GC IP v11.0.4 From Tim Huang 834a9142586542f7de693135caf9cc43c0b1e1b2 in linux-6.1.y/6.1.8 a89e2965da6e644729a8ee9c318b7fa9a2990353 in mainline linux |
date | 2023-01-25T02:42:07Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c | log | diff | annotate |
message |
drm/amdgpu: enable GFX Clock Gating control for GC IP v11.0.4 From Tim Huang a74805429d38775ac5cc24a8b04df74afe449ffb in linux-6.1.y/6.1.8 f9caa237372b106b5e70ba1a4bfd4222eb79ec71 in mainline linux |
date | 2023-01-25T02:43:17Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c | log | diff | annotate |
message |
drm/amdgpu: add tmz support for GC 11.0.1 From Yifan Zhang a63bd0539bf395bd57ad7bb2fb6d7581bc19bff0 in linux-6.1.y/6.1.8 97074216917b4188f0af3e52cc5b3f2b277bbbca in mainline linux |
date | 2023-01-25T02:44:50Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c | log | diff | annotate |
message |
drm/amdgpu: add tmz support for GC IP v11.0.4 From Tim Huang 40a66b6ca4781cb65449ff0794924fc39f599d74 in linux-6.1.y/6.1.8 2aecbe492a3c0bf4c21f78c099a6f6c205fab0c7 in mainline linux |
date | 2023-01-25T02:46:45Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c | log | diff | annotate |
message |
drm/amdgpu: correct MEC number for gfx11 APUs From Lang Yu 6da17ac15e354ce483044c924c801a1b25ec8e4a in linux-6.1.y/6.1.8 0ddadc3a2208aedb1b27dbb76d0b4e722b5b527a in mainline linux |
date | 2023-01-25T09:53:53Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/powerpc64/include/cpufunc.h | log | diff | annotate |
src/sys/arch/powerpc64/include/pte.h | log | diff | annotate | |
src/sys/arch/powerpc64/powerpc64/cpu.c | log | diff | annotate | |
src/sys/arch/powerpc64/powerpc64/pmap.c | log | diff | annotate | |
message |
Implement execute-only mappings by using the Virtual Page Class Key Protection mechanism provided by modern POWER CPUs. This is implemented in a way data allows us to use the Data Address Compare mechanism that was available on older versions of the architecture if we ever add support for these older CPUs (e.g. the PowerPC 970 aka G5). Special thanks to gkoehler@ for spotting the bug in my initial implementation that made this not work at all. ok deraadt@, gkoehler@ |
date | 2023-01-25T14:14:39Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/armv7/omap/gptimer.c | log | diff | annotate |
message |
gptimer(4): switch to clockintr - Remove custom clock interrupt scheduling code. - Remove local evcount structs. - Wire up gptimer_intrclock. - Switch stathz from 128 to hz - Switch profhz from 1024 to (stathz * 10). This change is untested. Nobody seems to have hardware that actually uses the gptimer(4) as an interrupt clock. If this patch doesn't work, the driver is probably not too distant from a working state. Compile-tested by jca@. Discussed with kettenis@, jca@, drahn@, patrick@, jsg@, and uwe@. Link: https://marc.info/?l=openbsd-tech&m=167451333419815&w=2 ok patrick@ kettenis@ |
date | 2023-01-25T23:42:03Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/uvm/uvm_map.c | log | diff | annotate |
message |
In the previous commit, FIXPROT would upgrade a PROT_NONE mapping too far. Correct the logic, still blocking PROT_EXEC ok anton kettenis |
date | 2023-01-26T07:32:39Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/dev/pci/if_ix.c | log | diff | annotate |
src/sys/dev/pci/if_ixl.c | log | diff | annotate | |
message |
backing "consolidate mbuf header parsing on device driver layer" easily repeatable ASSERT happens seconds after starting compiles over nfs. |
date | 2023-01-26T07:32:40Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/net/if_ethersubr.c | log | diff | annotate |
src/sys/netinet/if_ether.h | log | diff | annotate | |
message |
backing "consolidate mbuf header parsing on device driver layer" easily repeatable ASSERT happens seconds after starting compiles over nfs. |
date | 2023-01-26T07:44:31Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/uvm/uvm_map.h | log | diff | annotate |
message | delete repeated word |
date | 2023-01-26T13:09:18Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/arm64/cpu.c | log | diff | annotate |
src/sys/arch/arm64/arm64/locore.S | log | diff | annotate | |
message |
Rework the secondary CPU spinup code to take advantage of the context parameter that PSCI gives us. ok patrick@ |
date | 2023-01-27T13:58:17Z | |||
---|---|---|---|---|
author | aoyama | |||
files | src/sys/arch/luna88k/stand/boot/init_main.c | log | diff | annotate |
message |
Delete get_plane_numbers() function. Different from original LUNA(68k), the number of planes is directly stored as an integer value on LUNA-88K. Tested on LUNA-88K2 by me. |
date | 2023-01-27T15:37:16Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/riscv64/riscv64/clock.c | log | diff | annotate |
message |
riscv64: initialize stathz, profhz like other platforms do Don't hardcode 100 and 1000. Use hz(9) for stathz, compute profhz using stathz, just like most other platforms. Link: https://marc.info/?l=openbsd-tech&m=167479021815637&w=2 ok jca@ |
date | 2023-01-27T18:46:34Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/kern/uipc_socket.c | log | diff | annotate |
src/sys/kern/uipc_socket2.c | log | diff | annotate | |
src/sys/kern/uipc_syscalls.c | log | diff | annotate | |
src/sys/miscfs/fifofs/fifo_vnops.c | log | diff | annotate | |
src/sys/sys/socketvar.h | log | diff | annotate | |
message |
Replace selinfo structure by klist in sockbuf. No reason to keep it, selinfo is just wrapper to klist. netstat(1) and libkvm use socket structure, but don't touch so_{snd,rcv}.sb_sel. ok visa@ |
date | 2023-01-27T21:01:59Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/kern/uipc_socket.c | log | diff | annotate |
src/sys/kern/uipc_syscalls.c | log | diff | annotate | |
message |
Push solock() down to sogetopt(). It is not required for the most cases. Also, some cases could be protected with solock_shared(). ok bluhm@ |
date | 2023-01-27T22:13:48Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/macppc/macppc/clock.c | log | diff | annotate |
message |
macppc: initialize stathz, profhz as on other platforms Don't hardcode stathz to 100 and profhz to 1000. Instead, set stathz to hz and profhz to (stathz * 10). This is what we do on most other platforms. Link: https://marc.info/?l=openbsd-tech&m=167479021815637&w=2 ok kettenis@ |
date | 2023-01-27T22:14:43Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/powerpc64/powerpc64/clock.c | log | diff | annotate |
message |
powerpc64: initialize stathz, profhz as on other platforms Don't hardcode stathz to 100 and profhz to 1000. Instead, set stathz to hz and profhz to (stathz * 10). This is what we do on most other platforms. Link: https://marc.info/?l=openbsd-tech&m=167479021815637&w=2 ok kettenis@ |
date | 2023-01-27T22:16:52Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/armv7/omap/dmtimer.c | log | diff | annotate |
message |
dmtimer(4): initialize stathz, profhz as other drivers, platforms do Don't hardcode stathz to 100 and profhz to 1000. Instead, set stathz to hz and profhz to (stathz * 10). This is what we do in all other armv7 clock interrupt drivers and most other platforms. Link: https://marc.info/?l=openbsd-tech&m=167479021815637&w=2 ok kettenis@ |
date | 2023-01-27T23:11:59Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/arm64/cpu.c | log | diff | annotate |
src/sys/arch/arm64/dev/agintc.c | log | diff | annotate | |
message |
Only use the CPU_OFF PSCI call if SYSTEM_SUSPEND is supported. This means that secondary CPUs will get parked in a WFI loop like we already do on Apple Silicon systems. This requires some small changes in agintc(4) to make sure we ack the "halt" IPI such that we can send a "wakeup" IPI later. ok patrick@ |
date | 2023-01-28T05:58:47Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/arch/amd64/amd64/pmap.c | log | diff | annotate |
message | typo in comment |
date | 2023-01-28T10:17:16Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/net/route.c | log | diff | annotate |
src/sys/net/route.h | log | diff | annotate | |
src/sys/netinet/if_ether.c | log | diff | annotate | |
message |
Revert the `rt_lock' rwlock(9) diff to fix the recursive rwlock(9) acquisition. Reported-by: [email protected] |
date | 2023-01-28T14:40:53Z | |||
---|---|---|---|---|
author | dv | |||
files | src/sys/arch/amd64/include/vmmvar.h | log | diff | annotate |
message |
Move some header definitions from vmm(4) to vmd(8). Part of an ongoing effort to move userland-specific information out of a kernel header and directly into vmd(8). No functional change. ok mlarkin@ |
date | 2023-01-29T16:23:15Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/arch/amd64/amd64/pmap.c | log | diff | annotate |
message | sign another typo |
date | 2023-01-30T00:10:39Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/arch/amd64/amd64/pmap.c | log | diff | annotate |
message |
We have determined that enough HV have correct PKU handling now, so don't be paranoid about it anymore. What does this mean? If the HV above you is broken, userland programs in the guest could crash, the guest might even be quite unusable. So fix the hypervisor. The best way to raise the bar on hypervisor quality is for guests to behave like they are on a real machine, and then sucky hypervisors have to get fixed. ps. if using vmd as your hypervisor, use syspatch... |
date | 2023-01-30T02:32:01Z | |||
---|---|---|---|---|
author | dv | |||
files | src/sys/arch/amd64/amd64/Attic/vmm.c | log | diff | annotate |
src/sys/arch/amd64/include/cpufunc.h | log | diff | annotate | |
src/sys/arch/amd64/include/vmmvar.h | log | diff | annotate | |
message |
vmm(4): save and restore guest pkru. Take a simple approach for saving and restoring PKRU if the host has PKE support enabled. Uses explicit rdpkru/wrpkru instructions for now instead of xsave. This functionality is still gated behind amd64 pmap checking for operation under a hypervisor as well as vmm masking the cpuid bit for PKU. "if your diff is good, then commit it" -deraadt@ |
date | 2023-01-30T03:31:59Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/net/if_pppx.c | log | diff | annotate |
message |
Replace selwakeup() with KNOTE() in pppac(4) and pppx(4) Use the same mutex for read and write side klists. It would be overkill to have dedicated locks. Remove klist_invalidate() from pppacclose() because pppac(4) does not have forced device detach. When the close routine gets called, there should be no open file descriptors pointing the device, and consequently the klists should be empty. OK mvs@ |
date | 2023-01-30T10:49:04Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/i386/i386/acpi_machdep.c | log | diff | annotate |
src/sys/arch/i386/i386/acpiapm.c | log | diff | annotate | |
src/sys/arch/i386/i386/amdmsr.c | log | diff | annotate | |
src/sys/arch/i386/i386/apic.c | log | diff | annotate | |
src/sys/arch/i386/i386/apm.c | log | diff | annotate | |
src/sys/arch/i386/i386/autoconf.c | log | diff | annotate | |
src/sys/arch/i386/i386/bios.c | log | diff | annotate | |
src/sys/arch/i386/i386/bus_dma.c | log | diff | annotate | |
src/sys/arch/i386/i386/bus_space.c | log | diff | annotate | |
src/sys/arch/i386/i386/conf.c | log | diff | annotate | |
src/sys/arch/i386/i386/cpu.c | log | diff | annotate | |
message |
remove unneeded includes in arch/i386 ok krw@ miod@ |
date | 2023-01-30T10:49:05Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/i386/i386/db_interface.c | log | diff | annotate |
src/sys/arch/i386/i386/db_mp.c | log | diff | annotate | |
src/sys/arch/i386/i386/db_trace.c | log | diff | annotate | |
src/sys/arch/i386/i386/esm.c | log | diff | annotate | |
src/sys/arch/i386/i386/est.c | log | diff | annotate | |
src/sys/arch/i386/i386/gdt.c | log | diff | annotate | |
src/sys/arch/i386/i386/hibernate_machdep.c | log | diff | annotate | |
src/sys/arch/i386/i386/i686_mem.c | log | diff | annotate | |
src/sys/arch/i386/i386/ioapic.c | log | diff | annotate | |
src/sys/arch/i386/i386/ipifuncs.c | log | diff | annotate | |
src/sys/arch/i386/i386/k1x-pstate.c | log | diff | annotate | |
src/sys/arch/i386/i386/k6_mem.c | log | diff | annotate | |
src/sys/arch/i386/i386/lapic.c | log | diff | annotate | |
src/sys/arch/i386/i386/longrun.c | log | diff | annotate | |
src/sys/arch/i386/i386/machdep.c | log | diff | annotate | |
src/sys/arch/i386/i386/mainbus.c | log | diff | annotate | |
src/sys/arch/i386/i386/mem.c | log | diff | annotate | |
src/sys/arch/i386/i386/mpbios.c | log | diff | annotate | |
src/sys/arch/i386/i386/nvram.c | log | diff | annotate | |
src/sys/arch/i386/i386/pctr.c | log | diff | annotate | |
src/sys/arch/i386/i386/pmap.c | log | diff | annotate | |
src/sys/arch/i386/i386/pmapae.c | log | diff | annotate | |
src/sys/arch/i386/i386/powernow-k7.c | log | diff | annotate | |
src/sys/arch/i386/i386/powernow-k8.c | log | diff | annotate | |
src/sys/arch/i386/i386/process_machdep.c | log | diff | annotate | |
src/sys/arch/i386/i386/rbus_machdep.c | log | diff | annotate | |
src/sys/arch/i386/i386/sys_machdep.c | log | diff | annotate | |
src/sys/arch/i386/i386/trap.c | log | diff | annotate | |
src/sys/arch/i386/i386/vm_machdep.c | log | diff | annotate | |
src/sys/arch/i386/i386/wscons_machdep.c | log | diff | annotate | |
src/sys/arch/i386/isa/clock.c | log | diff | annotate | |
src/sys/arch/i386/isa/isapnp_machdep.c | log | diff | annotate | |
src/sys/arch/i386/isa/joy.c | log | diff | annotate | |
src/sys/arch/i386/isa/joy_isapnp.c | log | diff | annotate | |
src/sys/arch/i386/isa/npx.c | log | diff | annotate | |
src/sys/arch/i386/pci/agp_machdep.c | log | diff | annotate | |
src/sys/arch/i386/pci/ali1543.c | log | diff | annotate | |
src/sys/arch/i386/pci/amd756.c | log | diff | annotate | |
src/sys/arch/i386/pci/glxsb.c | log | diff | annotate | |
src/sys/arch/i386/pci/gscpcib.c | log | diff | annotate | |
src/sys/arch/i386/pci/ichpcib.c | log | diff | annotate | |
src/sys/arch/i386/pci/opti82c558.c | log | diff | annotate | |
src/sys/arch/i386/pci/opti82c700.c | log | diff | annotate | |
src/sys/arch/i386/pci/pchb.c | log | diff | annotate | |
src/sys/arch/i386/pci/pci_addr_fixup.c | log | diff | annotate | |
src/sys/arch/i386/pci/pci_bus_fixup.c | log | diff | annotate | |
src/sys/arch/i386/pci/pci_intr_fixup.c | log | diff | annotate | |
src/sys/arch/i386/pci/piix.c | log | diff | annotate | |
src/sys/arch/i386/pci/rccosb4.c | log | diff | annotate | |
src/sys/arch/i386/pci/sis85c503.c | log | diff | annotate | |
src/sys/arch/i386/pci/vga_post.c | log | diff | annotate | |
src/sys/arch/i386/pci/via8231.c | log | diff | annotate | |
src/sys/arch/i386/pci/via82c586.c | log | diff | annotate | |
message |
remove unneeded includes in arch/i386 ok krw@ miod@ |
date | 2023-01-30T11:21:26Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/arch/amd64/amd64/pmap.c | log | diff | annotate |
message | part of a future diff snuck into the previous commit |
date | 2023-01-30T14:05:36Z | |||
---|---|---|---|---|
author | dv | |||
files | src/sys/arch/amd64/amd64/Attic/vmm.c | log | diff | annotate |
message |
vmm(4): expose PKU cpuid bit if in use on host. We are using {rd,wr}pkru instructions for saving and restoring the PKRU, so tie the exposure of PKU feature bit to vmm having the ability to properly handle the guest state. |
date | 2023-01-30T20:05:31Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/arm64/cpu.c | log | diff | annotate |
message |
Rework cpu_init_secondary() such that it can be used for both the initial powerup and for wakeup from deeper sleep states. Adjust cpu_suspen_primary() to use pmap_extract() to find the physical address of the entry point and struct cpu_info. ok phessler@ |