summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-20hppa: simplify itmr_rearm()Scott Soule Cheloha
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@
2023-01-20Sync usage with SYNOPSIS, mention that -x may use stdoutKlemens Nanni
Feedback from jmc and Crystal Kolipe OK jmc
2023-01-20amd64 now has xonly support via the PKU feature. Marking ld.so exec-onlyTheo de Raadt
is no longer a NOP on those systems, let's do it.
2023-01-20On cpu with the PKU feature, prot=PROT_EXEC pages now create pte whichTheo de Raadt
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
2023-01-20Update config regress test now that aspa-set syntax changed.Claudio Jeker
OK tb@
2023-01-20Remove 'allow' from aspa-set provider-set lists. That keyword is no longerClaudio Jeker
needed. OK tb@
2023-01-20Document the aspa-set table. While there remove the superfluous 'allow'Claudio Jeker
keyword. OK tb@
2023-01-20When ppb(4) detaches, make its bus range available again even if it wasMark Kettenis
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@
2023-01-20char * -> const char * parameters where clang doesn't complain.Kenneth R Westerback
2023-01-20Remove unused code.Joel Sing
ok tb@
2023-01-20comma space not space commaClaudio Jeker
2023-01-20Bad indentClaudio Jeker
2023-01-20Replace BN_DIV3W with HAVE_BN_DIV_3_WORDS (in bn_arch.h).Joel Sing
ok tb@
2023-01-20Provide a per machine bn_arch.h.Joel Sing
This will provide a location for machine specific defines, prototypes and inline functions. ok tb@
2023-01-20Reorder functions.Joel Sing
No functional change.
2023-01-20remove extra tabClaudio Jeker
2023-01-20Reorder functions for easier maintenance.Joel Sing
No functional change.
2023-01-19Revert previous commit (but leave the man page around); llvm-strip behavesMark Kettenis
differently on files that are hardlinked and this is tripping up ports. requested by naddy@
2023-01-19Revise implementation of pmap_protect(9) in preparation for execute-onlyMark Kettenis
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@
2023-01-19Restrict vmm(4) exposed cpuid extended feature flags.Dave Voutila
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@
2023-01-19Do not use unsupported __attribute__((warn_unused_result)) on gcc3.Kenji Aoyama
This prevents building libfido2 stops with error on luna88k because it is compiled with -Werror option. ok, and better #if condition by miod@
2023-01-19Check if we can copy sshd or need to use sudo to do so during reexecDarren Tucker
test. Skip test if neither can work. Patch from anton@, tweaks from me.
2023-01-19Remove more unused assembly generation scripts.Joel Sing
2023-01-19Remove various unused assembly files and assembly generation scripts.Joel Sing
These are just creating clutter and cause grep noise. ok miod@
2023-01-19drm/i915: Fix CFI violations in gt_sysfsJonathan Gray
From Nathan Chancellor 3925336af00f79fb7f3a390b6ab30d455d32d863 in linux-6.1.y/6.1.7 a8a4f0467d706fc22d286dfa973946e5944b793c in mainline linux
2023-01-19drm/amdgpu: Fix potential NULL dereferenceJonathan Gray
From Luben Tuikov f2faf0699af78968a27ca154bf76e94247f8c471 in linux-6.1.y/6.1.7 0be7ed8e7eb15282b5d0f6fdfea884db594ea9bf in mainline linux
2023-01-19drm/amdgpu: enable VCN DPG for GC IP v11.0.4Jonathan Gray
From Saleemkhan Jamadar 309278736f35f0937d6338d5986a6a4a48e90d2f in linux-6.1.y/6.1.7 e1d900df63adcb748905131dd6258e570e11aed1 in mainline linux
2023-01-19drm/amdgpu: Enable pg/cg flags on GC11_0_4 for VCNJonathan Gray
From Saleemkhan Jamadar e30be0ada6e2a55e8581aa55860afc6cf5183300 in linux-6.1.y/6.1.7 2a0fe2ca6e9c9bf9c47a9f9f0d67c13281a13f8c in mainline linux
2023-01-19drm/amdgpu: add soc21 common ip block support for GC 11.0.4Jonathan Gray
From Yifan Zhang 6ef4543f1f3b21b108021f3dec9bd02bf9f200ee in linux-6.1.y/6.1.7 311d52367d0a7985ee1132662bad46f09169eed2 in mainline linux
2023-01-19drm/amd/pm: enable GPO dynamic control support for SMU13.0.7Jonathan Gray
From Evan Quan d90de26bdc97a51a195116428fbb4776394f79a7 in linux-6.1.y/6.1.7 62b9f835a6c60171845642afec4ce4b44865f10f in mainline linux
2023-01-19drm/amd/pm: enable GPO dynamic control support for SMU13.0.0Jonathan Gray
From Evan Quan d167ce6c47db12de69d2c2e7bdde9e608183d2a1 in linux-6.1.y/6.1.7 1794f6a9535bb5234c2b747d1bc6dad03249245a in mainline linux
2023-01-19drm/amd/pm: Enable bad memory page/channel recording support for smu v13_0_0Jonathan Gray
From Candice Li 5e594dbf6e76cf0b75ab4cff2e5d42a3f63963a5 in linux-6.1.y/6.1.7 48aa62f07467c8fcd4b4ec7851e13c83e89a1558 in mainline linux
2023-01-19drm/amd/pm: enable mode1 reset on smu_v13_0_10Jonathan Gray
From Kenneth Feng e59d46eed1d930318f36a90138898f7fa7730389 in linux-6.1.y/6.1.7 60cfad329ab877cb62975ea78ed442c2496990ba in mainline linux
2023-01-19The binutils strip damages GNU_RELRO on binaries linked by ld.lld on atMark Kettenis
least amd64. Fix this by switching to the llvm strip on architectures that use ld.lld. ok deraadt@
2023-01-19drm/i915/gt: Cleanup partial engine discovery failuresJonathan Gray
From Chris Wilson 5c855bcc730656c4b7d30aaddcd0eafc7003e112 in linux-6.1.y/6.1.7 78a033433a5ae4fee85511ee075bc9a48312c79e in mainline linux
2023-01-19Revert "drm/amdgpu: Revert "drm/amdgpu: getting fan speed pwm for vega10 ↵Jonathan Gray
properly"" From Alex Deucher f905e03c8ff65d80c24f42d8b93df3cec5a7ab12 in linux-6.1.y/6.1.7 30b8e7b8ee3be003e0df85c857c5cd0e0bd58b82 in mainline linux
2023-01-19drm/amd/display: move remaining FPU code to dml folderJonathan Gray
From Ao Zhong 69a75087cd1f10d5be07527f7ed7ed38db429d7e in linux-6.1.y/6.1.7 58ddbecb14c792b7fe0d92ae5e25c9179d62ff25 in mainline linux
2023-01-19drm/amd/pm: add the missing mapping for PPT feature on SMU13.0.0 and 13.0.7Jonathan Gray
From Evan Quan 363781f72d46c3762d7c0fd8fc13f27dce47f5cf in linux-6.1.y/6.1.7 318ca20893c19ead02845a08204c3f9249bb74cd in mainline linux
2023-01-19drm/amd/pm: correct the reference clock for fan speed(rpm) calculationJonathan Gray
From Evan Quan b435f68e415ca5e17e3425893ea991720a43b595 in linux-6.1.y/6.1.7 6fea87637bf36bd285227f490132e83582ab7513 in mainline linux
2023-01-19drm/amdgpu: Fixed bug on error when unloading amdgpuJonathan Gray
From YiPeng Chai 9196eb7c52e55749a332974f0081f77d53d60199 in linux-6.1.y/6.1.7 99f1a36c90a7524972be5a028424c57fa17753ee in mainline linux
2023-01-19drm/amd: Delay removal of the firmware framebufferJonathan Gray
From Mario Limonciello dcfeba477b3e3df526e0f543b58fa71c045dff8b in linux-6.1.y/6.1.7 1923bc5a56daeeabd7e9093bad2febcd6af2416a in mainline linux
2023-01-18drm/i915: Fix potential context UAFsJonathan Gray
From Rob Clark b696c627b3f56e173f7f70b8487d66da8ff22506 in linux-6.1.y/6.1.7 afce71ff6daa9c0f852df0727fe32c6fb107f0fa in mainline linux
2023-01-18drm/i915: Reserve enough fence slot for i915_vma_unbind_asyncJonathan Gray
From Nirmoy Das 8874730ecefe295931a681a0ae749cda53653078 in linux-6.1.y/6.1.7 476fdcdaaae7b06c780cdfc234c704107f16c529 in mainline linux
2023-01-18drm/i915/gt: Reset twiceJonathan Gray
From Chris Wilson 4009502c091c1543ae8708a12d1a97583ae411ac in linux-6.1.y/6.1.7 d3de5616d36462a646f5b360ba82d3b09ff668eb in mainline linux
2023-01-18drm: Optimize drm buddy top-down allocation methodJonathan Gray
From Arunpravin Paneer Selvam 42526442fe3ed9c2487a2a475cb4a6f463ce2eaf in linux-6.1.y/6.1.7 5640e81607152d7f2d2558227c0f6cb78b8f39cf in mainline linux
2023-01-18drm/amd/pm/smu13: BACO is supported when it's in BACO stateJonathan Gray
From Guchun Chen b8e6fc445990dce368950bd9553b31f46b50285e in linux-6.1.y/6.1.7 972fb53d3605eb6cdf0d6ae9a52e910626a91ff7 in mainline linux
2023-01-18add __list_add() for 6.1.7 drmJonathan Gray
2009-04-06import of OpenSSL 0.9.8kDamien Miller
2023-01-18These days bge_stop() calls intr_barrier(9). So in bge_detach() we needMark Kettenis
to disestablish the interrupt *after* calling bge_stop(). ok deraadt@
2023-01-18change BIOSF_SMBIOS bit flag from 6 to 8Jonathan Gray
matches tom@'s i386 rev 1.47 change