freebsd-dev/sys/dev/acpica
Alexander Motin 455219675d Change mwait_bm_avoidance use to match Linux.
Even though the information is very limited, it seems the intent of
this flag is to control ACPI_BITREG_BUS_MASTER_STATUS use for C3,
not force ACPI_BITREG_ARB_DISABLE manipulations for C2, where it was
never needed, and which register not really doing anything for years.
It wasted lots of CPU time on congested global ACPI hardware lock
when many CPU cores were trying to enter/exit deep C-states same time.

On idle 80-core system it pushed ping localhost latency up to 20ms,
since badport_bandlim() via counter_ratecheck() wakes up all CPUs
same time once a second just to synchronously reset the counters.
Now enabling C-states increases the latency from 0.1 to just 0.25ms.

Discussed with:	kib
MFC after:	1 month
2021-03-08 18:27:36 -05:00
..
Osd acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_acad.c acpi(9): Add EVENTHANDLERs for video and AC adapter events. 2020-10-31 20:14:28 +00:00
acpi_apei.c Add missing newlines. 2021-01-28 18:20:00 -05:00
acpi_battery.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
acpi_bus_if.m
acpi_button.c Expose the ACPI power button, sleep button and LID state as evdev's. 2020-03-02 09:45:06 +00:00
acpi_cmbat.c Add workaround for models which do not follow the ACPI specification strictly. 2020-02-27 17:13:57 +00:00
acpi_container.c Distinguish _CID match and _HID match and make lower priority probe 2018-10-26 00:05:46 +00:00
acpi_cpu.c Change mwait_bm_avoidance use to match Linux. 2021-03-08 18:27:36 -05:00
acpi_dock.c acpi_dock(4): Add ACPI_PNP_INFO 2020-10-31 22:20:42 +00:00
acpi_ec.c acpi_ec(4): Don't probe erroneously if success occurred 2020-04-23 17:30:03 +00:00
acpi_hpet.c acpi_hpet: Add Hygon Dhyana support. 2020-02-07 22:26:11 +00:00
acpi_hpet.h
acpi_if.m Add _BIX (Battery Information Extended) object support. 2020-02-19 06:28:55 +00:00
acpi_isab.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_lid.c Send Lid status notification via devd from acpi_lid_status_update. 2020-05-16 01:50:28 +00:00
acpi_package.c Add _BIX (Battery Information Extended) object support. 2020-02-19 06:28:55 +00:00
acpi_pci_link.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_pci.c Rename kernel option ACPI_DMAR to IOMMU. 2020-09-29 20:29:07 +00:00
acpi_pcib_acpi.c Add mostly dummy hw.pci.enable_aspm tunable. 2020-06-26 19:55:11 +00:00
acpi_pcib_pci.c
acpi_pcib.c acpica: rework INTRNG interrupts 2018-11-19 03:02:47 +00:00
acpi_pcibvar.h
acpi_pcivar.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
acpi_perf.c
acpi_powerres.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_pxm.c acpi: Ensure that adjacent memory affinity table entries are coalesced 2020-12-18 16:04:48 +00:00
acpi_quirk.c Merge ACPICA 20190329. 2019-03-29 20:21:28 +00:00
acpi_quirks
acpi_resource.c acpi_resource: support multiple IRQs 2020-09-30 17:09:17 +00:00
acpi_smbat.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
acpi_smbus.h acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_thermal.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_throttle.c
acpi_timer.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_video.c acpi_video(4): Put display device in to D3 state on "Display off" event. 2020-10-31 20:28:13 +00:00
acpi.c acpi: limit the AMDI0020/AMDI0010 workaround to an option 2021-02-08 14:47:49 -07:00
acpiio.h Add _BIX (Battery Information Extended) object support. 2020-02-19 06:28:55 +00:00
acpivar.h Add plug and play information macroses for ACPI and I2C buses. 2020-10-31 22:15:59 +00:00