Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 6d21c932 | 2020-10-12 17:38:28 | Add support for the i.MX8M AHB clocks. These behave just like all the other composite clocks. With this we can get the frequency for the OCOTP. | ||
| 783aabe8 | 2020-10-12 17:36:06 | OCOTP's parent clock is the IPG clock on i.MX8M. | ||
| 45227170 | 2020-10-12 02:06:25 | Set the maximum frame size to RGE_JUMBO_FRAMELEN. From Brad. Tweak by myself. | ||
| 51a6fb14 | 2020-10-11 07:05:28 | Stop exporting `wt_hwqueue' now that drivers don't advertise it. Pointed by and ok jsg@ | ||
| 0f557061 | 2020-10-11 05:45:33 | Align pool items on CACHELINESIZE when replacing linux kmem_cache with SLAB_HWCACHE_ALIGN flag. tested by semarie@ | ||
| c6fb730a | 2020-10-10 07:07:46 | Clear the kcov device for the current thread before freeing the same kcov device. Prevents a use-after-free, note I've never seen this one in practice. | ||
| eb1adcec | 2020-10-09 08:53:16 | Kill unused IEEE80211_RADIOTAP_HWQUEUE. Its value is conflicting with an effort to standardize TX flags fields of the radiotap header from Mathy Vanhoef. This flag used to indicate the presence of a specific hardware queue used by WME but is unchecked. ok sthen@, kn@ | ||
| 73a63b7d | 2020-10-08 20:57:52 | Register sxitwi(4) in the I2C framework. ok kettenis@ | ||
| 8e8ebef9 | 2020-10-07 11:23:05 | match more Intel PCH SMBus ids | ||
| ce666b53 | 2020-10-07 11:20:41 | match on more pch kt ids | ||
| d8e9eaf6 | 2020-10-07 11:19:28 | match on more pch thermal ids | ||
| 5267dca0 | 2020-10-07 11:17:59 | match on more Intel dwiic pci ids | ||
| 9798072a | 2020-10-07 11:15:31 | regen | ||
| 17ad86b8 | 2020-10-07 11:14:59 | add more Intel 100, 200 and 300 Series PCH ids | ||
| 3cc85d69 | 2020-10-07 06:27:22 | regen | ||
| ab110328 | 2020-10-07 06:26:43 | add Intel 400 Series and 400 Series V PCH ids | ||
| 7392f8b9 | 2020-10-07 01:18:26 | regen | ||
| 02b15c9c | 2020-10-07 01:15:18 | add Intel 495 Series LP PCH and Ice Lake graphics ids | ||
| 11bacf69 | 2020-10-05 05:29:34 | add more ure(4) ids found in lenovo version of realtek windows driver and linux ok kevlo@ | ||
| c645d466 | 2020-10-05 05:28:44 | regen | ||
| 587c3e20 | 2020-10-05 05:28:13 | add more ure(4) ids found in lenovo version of realtek windows driver and linux ok kevlo@ | ||
| 2dfaff3c | 2020-10-05 02:27:39 | sync | ||
| a17fe007 | 2020-10-05 02:26:54 | drm/i915/tgl: Add new PCI IDs to TGL From Swathi Dhanavanthri 3882581753d1cca0d32b5a8ad81791b79fb35d67 in mainline linux | ||
| 5e73443b | 2020-10-05 01:59:10 | regen | ||
| 131f31a0 | 2020-10-05 01:58:32 | add more Intel 500 Series LP PCH and Tiger Lake graphics ids | ||
| 081b9769 | 2020-10-04 18:49:22 | Remove outdated comment. | ||
| bf0061d2 | 2020-10-04 10:36:55 | regen | ||
| 5ef07433 | 2020-10-04 10:35:35 | add more Intel 400 Series LP PCH and Comet Lake graphics ids | ||
| 84cad3c2 | 2020-10-03 07:31:12 | Collect coverage from interrupts. Currently limited to remote sections which allows coverage of timeouts executed from softclock to be collected. During boot, a dedicated coverage buffer per CPU is allocated which is used to collect coverage in interrupts. The kcov implementation in Linux recently added the same functionality. ok mpi@ | ||
| fbafb849 | 2020-10-02 18:43:14 | Attach on Intel 500-series chipsets. ok jsg@ | ||
| 7fa7ff51 | 2020-10-02 18:42:39 | regen | ||
| 890af8a5 | 2020-10-02 18:41:51 | Add Intel 500-series I2C devices. ok jsg@ | ||
| 38c93db2 | 2020-10-02 04:02:46 | adjust for reversed outb arguments linux uses | ||
| 2b67eb97 | 2020-10-01 17:28:14 | Add astfb(4), a driver for the framebuffer of the Aspeed BMC found on many POWER8 and POWER9 systems. | ||
| a345488b | 2020-10-01 15:43:41 | Attach on Intel 400-series chipsets. ok jsg@ | ||
| 4f86a910 | 2020-10-01 15:42:53 | regen | ||
| 7c753e1b | 2020-10-01 15:42:15 | Add Intel 400-series I2C devices. ok jsg@ | ||
| f9dd7470 | 2020-10-01 09:35:30 | avoid uninitialised var use in drm_syncobj.c We don't walk the chain in dma_fence_chain_for_each() but can provide the first fence. | ||
| d714ed3d | 2020-09-30 22:23:40 | Move mfokclock(4) from loongson to sys/dev/i2c so that it be used by more platforms than just loongson. Rename it to mfokrtc(4) for consistency with other RTC drivers. Make it match on st,m41t83, since that was the chip for which the driver was written for. More compatible strings can be added for each chip of the series verified to behave the same. Discussed with kettenis@ Compile tested on loongson by kn@ Tested on loongson by and ok visa@ | ||
| 9c6ff59f | 2020-09-29 21:05:05 | Add support for A64 UART resets. ok patrick@ | ||
| 49361fec | 2020-09-29 13:59:22 | Add support for the PCA9546 I2C switch to pcamux(4). In comparison to PCA9548, this variant supports only 4 instead of 8 channels. ok kettenis@ | ||
| 332805e1 | 2020-09-29 13:50:54 | The pcamux(4) device tree node's children are the individual channels, which we each treat as an I2C bus. While scanning these, we need to use each channel's node as starting point instead of the pcamux(4) node. This fixes finding and attaching devices connected to these channels. ok kettenis@ | ||
| c5ff3c33 | 2020-09-29 09:11:44 | Set the correct length before copying to userland. Prevent copying a partial and corrupted descriptor or leaking kernel memory. ok kn@, deraadt@ | ||
| d19edd3a | 2020-09-29 01:44:40 | Add TP-LINK UE300 device. Tested by Joel Carnat. ok deraadt@ | ||
| 1978b916 | 2020-09-28 18:34:45 | Add support for Comet Lake I2C controllers; needed to have a working trackpad on machines such as the 8th generation Lenovo X1. This is a temporary fix that uses magic numbers instead of #defines such that this diff can be included in the upcoming release. Will be replaced by a proper fix later. ok deraadt@ | ||
| f1ec5211 | 2020-09-28 13:16:58 | Add defines for the number of frames to skip on powerpc64. ok mpi@ | ||
| 28747bd2 | 2020-09-27 16:46:15 | Add workaround for Lenovo X1 gen 8 which has AML that tries to invoke ToHexString() on a Package. Should probably be replaced by a better solution after release. ok deraadt@ | ||
| 42aac20c | 2020-09-27 16:03:55 | Make sure acpicpu(4) doesn't attach to Processor nodes that happen to have a _HID. Should fix the issues with broken AML that Janne Johansson reported. This issue should be fixed in a more generic way, but that is too risky for the upcoming release. tested by jmc@ ok deraadt@ | ||
| f8487ce0 | 2020-09-26 12:06:37 | Make kd_claim() accept an explicit argument representing the number of entries to claim in the coverage buffer. In preparation for some upcoming changes. ok mpi@ as part of a larger diff | ||
| fdb37709 | 2020-09-26 12:01:57 | Read curproc once in kcov_remote_enter() and kcov_remote_leave(). | ||
| b98c2012 | 2020-09-26 11:59:59 | KCOV_BUF_MAX_NMEMB is defined under _KERNEL in sys/kcov.h but only used in dev/kcov.c; therefore move it to dev/kcov.c. | ||
| 925b9196 | 2020-09-26 11:58:17 | Fix typo in comment. | ||
| 77b41c92 | 2020-09-25 09:43:01 | Remove work around kcov_remote_leave() that no longer is needed since the introduction of the remote barrier in revision 1.26. | ||
| 664c6166 | 2020-09-22 19:32:51 | Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd' member of 'struct scsi_xfer' has always been pointed at the 'struct scsi_generic cmdstore' member of the same instance. So nuke 'cmdstore' and remove the '*' from cmd. Take the address of cmd as required by the various casts. No intentional functional change. luna88k test by aoyama@, sparc64 test by jmatthew@ Identification of 2009's last *cmd use and ok jmatthew@ | ||
| dcff20e6 | 2020-09-21 00:57:50 | allow DRM_IOCTL_GET_CLIENT with "drm" pledge Used by the amdgpu specific part of libdrm. Reported by gkoehler@ and jmc@ with firefox's use of WebGL. ok kettenis@ | ||
| dd1b5e45 | 2020-09-16 11:52:17 | disable acpivout brightness control on machines aware of Windows 8 On a HP ProBook 650 G1 acpivout backlight brightness control only works if we don't claim to be Windows 8. If we don't claim to be Windows 8 _BCL gives 21 levels with increments of 5, otherwise 101 levels (0-100) and a _BCM that does nothing. This is related to requirements Microsoft has for Windows 8 and later hardware certification. Having acpivout not fully attach lets inteldrm handle brightness ioctls. Brightness control via physical buttons will require a new acpi driver for the HP flavour of WMI. Add Windows 10 2004 _OSI value to the list while here. ok mpi@ kmos@ on an earlier version tested by kmos@ on 6460b and 6470b ProBooks which had the same problem feedback and ok kettenis@ | ||
| c8f65f57 | 2020-09-16 09:35:14 | Add a command explaining that this driver uses the ACPI SMI command port and why we need magic to map it. | ||
| 17a312f5 | 2020-09-15 18:36:18 | Add the wsioctl() bits to radeondrm(4) so that abl(4) can be controlled through the wsconsctl(8) 'display.brightness' variable. ok kettenis@ | ||
| c34968d9 | 2020-09-15 18:31:14 | abl(4) is a new driver to control the backlight brightness on Intel based Apple machines. The driver attaches through acpi(4) when the HID 'APP0002' is found. Thanks to kettenis@ for helping me sorting out the PCI bits. ok kettenis@ | ||
| 52938089 | 2020-09-15 13:43:40 | Add acpi_ivhd_ext definitions to acpireg.h ok kettenis@ | ||
| d5ec8c1a | 2020-09-14 19:02:09 | add three static probes for vfs: cleaner, bufcache_take and bufcache_rel. while here, swap two lines in bufcache_release() to put a KASSERT() first following the pattern in bufcache_take() ok beck@ mpi@ | ||
| f64b4d9d | 2020-09-14 15:21:08 | umstc_intr is not in process context when adjusting wscons brightness. When brightness is pushed to 0, the backlight is disabled by some backend code which happens to sleep. Solve this by bouncing to process context via a task. ok kettenis | ||
| ef591072 | 2020-09-13 14:55:08 | unbreak dt-enabled builds; it seems an unrelated change snuck in in -r1.3 also noticed by semarie@ | ||
| c245f113 | 2020-09-13 14:11:28 | The SMC base address and i/o region size is now queried by acpi(4) and doesn't need to be hard coded anymore. | ||
| 252e0799 | 2020-09-13 13:37:28 | use drm_cache.c from linux 5.7.y ok kettenis@ | ||
| 3fb0e55c | 2020-09-13 11:53:16 | add an ipi for wbinvd and a linux style wbinvd_on_all_cpus() function ok kettenis@ deraadt@ | ||
| c72e6d6b | 2020-09-13 10:05:46 | Fix various typos in wscons(4) comments. | ||
| b775e15d | 2020-09-13 01:54:05 | Add support for the RK3308 MAC. ok kettenis@ | ||
| 8463012b | 2020-09-13 01:52:27 | Correct the property name used to look up the delays for the phy reset process. ok kettenis@ as part of a larger diff | ||
| c28df561 | 2020-09-12 17:08:49 | Add tracepoints in the page fault handler and when entries are added to maps. ok kettenis@ | ||
| b0833827 | 2020-09-12 07:55:43 | asmc(4) found a new home in sys/dev/acpi. | ||
| b81f331c | 2020-09-12 07:47:26 | Make asmc(4) attach through acpi(4) instead of isa(4). This e.g. makes the driver also work on iMac11,2. ok kettenis@, jung@ | ||
| 6cbafb87 | 2020-09-11 19:18:01 | Correctly set y_sensors for Geyser2 touchpads. Feedback and ok patrick@ ok kn@ | ||
| 311b6aa8 | 2020-09-11 09:27:09 | Include <sys/systm.h> directly instead of relying on hidden UVM includes. The header is being pulled via db_machdep.h -> uvm_extern.h -> uvm_map.h | ||
| 2a0e15d2 | 2020-09-08 20:13:52 | Add a function to scan for PCI Express extended capabilities. From jordan@, with a few more tweaks by myself. | ||
| 5e6272ba | 2020-09-08 01:29:58 | Add RK3308 temperature sensors. ok kettenis@ | ||
| 849ebcfd | 2020-09-08 01:29:04 | Add RK3328 PWM, also found in the RK3308. ok kettenis@ | ||
| 1235808c | 2020-09-06 23:42:19 | Add RK3308 clocks ok kettenis@ | ||
| 65e0582e | 2020-09-05 14:21:52 | Rename SID_INQUIRY_HDR (a.k.a. 5) to more explicit SID_SCSI2_HDRLEN and use it to replace various uses of '5' when calculating the amount of data in the INQUIRY response. Matches up more naturally with SID_SCSI2_ALEN. Also use to fix SCSIDEBUG display of INQUIRY responses to show correct count of bytes received/available. | ||
| 3ca8dabf | 2020-09-05 13:05:06 | Replace '32' with SID_SCSI2_ALEN (a.k.a. 31) when building emulated INQUIRY responses. This is what the SCSI specifications say is the correct value and already used in several cases. | ||
| 9e34d16a | 2020-09-04 13:10:16 | Replace TAILQ concatenation loop with TAILQ_CONCAT OK millert@, florian@ | ||
| db4ca6ca | 2020-09-04 01:33:06 | drm/amdgpu: Fix buffer overflow in INFO ioctl From Alex Deucher b5b97cab55eb71daba3283c8b1d2cce456d511a1 in mainline linux | ||
| 7ef9792e | 2020-09-04 01:11:16 | Add RK3308 pinctrl support ok kettenis@ | ||
| cc26cb1e | 2020-09-04 01:10:29 | Add RK3308 GRF ok kettenis@ | ||
| c75bac9b | 2020-09-03 15:30:17 | The "USL" VT switch and keyboard ioctls are a hack and don't follow the proper BSD way where the third argument is always a pointer and data is transferred between userland and kernel using copyin(9) and copyout(9). Intead an int is encoded in the thirs argument. This works on 32-bit architectures and little-endian 64-bit architectures. But not on big-endian 64-bit architectures. Deal with this by handling the argument as long (which matches the size of a pointer). Hopefully we can eliminate these ioctls in the near future. ok deraadt@ | ||
| bb4b71eb | 2020-09-03 12:41:28 | Replace '.response_format = 2' with '.response_format = SID_SCSI2_RESPONSE'. | ||
| 25a9dbe6 | 2020-09-02 22:00:26 | When building emulated INQUIRY results use the SCSI_REV_* #define's to initialize the 'version' field. Not numbers. | ||
| b291b595 | 2020-09-02 21:16:29 | When building emulated INQUIRY results use the SCSI_REV_* #define's to initialize the 'version' field. Not numbers. | ||
| 548012a2 | 2020-09-02 12:36:12 | Don't rely on wTotalLength for usbd_get_cdesc() malloc/free but on the actual length which has been allocated. We saw cases where the wTotalLength value is changing on a second read, e.g. when a USB device was waked up from sleep mode. ok mpi@ | ||
| eccd596d | 2020-09-01 12:17:52 | Rename [READ|WRITE]_BIG to [READ|WRITE]_10. Rename struct scsi_rw_big to struct scsi_rw_10. ok gnezdo@ jmatthew@ (who also did sparc64 compile test) | ||
| edfadbd0 | 2020-08-31 12:26:49 | Backout clear endpoint stall on open(2). It seems to break an illuminated Logitech keyboard for unknown reasons. Reported by denis@ ok djm@ | ||
| 1fbdca8f | 2020-08-30 13:19:44 | add missing wakeup for the unlikely dying case | ||
| 4d0124bd | 2020-08-30 13:18:10 | use unique wait messages with msleep_nsec() | ||
| 594bc22f | 2020-08-30 10:36:33 | avoid a invalid pointer deref in hvn_stop() intr_barrier() now uses the argument so directly call sched_barrier(NULL) which is what intr_barrier() used to do until recently. problem reported by and fix tested by Andre Stoebe | ||
| 9424095d | 2020-08-30 05:23:49 | PLL1(CPU_PLL) stability improvement for Allwinner H3/H2+ Due to unstable of PLL1, sometimes the system has hanged up especially at boot. This is observed at Allwinner H3/H2+ processor. To solve the problem, PLL1 setting procedure is same as Linux. 1. change clock source to 24MHz 2. wait 1usec (new) 3. disable PLL1 (new) 4. set new NKMP value, but M should be 1 5. re-enable PLL1 (new) 6. wait PLL1 stable (modified) 7. change clock source to PLL1 8. wait 1usec (new) Once disable PLL1 before setting NKMP is very important. And, sometimes LOCK flag is set even if PLL has not locked yet so wait for PLL is modified with simple delay() by the value of PLL_STABLE_TIME_REG1 register. Not only Allwinner H3/H2+ but also all (i.e. A64) Allwinner processors datasheet has "If the clock source is changed, at most to wait for 8 present running clock cycles." sentence at CPU clock source selection field of CPU/AXI configuration register. But this is ambiguous that _who_ should do _what_ during that cycles. It is unclear that changing clock source itself invoke PLL1 unstability. For safety, added 1usec wait after changing clock source like Linux. ok by kettenis@, thanks to adr at sdf dot org | ||
| ece33e2f | 2020-08-29 08:41:11 | Before clearing the kcov descriptor associated with a thread make sure no other thread is currently within a remote section. Otherwise, the remote subsystem could end up in a broken state where it doesn't reset the necessary bits upon leaving the remote section. Therefore introduce the kr_barrier() routine which waits until all ongoing remote sections have been left. Also, extend the scope of the mutex to also cover fields of struct kcov_dev. This is necessary to ensure correctness. Reported-by: syzbot+64122a5f01be1b1abb96@syzkaller.appspotmail.com | ||
| 63a956ac | 2020-08-29 08:24:33 | Prepare to extend the scope of the kcov remote mutex by renaming it to something more generic. It will soon cover the whole kcov subsystem. | ||
| 3d1fc20e | 2020-08-28 08:31:19 | free the correct object when a remote subsystem already is present | ||
| ee94ee70 | 2020-08-27 19:55:00 | Fix a potential panic during free(9) which can be caused by an USB device which returns a spurious value for wTotalLength on a configuration descriptor request. Therefore don't relay on wTotalLength for free(9) but on the length variable which was used for the malloc(9) before. The issue was reported by Mikolaj Kucharski <mikolaj (at) kucharski (dot) name> on bugs@. Discussed and ok deraadt@ | ||
| 3d08ae3e | 2020-08-27 19:34:37 | usbd_get_cdesc() returns usb_config_descriptor_t *. Therefore return 'NULL' instead of '0'. ok deraadt@ |