linux_dsm_epyc7002/drivers/acpi
Lv Zheng 4d946f7970 ACPI: Enable build of AML interpreter debugger
This patch enables ACPICA debugger files using a configurable
CONFIG_ACPI_DEBUGGER configuration item. Those debugger related code that
was originally masked as ACPI_FUTURE_USAGE now gets unmasked.

Necessary OSL stubs are also added in this patch:
1. acpi_os_readable(): This should be arch specific in Linux, while this
    patch doesn't introduce real implementation and a complex mechanism to
    allow architecture specific acpi_os_readable() to be implemented to
    validate the address. It may be done by future commits.
2. acpi_os_get_line(): This is used to obtain debugger command input. This
    patch only introduces a simple KDB concept example in it and the
    example should be co-working with the code implemented in
    acpi_os_printf(). Since this KDB example won't be compiled unless
    ENABLE_DEBUGGER is defined and it seems Linux has already stopped to
    use ENABLE_DEBUGGER, thus do not expect it can work properly.

This patch also cleans up all other ACPI_FUTURE_USAGE surroundings
accordingly.
1. Since linkage error can be automatically detected, declaration in the
   headers needn't be surrounded by ACPI_FUTURE_USAGE.
   So only the following separate exported fuction bodies are masked by
   this macro (other exported fucntions may have already been masked at
   entire module level via drivers/acpi/acpica/Makefile):
     acpi_install_exception_handler()
     acpi_subsystem_status()
     acpi_get_system_info()
     acpi_get_statistics()
     acpi_install_initialization_handler()
2. Since strip can automatically zap the no-user functions, functions that
   are not marked with ACPI_EXPORT_SYMBOL() needn't get surrounded by
   ACPI_FUTURE_USAGE.
   So the following function which is not used by Linux kernel now won't
   get surrounded by this macro:
     acpi_ps_get_name()

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2015-10-22 02:05:05 +02:00
..
acpica ACPI: Enable build of AML interpreter debugger 2015-10-22 02:05:05 +02:00
apei
pmic
ac.c
acpi_apd.c
acpi_cmos_rtc.c
acpi_extlog.c
acpi_ipmi.c
acpi_lpat.c
acpi_lpss.c Power management and ACPI material for v4.3-rc1 2015-09-01 19:45:46 -07:00
acpi_memhotplug.c
acpi_pad.c
acpi_platform.c
acpi_pnp.c ipmi: Convert the IPMI SI ACPI handling to a platform device 2015-09-03 15:00:28 -05:00
acpi_processor.c
acpi_video.c
battery.c
battery.h
bgrt.c
blacklist.c
bus.c ACPI: Eliminate CONFIG_.*{, _MODULE} #ifdef in favor of IS_ENABLED() 2015-09-15 03:05:45 +02:00
button.c
cm_sbs.c
container.c
custom_method.c
debugfs.c ACPI: fix acpi_debugfs_init prototype 2015-08-07 02:55:18 +02:00
device_pm.c Merge branch 'acpi-pm' 2015-09-01 03:38:43 +02:00
device_sysfs.c
dock.c
ec_sys.c
ec.c ACPI / EC: Fix a memory leak issue in acpi_ec_query() 2015-09-26 01:44:59 +02:00
event.c
fan.c
glue.c
gsi.c
hed.c
int340x_thermal.c ACPI: Eliminate CONFIG_.*{, _MODULE} #ifdef in favor of IS_ENABLED() 2015-09-15 03:05:45 +02:00
internal.h Merge branch 'acpi-pm' 2015-09-01 03:38:43 +02:00
ioapic.c
Kconfig ACPI: Enable build of AML interpreter debugger 2015-10-22 02:05:05 +02:00
Makefile Merge branches 'acpi-scan', 'acpi-processor' and 'acpi-assorted' 2015-09-01 03:38:22 +02:00
nfit.c ACPICA: Update NFIT table to rename a flags field 2015-10-22 02:01:12 +02:00
nfit.h ACPICA: Update NFIT table to rename a flags field 2015-10-22 02:01:12 +02:00
numa.c
nvs.c
osl.c ACPI: Enable build of AML interpreter debugger 2015-10-22 02:05:05 +02:00
pci_irq.c ACPI, PCI, irq: Do not share PCI IRQ with ISA IRQ 2015-09-26 01:53:07 +02:00
pci_link.c ACPI / PCI: Remove duplicated penalty on SCI IRQ 2015-09-26 01:53:07 +02:00
pci_root.c
pci_slot.c
power.c Merge branch 'acpi-pm' 2015-09-01 03:38:43 +02:00
proc.c
processor_core.c
processor_driver.c Merge branches 'acpi-scan', 'acpi-processor' and 'acpi-assorted' 2015-09-01 03:38:22 +02:00
processor_idle.c
processor_pdc.c
processor_perflib.c Merge branch 'pm-cpufreq' 2015-09-01 15:52:35 +02:00
processor_thermal.c
processor_throttling.c
property.c device property: attach 'else if' to the proper 'if' 2015-08-26 01:46:39 +02:00
reboot.c
resource.c Merge branches 'acpi-scan', 'acpi-processor' and 'acpi-assorted' 2015-09-01 03:38:22 +02:00
sbs.c
sbshc.c
sbshc.h
scan.c Merge branch 'acpi-scan' into acpi-pm 2015-07-29 23:57:51 +02:00
sleep.c
sleep.h
sysfs.c ACPI / sysfs: Add support to allow leading "\" missing in trace_method_name. 2015-08-07 02:42:22 +02:00
tables.c
thermal.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2015-09-11 16:13:47 -07:00
utils.c
video_detect.c ACPI / video: Fix circular lock dependency issue in the video-detect code 2015-08-14 11:20:20 +02:00
wakeup.c