created | 2023-08-10T10:43:38Z |
---|---|
begin | 2023-01-17T00:00:00Z |
end | 2023-01-24T00:00:00Z |
path | src/sys |
commits | 69 |
date | 2023-01-17T02:27:14Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/arm/include/_types.h | log | diff | annotate |
src/sys/arch/arm/include/cpu.h | log | diff | annotate | |
message |
arm, armv7: add clockintr support The interrupt clock drivers need these pieces to be in place first. ok mlarkin@ kettenis@ |
date | 2023-01-17T02:32:07Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/armv7/omap/dmtimer.c | log | diff | annotate |
message |
dmtimer(4): switch to clockintr - Strip out custom hardclock/statclock scheduling code. - Wire up dmtimer_intrclock. - For convenience, add dmtimer_reset_tisr(); we do the "clear interrupt bits" dance in multiple places, may as well put it in a function. - For parity with other platforms, change stathz from 128 to 100 and profhz from 1024 to 1000. Testing by stuge@ and jsg@. v1: https://marc.info/?l=openbsd-tech&m=167060320326851&w=2 v2: https://marc.info/?l=openbsd-tech&m=167340009006972&w=2 ok mlarkin@ kettenis@ |
date | 2023-01-17T02:38:59Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/armv7/sunxi/sxitimer.c | log | diff | annotate |
message |
sxitimer(4): switch to clockintr - Strip out custom hardclock/statclock scheduling code. - Stop using STATTIMER. We can multiplex TICKTIMER to handle all clock interrupts. - Wire up sxitimer_intrclock. - For parity with other platforms, change stathz from 128 to hz and change profhz from 1024 to (stathz * 10). Tested by kettenis@. Link: https://marc.info/?l=openbsd-tech&m=167060659329137&w=2 ok kettenis@ |
date | 2023-01-17T02:47:55Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/arm/cortex/amptimer.c | log | diff | annotate |
message |
amptimer(4): switch to clockintr - Strip out custom hardclock/statclock scheduling code. - Wire up amptimer_intrclock. - Remove debug evcounts. All interrupts are now counted with the evcount in the interrupt handler. - Remove apparently dead USE_GTIMER_CMP code. Debugged with jca@. Tested by jca@. Link: https://marc.info/?l=openbsd-tech&m=167060127825418&w=2 ok kettenis@ jca@ |
date | 2023-01-17T02:58:22Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/arm/cortex/agtimer.c | log | diff | annotate |
message |
agtimer(4/armv7): switch to clockintr - Strip out custom hardclock/statclock scheduling code. - Remove debug evcount code. We can no longer differentiate between hardclock and statclock in the driver. - Wire up agtimer_intrclock. With tweaks from miod@ and jca@. Tested by jca@ and kettenis@. Link: https://marc.info/?l=openbsd-tech&m=167044965011140&w=2 ok kettenis@ |
date | 2023-01-17T08:03:51Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/amd64/amd64/trap.c | log | diff | annotate |
message |
On amd64 machines without the NX feature enabled, we can't distinguish between page faults as a result of instruction fetches or normal data access. Handle this in the same way as we do on landisk: if handling the fault with access type PROT_READ fails, retry with PROT_EXEC. Fortunately we know whether NX is enabled or nor so only do this when it isn't. Nobody should be running an amd64 machine without NX! ok deraadt@, miod@ |
date | 2023-01-17T10:10:10Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/i386/pci/Attic/elan520.c | log | diff | annotate |
src/sys/arch/i386/pci/Attic/elan520reg.h | log | diff | annotate | |
message |
remove elansc(4) driver for AMD Elan SC520 System Controller AMD Elan SC520 has a Am5x86, 486-class processor. We require a 586-class processor. feedback from jmc@ ok miod@ |
date | 2023-01-17T10:10:11Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/i386/conf/GENERIC | log | diff | annotate |
src/sys/arch/i386/conf/files.i386 | log | diff | annotate | |
message |
remove elansc(4) driver for AMD Elan SC520 System Controller AMD Elan SC520 has a Am5x86, 486-class processor. We require a 586-class processor. feedback from jmc@ ok miod@ |
date | 2023-01-17T19:29:09Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/amd64/include/pmap.h | log | diff | annotate |
message |
Simplify and clarify the implementation of the pmap_page_protect(9) API. This function is only ever called with PROT_NONE or PROT_READ where PROT_NONE removes the mapping from the page tables and PROT_READ takes away write permission. Add a KASSERT to make sure no other values are passed. This KASSERT should be optimized away by any decent compiler. ok deraadt@, mpi@, guenther@ |
date | 2023-01-17T23:12:37Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/i386/i386/hibernate_machdep.c | log | diff | annotate |
message |
test NSDMMC not SDMMC ok miod@ deraadt@ |
date | 2023-01-17T23:39:30Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/i386/pci/pcib.c | log | diff | annotate |
message |
include isadma.h not isa.h missed in rev 1.5 when #if NISA became #if NISADMA not a problem in practice as isavar.h includes isadma.h ok miod@ deraadt@ millert@ |
date | 2023-01-18T05:06:44Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/arch/i386/i386/trap.c | log | diff | annotate |
message |
Do on i386 as we do on amd64. This is done on variable cpu_pae, which indicates the "PAE" pmap is being used, which only happens if the cpu has both PAE and NX. On i386 machines without the NX feature enabled, we can't distinguish between page faults as a result of instruction fetches or normal data access. Handle this in the same way as we do on landisk: if handling the fault with access type PROT_READ fails, retry with PROT_EXEC. Fortunately we know whether NX is enabled or nor so only do this when it isn't. ok kettenis, jsg |
date | 2023-01-18T11:08:49Z | |||
---|---|---|---|---|
author | nicm | |||
files | src/sys/dev/rasops/rasops.c | log | diff | annotate |
src/sys/dev/rasops/rasops1.c | log | diff | annotate | |
src/sys/dev/rasops/rasops15.c | log | diff | annotate | |
src/sys/dev/rasops/rasops24.c | log | diff | annotate | |
src/sys/dev/rasops/rasops32.c | log | diff | annotate | |
src/sys/dev/rasops/rasops4.c | log | diff | annotate | |
src/sys/dev/rasops/rasops8.c | log | diff | annotate | |
message |
Instead of mapping WSEMUL_UNDERLINE to a different bit in rasops, use the same bit and the define. rom Crystal Kolipe kolipe.c at exoticsilicon dot com. ok miod |
date | 2023-01-18T19:12:43Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/mips64/mips64/clock.c | log | diff | annotate |
message |
mips64: simplify cp0_rearm_int5(), cp0_trigger_int5_masked() The tangle of branches in cp0_rearm_int5() can be simplified to: if cycles <= t1 - t0, we missed We can simplify cp0_trigger_int5_masked() in the same way. ok visa@ |
date | 2023-01-18T23:25:32Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/amd64/include/biosvar.h | log | diff | annotate |
message |
change BIOSF_SMBIOS bit flag from 6 to 8 matches tom@'s i386 rev 1.47 change |
date | 2023-01-18T23:31:37Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/pci/if_bge.c | log | diff | annotate |
message |
These days bge_stop() calls intr_barrier(9). So in bge_detach() we need to disestablish the interrupt *after* calling bge_stop(). ok deraadt@ |
date | 2023-01-18T23:47:25Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/include/linux/list.h | log | diff | annotate |
message | add __list_add() for 6.1.7 drm |
date | 2023-01-18T23:51:35Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c | log | diff | annotate |
message |
drm/amd/pm/smu13: BACO is supported when it's in BACO state From Guchun Chen b8e6fc445990dce368950bd9553b31f46b50285e in linux-6.1.y/6.1.7 972fb53d3605eb6cdf0d6ae9a52e910626a91ff7 in mainline linux |
date | 2023-01-18T23:53:43Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/drm_buddy.c | log | diff | annotate |
message |
drm: Optimize drm buddy top-down allocation method From Arunpravin Paneer Selvam 42526442fe3ed9c2487a2a475cb4a6f463ce2eaf in linux-6.1.y/6.1.7 5640e81607152d7f2d2558227c0f6cb78b8f39cf in mainline linux |
date | 2023-01-18T23:55:06Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/gt/intel_reset.c | log | diff | annotate |
message |
drm/i915/gt: Reset twice From Chris Wilson 4009502c091c1543ae8708a12d1a97583ae411ac in linux-6.1.y/6.1.7 d3de5616d36462a646f5b360ba82d3b09ff668eb in mainline linux |
date | 2023-01-18T23:56:45Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/i915_vma.c | log | diff | annotate |
message |
drm/i915: Reserve enough fence slot for i915_vma_unbind_async From Nirmoy Das 8874730ecefe295931a681a0ae749cda53653078 in linux-6.1.y/6.1.7 476fdcdaaae7b06c780cdfc234c704107f16c529 in mainline linux |
date | 2023-01-18T23:58:45Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/gem/i915_gem_context.c | log | diff | annotate |
message |
drm/i915: Fix potential context UAFs From Rob Clark b696c627b3f56e173f7f70b8487d66da8ff22506 in linux-6.1.y/6.1.7 afce71ff6daa9c0f852df0727fe32c6fb107f0fa in mainline linux |
date | 2023-01-19T00:00:06Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c | log | diff | annotate |
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c | log | diff | annotate | |
message |
drm/amd: Delay removal of the firmware framebuffer From Mario Limonciello dcfeba477b3e3df526e0f543b58fa71c045dff8b in linux-6.1.y/6.1.7 1923bc5a56daeeabd7e9093bad2febcd6af2416a in mainline linux |
date | 2023-01-19T00:01:58Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_vram_mgr.c | log | diff | annotate |
message |
drm/amdgpu: Fixed bug on error when unloading amdgpu From YiPeng Chai 9196eb7c52e55749a332974f0081f77d53d60199 in linux-6.1.y/6.1.7 99f1a36c90a7524972be5a028424c57fa17753ee in mainline linux |
date | 2023-01-19T00:03:51Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c | log | diff | annotate |
message |
drm/amd/pm: correct the reference clock for fan speed(rpm) calculation From Evan Quan b435f68e415ca5e17e3425893ea991720a43b595 in linux-6.1.y/6.1.7 6fea87637bf36bd285227f490132e83582ab7513 in mainline linux |
date | 2023-01-19T00:05:52Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | log | diff | annotate |
src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | log | diff | annotate | |
message |
drm/amd/pm: add the missing mapping for PPT feature on SMU13.0.0 and 13.0.7 From Evan Quan 363781f72d46c3762d7c0fd8fc13f27dce47f5cf in linux-6.1.y/6.1.7 318ca20893c19ead02845a08204c3f9249bb74cd in mainline linux |
date | 2023-01-19T00:08:33Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_resource.c | log | diff | annotate |
message |
drm/amd/display: move remaining FPU code to dml folder From Ao Zhong 69a75087cd1f10d5be07527f7ed7ed38db429d7e in linux-6.1.y/6.1.7 58ddbecb14c792b7fe0d92ae5e25c9179d62ff25 in mainline linux |
date | 2023-01-19T00:08:34Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | log | diff | annotate |
src/sys/dev/pci/drm/amd/display/dc/dml/dcn32/dcn32_fpu.h | log | diff | annotate | |
message |
drm/amd/display: move remaining FPU code to dml folder From Ao Zhong 69a75087cd1f10d5be07527f7ed7ed38db429d7e in linux-6.1.y/6.1.7 58ddbecb14c792b7fe0d92ae5e25c9179d62ff25 in mainline linux |
date | 2023-01-19T00:15:38Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/vega10_thermal.c | log | diff | annotate |
message |
Revert "drm/amdgpu: Revert "drm/amdgpu: getting fan speed pwm for vega10 properly"" From Alex Deucher f905e03c8ff65d80c24f42d8b93df3cec5a7ab12 in linux-6.1.y/6.1.7 30b8e7b8ee3be003e0df85c857c5cd0e0bd58b82 in mainline linux |
date | 2023-01-19T00:17:47Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/gt/intel_engine_cs.c | log | diff | annotate |
message |
drm/i915/gt: Cleanup partial engine discovery failures From Chris Wilson 5c855bcc730656c4b7d30aaddcd0eafc7003e112 in linux-6.1.y/6.1.7 78a033433a5ae4fee85511ee075bc9a48312c79e in mainline linux |
date | 2023-01-19T00:20:35Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/soc21.c | log | diff | annotate |
src/sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.c | log | diff | annotate | |
src/sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h | log | diff | annotate | |
message |
drm/amd/pm: enable mode1 reset on smu_v13_0_10 From Kenneth Feng e59d46eed1d930318f36a90138898f7fa7730389 in linux-6.1.y/6.1.7 60cfad329ab877cb62975ea78ed442c2496990ba in mainline linux |
date | 2023-01-19T00:20:36Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/swsmu/inc/amdgpu_smu.h | log | diff | annotate |
src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | log | diff | annotate | |
message |
drm/amd/pm: enable mode1 reset on smu_v13_0_10 From Kenneth Feng e59d46eed1d930318f36a90138898f7fa7730389 in linux-6.1.y/6.1.7 60cfad329ab877cb62975ea78ed442c2496990ba in mainline linux |
date | 2023-01-19T00:22:50Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/swsmu/inc/smu_types.h | log | diff | annotate |
src/sys/dev/pci/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_0_ppsmc.h | log | diff | annotate | |
src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | log | diff | annotate | |
message |
drm/amd/pm: Enable bad memory page/channel recording support for smu v13_0_0 From Candice Li 5e594dbf6e76cf0b75ab4cff2e5d42a3f63963a5 in linux-6.1.y/6.1.7 48aa62f07467c8fcd4b4ec7851e13c83e89a1558 in mainline linux |
date | 2023-01-19T00:24:35Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/swsmu/inc/smu_types.h | log | diff | annotate |
src/sys/dev/pci/drm/amd/pm/swsmu/inc/smu_v13_0.h | log | diff | annotate | |
src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c | log | diff | annotate | |
src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | log | diff | annotate | |
message |
drm/amd/pm: enable GPO dynamic control support for SMU13.0.0 From Evan Quan d167ce6c47db12de69d2c2e7bdde9e608183d2a1 in linux-6.1.y/6.1.7 1794f6a9535bb5234c2b747d1bc6dad03249245a in mainline linux |
date | 2023-01-19T00:26:25Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | log | diff | annotate |
message |
drm/amd/pm: enable GPO dynamic control support for SMU13.0.7 From Evan Quan d90de26bdc97a51a195116428fbb4776394f79a7 in linux-6.1.y/6.1.7 62b9f835a6c60171845642afec4ce4b44865f10f in mainline linux |
date | 2023-01-19T00:28:00Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/soc21.c | log | diff | annotate |
message |
drm/amdgpu: add soc21 common ip block support for GC 11.0.4 From Yifan Zhang 6ef4543f1f3b21b108021f3dec9bd02bf9f200ee in linux-6.1.y/6.1.7 311d52367d0a7985ee1132662bad46f09169eed2 in mainline linux |
date | 2023-01-19T00:29:55Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/soc21.c | log | diff | annotate |
message |
drm/amdgpu: Enable pg/cg flags on GC11_0_4 for VCN From Saleemkhan Jamadar e30be0ada6e2a55e8581aa55860afc6cf5183300 in linux-6.1.y/6.1.7 2a0fe2ca6e9c9bf9c47a9f9f0d67c13281a13f8c in mainline linux |
date | 2023-01-19T00:31:30Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/soc21.c | log | diff | annotate |
message |
drm/amdgpu: enable VCN DPG for GC IP v11.0.4 From Saleemkhan Jamadar 309278736f35f0937d6338d5986a6a4a48e90d2f in linux-6.1.y/6.1.7 e1d900df63adcb748905131dd6258e570e11aed1 in mainline linux |
date | 2023-01-19T00:32:55Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c | log | diff | annotate |
message |
drm/amdgpu: Fix potential NULL dereference From Luben Tuikov f2faf0699af78968a27ca154bf76e94247f8c471 in linux-6.1.y/6.1.7 0be7ed8e7eb15282b5d0f6fdfea884db594ea9bf in mainline linux |
date | 2023-01-19T00:36:23Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/gt/intel_gt_sysfs.c | log | diff | annotate |
src/sys/dev/pci/drm/i915/gt/intel_gt_sysfs.h | log | diff | annotate | |
src/sys/dev/pci/drm/i915/gt/intel_gt_sysfs_pm.c | log | diff | annotate | |
message |
drm/i915: Fix CFI violations in gt_sysfs From Nathan Chancellor 3925336af00f79fb7f3a390b6ab30d455d32d863 in linux-6.1.y/6.1.7 a8a4f0467d706fc22d286dfa973946e5944b793c in mainline linux |
date | 2023-01-19T15:52:51Z | |||
---|---|---|---|---|
author | dv | |||
files | src/sys/arch/amd64/include/vmmvar.h | log | diff | annotate |
message |
Restrict vmm(4) exposed cpuid extended feature flags. We don't emulate or support most of the EAX=7,ECX=0 feature bits, so restrict the mask further to just UMIP. ok deraadt@ |
date | 2023-01-19T20:17:11Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/amd64/amd64/pmap.c | log | diff | annotate |
message |
Revise implementation of pmap_protect(9) in preparation for execute-only support. The current implementation doesn't handle the transition from RWX to RW correctly. Also generalize the pmap_write_protect() function in recognition of the fact that execute permission, write permission, and in the future read permission on executable pages, are handled by separate bits. ok deraadt@, mpi@ |
date | 2023-01-19T20:17:12Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/amd64/include/pmap.h | log | diff | annotate |
message |
Revise implementation of pmap_protect(9) in preparation for execute-only support. The current implementation doesn't handle the transition from RWX to RW correctly. Also generalize the pmap_write_protect() function in recognition of the fact that execute permission, write permission, and in the future read permission on executable pages, are handled by separate bits. ok deraadt@, mpi@ |
date | 2023-01-20T15:11:44Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/pci/ppb.c | log | diff | annotate |
message |
When ppb(4) detaches, make its bus range available again even if it was configured by the firmware and pre-allocated by our parent pci(4) bus. Fixes unplugging and replugging thunderbolt devices that were plugged in when the machine was booted. ok mlarkin@, deraadt@, miod@ |
date | 2023-01-20T16:01:04Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/arch/amd64/amd64/cpu.c | log | diff | annotate |
src/sys/arch/amd64/amd64/locore.S | log | diff | annotate | |
src/sys/arch/amd64/amd64/pmap.c | log | diff | annotate | |
src/sys/arch/amd64/amd64/trap.c | log | diff | annotate | |
src/sys/arch/amd64/amd64/vector.S | log | diff | annotate | |
src/sys/arch/amd64/include/cpufunc.h | log | diff | annotate | |
src/sys/arch/amd64/include/pte.h | log | diff | annotate | |
message |
On cpu with the PKU feature, prot=PROT_EXEC pages now create pte which contain PG_XO, which is PKU key1. On every exit from kernel to userland, force the PKU register to inhibit data read against key1 memory. On (some) traps into the kernel if the PKU register is changed, abort the process (processes have no reason to change the PKU register). This provides us with viable xonly functionality on most modern intel & AMD cpus. I started with a xsave-based diff from dv@, but discovered the fpu save/restore logic wasn't a good fit and went to direct register management. Disabled on HV (vm) systems until we know they handle PKU correctly. ok kettenis, dv, guenther, etc |
date | 2023-01-20T17:18:08Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/hppa/dev/clock.c | log | diff | annotate |
message |
hppa: simplify itmr_rearm() The nest of branches in itmr_rearm() can be simplified to: if (cycles <= t1 - t0) { /* we probably missed */ } We're doing modular unsigned 32-bit, so the rollover case in the current code is superfluous. Tested by miod@. "Works for me." miod@ |
date | 2023-01-21T10:30:11Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/mainbus.c | log | diff | annotate |
src/sys/arch/arm64/include/bus.h | log | diff | annotate | |
message |
Make bus_dmamem_alloc_range(9) API available. ok patrick@, deraadt@, phessler@ |
date | 2023-01-21T10:34:49Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/qcscm.c | log | diff | annotate |
message |
The Qualcomm UEFI Secure Application that handles EFI variables seems to insist on shared memory in the low 4G of the physical address space. Use bus_dmamem_alloc_range(9) to make sure this is the case. Makes setting and getting the RTC time reliable. ok patrick@, deraadt@, phessler@ |
date | 2023-01-21T11:23:23Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/kern/kern_sysctl.c | log | diff | annotate |
src/sys/kern/sys_socket.c | log | diff | annotate | |
src/sys/kern/uipc_socket.c | log | diff | annotate | |
src/sys/kern/uipc_socket2.c | log | diff | annotate | |
src/sys/kern/uipc_usrreq.c | log | diff | annotate | |
src/sys/miscfs/fifofs/fifo_vnops.c | log | diff | annotate | |
message |
Introduce per-sockbuf `sb_state' to use it with SS_CANTSENDMORE. This time, socket's buffer lock requires solock() to be held. As a part of socket buffers standalone locking work, move socket state bits which represent its buffers state to per buffer state. Opposing the previous reverted diff, the SS_CANTSENDMORE definition left as is, but it used only with `sb_state'. `sb_state' ored with original `so_state' when socket's data exported to the userland, so the ABI kept as it was. Inputs from deraadt@. ok bluhm@ |
date | 2023-01-21T11:23:24Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/netinet/tcp_usrreq.c | log | diff | annotate |
src/sys/sys/socketvar.h | log | diff | annotate | |
message |
Introduce per-sockbuf `sb_state' to use it with SS_CANTSENDMORE. This time, socket's buffer lock requires solock() to be held. As a part of socket buffers standalone locking work, move socket state bits which represent its buffers state to per buffer state. Opposing the previous reverted diff, the SS_CANTSENDMORE definition left as is, but it used only with `sb_state'. `sb_state' ored with original `so_state' when socket's data exported to the userland, so the ABI kept as it was. Inputs from deraadt@. ok bluhm@ |
date | 2023-01-21T17:35:01Z | |||
---|---|---|---|---|
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 |
Introduce `rt_lock' rwlock(9) and use it instead of kernel lock to serialize arpcache() and arpresolve(). In fact, net stack already has sleep points, so the rwlock(9) is better here because we avoid intersection with the rest of kernel locked paths. Also this new lock assumed to use to route layer protection instead of netlock. Hrvoje Popovski had tested this diff and found no visible performance impact. ok bluhm@ |
date | 2023-01-21T19:39:28Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/arch/powerpc/include/pmap.h | log | diff | annotate |
src/sys/arch/sparc64/include/pmap.h | log | diff | annotate | |
src/sys/arch/sparc64/sparc64/machdep.c | log | diff | annotate | |
message | Remove dead/unused prototypes |
date | 2023-01-22T12:05:44Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/kern/kern_sysctl.c | log | diff | annotate |
src/sys/kern/sys_socket.c | log | diff | annotate | |
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/net/rtsock.c | log | diff | annotate | |
src/sys/netinet/raw_ip.c | log | diff | annotate | |
src/sys/netinet/tcp_input.c | log | diff | annotate | |
src/sys/netinet/tcp_usrreq.c | log | diff | annotate | |
src/sys/netinet/udp_usrreq.c | log | diff | annotate | |
src/sys/netinet6/raw_ip6.c | log | diff | annotate | |
src/sys/sys/socketvar.h | log | diff | annotate | |
message |
Move SS_CANTRCVMORE and SS_RCVATMARK bits from `so_state' to `sb_state' of receive buffer. As it was done for SS_CANTSENDMORE bit, the definition kept as is, but now these bits belongs to the `sb_state' of receive buffer. `sb_state' ored with `so_state' when socket data exporting to the userland. ok bluhm@ |
date | 2023-01-22T13:14:21Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/apm.c | log | diff | annotate |
src/sys/arch/arm64/include/apmvar.h | log | diff | annotate | |
message |
Simplify the (so far unused) apm_record_event() function a bit and use it to send a resume event to userland when we come out of suspend. ok deraadt@ |
date | 2023-01-22T18:36:38Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/armv7/omap/gptimer.c | log | diff | annotate |
message | gptimer(4): remove dead MD microtime(9) implementation |
date | 2023-01-22T23:05:51Z | |||
---|---|---|---|---|
author | yasuoka | |||
files | src/sys/net/pf.c | log | diff | annotate |
message |
Fix pf_anchor_stackframe commit to revert pf rule matching to the previous behavior that stops when any rule matches within quick anchors. ok sasha kn |
date | 2023-01-23T03:01:52Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h | log | diff | annotate |
message |
add a placeholder for GC 11.0.4 device ids GC 11.0.4 support will be backported to linux 6.1.y at the request of Mario Limonciello of AMD on the linux stable list. Known to be an APU from amdgpu_discovery_set_ip_blocks(). Firmware not currently in linux-firmware git. |
date | 2023-01-23T05:19:10Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/pcidevs | log | diff | annotate |
message |
change ATI "Yellow Carp" string to "Rembrandt" Yellow Carp is the codename used by drm and linux amdgpu firmware. In product specifications AMD uses Rembrandt. Mesa renamed last year in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16604 Ryzen 6000 Series / Rembrandt graphics are marketed as Radeon 660M and Radeon 680M. These share the same device id of 0x1681. Ryzen 7035 Series / Rembrandt-R also use Radeon 660M and Radeon 680M. It is unclear if they use a device id of 0x1681 or 0x164d. |
date | 2023-01-23T05:19:44Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/pcidevs.h | log | diff | annotate |
message | regen |
date | 2023-01-23T05:19:45Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/pcidevs_data.h | log | diff | annotate |
message | regen |
date | 2023-01-23T09:36:39Z | |||
---|---|---|---|---|
author | nicm | |||
files | src/sys/arch/armv7/exynos/crosec_kbd.c | log | diff | annotate |
src/sys/arch/luna88k/dev/omkbdmap.c | log | diff | annotate | |
src/sys/dev/adb/akbdmap.h | log | diff | annotate | |
src/sys/dev/hil/hilkbdmap.c | log | diff | annotate | |
message |
Add Backtab key, based on a change from Crystal Kolipe kolipe.c at exoticsilicon dot com. ok miod |
date | 2023-01-23T09:36:40Z | |||
---|---|---|---|---|
author | nicm | |||
files | src/sys/dev/pckbc/wskbdmap_mfii.c | log | diff | annotate |
src/sys/dev/sun/sunkbdmap.c | log | diff | annotate | |
src/sys/dev/wscons/wsemul_vt100_keys.c | log | diff | annotate | |
src/sys/dev/wscons/wsksymdef.h | log | diff | annotate | |
message |
Add Backtab key, based on a change from Crystal Kolipe kolipe.c at exoticsilicon dot com. ok miod |
date | 2023-01-23T09:38:03Z | |||
---|---|---|---|---|
author | nicm | |||
files | src/sys/dev/usb/ukbdmap.c | log | diff | annotate |
message | Regen. |
date | 2023-01-23T10:13:46Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/pcidevs | log | diff | annotate |
message |
add amdgpu device ids newly matched with 6.1 drm another Cyan Skillfish and Aldebaran/MI200 |
date | 2023-01-23T10:14:15Z | |||
---|---|---|---|---|
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-01-23T18:33:34Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/kern/uipc_socket.c | log | diff | annotate |
message |
In somove() rename `state' variable to `rcvstate' to make code more readable. No functional changes. Proposed by and ok bluhm@ |
date | 2023-01-23T18:34:24Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/kern/uipc_socket.c | log | diff | annotate |
src/sys/sys/socketvar.h | log | diff | annotate | |
message |
Move SS_ISSENDING flag to `sb_state'. It should belong to the send buffer as the SS_CANTSENDMORE flag. ok bluhm@ |
date | 2023-01-23T18:35:13Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/sys/socketvar.h | log | diff | annotate |
message |
Remove "sb == &so->so_rcv || sb == &so->so_snd" assertion from sb_notify() and sbspace(). Now it's overkilling. ok bluhm@ |
date | 2023-01-23T19:31:41Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/arch/sparc64/sparc64/pmap.c | log | diff | annotate |
message |
Make sure pmap_extract() doesn't incorrectly return success when invoked on behalf of an invalid but not page-aligned address. ok kettenis@ |