Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| aec57fdb | 2024-06-01 00:48:16 | Move common definitions into the header file. No binary change. | ||
| 63f88969 | 2024-05-30 10:56:24 | Ensure pmap_create() waits in case kernel virtual space shortage. Prevents a panic in pmap_pinit_pd_pae() when applying a lot of memory pressure and the kernel needs time to recover while swapping. Reported and fix tested by mvs@, also tested by sthen@ ok mlarkin@, mvs@, kettenis@ | ||
| c6db807f | 2024-05-30 04:16:25 | arm64: move cpu_suspended out of #ifdef SUSPEND Matches amd64 and i386 and unbreaks the RAMDISK build ok deraadt | ||
| de29a8a5 | 2024-05-29 18:55:45 | Convert SCHED_LOCK from a recursive kernel lock to a mutex. Over the last weeks the last SCHED_LOCK recursion was removed so this is now possible and will allow to split up the SCHED_LOCK in a upcoming step. Instead of implementing an MP and SP version of SCHED_LOCK this just always uses the mutex implementation. While this makes the local s argument unused (the spl is now tracked by the mutex itself) it is still there to keep this diff minimal. Tested by many. OK jca@ mpi@ | ||
| 38d8f198 | 2024-05-29 15:32:06 | recognise Cortex-X925 (Blackhawk), Cortex-A725 (Chaberton) | ||
| bc451eb3 | 2024-05-29 13:56:49 | Set 'needs-flag' for ufshci(4) as preparation for some future hibernate code. Remove obsolete comment while here as pointed out by kettenis@. ok kettenis@ | ||
| ba5ad174 | 2024-05-29 12:21:33 | Implement the guts for "suspend-to-idle" on amd64. This enables suspend on machines that don't support S3. In its current state it doesn't save a lot of power, but this should improve over time. Implementation of wakeup methods is incomplete which means that some machine can't resume at the moment. ok mglocker@, mlarkin@, stsp@, deraadt@ | ||
| 720f4ea4 | 2024-05-29 07:27:33 | fix WEP on athn(4) USB hostap Deferring installation of software crypto keys to a task context is not needed and results in race conditions that trigger the infamous "key not installed for sw crypto" panic. | ||
| 0f25b82d | 2024-05-29 07:24:26 | repair qwx(4) WEP and TKIP via software crypto It is difficult to make WEP and WPA1/TKIP work with hardware crypto. Add a comment which explains why. Ensure that setkey task state is properly cleared when the interface goes down. This issue was found while trying to add WEP keys for hw crypto, but is still worth fixing in general. Also, use m_makespace to append trailing padding for the MIC when hardware crypto is used in combination with "raw" frame mode (not the default), instead of blindly adjusting m_len. ok kevlo@ | ||
| deea039e | 2024-05-29 06:49:38 | regen | ||
| 1fa73d1c | 2024-05-29 06:48:43 | another apple bluetooth; from jon@elytron.openbsd.amsterdam | ||
| 8e8b3a2c | 2024-05-29 06:39:13 | indent with tabs not spaces; from jon@elytron.openbsd.amsterdam | ||
| f88d426d | 2024-05-29 01:11:53 | remove externs with no matching var | ||
| 528abb89 | 2024-05-29 00:48:14 | remove prototypes with no matching function | ||
| fd80d490 | 2024-05-28 15:16:45 | Rework the pmap ASID handling to not require the SCHED_LOCK The ASID lookup code already uses its own mutex (pmap_asid_mtx) and this mutex is enough to ensure that pmap_rollover_asid() is safe. Now only the generation number check in pmap_setttb() is done without the lock but the update of the pmap_asid_gen is now atomic so using READ_ONCE there is enough. OK kettenis@ mpi@ | ||
| a34bdd41 | 2024-05-28 13:21:13 | remove space between function names and argument list | ||
| 8331f02c | 2024-05-28 13:02:45 | return type on a dedicated line when declaring functions ok stsp@ | ||
| e96912c0 | 2024-05-28 12:50:23 | remove maxmem extern, var removed from all archs long ago | ||
| 53e1f34c | 2024-05-28 12:31:24 | remove uvm_swpkeyexpire extern for var we never had | ||
| 73d9c7e8 | 2024-05-28 12:11:26 | vio(4): fix jumbo frames vio_rx_offload() was called too early. So, the consistency checks of ether_extact() cause wrong packet detection and wrong checkums. also tested by bluhm ok bluhm@ | ||
| 9a6a36e2 | 2024-05-28 09:40:40 | Garbage collect sleep_abort(); it doesn't do anything useful anymore. ok deraadt@, mlarkin@ | ||
| f943bcf5 | 2024-05-28 09:27:54 | cpu_emergency_disable() was only used by mvme88k and can be removed now. This removes one of the SCHED_LOCK usages in arch. OK miod@ | ||
| d6d5e30b | 2024-05-28 09:27:08 | remove unused isa/cs4231var.h | ||
| a891b672 | 2024-05-28 09:26:55 | fix previous such that firmware crash recovery happens in non-debug builds | ||
| 4c14fa96 | 2024-05-28 09:19:04 | Remove the bcmmbox_write(BCMMBOX_CHANPM, ...) call in bcmmbox_attach(). This command locks up my RaspberryPi 4 while it seems to have no effect for other devices. First of all u-boot will already enable power for us plus it seems that more is needed than just this write to be really effective. Why my rpi4 locks up is still unclear but this is now a pure u-boot issue. Tested by kettenis@ on his working rpi4 and rpi2 OK kettenis@ | ||
| 81cacbbe | 2024-05-28 09:07:32 | Try to reset qwx(4) devices when firmware crashes and move firmware memory dumping code into QWX_DEBUG because it is only needed by developers. Spotted by jsg@ | ||
| fc05d6c1 | 2024-05-28 08:34:52 | Make qwx(4) offload TKIP and CCMP crypto to hardware. This reduces CPU load during interrupts, but more importantly works around an apparent firmware bug where incoming encrypted broadcast and multicast frames are dropped by firmware if the hardware crypto engine is unused. (This problem also affects Linux ath11k upstream.) Offloading CCMP to hardware hence fixes ARP and IPv6 multicast with WPA2. However, there are known issues with WPA1 and WEP: While the WPA1 pairwise handshake succeeds, the TKIP group key handshake fails for unknown reasons, resulting in association failure. WEP is broken because software crypto is skipped entirely when the driver uses the "native wifi" frame mode. This results in all packets being sent in plaintext while WEP is active. In the future, we should be able to fix this by offloading WEP to hardware as well, or by setting the frame mode back to "raw" if WEP is used. If the TKIP/WEP issues affect you badly then take this as an opportunity to upgrade the access point to WPA2/AES where possible. Tested by kettenis, kevlo, and myself. ok kevlo@ | ||
| 06cae377 | 2024-05-28 05:46:32 | use ansi style function decls to fix build with clang | ||
| 6579b5f8 | 2024-05-28 01:37:53 | Move ccb access before ccb_done to avoid a potential use-after-free if pages can be freed from interrupt context. ok dlg@ | ||
| 9a0b8a7e | 2024-05-28 00:24:44 | avoid uninitialised var use when scsi_get_link() returns NULL found by smatch, ok krw@ | ||
| 98f39564 | 2024-05-27 14:46:26 | Revert NVME_GONE. Literal 0xffffffff is the preferred idiom here. Requested by deraadt@ | ||
| 1488c4e9 | 2024-05-27 14:18:02 | Replace repeated uses of magic number 0xffffffff with nice #define NVME_GONE. Name taken from FreeBSD. Add separate #define NVME_TIMO_PT for passthrough command poll timeout. Same value as the currently reused NVME_TIMO_QOP. No functional change. | ||
| 93bf5056 | 2024-05-27 10:27:58 | Use SCSI xfer timeout value for doorbell register status polling instead of an own introduced timeout value. This fixes an SCSI SYNC command timeout seen during suspend. | ||
| 4a85b223 | 2024-05-27 09:31:58 | Set sc_state to ACPI_STATE_S0 at the end of resume instead of at the start such that ACPI resume code can see what state we're resuming from. ok deraadt@ | ||
| ec556c8d | 2024-05-27 06:20:59 | Decode remaining ID_AA64ISAR1_EL1 features. ok jsg@ | ||
| bc2c23e0 | 2024-05-27 04:58:43 | remove unused xmphyreg.h | ||
| f01de91c | 2024-05-27 03:56:59 | include net/if_var.h to make this build | ||
| b2bc41bb | 2024-05-27 00:54:00 | drm/amdgpu: Fix possible NULL dereference in amdgpu_ras_query_error_status_helper() From Srinivasan Shanmugam c364e7a34c85c2154fb2e47561965d5b5a0b69b1 in linux-6.6.y/6.6.32 b8d55a90fd55b767c25687747e2b24abd1ef8680 in mainline linux | ||
| a682ea72 | 2024-05-27 00:51:31 | drm/amd/display: Fix division by zero in setup_dsc_config From Jose Fernandez 7e4f50dfc98c49b3dc6875a35c3112522fb25639 in linux-6.6.y/6.6.32 130afc8a886183a94cf6eab7d24f300014ff87ba in mainline linux | ||
| f057eb46 | 2024-05-26 22:04:52 | Revert bits that got accidentally committed. spotted by patrick@ | ||
| e5fe1651 | 2024-05-26 20:06:27 | Fix suspend/resume for ums(4) and umt(4); Calling hidm*_attach not at the end of the device driver attach function can cause accessops functions to be called by wscons(4) *before* the device has completed its attach procedure. In this case this has led the device driver to ignore interrupts after resume, because during resume ums_disable/umt_disable were called last, *after* ums_enable/umt_enable. OK phessler@ | ||
| 456d6666 | 2024-05-26 18:06:21 | Clear interrupt status to prevent power down after resume initiated by pressing the power button. ok patrick@ | ||
| b8599033 | 2024-05-26 13:40:54 | Add support for configuring sleep voltage settings based on device tree properties for the RK809. ok patrick@ | ||
| fc30b644 | 2024-05-26 13:37:31 | Implement wakeup interrupts on amd64. Provide a dummy implementation for i386 such that we can call the necessary hooks in the suspend/resume code without adding #ifdefs. Tweak the arm64 implementation such that we can call the hooks earlier as this is necessary to mask MSI and MSI-X interrupts on arm64. ok deraadt@, mlarkin@ | ||
| 38f98a5b | 2024-05-26 10:01:01 | remove unneeded includes | ||
| 8b4b0e59 | 2024-05-26 08:46:28 | remove unneeded includes | ||
| 0bc48bef | 2024-05-26 03:28:54 | correct an argument to fix build, broken by rev 1.22 in 2013 | ||
| 9251d8a3 | 2024-05-24 20:34:06 | Enable UFS "Auto-Hibernation". From the documentation: Auto-hibernate allows the host controller to put UniPro link into Hibernate state autonomously. | ||
| 4e9514d6 | 2024-05-24 12:04:07 | Add support for NVMe passthrough commands IDENTIFY, GET_LOG_PG and SELFTEST. Enables suitably inquisitive software (e.g. smartmontools) to get information on nvme(4) disks. Based on work with dlg@ at h2k23, various at p2k24 and subsequent improvements and tests by jmatthew@. ok dlg@ for more permissive h2k23 version, jmatthew@ | ||
| b4155af8 | 2024-05-24 10:05:55 | remove unneeded includes | ||
| 4b489d0a | 2024-05-24 09:51:13 | Add support for suspend/resume. ok dlg@ | ||
| 6064c65c | 2024-05-24 06:38:41 | pfsync must let to progress state for destination peer The issue has been noticed by matthieu@ when he was chasing cause of excessive pfsync traffic between firewall boxes. When comparing content of state tables between primary and backup firewall the backup firewall showed many states as follows: ESTABLISHED:SYN_SENT FIN_WAIT_2:SYN_SENT * :SYN_SENT this is caused by pfsync_upd_tcp() which fails to update TCP-state for destination connection peer, so it remains stuck in SYN_SENT. matthieu@ confirms diff helps with 'stuck-state'. It also seems to help with excessive pfsync traffic. ok @dlg | ||
| c7101648 | 2024-05-24 06:26:47 | remove unneeded includes | ||
| 0f9891f1 | 2024-05-24 06:02:53 | remove unneeded includes; ok miod@ | ||
| ad41fa76 | 2024-05-24 04:36:26 | add back var removed in rev 1.7 in 2009, makes puc@cardbus build | ||
| 7aeb1bc9 | 2024-05-23 11:19:13 | increment CCMP decryption error counter if hw decrypt fails to get PN This case will only occur if the IV has been stripped by hardware and the driver has not cleared the protected bit in the frame header as it should. Incrementing this counter will make the problem more obvious when looking at netstat -W output. No functional change for people who do not work on wifi drivers. | ||
| 1f382412 | 2024-05-23 08:06:45 | regen | ||
| a9c8241f | 2024-05-23 08:06:22 | Add support for Quectel EM060K. The Quectel EM060K is set by default to MBIM mode. Tested by Shawn Chiou ok jsg@ | ||
| 81508fe3 | 2024-05-23 03:21:08 | remove unneeded includes; ok mpi@ | ||
| 64438fb9 | 2024-05-22 18:10:00 | Fix some bogus masking for the HCS (Host Controller Status) register. | ||
| 16212e72 | 2024-05-22 16:25:18 | regen | ||
| d083095f | 2024-05-22 16:24:59 | Add support for MT7922. This brings the MT7922 in line with MT7921. feedback and OK claudio@ | ||
| 32ffafad | 2024-05-22 14:25:47 | remove prototypes with no matching function; ok miod@ | ||
| 6c046737 | 2024-05-22 14:22:27 | remove extern with no matching var; ok miod@ | ||
| 81f602bf | 2024-05-22 11:46:06 | Make the interrupt status poll function generic, rather than for only one status type. We'll use it later on to query more interrupt status types. | ||
| edddd55a | 2024-05-22 09:24:11 | When clearing the wait channel also clear the wait message. There is no reason to keep the wait message in place since it will never show up even in ddb show proc output. OK jca@ | ||
| 31342e3c | 2024-05-22 09:22:55 | In the big p_stat switch in ptsignal do not call return but instead use one of the gotos. In this case goto out with mask and prop set to 0. OK jca@ | ||
| f5a6fea6 | 2024-05-22 09:20:22 | Just grab the SCHED_LOCK() once in donice() before walking the ps_threads list. setpriority() is trivial and probably faster than releasing and relocking SCHED_LOCK(). OK jca@ | ||
| 1f43ff8a | 2024-05-22 08:38:57 | Add firmware and driver own functions. These are needed to bring up the MT7922. OK claudio@ | ||
| 28d09237 | 2024-05-22 05:51:49 | remove prototypes with no matching function and externs with no var | ||
| 99aff793 | 2024-05-21 23:16:06 | remove switch_exit() prototypes, replaced by sched_exit() | ||
| 1171ef0c | 2024-05-21 19:49:06 | Refactor vmx(4) receive offloading. - avoid combination of M_TCP_CSUM_IN_OK and M_UDP_CSUM_IN_OK - remove useless letoh32() calls - simplify the IPv4 checksum flag check ok bluhm@ | ||
| dedce11a | 2024-05-21 18:19:22 | Remove obsolete comment, and fix some spacing. | ||
| 4acd6882 | 2024-05-21 16:09:00 | Only enable BUS_DMA_64BIT if the controller supports it. | ||
| 6859a790 | 2024-05-21 15:12:25 | Inform user land when vltime / pltime changes. Do not send a RTM_CHGADDRATTR route message when the address is tentative because we will send one when DAD finishes. To be used by rad(8) shortly. OK bluhm | ||
| fb54a5a4 | 2024-05-21 11:19:39 | Make igc(4) and ix(4) struct names unique. In ddb show struct gets confused if the same struct name exists twice. Add a prefix to tx_ring and rx_ring in drivers. OK miod@ jan@ | ||
| 84eef782 | 2024-05-21 07:14:20 | regen | ||
| 918b4453 | 2024-05-21 07:13:29 | move entry to be ordered by device id | ||
| 8118fda1 | 2024-05-21 07:04:36 | regen | ||
| 994182cc | 2024-05-21 07:03:55 | move some entries to be ordered by device id | ||
| 6fb00c13 | 2024-05-20 23:20:29 | remove extern with no matching var | ||
| 495249e2 | 2024-05-20 23:17:10 | remove prototypes with no matching function | ||
| a8b58197 | 2024-05-20 23:13:33 | remove prototypes with no matching function; ok visa@ | ||
| 74a3920e | 2024-05-20 21:22:43 | Fix an off by one. OK miod@, claudio@ | ||
| d0fe8eba | 2024-05-20 20:08:04 | Introduce some macros for static intr. aggr. and slot integers, and do more strict checking on the slot count. | ||
| 2a6ea202 | 2024-05-20 17:03:36 | Remove always-false condition in amap_free KASSERT. The if-condition immediately preceding it already checks the value so the first part of the KASSERT is redundant. ok mpi@, miod@, jca@ | ||
| ceedf4cc | 2024-05-20 12:42:45 | Add flag to switch between normal interrupts (one interrupt per completed command) and interrupt aggregation (one interrupt per <count> completed commands). For now, enable normal interrupts by default, since it has turned out that this works better for us currently (see comment in the diff for more details). Discussed with dlg@ | ||
| 223cf45d | 2024-05-20 10:32:20 | Rework interaction between sleep API and exit1() and start unlocking ps_threads This diff adjusts how single_thread_set() accounts the threads by using ps_threadcnt as initial value and counting all threads out that are already parked. In single_thread_check call exit1() before decreasing ps_singlecount this is now done in exit1(). exit1() and thread_fork() ensure that ps_threadcnt is updated with the pr->ps_mtx held and in exit1() also account for exiting threads since exit1() can sleep. OK mpi@ | ||
| f4c09545 | 2024-05-20 09:11:21 | Drop MNT_LOCAL flag in corresponding `vfsconflist' fuse(4) entry instead of cleaning it in fusefs_mount(). ok claudio | ||
| 9eb9c43a | 2024-05-20 05:26:04 | drm/amd/display: Fix incorrect DSC instance for MST From Hersen Wu af8af93c6a4f2c4772b353584b36bee88ebcbe81 in linux-6.6.y/6.6.3 892b41b16f6163e6556545835abba668fcab4eea in mainline linux | ||
| 8b4fb3f2 | 2024-05-20 05:24:11 | drm/amd/display: Handle Y carry-over in VCP X.Y calculation From George Shen 7be093e45215d4d9dfda515aebb7c31dc9413144 in linux-6.6.y/6.6.3 719564737a9ac3d0b49c314450b56cf6f7d71358 in mainline linux | ||
| 93221aa7 | 2024-05-20 05:22:41 | drm/i915/bios: Fix parsing backlight BDB data From Karthikeyan Ramasubramanian ca82830e453364d192e3c0c92a0f8823f621879c in linux-6.6.y/6.6.3 43b26bdd2ee5cfca80939be910d5b23a50cd7f9d in mainline linux | ||
| 6081a0ef | 2024-05-20 05:20:41 | drm/i915/gt: Automate CCS Mode setting during engine resets From Andi Shyti be59b2d3d9750f784101d62cc0f25fb75e294f7e in linux-6.6.y/6.6.3 51c1b42a232f17743cd825be6790cb64735ff98f in mainline linux | ||
| b57ef33f | 2024-05-20 05:18:51 | drm/i915/audio: Fix audio time stamp programming for DP From Chaitanya Kumar Borah b0624c032a02a8c2141663e21961ade9d3424e3c in linux-6.6.y/6.6.3 c66b8356273c8d22498f88e4223af47a7bf8a23c in mainline linux | ||
| 605668f9 | 2024-05-20 05:17:01 | drm/ttm: Print the memory decryption status just once From Zack Rusin 306e99777886fd9fe3495a2b889d551dc509a820 in linux-6.6.y/6.6.3 27906e5d78248b19bcdfdae72049338c828897bb in mainline linux | ||
| ab5fd4cb | 2024-05-20 05:15:34 | drm/amdkfd: don't allow mapping the MMIO HDP page with large pages From Alex Deucher 4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724 in linux-6.6.y/6.6.3 be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7 in mainline linux | ||
| f551e2ec | 2024-05-20 05:14:07 | drm/amdgpu: once more fix the call oder in amdgpu_ttm_move() v2 From Christian Koenig 0c7ed3ed35eec9138b88d42217b5a6b9a62bda4d in linux-6.6.y/6.6.3 d3a9331a6591e9df64791e076f6591f440af51c3 in mainline linux | ||
| 25548a05 | 2024-05-20 05:10:45 | drm/amdgpu: Fix comparison in amdgpu_res_cpu_visible From Michel Daenzer 52c1af381cb8bf72f2600ea02ba03d05fee2d733 in linux-6.6.y/6.6.3 8d2c930735f850e5be6860aeb39b27ac73ca192f in mainline linux | ||
| 27d456eb | 2024-05-20 05:08:47 | drm/amd/display: Atom Integrated System Info v2_2 for DCN35 From Gabe Teeger 7e3030774431eb093165a31baff040d35446fb8b in linux-6.6.y/6.6.31 9a35d205f466501dcfe5625ca313d944d0ac2d60 in mainline linux | ||
| 78756c27 | 2024-05-20 05:06:41 | dm/amd/pm: Fix problems with reboot/shutdown for some SMU 13.0.4/13.0.11 users From Mario Limonciello 6c83a8f236ece78d5c2e60ae3dcfd1a64509410e in linux-6.6.y/6.6.31 cd94d1b182d2986378550c9087571991bfee01d4 in mainline linux |