CVS commit: src/sys/dev/acpi

2021-08-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 9 04:06:21 UTC 2021 Added Files: src/sys/dev/acpi: acpi_i2c.h Log Message: Fix CVS eff-up. To generate a diff of this commit: cvs rdiff -u -r0 -r1.4 src/sys/dev/acpi/acpi_i2c.h Please note that diffs are not public do

CVS commit: src/sys/dev/acpi

2021-08-07 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Aug 7 21:19:16 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_mcfg.c acpi_mcfg.h Log Message: acpi: expose acpimcfg_configure_bus_cb To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/acpi/acpi_mcf

CVS commit: src/sys/dev/acpi

2021-08-07 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Aug 7 18:39:40 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_resource.c acpivar.h Log Message: acpi: Add acpi_resource_parse_any(). Like acpi_resource_parse(), but doesn't exclude "produced" resources. To generate a di

CVS commit: src/sys/dev/acpi

2021-07-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jul 25 01:43:08 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_timer.c Log Message: acpi_timer: use ACPI-Fast if WAET timer one read flag is set The Windows ACPI Emulated Devices Table (WAET) has a hint to inform the OS th

CVS commit: src/sys/dev/acpi

2021-07-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Jul 24 11:36:41 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_dev.c Log Message: acpi: /dev/acpi: fix bounds check when reading tables To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/acpi_dev

CVS commit: src/sys/dev/acpi

2021-05-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 30 11:24:11 UTC 2021 Modified Files: src/sys/dev/acpi: thinkpad_acpi.c Log Message: thinkpad(4): Fix evaluation of MHKA on version 2 devices. Need to pass an argument. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/acpi

2021-05-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 29 16:49:49 UTC 2021 Modified Files: src/sys/dev/acpi: thinkpad_acpi.c Log Message: thinkpad(4): Add dtrace probe for hotkey events. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/dev/acpi/think

CVS commit: src/sys/dev/acpi

2021-05-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 29 16:49:39 UTC 2021 Modified Files: src/sys/dev/acpi: thinkpad_acpi.c Log Message: thinkpad(4): Attach at LEN0268 with v2 Thinkpad hotkeys too. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/de

CVS commit: src/sys/dev/acpi

2021-02-05 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Feb 5 17:13:40 UTC 2021 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Assign device handles to "at acpi" and "at pci" devices in acpi_device_register(). To generate a diff of this commit: cvs rdiff -u -r1.289 -r1.2

CVS commit: src/sys/dev/acpi

2021-02-05 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Feb 5 17:12:43 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_util.c acpi_util.h Log Message: ACPI device handle implementation. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/acpi/acpi_util.c c

CVS commit: src/sys/dev/acpi

2021-02-04 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Feb 4 23:59:46 UTC 2021 Modified Files: src/sys/dev/acpi: dwiic_acpi.c Log Message: Use acpi_compatible_match(). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/dwiic_acpi.c Please note that d

CVS commit: src/sys/dev/acpi

2021-02-04 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Feb 4 21:39:00 UTC 2021 Modified Files: src/sys/dev/acpi: acpi.c acpivar.h Log Message: Add acpi_device_register(). Just a placeholder for now. To generate a diff of this commit: cvs rdiff -u -r1.288 -r1.289 src/sys/dev/a

CVS commit: src/sys/dev/acpi

2021-01-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Jan 29 15:49:55 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_cppc.c acpi_ec.c acpi_fan.c acpi_ged.c acpi_lid.c acpi_pcd.c acpi_pmtr.c aibs_acpi.c amdccp_acpi.c apple_smc_acpi.c asus_acpi.c atppc_acpi

CVS commit: src/sys/dev/acpi

2021-01-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Jan 29 15:24:00 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_button.c com_acpi.c pckbc_acpi.c tpm_acpi.c Log Message: Use acpi_compatible_match() / acpi_compatible_lookup(). To generate a diff of this commit: cvs rdiff -

CVS commit: src/sys/dev/acpi

2021-01-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Jan 29 15:20:13 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_acad.c acpi_bat.c Log Message: Use acpi_compatible_match(). To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/dev/acpi/acpi_acad.c cvs rdif

CVS commit: src/sys/dev/acpi

2021-01-28 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Jan 29 02:26:58 UTC 2021 Modified Files: src/sys/dev/acpi: nxpiic_acpi.c Log Message: Use acpi_compatible_match(). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/acpi/nxpiic_acpi.c Please note that

CVS commit: src/sys/dev/acpi

2021-01-26 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 27 05:11:54 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_util.c acpivar.h Log Message: Introduce weighted matching for ACPI autoconfiguration, and provide acpi_compatible_match() based around device_compatible_entry.

CVS commit: src/sys/dev/acpi

2021-01-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Jan 26 15:30:05 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/acpi/acpi_mcfg.c Please note that diffs are no

CVS commit: src/sys/dev/acpi

2021-01-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Jan 26 15:29:42 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/acpi/acpi_mcfg.c Please note that diffs are not public domain;

CVS commit: src/sys/dev/acpi

2021-01-25 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Jan 26 00:23:16 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_util.c Log Message: build fix To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/acpi/acpi_util.c Please note that diffs are not publi

CVS commit: src/sys/dev/acpi

2021-01-25 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Jan 25 12:09:59 UTC 2021 Modified Files: src/sys/dev/acpi: nxpiic_acpi.c Log Message: Configure clocks and enable NXP Layerscape quirks in motoi2c To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acp

CVS commit: src/sys/dev/acpi

2021-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jan 16 01:23:04 UTC 2021 Modified Files: src/sys/dev/acpi: tpm_acpi.c Log Message: Match PNP0C31 as a TPM 1.2 device. Works on my ThinkPad X260, and eliminates the last of the devices that attach to "isa". To generate a di

CVS commit: src/sys/dev/acpi

2021-01-14 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 14 14:38:22 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_usb.c Log Message: Use acpi_dsm() in acpi_usb_post_reset(). To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/acpi_usb.c Please not

CVS commit: src/sys/dev/acpi

2021-01-14 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 14 14:37:17 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_pci.c Log Message: In acpi_pci_ignore_boot_config(), use acpi_dsm() and add some comments describing the (somewhat confusing) semantics of the _DSM method used h

CVS commit: src/sys/dev/acpi

2021-01-14 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 14 14:35:53 UTC 2021 Modified Files: src/sys/dev/acpi: acpi_util.c acpi_util.h Log Message: - Add a new routine, acpi_pack_compat_list(), that packs the _HID and _CID device ID strings into an OpenFirmware-like string l

CVS commit: src/sys/dev/acpi

2020-12-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 13 20:39:20 UTC 2020 Modified Files: src/sys/dev/acpi: files.acpi Added Files: src/sys/dev/acpi: acpi_cppc.c Log Message: acpi: Add support for Collaborative Processor Performance Control (CPPC). CPPC is the mod

CVS commit: src/sys/dev/acpi

2020-12-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 13 20:27:53 UTC 2020 Modified Files: src/sys/dev/acpi: files.acpi Added Files: src/sys/dev/acpi: acpi_pcc.c acpi_pcc.h Log Message: acpi: Add support for ACPI Platform Communications Channel (PCC). To generate

CVS commit: src/sys/dev/acpi

2020-12-13 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Dec 13 08:20:56 UTC 2020 Modified Files: src/sys/dev/acpi: atppc_acpi.c Log Message: Add missing include To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/acpi/atppc_acpi.c Please note that diffs are

CVS commit: src/sys/dev/acpi

2020-12-10 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Dec 11 07:01:27 UTC 2020 Modified Files: src/sys/dev/acpi: atppc_acpi.c Log Message: Fix editor mishap in r1.18 To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/dev/acpi/atppc_acpi.c Please note that di

CVS commit: src/sys/dev/acpi

2020-12-07 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Dec 7 10:02:51 UTC 2020 Modified Files: src/sys/dev/acpi: ahcisata_acpi.c amdccp_acpi.c atppc_acpi.c dwiic_acpi.c ehci_acpi.c fdc_acpi.c genet_acpi.c lpt_acpi.c mpu_acpi.c plgpio_acpi.c spic_acpi.c vi

CVS commit: src/sys/dev/acpi

2020-12-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 6 12:47:12 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: Fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/acpi/acpi_mcfg.c Please note that diffs are

CVS commit: src/sys/dev/acpi

2020-12-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 6 12:23:13 UTC 2020 Modified Files: src/sys/dev/acpi: amdccp_acpi.c atppc_acpi.c fdc_acpi.c lpt_acpi.c mpu_acpi.c pckbc_acpi.c spic_acpi.c wb_acpi.c Log Message: acpi: Use acpi_intr_establish to install inte

CVS commit: src/sys/dev/acpi

2020-12-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 6 11:38:28 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_quirks.c acpivar.h Log Message: acpi: remove unused acpi_quirks_osi_* functions To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/acpi

CVS commit: src/sys/dev/acpi

2020-11-08 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Nov 8 14:16:59 UTC 2020 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Ignore PNP0001 (EISA interrupt controller) and PNP0C02 (motherboard resources) when enumerating devices. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/acpi

2020-10-24 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 24 08:57:06 UTC 2020 Modified Files: src/sys/dev/acpi: vmbus_acpi.c Log Message: Test the 64bit dma tag with BUS_DMA_TAG_VALID before using it. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/

CVS commit: src/sys/dev/acpi

2020-10-24 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 24 08:55:23 UTC 2020 Modified Files: src/sys/dev/acpi: xhci_acpi.c Log Message: Fix DMA size reporting. Previously it could report 64bit DMA when the tag wasn't available (and it fell back to 32bit tag) To generate a dif

CVS commit: src/sys/dev/acpi

2020-10-24 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 24 07:21:01 UTC 2020 Modified Files: src/sys/dev/acpi: virtio_acpi.c Log Message: Use the 64bit DMA tag if its valid. There appears to be a bug in virtio / ld_virtio and bounce buffers that was triggered when the bus_dmata

CVS commit: src/sys/dev/acpi

2020-10-23 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Oct 23 11:00:09 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_ged.c Log Message: Use MI acpi_intr_establish_irq instead of MD intr_establish To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/ac

CVS commit: src/sys/dev/acpi

2020-10-23 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Oct 23 10:59:37 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_intr.h acpi_util.c Log Message: Add acpi_intr_establish_irq, which is like acpi_intr_establish except it takes a struct acpi_irq * instead of ACPI_HANDLE. Usefu

CVS commit: src/sys/dev/acpi

2020-07-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jul 8 13:41:53 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_debug.c Log Message: Update for proplib API changes. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/acpi/acpi_debug.c Please note tha

CVS commit: src/sys/dev/acpi

2020-06-30 Thread Stephen Borrill
Module Name:src Committed By: sborrill Date: Tue Jun 30 13:14:21 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_display.c Log Message: Only need to set brightness if reading the initial state fails to sync firmware and the driver. Avoids black screen at boot time. Thanks

CVS commit: src/sys/dev/acpi

2020-06-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jun 22 16:14:18 UTC 2020 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Fix memory leak. Found by kLSan. To generate a diff of this commit: cvs rdiff -u -r1.284 -r1.285 src/sys/dev/acpi/acpi.c Please note that diffs ar

CVS commit: src/sys/dev/acpi

2020-06-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jun 15 15:29:46 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_ec.c Log Message: only install space handler and enable interrupt for EC if ACPI claims the device is actually present, it's not enough when there is entry for

CVS commit: src/sys/dev/acpi

2020-06-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jun 8 20:21:56 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_i2c.c Log Message: Update for proplib(3) API changes. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/acpi/acpi_i2c.c Please note that

CVS commit: src/sys/dev/acpi

2020-06-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 4 03:14:36 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_cpu_cstate.c Log Message: Nix trailing whitespace. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/dev/acpi/acpi_cpu_cstate.c P

CVS commit: src/sys/dev/acpi

2020-05-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun May 31 01:39:33 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_cpu_cstate.c Log Message: Disable read of the ACPI timer during idle, fixing performance degradation observed with acpicpu. C1 (MWAIT) is the deepest sleep currently

CVS commit: src/sys/dev/acpi

2020-05-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun May 17 11:32:51 UTC 2020 Modified Files: src/sys/dev/acpi: thinkpad_acpi.c Log Message: With the recent change of the EC address space handler, we no longer get an ACPI_INTEGER in host byte order but a byte sized buffer with

CVS commit: src/sys/dev/acpi

2020-05-08 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri May 8 14:42:38 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_pci.c acpi_pci.h Log Message: expose acpi_pcidev_pciroot_bus To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/dev/acpi/acpi_pci.c cvs rdi

CVS commit: src/sys/dev/acpi

2020-05-04 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon May 4 20:06:38 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_ec.c acpi_quirks.c wss_acpi.c Log Message: constify To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/sys/dev/acpi/acpi_ec.c cvs rdiff -u -r1.

CVS commit: src/sys/dev/acpi

2020-04-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Apr 28 11:02:37 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_display.c Log Message: Demote "unknown output device" message from error to debug, and change the wording to reflect what is really happening -- the display out

CVS commit: src/sys/dev/acpi

2020-04-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Apr 28 10:04:32 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_ec.c Log Message: kern/55206: acpibat reporting broken by acpi_ec.c r1.81 Assume byte instead of qword alignment of the buffer passed to the EC space handler.

CVS commit: src/sys/dev/acpi

2020-04-15 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Apr 15 19:26:51 UTC 2020 Modified Files: src/sys/dev/acpi: ahcisata_acpi.c Log Message: Use 64-bit DMA if available To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/acpi/ahcisata_acpi.c Please note

CVS commit: src/sys/dev/acpi

2020-04-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Apr 13 12:08:06 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: Work around a compiler issue when building on aarch64 with KUBSAN. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/d

CVS commit: src/sys/dev/acpi

2020-04-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 12 01:11:43 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_ec.c Log Message: Revert acpi_ec.c 1.76. We will do this another way, and separate KNF fixes from the critical functional change. ok msaitoh To generate a

CVS commit: src/sys/dev/acpi

2020-04-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 12 01:11:52 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_ec.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/dev/acpi/acpi_ec.c Please note that diffs are not public domain;

CVS commit: src/sys/dev/acpi

2020-04-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 12 01:12:03 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_ec.c Log Message: Reject overly large widths, from mlelstv. We are returning an ACPI_INTEGER (= uint64_t), so it doesn't make sense to handle more than 64 bit

CVS commit: src/sys/dev/acpi

2020-04-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 12 01:11:23 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_ec.c Log Message: Revert acpi_ec.c 1.77. We will do this another way. ok msaitoh To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/dev/

CVS commit: src/sys/dev/acpi

2020-04-09 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Apr 9 10:46:19 UTC 2020 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Stop walking MADT / GTDT subtables if we hit a header with length 0 To generate a diff of this commit: cvs rdiff -u -r1.283 -r1.284 src/sys/dev

CVS commit: src/sys/dev/acpi

2020-03-22 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Mar 23 00:37:19 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_debug.c Log Message: in acpi_debug_init(), the string we extract from the dictionary is a normal C string, so use strlcpy() rather than memcpy() to copy it. found by

CVS commit: src/sys/dev/acpi

2020-02-02 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Feb 2 16:31:25 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_mcfg.c acpi_mcfg.h Log Message: Add acpimcfg_conf_valid helper for pcie controllers with nonstandard config space layouts. To generate a diff of this commit:

CVS commit: src/sys/dev/acpi

2020-02-01 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Feb 1 20:11:24 UTC 2020 Modified Files: src/sys/dev/acpi: sdhc_acpi.c Log Message: fix build To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/dev/acpi/sdhc_acpi.c Please note that diffs are not public dom

CVS commit: src/sys/dev/acpi

2020-02-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Feb 1 19:11:59 UTC 2020 Modified Files: src/sys/dev/acpi: sdhc_acpi.c Log Message: use designated initializers To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/acpi/sdhc_acpi.c Please note that d

CVS commit: src/sys/dev/acpi

2020-02-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Feb 1 18:24:24 UTC 2020 Modified Files: src/sys/dev/acpi: sdhc_acpi.c Log Message: appease -Werror=missing-field-initializers To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/acpi/sdhc_acpi.c Ple

CVS commit: src/sys/dev/acpi

2020-02-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Feb 1 13:40:55 UTC 2020 Modified Files: src/sys/dev/acpi: sdhc_acpi.c Log Message: Add NXP/Freescale ESDHC specific support To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/acpi/sdhc_acpi.c Pleas

CVS commit: src/sys/dev/acpi

2020-02-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Feb 1 13:09:09 UTC 2020 Modified Files: src/sys/dev/acpi: sdhc_acpi.c Log Message: Use acpi_match_hid to match both _HID and _CID To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/acpi/sdhc_acpi.c

CVS commit: src/sys/dev/acpi

2020-01-31 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Jan 31 23:12:13 UTC 2020 Modified Files: src/sys/dev/acpi: xhci_acpi.c Log Message: Match HID 808622B7 (DesignWare USB3) To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/xhci_acpi.c Please note

CVS commit: src/sys/dev/acpi

2020-01-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Jan 21 11:29:17 UTC 2020 Modified Files: src/sys/dev/acpi: xhci_acpi.c Log Message: Choose between dmat and dmat64, instead of relying on subregion of the 32-bit tag To generate a diff of this commit: cvs rdiff -u -r1.5 -

CVS commit: src/sys/dev/acpi

2020-01-18 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Jan 18 12:32:57 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_pci.c Log Message: Ignore PCI boot config unless the _DSM for ignoring PCI boot config is explicitly set to 0. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/acpi

2020-01-12 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Jan 13 00:19:43 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_pci_link.c Log Message: apply FreeBSD revs r214848 and r214849: r214849 | jkim | 2010-11-05 13:24:26 -0700 (Fri, 05 Nov 2010) | 2 lines Add a forgotten cha

CVS commit: src/sys/dev/acpi

2019-12-31 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Dec 31 13:39:15 UTC 2019 Modified Files: src/sys/dev/acpi: acpi_resource.c acpivar.h Log Message: Include device decoding type in acpi_mem resources To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev

CVS commit: src/sys/dev/acpi

2019-12-31 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Dec 31 12:27:50 UTC 2019 Modified Files: src/sys/dev/acpi: acpi.c acpi_resource.c acpivar.h Log Message: Fetch bus_dma tags when acpi devnodes are created. They do not change and this allows MD code to create more complex ta

CVS commit: src/sys/dev/acpi

2019-12-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Dec 31 09:10:15 UTC 2019 Modified Files: src/sys/dev/acpi: acpi_util.c Log Message: Free buffers only when allocated. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/acpi/acpi_util.c Please note t

CVS commit: src/sys/dev/acpi

2019-12-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Dec 30 19:52:11 UTC 2019 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Hide ACPI0004 devices on aarch64 To generate a diff of this commit: cvs rdiff -u -r1.280 -r1.281 src/sys/dev/acpi/acpi.c Please note that diff

CVS commit: src/sys/dev/acpi

2019-12-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Dec 30 19:49:38 UTC 2019 Modified Files: src/sys/dev/acpi: acpi.c Log Message: MD code may allocate a new dma tag for attach args, so destroy it if the device node is not claimed To generate a diff of this commit: cvs rdi

CVS commit: src/sys/dev/acpi

2019-12-29 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 29 13:45:11 UTC 2019 Modified Files: src/sys/dev/acpi: acpi_util.c acpi_util.h Log Message: Add support for reading _DSD string property values. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/dev

CVS commit: src/sys/dev/acpi

2019-12-29 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 29 12:46:43 UTC 2019 Modified Files: src/sys/dev/acpi: sdhc_acpi.c Log Message: Read clock frequency from device properties To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/acpi/sdhc_acpi.c Plea

CVS commit: src/sys/dev/acpi

2019-12-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Dec 22 22:18:04 UTC 2019 Modified Files: src/sys/dev/acpi: acpi_srat.c Log Message: Avoid doing zero sized allocations if we get bad data. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/acpi_srat.c

CVS commit: src/sys/dev/acpi/wmi

2019-12-04 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Dec 4 19:51:32 UTC 2019 Modified Files: src/sys/dev/acpi/wmi: wmi_dell.c Log Message: Finally fix problem discussed in this old thread: http://mail-index.netbsd.org/tech-kern/2017/12/03/msg022661.html Dell's radio hotkey sen

CVS commit: src/sys/dev/acpi

2019-04-21 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 21 21:52:10 UTC 2019 Modified Files: src/sys/dev/acpi: acpi_tz.c Log Message: use cpu_name() on a struct cpu_info *. don't assume it has a ci_dev member that is valid input to device_xname(). fixes build on arm64. To gene

CVS commit: src/sys/dev/acpi

2019-03-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Mar 1 09:21:06 UTC 2019 Modified Files: src/sys/dev/acpi: com_acpi.c Log Message: Fix build for i386. The acpi_intr_establish function should really take an AD_HANDLE parameter. To generate a diff of this commit: cvs rdif

CVS commit: src/sys/dev/acpi

2019-02-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Feb 26 06:15:55 UTC 2019 Modified Files: src/sys/dev/acpi: com_acpi.c Log Message: Cast to same type as parameter. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/acpi/com_acpi.c Please note

CVS commit: src/sys/dev/acpi

2019-02-16 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sat Feb 16 23:28:57 UTC 2019 Modified Files: src/sys/dev/acpi: xhci_acpi.c Log Message: Fix cut & paste error in comment To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/xhci_acpi.c Please note that di

CVS commit: src/sys/dev/acpi/acpica

2019-02-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Feb 15 20:48:57 UTC 2019 Modified Files: src/sys/dev/acpi/acpica: OsdHardware.c Log Message: Avoid UB in OsdHardware.c UBSan: Undefined Behavior in src/sys/dev/acpi/acpica/OsdHardware.c:265:17, left shift of 255 by 24 places c

CVS commit: src/sys/dev/acpi

2019-01-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 30 20:20:37 UTC 2019 Modified Files: src/sys/dev/acpi: ipmi_acpi.c Log Message: don't print resources twice. It is automagically done in acpi_res_parse_fini. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/acpi

2019-01-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 5 20:40:26 UTC 2019 Modified Files: src/sys/dev/acpi: acpi_debug.c Log Message: add normal debug level To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/acpi/acpi_debug.c Please note that diffs

CVS commit: src/sys/dev/acpi

2018-12-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 24 17:44:40 UTC 2018 Modified Files: src/sys/dev/acpi: com_acpi.c Log Message: - fix compilation on 32 bit systems. - wrap long lines To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/acpi/com_a

CVS commit: src/sys/dev/acpi

2018-12-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Dec 21 14:51:47 UTC 2018 Modified Files: src/sys/dev/acpi: com_acpi.c Log Message: Support Designware APB UART To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/dev/acpi/com_acpi.c Please note that dif

CVS commit: src/sys/dev/acpi

2018-12-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Dec 21 14:51:12 UTC 2018 Modified Files: src/sys/dev/acpi: acpi_util.c acpi_util.h Log Message: Add acpi_dsd_integer, which reads an integer value from an ACPI 5.0 _DSD key/value package list. To generate a diff of this co

CVS commit: src/sys/dev/acpi

2018-12-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Dec 20 19:16:17 UTC 2018 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: An ACPI MCFG allocation with start bus number = end bus number is valid, so do not skip it. An entry like this defines MCFG space for a sing

CVS commit: src/sys/dev/acpi

2018-12-09 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Dec 9 11:12:58 UTC 2018 Modified Files: src/sys/dev/acpi: tpm_acpi.c Log Message: make compile on 64-bit archs after acpi_mem ar_length was changed from uint32_t to bus_size_t in rev. 1.77 of acpivar.h To generate a diff

CVS commit: src/sys/dev/acpi

2018-12-08 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Dec 8 15:02:06 UTC 2018 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: acpimcfg_configure_bus_cb can support 16-bit addresses now To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/acpi/

CVS commit: src/sys/dev/acpi

2018-12-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Dec 3 05:22:03 UTC 2018 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: Define macro before using it. This macro is used as a compile time "plugin" mechanism to use various platform specific enumeration functions.

CVS commit: src/sys/dev/acpi

2018-11-23 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Nov 23 14:08:40 UTC 2018 Modified Files: src/sys/dev/acpi: plgpio_acpi.c Log Message: Use acpi_intr_establish To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/acpi/plgpio_acpi.c Please note that dif

CVS commit: src/sys/dev/acpi

2018-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Nov 17 07:06:26 UTC 2018 Modified Files: src/sys/dev/acpi: sdhc_acpi.c Log Message: Attempt to appease gcc and unbreak i386 build. Should be NFC. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/sd

CVS commit: src/sys/dev/acpi

2018-11-16 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Nov 16 23:18:17 UTC 2018 Modified Files: src/sys/dev/acpi: ahcisata_acpi.c dwiic_acpi.c ehci_acpi.c virtio_acpi.c xhci_acpi.c Log Message: Use acpi_intr_establish To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/acpi

2018-11-02 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Nov 2 19:51:08 UTC 2018 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: Do not ignore non-zero segment numbers in MCFG if __HAVE_PCI_GET_SEGMENT is defined. To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/sys/dev/acpi

2018-10-26 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Oct 26 23:33:38 UTC 2018 Modified Files: src/sys/dev/acpi: ehci_acpi.c files.acpi Added Files: src/sys/dev/acpi: acpi_usb.c acpi_usb.h xhci_acpi.c Log Message: Add xhci at acpi glue To generate a diff of this commi

CVS commit: src/sys/dev/acpi

2018-10-26 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Oct 26 10:46:21 UTC 2018 Modified Files: src/sys/dev/acpi: files.acpi Added Files: src/sys/dev/acpi: ehci_acpi.c Log Message: Add ehci at acpi glue To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/

CVS commit: src/sys/dev/acpi

2018-10-25 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 25 10:38:57 UTC 2018 Modified Files: src/sys/dev/acpi: acpi_resource.c acpivar.h Log Message: Add support for 64-bit memory resources. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/acpi/acpi

CVS commit: src/sys/dev/acpi

2018-10-23 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Oct 23 09:19:02 UTC 2018 Modified Files: src/sys/dev/acpi: plgpio_acpi.c Log Message: Do not complain if the _AEI method is not found, just skip installing the interrupt handler. To generate a diff of this commit: cvs rdif

  1   2   3   4   5   6   >