Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move all ACPI table support out of arch/x86 ......................................................................
acpi: Move all ACPI table support out of arch/x86
This change moves all acpi table support in coreboot currently living under arch/x86 into acpi/ to make this architecture independent. ACPI table generation is not really tied to any architecture and hence it makes sense to move this to its own directory. All .c files are moved to src/acpi and all .h files are moved to src/include/acpi. In addition to this, any files that include ACPI header files are updated to use the new path.
The only acpi files that are still retained under arch/x86 are: a. acpi_s3.c: This doesn't really deal with ACPI tables. Also, there are some assumptions in there about SMM which will have to be resolved if this file needs to be moved to common code.
b. acpi_bert_storage.c/bert_storage.h: This file is currently written specifically with x86 in mind. So, not moving the file for now.
Motivation for this change: Not all stages on Picasso SoC are targeted for the same architecture. For example, verstage (if runs before bootblock) will be targeted for non-x86. This makes it difficult to add device tree to verstage which would be required to get to SoC configs from the tree. This is because the device tree on x86 platforms currently contains a lot of devices that require ACPI related enums and structs (like acpi_gpio, acpi_pld, acpi_dp and so on). Hence, this change removes all ACPI table support out of arch/x86.
BUG=b:155428745
Change-Id: Icc6b793c52c86483a8c52e0555619e36869a869e Signed-off-by: Furquan Shaikh furquan@google.com --- M Documentation/Intel/SoC/soc.html M Documentation/acpi/devicetree.md M src/acpi/Makefile.inc A src/acpi/acpi.c A src/acpi/acpi_device.c A src/acpi/acpi_pld.c A src/acpi/acpi_s3.c A src/acpi/acpigen.c A src/acpi/acpigen_dsm.c A src/acpi/acpigen_ps2_keybd.c M src/acpi/sata.c M src/arch/x86/Makefile.inc M src/arch/x86/acpi/debug.asl M src/arch/x86/acpi_bert_storage.c M src/arch/x86/acpi_device.c M src/arch/x86/acpi_pld.c M src/arch/x86/acpi_s3.c M src/arch/x86/acpigen.c M src/arch/x86/acpigen_dsm.c M src/arch/x86/acpigen_ps2_keybd.c M src/arch/x86/ebda.c D src/arch/x86/include/arch/acpi.h D src/arch/x86/include/arch/acpi_device.h D src/arch/x86/include/arch/acpi_ivrs.h D src/arch/x86/include/arch/acpi_pld.h D src/arch/x86/include/arch/acpigen.h D src/arch/x86/include/arch/acpigen_dsm.h D src/arch/x86/include/arch/acpigen_ps2_keybd.h M src/arch/x86/include/arch/bert_storage.h M src/arch/x86/tables.c M src/cpu/amd/agesa/family14/model_14_init.c M src/cpu/amd/agesa/family15tn/model_15_init.c M src/cpu/amd/agesa/family16kb/model_16_init.c M src/cpu/intel/common/common_init.c M src/cpu/intel/haswell/acpi.c M src/cpu/intel/haswell/haswell_init.c M src/cpu/intel/model_2065x/acpi.c M src/cpu/intel/model_2065x/model_2065x_init.c M src/cpu/intel/model_206ax/acpi.c M src/cpu/intel/model_206ax/model_206ax_init.c M src/cpu/intel/speedstep/acpi.c M src/cpu/x86/backup_default_smm.c M src/cpu/x86/lapic/lapic_cpu_init.c M src/device/pci_device.c M src/device/pci_rom.c M src/drivers/amd/agesa/heapmanager.c M src/drivers/amd/agesa/romstage.c M src/drivers/amd/agesa/state_machine.c M src/drivers/crb/tis.c M src/drivers/elog/elog.c M src/drivers/generic/adau7002/adau7002.c M src/drivers/generic/bayhub/chip.h M src/drivers/generic/generic/chip.h M src/drivers/generic/generic/generic.c M src/drivers/generic/gpio_keys/chip.h M src/drivers/generic/gpio_keys/gpio_keys.c M src/drivers/generic/gpio_regulator/chip.h M src/drivers/generic/gpio_regulator/gpio_regulator.c M src/drivers/generic/max98357a/chip.h M src/drivers/generic/max98357a/max98357a.c M src/drivers/gfx/generic/chip.h M src/drivers/gfx/generic/generic.c M src/drivers/i2c/da7219/chip.h M src/drivers/i2c/da7219/da7219.c M src/drivers/i2c/designware/dw_i2c.c M src/drivers/i2c/generic/chip.h M src/drivers/i2c/generic/generic.c M src/drivers/i2c/hid/hid.c M src/drivers/i2c/max98373/max98373.c M src/drivers/i2c/max98927/max98927.c M src/drivers/i2c/nau8825/chip.h M src/drivers/i2c/nau8825/nau8825.c M src/drivers/i2c/rt1011/rt1011.c M src/drivers/i2c/rt5663/chip.h M src/drivers/i2c/rt5663/rt5663.c M src/drivers/i2c/sx9310/chip.h M src/drivers/i2c/sx9310/sx9310.c M src/drivers/i2c/tpm/chip.c M src/drivers/i2c/tpm/chip.h M src/drivers/intel/fsp1_1/raminit.c M src/drivers/intel/fsp1_1/ramstage.c M src/drivers/intel/fsp1_1/romstage.c M src/drivers/intel/gma/acpi.c M src/drivers/intel/gma/intel_ddi.c M src/drivers/intel/gma/opregion.c M src/drivers/intel/ish/ish.c M src/drivers/intel/mipi_camera/camera.c M src/drivers/ipmi/ipmi_kcs_ops.c M src/drivers/lenovo/wacom.c M src/drivers/net/chip.h M src/drivers/net/r8168.c M src/drivers/pc80/pc/keyboard.c M src/drivers/pc80/rtc/mc146818rtc.c M src/drivers/pc80/tpm/tis.c M src/drivers/spi/acpi/acpi.c M src/drivers/spi/acpi/chip.h M src/drivers/tpm/tpm.c M src/drivers/usb/acpi/chip.h M src/drivers/usb/acpi/usb_acpi.c M src/drivers/wifi/generic.c M src/ec/google/chromeec/ec_acpi.c M src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c M src/ec/google/chromeec/smihandler.c M src/ec/google/wilco/chip.c M src/ec/google/wilco/smihandler.c M src/ec/lenovo/h8/h8.c M src/ec/lenovo/h8/ssdt.c M src/include/acpi/acpi_pld.h M src/include/acpi/acpigen.h M src/include/device/azalia_device.h M src/include/device/pci_rom.h M src/lib/coreboot_table.c M src/lib/hardwaremain.c M src/lib/nhlt.c M src/mainboard/51nb/x210/dsdt.asl M src/mainboard/amd/gardenia/acpi/routing.asl M src/mainboard/amd/gardenia/acpi/usb_oc.asl M src/mainboard/amd/gardenia/dsdt.asl M src/mainboard/amd/inagua/acpi/routing.asl M src/mainboard/amd/inagua/acpi/usb_oc.asl M src/mainboard/amd/inagua/acpi_tables.c M src/mainboard/amd/inagua/dsdt.asl M src/mainboard/amd/olivehill/acpi/routing.asl M src/mainboard/amd/olivehill/acpi/usb_oc.asl M src/mainboard/amd/olivehill/acpi_tables.c M src/mainboard/amd/olivehill/dsdt.asl M src/mainboard/amd/padmelon/dsdt.asl M src/mainboard/amd/padmelon/mainboard.c M src/mainboard/amd/parmer/acpi_tables.c M src/mainboard/amd/parmer/dsdt.asl M src/mainboard/amd/persimmon/acpi/routing.asl M src/mainboard/amd/persimmon/acpi/usb_oc.asl M src/mainboard/amd/persimmon/acpi_tables.c M src/mainboard/amd/persimmon/dsdt.asl M src/mainboard/amd/south_station/acpi/routing.asl M src/mainboard/amd/south_station/acpi/usb_oc.asl M src/mainboard/amd/south_station/acpi_tables.c M src/mainboard/amd/south_station/dsdt.asl M src/mainboard/amd/thatcher/acpi/cpstate.asl M src/mainboard/amd/thatcher/acpi_tables.c M src/mainboard/amd/thatcher/dsdt.asl M src/mainboard/amd/union_station/acpi/routing.asl M src/mainboard/amd/union_station/acpi/usb_oc.asl M src/mainboard/amd/union_station/acpi_tables.c M src/mainboard/amd/union_station/dsdt.asl M src/mainboard/aopen/dxplplusu/acpi_tables.c M src/mainboard/aopen/dxplplusu/dsdt.asl M src/mainboard/aopen/dxplplusu/fadt.c M src/mainboard/apple/macbook21/dsdt.asl M src/mainboard/apple/macbook21/mainboard.c M src/mainboard/apple/macbookair4_2/dsdt.asl M src/mainboard/asrock/b75pro3-m/dsdt.asl M src/mainboard/asrock/b85m_pro4/dsdt.asl M src/mainboard/asrock/e350m1/acpi/routing.asl M src/mainboard/asrock/e350m1/acpi/usb_oc.asl M src/mainboard/asrock/e350m1/acpi_tables.c M src/mainboard/asrock/e350m1/dsdt.asl M src/mainboard/asrock/g41c-gs/cstates.c M src/mainboard/asrock/g41c-gs/dsdt.asl M src/mainboard/asrock/h110m/dsdt.asl M src/mainboard/asrock/h81m-hds/dsdt.asl M src/mainboard/asrock/imb-a180/acpi/routing.asl M src/mainboard/asrock/imb-a180/acpi/usb_oc.asl M src/mainboard/asrock/imb-a180/acpi_tables.c M src/mainboard/asrock/imb-a180/dsdt.asl M src/mainboard/asus/am1i-a/acpi_tables.c M src/mainboard/asus/am1i-a/dsdt.asl M src/mainboard/asus/f2a85-m/acpi/cpstate.asl M src/mainboard/asus/f2a85-m/acpi_tables.c M src/mainboard/asus/f2a85-m/dsdt.asl M src/mainboard/asus/h61m-cs/dsdt.asl M src/mainboard/asus/maximus_iv_gene-z/dsdt.asl M src/mainboard/asus/p2b/acpi_tables.c M src/mainboard/asus/p2b/dsdt.asl M src/mainboard/asus/p5gc-mx/cstates.c M src/mainboard/asus/p5gc-mx/dsdt.asl M src/mainboard/asus/p5qc/cstates.c M src/mainboard/asus/p5qc/dsdt.asl M src/mainboard/asus/p5ql-em/acpi_tables.c M src/mainboard/asus/p5ql-em/dsdt.asl M src/mainboard/asus/p5qpl-am/cstates.c M src/mainboard/asus/p5qpl-am/dsdt.asl M src/mainboard/asus/p8h61-m_lx/dsdt.asl M src/mainboard/asus/p8h61-m_lx3_r2_0/dsdt.asl M src/mainboard/asus/p8h61-m_pro/dsdt.asl M src/mainboard/asus/p8z77-m_pro/dsdt.asl M src/mainboard/asus/p8z77-v_lx2/dsdt.asl M src/mainboard/bap/ode_e20XX/acpi/routing.asl M src/mainboard/bap/ode_e20XX/acpi/usb_oc.asl M src/mainboard/bap/ode_e20XX/acpi_tables.c M src/mainboard/bap/ode_e20XX/dsdt.asl M src/mainboard/bap/ode_e21XX/acpi/routing.asl M src/mainboard/bap/ode_e21XX/acpi/usb_oc.asl M src/mainboard/bap/ode_e21XX/acpi_tables.c M src/mainboard/bap/ode_e21XX/dsdt.asl M src/mainboard/biostar/a68n_5200/acpi/routing.asl M src/mainboard/biostar/a68n_5200/acpi/usb_oc.asl M src/mainboard/biostar/a68n_5200/acpi_tables.c M src/mainboard/biostar/a68n_5200/dsdt.asl M src/mainboard/biostar/am1ml/acpi/routing.asl M src/mainboard/biostar/am1ml/acpi/usb_oc.asl M src/mainboard/biostar/am1ml/acpi_tables.c M src/mainboard/biostar/am1ml/dsdt.asl M src/mainboard/compulab/intense_pc/dsdt.asl M src/mainboard/elmex/pcm205400/acpi/routing.asl M src/mainboard/elmex/pcm205400/acpi/usb_oc.asl M src/mainboard/elmex/pcm205400/acpi_tables.c M src/mainboard/elmex/pcm205400/dsdt.asl M src/mainboard/emulation/qemu-i440fx/acpi_tables.c M src/mainboard/emulation/qemu-i440fx/dsdt.asl M src/mainboard/emulation/qemu-i440fx/fw_cfg.c M src/mainboard/emulation/qemu-q35/acpi_tables.c M src/mainboard/emulation/qemu-q35/dsdt.asl M src/mainboard/facebook/fbg1701/acpi_tables.c M src/mainboard/facebook/fbg1701/dsdt.asl M src/mainboard/facebook/monolith/dsdt.asl M src/mainboard/foxconn/d41s/cstates.c M src/mainboard/foxconn/d41s/dsdt.asl M src/mainboard/foxconn/g41s-k/cstates.c M src/mainboard/foxconn/g41s-k/dsdt.asl M src/mainboard/getac/p470/acpi_tables.c M src/mainboard/getac/p470/cstates.c M src/mainboard/getac/p470/dsdt.asl M src/mainboard/gigabyte/ga-945gcm-s2l/cstates.c M src/mainboard/gigabyte/ga-945gcm-s2l/dsdt.asl M src/mainboard/gigabyte/ga-b75m-d3h/dsdt.asl M src/mainboard/gigabyte/ga-g41m-es2l/cstates.c M src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl M src/mainboard/gigabyte/ga-h61m-series/dsdt.asl M src/mainboard/gizmosphere/gizmo/acpi/routing.asl M src/mainboard/gizmosphere/gizmo/acpi/usb_oc.asl M src/mainboard/gizmosphere/gizmo/acpi_tables.c M src/mainboard/gizmosphere/gizmo/dsdt.asl M src/mainboard/gizmosphere/gizmo2/acpi/routing.asl M src/mainboard/gizmosphere/gizmo2/acpi/usb_oc.asl M src/mainboard/gizmosphere/gizmo2/acpi_tables.c M src/mainboard/gizmosphere/gizmo2/dsdt.asl M src/mainboard/google/auron/acpi_tables.c M src/mainboard/google/auron/dsdt.asl M src/mainboard/google/auron/ec.c M src/mainboard/google/auron/smihandler.c M src/mainboard/google/beltino/acpi_tables.c M src/mainboard/google/beltino/dsdt.asl M src/mainboard/google/beltino/mainboard.c M src/mainboard/google/beltino/smihandler.c M src/mainboard/google/butterfly/dsdt.asl M src/mainboard/google/butterfly/early_init.c M src/mainboard/google/butterfly/mainboard.c M src/mainboard/google/cyan/acpi_tables.c M src/mainboard/google/cyan/dsdt.asl M src/mainboard/google/cyan/ec.c M src/mainboard/google/cyan/smihandler.c M src/mainboard/google/dedede/dsdt.asl M src/mainboard/google/dedede/ec.c M src/mainboard/google/dedede/mainboard.c M src/mainboard/google/deltaur/chromeos.c M src/mainboard/google/deltaur/dsdt.asl M src/mainboard/google/deltaur/mainboard.c M src/mainboard/google/deltaur/variants/baseboard/gpio.c M src/mainboard/google/dragonegg/chromeos.c M src/mainboard/google/dragonegg/dsdt.asl M src/mainboard/google/dragonegg/ec.c M src/mainboard/google/dragonegg/mainboard.c M src/mainboard/google/drallion/chromeos.c M src/mainboard/google/drallion/dsdt.asl M src/mainboard/google/drallion/ramstage.c M src/mainboard/google/eve/dsdt.asl M src/mainboard/google/eve/ec.c M src/mainboard/google/eve/mainboard.c M src/mainboard/google/fizz/dsdt.asl M src/mainboard/google/fizz/ec.c M src/mainboard/google/fizz/mainboard.c M src/mainboard/google/fizz/variants/karma/smihandler.c M src/mainboard/google/glados/dsdt.asl M src/mainboard/google/glados/ec.c M src/mainboard/google/glados/mainboard.c M src/mainboard/google/glados/smihandler.c M src/mainboard/google/hatch/chromeos.c M src/mainboard/google/hatch/dsdt.asl M src/mainboard/google/hatch/ec.c M src/mainboard/google/hatch/ramstage.c M src/mainboard/google/hatch/variants/akemi/gpio.c M src/mainboard/google/hatch/variants/baseboard/gpio.c M src/mainboard/google/hatch/variants/dratini/gpio.c M src/mainboard/google/hatch/variants/hatch/gpio.c M src/mainboard/google/hatch/variants/helios/gpio.c M src/mainboard/google/hatch/variants/jinlon/gpio.c M src/mainboard/google/hatch/variants/kindred/gpio.c M src/mainboard/google/hatch/variants/kohaku/gpio.c M src/mainboard/google/hatch/variants/mushu/gpio.c M src/mainboard/google/hatch/variants/nightfury/gpio.c M src/mainboard/google/hatch/variants/palkia/gpio.c M src/mainboard/google/hatch/variants/stryke/gpio.c M src/mainboard/google/jecht/acpi_tables.c M src/mainboard/google/jecht/dsdt.asl M src/mainboard/google/jecht/mainboard.c M src/mainboard/google/jecht/smihandler.c M src/mainboard/google/kahlee/dsdt.asl M src/mainboard/google/kahlee/ec.c M src/mainboard/google/kahlee/mainboard.c M src/mainboard/google/kahlee/smihandler.c M src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/routing.asl M src/mainboard/google/link/dsdt.asl M src/mainboard/google/link/early_init.c M src/mainboard/google/link/ec.c M src/mainboard/google/link/mainboard.c M src/mainboard/google/link/mainboard_smi.c M src/mainboard/google/octopus/dsdt.asl M src/mainboard/google/octopus/ec.c M src/mainboard/google/octopus/mainboard.c M src/mainboard/google/octopus/smihandler.c M src/mainboard/google/octopus/variants/baseboard/gpio.c M src/mainboard/google/octopus/variants/bobba/variant.c M src/mainboard/google/octopus/variants/dood/variant.c M src/mainboard/google/octopus/variants/garg/variant.c M src/mainboard/google/parrot/acpi_tables.c M src/mainboard/google/parrot/dsdt.asl M src/mainboard/google/parrot/early_init.c M src/mainboard/google/parrot/ec.c M src/mainboard/google/parrot/mainboard.c M src/mainboard/google/poppy/chromeos.c M src/mainboard/google/poppy/dsdt.asl M src/mainboard/google/poppy/ec.c M src/mainboard/google/poppy/mainboard.c M src/mainboard/google/poppy/variants/nami/smihandler.c M src/mainboard/google/poppy/variants/nautilus/smihandler.c M src/mainboard/google/poppy/variants/nocturne/ec.c M src/mainboard/google/rambi/acpi_tables.c M src/mainboard/google/rambi/dsdt.asl M src/mainboard/google/rambi/ec.c M src/mainboard/google/rambi/mainboard.c M src/mainboard/google/rambi/mainboard_smi.c M src/mainboard/google/reef/dsdt.asl M src/mainboard/google/reef/ec.c M src/mainboard/google/reef/mainboard.c M src/mainboard/google/reef/smihandler.c M src/mainboard/google/reef/variants/coral/gpio.c M src/mainboard/google/sarien/chromeos.c M src/mainboard/google/sarien/dsdt.asl M src/mainboard/google/sarien/ramstage.c M src/mainboard/google/slippy/acpi_tables.c M src/mainboard/google/slippy/dsdt.asl M src/mainboard/google/slippy/ec.c M src/mainboard/google/slippy/mainboard.c M src/mainboard/google/slippy/smihandler.c M src/mainboard/google/stout/acpi_tables.c M src/mainboard/google/stout/dsdt.asl M src/mainboard/google/stout/early_init.c M src/mainboard/google/stout/ec.c M src/mainboard/google/stout/mainboard.c M src/mainboard/google/volteer/dsdt.asl M src/mainboard/google/volteer/ec.c M src/mainboard/google/volteer/mainboard.c M src/mainboard/hp/abm/acpi/routing.asl M src/mainboard/hp/abm/acpi/usb_oc.asl M src/mainboard/hp/abm/acpi_tables.c M src/mainboard/hp/abm/dsdt.asl M src/mainboard/hp/compaq_8200_elite_sff/dsdt.asl M src/mainboard/hp/pavilion_m6_1035dx/acpi_tables.c M src/mainboard/hp/pavilion_m6_1035dx/dsdt.asl M src/mainboard/hp/pavilion_m6_1035dx/mainboard.c M src/mainboard/hp/snb_ivb_laptops/dsdt.asl M src/mainboard/hp/z220_sff_workstation/dsdt.asl M src/mainboard/ibase/mb899/cstates.c M src/mainboard/ibase/mb899/dsdt.asl M src/mainboard/intel/apollolake_rvp/dsdt.asl M src/mainboard/intel/baskingridge/acpi_tables.c M src/mainboard/intel/baskingridge/dsdt.asl M src/mainboard/intel/baskingridge/mainboard.c M src/mainboard/intel/baskingridge/mainboard_smi.c M src/mainboard/intel/cannonlake_rvp/chromeos.c M src/mainboard/intel/cannonlake_rvp/dsdt.asl M src/mainboard/intel/cannonlake_rvp/mainboard.c M src/mainboard/intel/cannonlake_rvp/smihandler.c M src/mainboard/intel/cedarisland_crb/dsdt.asl M src/mainboard/intel/coffeelake_rvp/chromeos.c M src/mainboard/intel/coffeelake_rvp/dsdt.asl M src/mainboard/intel/coffeelake_rvp/mainboard.c M src/mainboard/intel/d510mo/cstates.c M src/mainboard/intel/d510mo/dsdt.asl M src/mainboard/intel/d945gclf/cstates.c M src/mainboard/intel/d945gclf/dsdt.asl M src/mainboard/intel/dcp847ske/dsdt.asl M src/mainboard/intel/dg41wv/cstates.c M src/mainboard/intel/dg41wv/dsdt.asl M src/mainboard/intel/dg43gt/cstates.c M src/mainboard/intel/dg43gt/dsdt.asl M src/mainboard/intel/emeraldlake2/acpi_tables.c M src/mainboard/intel/emeraldlake2/dsdt.asl M src/mainboard/intel/emeraldlake2/ec.c M src/mainboard/intel/emeraldlake2/mainboard.c M src/mainboard/intel/emeraldlake2/smihandler.c M src/mainboard/intel/galileo/dsdt.asl M src/mainboard/intel/glkrvp/dsdt.asl M src/mainboard/intel/glkrvp/ec.c M src/mainboard/intel/glkrvp/mainboard.c M src/mainboard/intel/glkrvp/smihandler.c M src/mainboard/intel/harcuvar/acpi_tables.c M src/mainboard/intel/harcuvar/dsdt.asl M src/mainboard/intel/harcuvar/fadt.c M src/mainboard/intel/icelake_rvp/chromeos.c M src/mainboard/intel/icelake_rvp/dsdt.asl M src/mainboard/intel/icelake_rvp/mainboard.c M src/mainboard/intel/jasperlake_rvp/dsdt.asl M src/mainboard/intel/kblrvp/dsdt.asl M src/mainboard/intel/kblrvp/ec.c M src/mainboard/intel/kblrvp/mainboard.c M src/mainboard/intel/kunimitsu/dsdt.asl M src/mainboard/intel/kunimitsu/ec.c M src/mainboard/intel/kunimitsu/mainboard.c M src/mainboard/intel/kunimitsu/smihandler.c M src/mainboard/intel/leafhill/dsdt.asl M src/mainboard/intel/minnow3/dsdt.asl M src/mainboard/intel/saddlebrook/dsdt.asl M src/mainboard/intel/strago/acpi_tables.c M src/mainboard/intel/strago/dsdt.asl M src/mainboard/intel/strago/ec.c M src/mainboard/intel/strago/smihandler.c M src/mainboard/intel/tglrvp/dsdt.asl M src/mainboard/intel/wtm2/acpi_tables.c M src/mainboard/intel/wtm2/dsdt.asl M src/mainboard/intel/wtm2/mainboard.c M src/mainboard/jetway/nf81-t56n-lf/acpi/routing.asl M src/mainboard/jetway/nf81-t56n-lf/acpi/usb_oc.asl M src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c M src/mainboard/jetway/nf81-t56n-lf/dsdt.asl M src/mainboard/kontron/986lcd-m/cstates.c M src/mainboard/kontron/986lcd-m/dsdt.asl M src/mainboard/kontron/ktqm77/dsdt.asl M src/mainboard/lenovo/g505s/acpi_tables.c M src/mainboard/lenovo/g505s/dsdt.asl M src/mainboard/lenovo/g505s/mainboard.c M src/mainboard/lenovo/l520/dsdt.asl M src/mainboard/lenovo/s230u/dsdt.asl M src/mainboard/lenovo/s230u/mainboard.c M src/mainboard/lenovo/t400/acpi_tables.c M src/mainboard/lenovo/t400/cstates.c M src/mainboard/lenovo/t400/dsdt.asl M src/mainboard/lenovo/t400/fadt.c M src/mainboard/lenovo/t410/dsdt.asl M src/mainboard/lenovo/t410/mainboard.c M src/mainboard/lenovo/t420/dsdt.asl M src/mainboard/lenovo/t420s/dsdt.asl M src/mainboard/lenovo/t430/dsdt.asl M src/mainboard/lenovo/t430s/dsdt.asl M src/mainboard/lenovo/t440p/dsdt.asl M src/mainboard/lenovo/t520/dsdt.asl M src/mainboard/lenovo/t530/dsdt.asl M src/mainboard/lenovo/t60/dsdt.asl M src/mainboard/lenovo/t60/mainboard.c M src/mainboard/lenovo/thinkcentre_a58/cstates.c M src/mainboard/lenovo/thinkcentre_a58/dsdt.asl M src/mainboard/lenovo/x131e/dsdt.asl M src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl M src/mainboard/lenovo/x200/acpi_tables.c M src/mainboard/lenovo/x200/cstates.c M src/mainboard/lenovo/x200/dsdt.asl M src/mainboard/lenovo/x200/fadt.c M src/mainboard/lenovo/x201/dsdt.asl M src/mainboard/lenovo/x220/dsdt.asl M src/mainboard/lenovo/x220/early_init.c M src/mainboard/lenovo/x230/dsdt.asl M src/mainboard/lenovo/x60/dsdt.asl M src/mainboard/lenovo/x60/mainboard.c M src/mainboard/libretrend/lt1000/dsdt.asl M src/mainboard/lippert/frontrunner-af/acpi/routing.asl M src/mainboard/lippert/frontrunner-af/acpi/usb.asl M src/mainboard/lippert/frontrunner-af/acpi_tables.c M src/mainboard/lippert/frontrunner-af/dsdt.asl M src/mainboard/lippert/toucan-af/acpi/routing.asl M src/mainboard/lippert/toucan-af/acpi/usb.asl M src/mainboard/lippert/toucan-af/acpi_tables.c M src/mainboard/lippert/toucan-af/dsdt.asl M src/mainboard/msi/ms7707/dsdt.asl M src/mainboard/msi/ms7721/acpi/cpstate.asl M src/mainboard/msi/ms7721/acpi_tables.c M src/mainboard/msi/ms7721/dsdt.asl M src/mainboard/ocp/tiogapass/dsdt.asl M src/mainboard/ocp/tiogapass/fadt.c M src/mainboard/packardbell/ms2290/dsdt.asl M src/mainboard/pcengines/apu1/acpi/routing.asl M src/mainboard/pcengines/apu1/acpi/usb_oc.asl M src/mainboard/pcengines/apu1/acpi_tables.c M src/mainboard/pcengines/apu1/dsdt.asl M src/mainboard/pcengines/apu2/acpi/routing.asl M src/mainboard/pcengines/apu2/acpi/usb_oc.asl M src/mainboard/pcengines/apu2/acpi_tables.c M src/mainboard/pcengines/apu2/dsdt.asl M src/mainboard/portwell/m107/acpi_tables.c M src/mainboard/portwell/m107/dsdt.asl M src/mainboard/protectli/vault_bsw/dsdt.asl M src/mainboard/protectli/vault_kbl/dsdt.asl M src/mainboard/purism/librem_bdw/acpi_tables.c M src/mainboard/purism/librem_bdw/dsdt.asl M src/mainboard/purism/librem_skl/dsdt.asl M src/mainboard/razer/blade_stealth_kbl/dsdt.asl M src/mainboard/roda/rk886ex/cstates.c M src/mainboard/roda/rk886ex/dsdt.asl M src/mainboard/roda/rk9/acpi_tables.c M src/mainboard/roda/rk9/cstates.c M src/mainboard/roda/rk9/dsdt.asl M src/mainboard/roda/rk9/fadt.c M src/mainboard/roda/rv11/dsdt.asl M src/mainboard/samsung/lumpy/acpi_tables.c M src/mainboard/samsung/lumpy/dsdt.asl M src/mainboard/samsung/lumpy/ec.c M src/mainboard/samsung/lumpy/mainboard.c M src/mainboard/samsung/stumpy/acpi_tables.c M src/mainboard/samsung/stumpy/dsdt.asl M src/mainboard/samsung/stumpy/mainboard.c M src/mainboard/samsung/stumpy/smihandler.c M src/mainboard/sapphire/pureplatinumh61/dsdt.asl M src/mainboard/scaleway/tagada/acpi_tables.c M src/mainboard/scaleway/tagada/dsdt.asl M src/mainboard/scaleway/tagada/fadt.c M src/mainboard/siemens/mc_apl1/dsdt.asl M src/mainboard/supermicro/x10slm-f/dsdt.asl M src/mainboard/supermicro/x11-lga1151-series/dsdt.asl M src/mainboard/supermicro/x9scl/dsdt.asl M src/mainboard/system76/lemp9/dsdt.asl M src/mainboard/up/squared/dsdt.asl M src/northbridge/amd/agesa/family14/northbridge.c M src/northbridge/amd/agesa/family15tn/northbridge.c M src/northbridge/amd/agesa/family16kb/northbridge.c M src/northbridge/amd/pi/00630F01/northbridge.c M src/northbridge/amd/pi/00660F01/northbridge.c M src/northbridge/amd/pi/00730F01/northbridge.c M src/northbridge/intel/e7505/northbridge.c M src/northbridge/intel/gm45/acpi.c M src/northbridge/intel/gm45/northbridge.c M src/northbridge/intel/gm45/romstage.c M src/northbridge/intel/haswell/acpi.c M src/northbridge/intel/haswell/northbridge.c M src/northbridge/intel/i945/acpi.c M src/northbridge/intel/i945/northbridge.c M src/northbridge/intel/ironlake/northbridge.c M src/northbridge/intel/pineview/acpi.c M src/northbridge/intel/pineview/northbridge.c M src/northbridge/intel/sandybridge/acpi.c M src/northbridge/intel/sandybridge/northbridge.c M src/northbridge/intel/x4x/acpi.c M src/northbridge/intel/x4x/northbridge.c M src/security/memory/memory_clear.c M src/soc/amd/common/block/acpi/acpi.c M src/soc/amd/common/block/graphics/graphics.c M src/soc/amd/common/block/hda/hda.c M src/soc/amd/common/block/include/amdblocks/acpi.h M src/soc/amd/common/block/pi/agesawrapper.c M src/soc/amd/common/block/pi/amd_late_init.c M src/soc/amd/common/block/pi/refcode_loader.c M src/soc/amd/common/block/sata/sata.c M src/soc/amd/picasso/acpi.c M src/soc/amd/picasso/chip.h M src/soc/amd/picasso/finalize.c M src/soc/amd/picasso/i2c.c M src/soc/amd/picasso/include/soc/acpi.h M src/soc/amd/picasso/mca.c M src/soc/amd/picasso/northbridge.c M src/soc/amd/picasso/pmutil.c M src/soc/amd/picasso/romstage.c M src/soc/amd/picasso/smihandler.c M src/soc/amd/stoneyridge/acpi.c M src/soc/amd/stoneyridge/chip.h M src/soc/amd/stoneyridge/finalize.c M src/soc/amd/stoneyridge/i2c.c M src/soc/amd/stoneyridge/include/soc/acpi.h M src/soc/amd/stoneyridge/mca.c M src/soc/amd/stoneyridge/northbridge.c M src/soc/amd/stoneyridge/pmutil.c M src/soc/amd/stoneyridge/romstage.c M src/soc/amd/stoneyridge/smihandler.c M src/soc/intel/apollolake/acpi.c M src/soc/intel/apollolake/chip.c M src/soc/intel/apollolake/cpu.c M src/soc/intel/apollolake/graphics.c M src/soc/intel/apollolake/include/soc/pm.h M src/soc/intel/apollolake/pmutil.c M src/soc/intel/baytrail/acpi.c M src/soc/intel/baytrail/ehci.c M src/soc/intel/baytrail/elog.c M src/soc/intel/baytrail/include/soc/acpi.h M src/soc/intel/baytrail/include/soc/pmc.h M src/soc/intel/baytrail/northcluster.c M src/soc/intel/baytrail/pmutil.c M src/soc/intel/baytrail/ramstage.c M src/soc/intel/baytrail/refcode.c M src/soc/intel/baytrail/romstage/raminit.c M src/soc/intel/baytrail/southcluster.c M src/soc/intel/baytrail/xhci.c M src/soc/intel/braswell/acpi.c M src/soc/intel/braswell/elog.c M src/soc/intel/braswell/include/soc/acpi.h M src/soc/intel/braswell/include/soc/pm.h M src/soc/intel/braswell/northcluster.c M src/soc/intel/braswell/pmutil.c M src/soc/intel/braswell/ramstage.c M src/soc/intel/braswell/southcluster.c M src/soc/intel/broadwell/acpi.c M src/soc/intel/broadwell/igd.c M src/soc/intel/broadwell/include/soc/acpi.h M src/soc/intel/broadwell/include/soc/pm.h M src/soc/intel/broadwell/lpc.c M src/soc/intel/broadwell/me.c M src/soc/intel/broadwell/pmutil.c M src/soc/intel/broadwell/ramstage.c M src/soc/intel/broadwell/refcode.c M src/soc/intel/broadwell/systemagent.c M src/soc/intel/broadwell/xhci.c M src/soc/intel/cannonlake/acpi.c M src/soc/intel/cannonlake/graphics.c M src/soc/intel/cannonlake/include/soc/pm.h M src/soc/intel/common/acpi_wake_source.c M src/soc/intel/common/block/acpi/acpi.c M src/soc/intel/common/block/cpu/cpulib.c M src/soc/intel/common/block/include/intelblocks/acpi.h M src/soc/intel/common/block/include/intelblocks/sd.h M src/soc/intel/common/block/pmc/pmc.c M src/soc/intel/common/block/pmc/pmclib.c M src/soc/intel/common/block/scs/early_mmc.c M src/soc/intel/common/block/scs/sd.c M src/soc/intel/common/block/uart/uart.c M src/soc/intel/common/block/xhci/xhci.c M src/soc/intel/common/tpm_tis.c M src/soc/intel/common/vbt.c M src/soc/intel/denverton_ns/acpi.c M src/soc/intel/denverton_ns/chip.c M src/soc/intel/denverton_ns/include/soc/acpi.h M src/soc/intel/denverton_ns/include/soc/pm.h M src/soc/intel/denverton_ns/lpc.c M src/soc/intel/denverton_ns/pmc.c M src/soc/intel/icelake/acpi.c M src/soc/intel/icelake/graphics.c M src/soc/intel/icelake/include/soc/pm.h M src/soc/intel/jasperlake/acpi.c M src/soc/intel/jasperlake/graphics.c M src/soc/intel/jasperlake/include/soc/pm.h M src/soc/intel/quark/include/soc/acpi.h M src/soc/intel/quark/include/soc/pm.h M src/soc/intel/skylake/acpi.c M src/soc/intel/skylake/chip.c M src/soc/intel/skylake/chip.h M src/soc/intel/skylake/include/soc/acpi.h M src/soc/intel/skylake/include/soc/pm.h M src/soc/intel/skylake/pmutil.c M src/soc/intel/tigerlake/acpi.c M src/soc/intel/tigerlake/graphics.c M src/soc/intel/tigerlake/include/soc/pm.h M src/soc/intel/xeon_sp/cpx/acpi.c M src/soc/intel/xeon_sp/cpx/cpu.c M src/soc/intel/xeon_sp/skx/acpi.c M src/soc/intel/xeon_sp/skx/include/soc/acpi.h M src/soc/intel/xeon_sp/skx/include/soc/soc_util.h M src/southbridge/amd/agesa/hudson/fadt.c M src/southbridge/amd/agesa/hudson/lpc.c M src/southbridge/amd/agesa/hudson/ramtop.c M src/southbridge/amd/cimx/sb800/cfg.c M src/southbridge/amd/cimx/sb800/fadt.c M src/southbridge/amd/cimx/sb800/late.c M src/southbridge/amd/cimx/sb800/ramtop.c M src/southbridge/amd/pi/hudson/fadt.c M src/southbridge/amd/pi/hudson/hudson.c M src/southbridge/amd/pi/hudson/lpc.c M src/southbridge/intel/bd82x6x/elog.c M src/southbridge/intel/bd82x6x/lpc.c M src/southbridge/intel/bd82x6x/me.c M src/southbridge/intel/bd82x6x/me_8.x.c M src/southbridge/intel/bd82x6x/pch.h M src/southbridge/intel/common/acpi_pirq_gen.c M src/southbridge/intel/common/madt.c M src/southbridge/intel/common/pciehp.c M src/southbridge/intel/common/pmbase.c M src/southbridge/intel/common/pmclib.c M src/southbridge/intel/common/smihandler.c M src/southbridge/intel/i82371eb/acpi_tables.c M src/southbridge/intel/i82371eb/fadt.c M src/southbridge/intel/i82371eb/isa.c M src/southbridge/intel/i82371eb/wakeup.c M src/southbridge/intel/i82801dx/i82801dx.h M src/southbridge/intel/i82801dx/smi.c M src/southbridge/intel/i82801gx/lpc.c M src/southbridge/intel/i82801ix/lpc.c M src/southbridge/intel/i82801ix/smi.c M src/southbridge/intel/i82801jx/lpc.c M src/southbridge/intel/ibexpeak/lpc.c M src/southbridge/intel/ibexpeak/madt.c M src/southbridge/intel/ibexpeak/me.c M src/southbridge/intel/ibexpeak/pch.h M src/southbridge/intel/lynxpoint/acpi.c M src/southbridge/intel/lynxpoint/elog.c M src/southbridge/intel/lynxpoint/lpc.c M src/southbridge/intel/lynxpoint/me_9.x.c M src/southbridge/intel/lynxpoint/pch.h M src/superio/aspeed/ast2400/superio.c M src/superio/common/conf_mode.c M src/superio/common/generic.c M src/superio/common/ssdt.c M src/superio/nuvoton/nct5539d/superio.c M src/superio/nuvoton/nct5572d/superio.c M src/superio/nuvoton/nct6791d/superio.c M src/superio/nuvoton/npcd378/superio.c M src/superio/winbond/w83667hg-a/superio.c M src/vendorcode/eltan/security/mboot/mboot.h M src/vendorcode/google/chromeos/acpi.c M src/vendorcode/google/chromeos/elog.c M util/autoport/main.go 705 files changed, 5,903 insertions(+), 3,173 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/40930/1
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move all ACPI table support out of arch/x86 ......................................................................
Patch Set 1:
(9 comments)
https://review.coreboot.org/c/coreboot/+/40930/1/src/acpi/acpi.c File src/acpi/acpi.c:
https://review.coreboot.org/c/coreboot/+/40930/1/src/acpi/acpi.c@1596 PS1, Line 1596: case SSDT: /* ACPI 3.0 upto 6.3: 2 */ 'upto' may be misspelled - perhaps 'up to'?
https://review.coreboot.org/c/coreboot/+/40930/1/src/acpi/acpi.c@1598 PS1, Line 1598: case SRAT: /* ACPI 2.0: 1, ACPI 3.0: 2, ACPI 4.0 upto 6.3: 3 */ 'upto' may be misspelled - perhaps 'up to'?
https://review.coreboot.org/c/coreboot/+/40930/1/src/acpi/acpi.c@1602 PS1, Line 1602: case SLIT: /* ACPI 2.0 upto 6.3: 1 */ 'upto' may be misspelled - perhaps 'up to'?
https://review.coreboot.org/c/coreboot/+/40930/1/src/acpi/acpi.c@1614 PS1, Line 1614: case FACS: /* ACPI 2.0/3.0: 1, ACPI 4.0 upto 6.3: 2 */ 'upto' may be misspelled - perhaps 'up to'?
https://review.coreboot.org/c/coreboot/+/40930/1/src/acpi/acpi.c@1616 PS1, Line 1616: case RSDT: /* ACPI 1.0 upto 6.3: 1 */ 'upto' may be misspelled - perhaps 'up to'?
https://review.coreboot.org/c/coreboot/+/40930/1/src/acpi/acpi.c@1618 PS1, Line 1618: case XSDT: /* ACPI 2.0 upto 6.3: 1 */ 'upto' may be misspelled - perhaps 'up to'?
https://review.coreboot.org/c/coreboot/+/40930/1/src/acpi/acpi.c@1620 PS1, Line 1620: case RSDP: /* ACPI 2.0 upto 6.3: 2 */ 'upto' may be misspelled - perhaps 'up to'?
https://review.coreboot.org/c/coreboot/+/40930/1/src/acpi/acpi_device.c File src/acpi/acpi_device.c:
https://review.coreboot.org/c/coreboot/+/40930/1/src/acpi/acpi_device.c@141 PS1, Line 141: * so should not be called mulitple times in one statement 'mulitple' may be misspelled - perhaps 'multiple'?
https://review.coreboot.org/c/coreboot/+/40930/1/src/acpi/acpi_device.c@530 PS1, Line 530: static const char *power_res_dev_states[] = { "_PR0", "_PR3" }; static const char * array should probably be static const char * const
Hello build bot (Jenkins), Patrick Georgi, Frans Hendriks, Tristan Corrick, Angel Pons, Andrey Petrov, Patrick Rudolph, Piotr Król, David Guckian, Michał Żygowski, Damien Zammit, Martin Roth, Lee Leahy, Christian Walter, Vanessa Eusebio, Huang Jin, Alexander Couzens, Werner Zeh, Evgeny Zinoviev, Wim Vervoorn, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40930
to look at the new patch set (#2).
Change subject: acpi: Move all ACPI table support out of arch/x86 ......................................................................
acpi: Move all ACPI table support out of arch/x86
This change moves all acpi table support in coreboot currently living under arch/x86 into acpi/ to make this architecture independent. ACPI table generation is not really tied to any architecture and hence it makes sense to move this to its own directory. All .c files are moved to src/acpi and all .h files are moved to src/include/acpi. In addition to this, any files that include ACPI header files are updated to use the new path.
The only acpi files that are still retained under arch/x86 are: a. acpi_s3.c: This doesn't really deal with ACPI tables. Also, there are some assumptions in there about SMM which will have to be resolved if this file needs to be moved to common code.
b. acpi_bert_storage.c/bert_storage.h: This file is currently written specifically with x86 in mind. So, not moving the file for now.
Motivation for this change: Not all stages on Picasso SoC are targeted for the same architecture. For example, verstage (if runs before bootblock) will be targeted for non-x86. This makes it difficult to add device tree to verstage which would be required to get to SoC configs from the tree. This is because the device tree on x86 platforms currently contains a lot of devices that require ACPI related enums and structs (like acpi_gpio, acpi_pld, acpi_dp and so on). Hence, this change removes all ACPI table support out of arch/x86.
BUG=b:155428745
Change-Id: Icc6b793c52c86483a8c52e0555619e36869a869e Signed-off-by: Furquan Shaikh furquan@google.com --- M Documentation/Intel/SoC/soc.html M Documentation/acpi/devicetree.md M src/acpi/Makefile.inc R src/acpi/acpi.c R src/acpi/acpi_device.c R src/acpi/acpi_pld.c A src/acpi/acpi_s3.c R src/acpi/acpigen.c R src/acpi/acpigen_dsm.c R src/acpi/acpigen_ps2_keybd.c M src/acpi/sata.c M src/arch/x86/Makefile.inc M src/arch/x86/acpi/debug.asl M src/arch/x86/acpi_bert_storage.c M src/arch/x86/acpi_s3.c M src/arch/x86/ebda.c M src/arch/x86/include/arch/bert_storage.h M src/arch/x86/tables.c M src/cpu/amd/agesa/family14/model_14_init.c M src/cpu/amd/agesa/family15tn/model_15_init.c M src/cpu/amd/agesa/family16kb/model_16_init.c M src/cpu/intel/common/common_init.c M src/cpu/intel/haswell/acpi.c M src/cpu/intel/haswell/haswell_init.c M src/cpu/intel/model_2065x/acpi.c M src/cpu/intel/model_2065x/model_2065x_init.c M src/cpu/intel/model_206ax/acpi.c M src/cpu/intel/model_206ax/model_206ax_init.c M src/cpu/intel/speedstep/acpi.c M src/cpu/x86/backup_default_smm.c M src/cpu/x86/lapic/lapic_cpu_init.c M src/device/pci_device.c M src/device/pci_rom.c M src/drivers/amd/agesa/heapmanager.c M src/drivers/amd/agesa/romstage.c M src/drivers/amd/agesa/state_machine.c M src/drivers/crb/tis.c M src/drivers/elog/elog.c M src/drivers/generic/adau7002/adau7002.c M src/drivers/generic/bayhub/chip.h M src/drivers/generic/generic/chip.h M src/drivers/generic/generic/generic.c M src/drivers/generic/gpio_keys/chip.h M src/drivers/generic/gpio_keys/gpio_keys.c M src/drivers/generic/gpio_regulator/chip.h M src/drivers/generic/gpio_regulator/gpio_regulator.c M src/drivers/generic/max98357a/chip.h M src/drivers/generic/max98357a/max98357a.c M src/drivers/gfx/generic/chip.h M src/drivers/gfx/generic/generic.c M src/drivers/i2c/da7219/chip.h M src/drivers/i2c/da7219/da7219.c M src/drivers/i2c/designware/dw_i2c.c M src/drivers/i2c/generic/chip.h M src/drivers/i2c/generic/generic.c M src/drivers/i2c/hid/hid.c M src/drivers/i2c/max98373/max98373.c M src/drivers/i2c/max98927/max98927.c M src/drivers/i2c/nau8825/chip.h M src/drivers/i2c/nau8825/nau8825.c M src/drivers/i2c/rt1011/rt1011.c M src/drivers/i2c/rt5663/chip.h M src/drivers/i2c/rt5663/rt5663.c M src/drivers/i2c/sx9310/chip.h M src/drivers/i2c/sx9310/sx9310.c M src/drivers/i2c/tpm/chip.c M src/drivers/i2c/tpm/chip.h M src/drivers/intel/fsp1_1/raminit.c M src/drivers/intel/fsp1_1/ramstage.c M src/drivers/intel/fsp1_1/romstage.c M src/drivers/intel/gma/acpi.c M src/drivers/intel/gma/intel_ddi.c M src/drivers/intel/gma/opregion.c M src/drivers/intel/ish/ish.c M src/drivers/intel/mipi_camera/camera.c M src/drivers/ipmi/ipmi_kcs_ops.c M src/drivers/lenovo/wacom.c M src/drivers/net/chip.h M src/drivers/net/r8168.c M src/drivers/pc80/pc/keyboard.c M src/drivers/pc80/rtc/mc146818rtc.c M src/drivers/pc80/tpm/tis.c M src/drivers/spi/acpi/acpi.c M src/drivers/spi/acpi/chip.h M src/drivers/tpm/tpm.c M src/drivers/usb/acpi/chip.h M src/drivers/usb/acpi/usb_acpi.c M src/drivers/wifi/generic.c M src/ec/google/chromeec/ec_acpi.c M src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c M src/ec/google/chromeec/smihandler.c M src/ec/google/wilco/chip.c M src/ec/google/wilco/smihandler.c M src/ec/lenovo/h8/h8.c M src/ec/lenovo/h8/ssdt.c R src/include/acpi/acpi.h R src/include/acpi/acpi_device.h R src/include/acpi/acpi_ivrs.h R src/include/acpi/acpi_pld.h R src/include/acpi/acpigen.h R src/include/acpi/acpigen_dsm.h R src/include/acpi/acpigen_ps2_keybd.h M src/include/device/azalia_device.h M src/include/device/pci_rom.h M src/lib/coreboot_table.c M src/lib/hardwaremain.c M src/lib/nhlt.c M src/mainboard/51nb/x210/dsdt.asl M src/mainboard/amd/gardenia/acpi/routing.asl M src/mainboard/amd/gardenia/acpi/usb_oc.asl M src/mainboard/amd/gardenia/dsdt.asl M src/mainboard/amd/inagua/acpi/routing.asl M src/mainboard/amd/inagua/acpi/usb_oc.asl M src/mainboard/amd/inagua/acpi_tables.c M src/mainboard/amd/inagua/dsdt.asl M src/mainboard/amd/olivehill/acpi/routing.asl M src/mainboard/amd/olivehill/acpi/usb_oc.asl M src/mainboard/amd/olivehill/acpi_tables.c M src/mainboard/amd/olivehill/dsdt.asl M src/mainboard/amd/padmelon/dsdt.asl M src/mainboard/amd/padmelon/mainboard.c M src/mainboard/amd/parmer/acpi_tables.c M src/mainboard/amd/parmer/dsdt.asl M src/mainboard/amd/persimmon/acpi/routing.asl M src/mainboard/amd/persimmon/acpi/usb_oc.asl M src/mainboard/amd/persimmon/acpi_tables.c M src/mainboard/amd/persimmon/dsdt.asl M src/mainboard/amd/south_station/acpi/routing.asl M src/mainboard/amd/south_station/acpi/usb_oc.asl M src/mainboard/amd/south_station/acpi_tables.c M src/mainboard/amd/south_station/dsdt.asl M src/mainboard/amd/thatcher/acpi/cpstate.asl M src/mainboard/amd/thatcher/acpi_tables.c M src/mainboard/amd/thatcher/dsdt.asl M src/mainboard/amd/union_station/acpi/routing.asl M src/mainboard/amd/union_station/acpi/usb_oc.asl M src/mainboard/amd/union_station/acpi_tables.c M src/mainboard/amd/union_station/dsdt.asl M src/mainboard/aopen/dxplplusu/acpi_tables.c M src/mainboard/aopen/dxplplusu/dsdt.asl M src/mainboard/aopen/dxplplusu/fadt.c M src/mainboard/apple/macbook21/dsdt.asl M src/mainboard/apple/macbook21/mainboard.c M src/mainboard/apple/macbookair4_2/dsdt.asl M src/mainboard/asrock/b75pro3-m/dsdt.asl M src/mainboard/asrock/b85m_pro4/dsdt.asl M src/mainboard/asrock/e350m1/acpi/routing.asl M src/mainboard/asrock/e350m1/acpi/usb_oc.asl M src/mainboard/asrock/e350m1/acpi_tables.c M src/mainboard/asrock/e350m1/dsdt.asl M src/mainboard/asrock/g41c-gs/cstates.c M src/mainboard/asrock/g41c-gs/dsdt.asl M src/mainboard/asrock/h110m/dsdt.asl M src/mainboard/asrock/h81m-hds/dsdt.asl M src/mainboard/asrock/imb-a180/acpi/routing.asl M src/mainboard/asrock/imb-a180/acpi/usb_oc.asl M src/mainboard/asrock/imb-a180/acpi_tables.c M src/mainboard/asrock/imb-a180/dsdt.asl M src/mainboard/asus/am1i-a/acpi_tables.c M src/mainboard/asus/am1i-a/dsdt.asl M src/mainboard/asus/f2a85-m/acpi/cpstate.asl M src/mainboard/asus/f2a85-m/acpi_tables.c M src/mainboard/asus/f2a85-m/dsdt.asl M src/mainboard/asus/h61m-cs/dsdt.asl M src/mainboard/asus/maximus_iv_gene-z/dsdt.asl M src/mainboard/asus/p2b/acpi_tables.c M src/mainboard/asus/p2b/dsdt.asl M src/mainboard/asus/p5gc-mx/cstates.c M src/mainboard/asus/p5gc-mx/dsdt.asl M src/mainboard/asus/p5qc/cstates.c M src/mainboard/asus/p5qc/dsdt.asl M src/mainboard/asus/p5ql-em/acpi_tables.c M src/mainboard/asus/p5ql-em/dsdt.asl M src/mainboard/asus/p5qpl-am/cstates.c M src/mainboard/asus/p5qpl-am/dsdt.asl M src/mainboard/asus/p8h61-m_lx/dsdt.asl M src/mainboard/asus/p8h61-m_lx3_r2_0/dsdt.asl M src/mainboard/asus/p8h61-m_pro/dsdt.asl M src/mainboard/asus/p8z77-m_pro/dsdt.asl M src/mainboard/asus/p8z77-v_lx2/dsdt.asl M src/mainboard/bap/ode_e20XX/acpi/routing.asl M src/mainboard/bap/ode_e20XX/acpi/usb_oc.asl M src/mainboard/bap/ode_e20XX/acpi_tables.c M src/mainboard/bap/ode_e20XX/dsdt.asl M src/mainboard/bap/ode_e21XX/acpi/routing.asl M src/mainboard/bap/ode_e21XX/acpi/usb_oc.asl M src/mainboard/bap/ode_e21XX/acpi_tables.c M src/mainboard/bap/ode_e21XX/dsdt.asl M src/mainboard/biostar/a68n_5200/acpi/routing.asl M src/mainboard/biostar/a68n_5200/acpi/usb_oc.asl M src/mainboard/biostar/a68n_5200/acpi_tables.c M src/mainboard/biostar/a68n_5200/dsdt.asl M src/mainboard/biostar/am1ml/acpi/routing.asl M src/mainboard/biostar/am1ml/acpi/usb_oc.asl M src/mainboard/biostar/am1ml/acpi_tables.c M src/mainboard/biostar/am1ml/dsdt.asl M src/mainboard/compulab/intense_pc/dsdt.asl M src/mainboard/elmex/pcm205400/acpi/routing.asl M src/mainboard/elmex/pcm205400/acpi/usb_oc.asl M src/mainboard/elmex/pcm205400/acpi_tables.c M src/mainboard/elmex/pcm205400/dsdt.asl M src/mainboard/emulation/qemu-i440fx/acpi_tables.c M src/mainboard/emulation/qemu-i440fx/dsdt.asl M src/mainboard/emulation/qemu-i440fx/fw_cfg.c M src/mainboard/emulation/qemu-q35/acpi_tables.c M src/mainboard/emulation/qemu-q35/dsdt.asl M src/mainboard/facebook/fbg1701/acpi_tables.c M src/mainboard/facebook/fbg1701/dsdt.asl M src/mainboard/facebook/monolith/dsdt.asl M src/mainboard/foxconn/d41s/cstates.c M src/mainboard/foxconn/d41s/dsdt.asl M src/mainboard/foxconn/g41s-k/cstates.c M src/mainboard/foxconn/g41s-k/dsdt.asl M src/mainboard/getac/p470/acpi_tables.c M src/mainboard/getac/p470/cstates.c M src/mainboard/getac/p470/dsdt.asl M src/mainboard/gigabyte/ga-945gcm-s2l/cstates.c M src/mainboard/gigabyte/ga-945gcm-s2l/dsdt.asl M src/mainboard/gigabyte/ga-b75m-d3h/dsdt.asl M src/mainboard/gigabyte/ga-g41m-es2l/cstates.c M src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl M src/mainboard/gigabyte/ga-h61m-series/dsdt.asl M src/mainboard/gizmosphere/gizmo/acpi/routing.asl M src/mainboard/gizmosphere/gizmo/acpi/usb_oc.asl M src/mainboard/gizmosphere/gizmo/acpi_tables.c M src/mainboard/gizmosphere/gizmo/dsdt.asl M src/mainboard/gizmosphere/gizmo2/acpi/routing.asl M src/mainboard/gizmosphere/gizmo2/acpi/usb_oc.asl M src/mainboard/gizmosphere/gizmo2/acpi_tables.c M src/mainboard/gizmosphere/gizmo2/dsdt.asl M src/mainboard/google/auron/acpi_tables.c M src/mainboard/google/auron/dsdt.asl M src/mainboard/google/auron/ec.c M src/mainboard/google/auron/smihandler.c M src/mainboard/google/beltino/acpi_tables.c M src/mainboard/google/beltino/dsdt.asl M src/mainboard/google/beltino/mainboard.c M src/mainboard/google/beltino/smihandler.c M src/mainboard/google/butterfly/dsdt.asl M src/mainboard/google/butterfly/early_init.c M src/mainboard/google/butterfly/mainboard.c M src/mainboard/google/cyan/acpi_tables.c M src/mainboard/google/cyan/dsdt.asl M src/mainboard/google/cyan/ec.c M src/mainboard/google/cyan/smihandler.c M src/mainboard/google/dedede/dsdt.asl M src/mainboard/google/dedede/ec.c M src/mainboard/google/dedede/mainboard.c M src/mainboard/google/deltaur/chromeos.c M src/mainboard/google/deltaur/dsdt.asl M src/mainboard/google/deltaur/mainboard.c M src/mainboard/google/deltaur/variants/baseboard/gpio.c M src/mainboard/google/dragonegg/chromeos.c M src/mainboard/google/dragonegg/dsdt.asl M src/mainboard/google/dragonegg/ec.c M src/mainboard/google/dragonegg/mainboard.c M src/mainboard/google/drallion/chromeos.c M src/mainboard/google/drallion/dsdt.asl M src/mainboard/google/drallion/ramstage.c M src/mainboard/google/eve/dsdt.asl M src/mainboard/google/eve/ec.c M src/mainboard/google/eve/mainboard.c M src/mainboard/google/fizz/dsdt.asl M src/mainboard/google/fizz/ec.c M src/mainboard/google/fizz/mainboard.c M src/mainboard/google/fizz/variants/karma/smihandler.c M src/mainboard/google/glados/dsdt.asl M src/mainboard/google/glados/ec.c M src/mainboard/google/glados/mainboard.c M src/mainboard/google/glados/smihandler.c M src/mainboard/google/hatch/chromeos.c M src/mainboard/google/hatch/dsdt.asl M src/mainboard/google/hatch/ec.c M src/mainboard/google/hatch/ramstage.c M src/mainboard/google/hatch/variants/akemi/gpio.c M src/mainboard/google/hatch/variants/baseboard/gpio.c M src/mainboard/google/hatch/variants/dratini/gpio.c M src/mainboard/google/hatch/variants/hatch/gpio.c M src/mainboard/google/hatch/variants/helios/gpio.c M src/mainboard/google/hatch/variants/jinlon/gpio.c M src/mainboard/google/hatch/variants/kindred/gpio.c M src/mainboard/google/hatch/variants/kohaku/gpio.c M src/mainboard/google/hatch/variants/mushu/gpio.c M src/mainboard/google/hatch/variants/nightfury/gpio.c M src/mainboard/google/hatch/variants/palkia/gpio.c M src/mainboard/google/hatch/variants/stryke/gpio.c M src/mainboard/google/jecht/acpi_tables.c M src/mainboard/google/jecht/dsdt.asl M src/mainboard/google/jecht/mainboard.c M src/mainboard/google/jecht/smihandler.c M src/mainboard/google/kahlee/dsdt.asl M src/mainboard/google/kahlee/ec.c M src/mainboard/google/kahlee/mainboard.c M src/mainboard/google/kahlee/smihandler.c M src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/routing.asl M src/mainboard/google/link/dsdt.asl M src/mainboard/google/link/early_init.c M src/mainboard/google/link/ec.c M src/mainboard/google/link/mainboard.c M src/mainboard/google/link/mainboard_smi.c M src/mainboard/google/octopus/dsdt.asl M src/mainboard/google/octopus/ec.c M src/mainboard/google/octopus/mainboard.c M src/mainboard/google/octopus/smihandler.c M src/mainboard/google/octopus/variants/baseboard/gpio.c M src/mainboard/google/octopus/variants/bobba/variant.c M src/mainboard/google/octopus/variants/dood/variant.c M src/mainboard/google/octopus/variants/garg/variant.c M src/mainboard/google/parrot/acpi_tables.c M src/mainboard/google/parrot/dsdt.asl M src/mainboard/google/parrot/early_init.c M src/mainboard/google/parrot/ec.c M src/mainboard/google/parrot/mainboard.c M src/mainboard/google/poppy/chromeos.c M src/mainboard/google/poppy/dsdt.asl M src/mainboard/google/poppy/ec.c M src/mainboard/google/poppy/mainboard.c M src/mainboard/google/poppy/variants/nami/smihandler.c M src/mainboard/google/poppy/variants/nautilus/smihandler.c M src/mainboard/google/poppy/variants/nocturne/ec.c M src/mainboard/google/rambi/acpi_tables.c M src/mainboard/google/rambi/dsdt.asl M src/mainboard/google/rambi/ec.c M src/mainboard/google/rambi/mainboard.c M src/mainboard/google/rambi/mainboard_smi.c M src/mainboard/google/reef/dsdt.asl M src/mainboard/google/reef/ec.c M src/mainboard/google/reef/mainboard.c M src/mainboard/google/reef/smihandler.c M src/mainboard/google/reef/variants/coral/gpio.c M src/mainboard/google/sarien/chromeos.c M src/mainboard/google/sarien/dsdt.asl M src/mainboard/google/sarien/ramstage.c M src/mainboard/google/slippy/acpi_tables.c M src/mainboard/google/slippy/dsdt.asl M src/mainboard/google/slippy/ec.c M src/mainboard/google/slippy/mainboard.c M src/mainboard/google/slippy/smihandler.c M src/mainboard/google/stout/acpi_tables.c M src/mainboard/google/stout/dsdt.asl M src/mainboard/google/stout/early_init.c M src/mainboard/google/stout/ec.c M src/mainboard/google/stout/mainboard.c M src/mainboard/google/volteer/dsdt.asl M src/mainboard/google/volteer/ec.c M src/mainboard/google/volteer/mainboard.c M src/mainboard/hp/abm/acpi/routing.asl M src/mainboard/hp/abm/acpi/usb_oc.asl M src/mainboard/hp/abm/acpi_tables.c M src/mainboard/hp/abm/dsdt.asl M src/mainboard/hp/compaq_8200_elite_sff/dsdt.asl M src/mainboard/hp/pavilion_m6_1035dx/acpi_tables.c M src/mainboard/hp/pavilion_m6_1035dx/dsdt.asl M src/mainboard/hp/pavilion_m6_1035dx/mainboard.c M src/mainboard/hp/snb_ivb_laptops/dsdt.asl M src/mainboard/hp/z220_sff_workstation/dsdt.asl M src/mainboard/ibase/mb899/cstates.c M src/mainboard/ibase/mb899/dsdt.asl M src/mainboard/intel/apollolake_rvp/dsdt.asl M src/mainboard/intel/baskingridge/acpi_tables.c M src/mainboard/intel/baskingridge/dsdt.asl M src/mainboard/intel/baskingridge/mainboard.c M src/mainboard/intel/baskingridge/mainboard_smi.c M src/mainboard/intel/cannonlake_rvp/chromeos.c M src/mainboard/intel/cannonlake_rvp/dsdt.asl M src/mainboard/intel/cannonlake_rvp/mainboard.c M src/mainboard/intel/cannonlake_rvp/smihandler.c M src/mainboard/intel/cedarisland_crb/dsdt.asl M src/mainboard/intel/coffeelake_rvp/chromeos.c M src/mainboard/intel/coffeelake_rvp/dsdt.asl M src/mainboard/intel/coffeelake_rvp/mainboard.c M src/mainboard/intel/d510mo/cstates.c M src/mainboard/intel/d510mo/dsdt.asl M src/mainboard/intel/d945gclf/cstates.c M src/mainboard/intel/d945gclf/dsdt.asl M src/mainboard/intel/dcp847ske/dsdt.asl M src/mainboard/intel/dg41wv/cstates.c M src/mainboard/intel/dg41wv/dsdt.asl M src/mainboard/intel/dg43gt/cstates.c M src/mainboard/intel/dg43gt/dsdt.asl M src/mainboard/intel/emeraldlake2/acpi_tables.c M src/mainboard/intel/emeraldlake2/dsdt.asl M src/mainboard/intel/emeraldlake2/ec.c M src/mainboard/intel/emeraldlake2/mainboard.c M src/mainboard/intel/emeraldlake2/smihandler.c M src/mainboard/intel/galileo/dsdt.asl M src/mainboard/intel/glkrvp/dsdt.asl M src/mainboard/intel/glkrvp/ec.c M src/mainboard/intel/glkrvp/mainboard.c M src/mainboard/intel/glkrvp/smihandler.c M src/mainboard/intel/harcuvar/acpi_tables.c M src/mainboard/intel/harcuvar/dsdt.asl M src/mainboard/intel/harcuvar/fadt.c M src/mainboard/intel/icelake_rvp/chromeos.c M src/mainboard/intel/icelake_rvp/dsdt.asl M src/mainboard/intel/icelake_rvp/mainboard.c M src/mainboard/intel/jasperlake_rvp/dsdt.asl M src/mainboard/intel/kblrvp/dsdt.asl M src/mainboard/intel/kblrvp/ec.c M src/mainboard/intel/kblrvp/mainboard.c M src/mainboard/intel/kunimitsu/dsdt.asl M src/mainboard/intel/kunimitsu/ec.c M src/mainboard/intel/kunimitsu/mainboard.c M src/mainboard/intel/kunimitsu/smihandler.c M src/mainboard/intel/leafhill/dsdt.asl M src/mainboard/intel/minnow3/dsdt.asl M src/mainboard/intel/saddlebrook/dsdt.asl M src/mainboard/intel/strago/acpi_tables.c M src/mainboard/intel/strago/dsdt.asl M src/mainboard/intel/strago/ec.c M src/mainboard/intel/strago/smihandler.c M src/mainboard/intel/tglrvp/dsdt.asl M src/mainboard/intel/wtm2/acpi_tables.c M src/mainboard/intel/wtm2/dsdt.asl M src/mainboard/intel/wtm2/mainboard.c M src/mainboard/jetway/nf81-t56n-lf/acpi/routing.asl M src/mainboard/jetway/nf81-t56n-lf/acpi/usb_oc.asl M src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c M src/mainboard/jetway/nf81-t56n-lf/dsdt.asl M src/mainboard/kontron/986lcd-m/cstates.c M src/mainboard/kontron/986lcd-m/dsdt.asl M src/mainboard/kontron/ktqm77/dsdt.asl M src/mainboard/lenovo/g505s/acpi_tables.c M src/mainboard/lenovo/g505s/dsdt.asl M src/mainboard/lenovo/g505s/mainboard.c M src/mainboard/lenovo/l520/dsdt.asl M src/mainboard/lenovo/s230u/dsdt.asl M src/mainboard/lenovo/s230u/mainboard.c M src/mainboard/lenovo/t400/acpi_tables.c M src/mainboard/lenovo/t400/cstates.c M src/mainboard/lenovo/t400/dsdt.asl M src/mainboard/lenovo/t400/fadt.c M src/mainboard/lenovo/t410/dsdt.asl M src/mainboard/lenovo/t410/mainboard.c M src/mainboard/lenovo/t420/dsdt.asl M src/mainboard/lenovo/t420s/dsdt.asl M src/mainboard/lenovo/t430/dsdt.asl M src/mainboard/lenovo/t430s/dsdt.asl M src/mainboard/lenovo/t440p/dsdt.asl M src/mainboard/lenovo/t520/dsdt.asl M src/mainboard/lenovo/t530/dsdt.asl M src/mainboard/lenovo/t60/dsdt.asl M src/mainboard/lenovo/t60/mainboard.c M src/mainboard/lenovo/thinkcentre_a58/cstates.c M src/mainboard/lenovo/thinkcentre_a58/dsdt.asl M src/mainboard/lenovo/x131e/dsdt.asl M src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl M src/mainboard/lenovo/x200/acpi_tables.c M src/mainboard/lenovo/x200/cstates.c M src/mainboard/lenovo/x200/dsdt.asl M src/mainboard/lenovo/x200/fadt.c M src/mainboard/lenovo/x201/dsdt.asl M src/mainboard/lenovo/x220/dsdt.asl M src/mainboard/lenovo/x220/early_init.c M src/mainboard/lenovo/x230/dsdt.asl M src/mainboard/lenovo/x60/dsdt.asl M src/mainboard/lenovo/x60/mainboard.c M src/mainboard/libretrend/lt1000/dsdt.asl M src/mainboard/lippert/frontrunner-af/acpi/routing.asl M src/mainboard/lippert/frontrunner-af/acpi/usb.asl M src/mainboard/lippert/frontrunner-af/acpi_tables.c M src/mainboard/lippert/frontrunner-af/dsdt.asl M src/mainboard/lippert/toucan-af/acpi/routing.asl M src/mainboard/lippert/toucan-af/acpi/usb.asl M src/mainboard/lippert/toucan-af/acpi_tables.c M src/mainboard/lippert/toucan-af/dsdt.asl M src/mainboard/msi/ms7707/dsdt.asl M src/mainboard/msi/ms7721/acpi/cpstate.asl M src/mainboard/msi/ms7721/acpi_tables.c M src/mainboard/msi/ms7721/dsdt.asl M src/mainboard/ocp/tiogapass/dsdt.asl M src/mainboard/ocp/tiogapass/fadt.c M src/mainboard/packardbell/ms2290/dsdt.asl M src/mainboard/pcengines/apu1/acpi/routing.asl M src/mainboard/pcengines/apu1/acpi/usb_oc.asl M src/mainboard/pcengines/apu1/acpi_tables.c M src/mainboard/pcengines/apu1/dsdt.asl M src/mainboard/pcengines/apu2/acpi/routing.asl M src/mainboard/pcengines/apu2/acpi/usb_oc.asl M src/mainboard/pcengines/apu2/acpi_tables.c M src/mainboard/pcengines/apu2/dsdt.asl M src/mainboard/portwell/m107/acpi_tables.c M src/mainboard/portwell/m107/dsdt.asl M src/mainboard/protectli/vault_bsw/dsdt.asl M src/mainboard/protectli/vault_kbl/dsdt.asl M src/mainboard/purism/librem_bdw/acpi_tables.c M src/mainboard/purism/librem_bdw/dsdt.asl M src/mainboard/purism/librem_skl/dsdt.asl M src/mainboard/razer/blade_stealth_kbl/dsdt.asl M src/mainboard/roda/rk886ex/cstates.c M src/mainboard/roda/rk886ex/dsdt.asl M src/mainboard/roda/rk9/acpi_tables.c M src/mainboard/roda/rk9/cstates.c M src/mainboard/roda/rk9/dsdt.asl M src/mainboard/roda/rk9/fadt.c M src/mainboard/roda/rv11/dsdt.asl M src/mainboard/samsung/lumpy/acpi_tables.c M src/mainboard/samsung/lumpy/dsdt.asl M src/mainboard/samsung/lumpy/ec.c M src/mainboard/samsung/lumpy/mainboard.c M src/mainboard/samsung/stumpy/acpi_tables.c M src/mainboard/samsung/stumpy/dsdt.asl M src/mainboard/samsung/stumpy/mainboard.c M src/mainboard/samsung/stumpy/smihandler.c M src/mainboard/sapphire/pureplatinumh61/dsdt.asl M src/mainboard/scaleway/tagada/acpi_tables.c M src/mainboard/scaleway/tagada/dsdt.asl M src/mainboard/scaleway/tagada/fadt.c M src/mainboard/siemens/mc_apl1/dsdt.asl M src/mainboard/supermicro/x10slm-f/dsdt.asl M src/mainboard/supermicro/x11-lga1151-series/dsdt.asl M src/mainboard/supermicro/x9scl/dsdt.asl M src/mainboard/system76/lemp9/dsdt.asl M src/mainboard/up/squared/dsdt.asl M src/northbridge/amd/agesa/family14/northbridge.c M src/northbridge/amd/agesa/family15tn/northbridge.c M src/northbridge/amd/agesa/family16kb/northbridge.c M src/northbridge/amd/pi/00630F01/northbridge.c M src/northbridge/amd/pi/00660F01/northbridge.c M src/northbridge/amd/pi/00730F01/northbridge.c M src/northbridge/intel/e7505/northbridge.c M src/northbridge/intel/gm45/acpi.c M src/northbridge/intel/gm45/northbridge.c M src/northbridge/intel/gm45/romstage.c M src/northbridge/intel/haswell/acpi.c M src/northbridge/intel/haswell/northbridge.c M src/northbridge/intel/i945/acpi.c M src/northbridge/intel/i945/northbridge.c M src/northbridge/intel/ironlake/northbridge.c M src/northbridge/intel/pineview/acpi.c M src/northbridge/intel/pineview/northbridge.c M src/northbridge/intel/sandybridge/acpi.c M src/northbridge/intel/sandybridge/northbridge.c M src/northbridge/intel/x4x/acpi.c M src/northbridge/intel/x4x/northbridge.c M src/security/memory/memory_clear.c M src/soc/amd/common/block/acpi/acpi.c M src/soc/amd/common/block/graphics/graphics.c M src/soc/amd/common/block/hda/hda.c M src/soc/amd/common/block/include/amdblocks/acpi.h M src/soc/amd/common/block/pi/agesawrapper.c M src/soc/amd/common/block/pi/amd_late_init.c M src/soc/amd/common/block/pi/refcode_loader.c M src/soc/amd/common/block/sata/sata.c M src/soc/amd/picasso/acpi.c M src/soc/amd/picasso/chip.h M src/soc/amd/picasso/finalize.c M src/soc/amd/picasso/i2c.c M src/soc/amd/picasso/include/soc/acpi.h M src/soc/amd/picasso/mca.c M src/soc/amd/picasso/northbridge.c M src/soc/amd/picasso/pmutil.c M src/soc/amd/picasso/romstage.c M src/soc/amd/picasso/smihandler.c M src/soc/amd/stoneyridge/acpi.c M src/soc/amd/stoneyridge/chip.h M src/soc/amd/stoneyridge/finalize.c M src/soc/amd/stoneyridge/i2c.c M src/soc/amd/stoneyridge/include/soc/acpi.h M src/soc/amd/stoneyridge/mca.c M src/soc/amd/stoneyridge/northbridge.c M src/soc/amd/stoneyridge/pmutil.c M src/soc/amd/stoneyridge/romstage.c M src/soc/amd/stoneyridge/smihandler.c M src/soc/intel/apollolake/acpi.c M src/soc/intel/apollolake/chip.c M src/soc/intel/apollolake/cpu.c M src/soc/intel/apollolake/graphics.c M src/soc/intel/apollolake/include/soc/pm.h M src/soc/intel/apollolake/pmutil.c M src/soc/intel/baytrail/acpi.c M src/soc/intel/baytrail/ehci.c M src/soc/intel/baytrail/elog.c M src/soc/intel/baytrail/include/soc/acpi.h M src/soc/intel/baytrail/include/soc/pmc.h M src/soc/intel/baytrail/northcluster.c M src/soc/intel/baytrail/pmutil.c M src/soc/intel/baytrail/ramstage.c M src/soc/intel/baytrail/refcode.c M src/soc/intel/baytrail/romstage/raminit.c M src/soc/intel/baytrail/southcluster.c M src/soc/intel/baytrail/xhci.c M src/soc/intel/braswell/acpi.c M src/soc/intel/braswell/elog.c M src/soc/intel/braswell/include/soc/acpi.h M src/soc/intel/braswell/include/soc/pm.h M src/soc/intel/braswell/northcluster.c M src/soc/intel/braswell/pmutil.c M src/soc/intel/braswell/ramstage.c M src/soc/intel/braswell/southcluster.c M src/soc/intel/broadwell/acpi.c M src/soc/intel/broadwell/igd.c M src/soc/intel/broadwell/include/soc/acpi.h M src/soc/intel/broadwell/include/soc/pm.h M src/soc/intel/broadwell/lpc.c M src/soc/intel/broadwell/me.c M src/soc/intel/broadwell/pmutil.c M src/soc/intel/broadwell/ramstage.c M src/soc/intel/broadwell/refcode.c M src/soc/intel/broadwell/systemagent.c M src/soc/intel/broadwell/xhci.c M src/soc/intel/cannonlake/acpi.c M src/soc/intel/cannonlake/graphics.c M src/soc/intel/cannonlake/include/soc/pm.h M src/soc/intel/common/acpi_wake_source.c M src/soc/intel/common/block/acpi/acpi.c M src/soc/intel/common/block/cpu/cpulib.c M src/soc/intel/common/block/include/intelblocks/acpi.h M src/soc/intel/common/block/include/intelblocks/sd.h M src/soc/intel/common/block/pmc/pmc.c M src/soc/intel/common/block/pmc/pmclib.c M src/soc/intel/common/block/scs/early_mmc.c M src/soc/intel/common/block/scs/sd.c M src/soc/intel/common/block/uart/uart.c M src/soc/intel/common/block/xhci/xhci.c M src/soc/intel/common/tpm_tis.c M src/soc/intel/common/vbt.c M src/soc/intel/denverton_ns/acpi.c M src/soc/intel/denverton_ns/chip.c M src/soc/intel/denverton_ns/include/soc/acpi.h M src/soc/intel/denverton_ns/include/soc/pm.h M src/soc/intel/denverton_ns/lpc.c M src/soc/intel/denverton_ns/pmc.c M src/soc/intel/icelake/acpi.c M src/soc/intel/icelake/graphics.c M src/soc/intel/icelake/include/soc/pm.h M src/soc/intel/jasperlake/acpi.c M src/soc/intel/jasperlake/graphics.c M src/soc/intel/jasperlake/include/soc/pm.h M src/soc/intel/quark/include/soc/acpi.h M src/soc/intel/quark/include/soc/pm.h M src/soc/intel/skylake/acpi.c M src/soc/intel/skylake/chip.c M src/soc/intel/skylake/chip.h M src/soc/intel/skylake/include/soc/acpi.h M src/soc/intel/skylake/include/soc/pm.h M src/soc/intel/skylake/pmutil.c M src/soc/intel/tigerlake/acpi.c M src/soc/intel/tigerlake/graphics.c M src/soc/intel/tigerlake/include/soc/pm.h M src/soc/intel/xeon_sp/cpx/acpi.c M src/soc/intel/xeon_sp/cpx/cpu.c M src/soc/intel/xeon_sp/skx/acpi.c M src/soc/intel/xeon_sp/skx/include/soc/acpi.h M src/soc/intel/xeon_sp/skx/include/soc/soc_util.h M src/southbridge/amd/agesa/hudson/fadt.c M src/southbridge/amd/agesa/hudson/lpc.c M src/southbridge/amd/agesa/hudson/ramtop.c M src/southbridge/amd/cimx/sb800/cfg.c M src/southbridge/amd/cimx/sb800/fadt.c M src/southbridge/amd/cimx/sb800/late.c M src/southbridge/amd/cimx/sb800/ramtop.c M src/southbridge/amd/pi/hudson/fadt.c M src/southbridge/amd/pi/hudson/hudson.c M src/southbridge/amd/pi/hudson/lpc.c M src/southbridge/intel/bd82x6x/elog.c M src/southbridge/intel/bd82x6x/lpc.c M src/southbridge/intel/bd82x6x/me.c M src/southbridge/intel/bd82x6x/me_8.x.c M src/southbridge/intel/bd82x6x/pch.h M src/southbridge/intel/common/acpi_pirq_gen.c M src/southbridge/intel/common/madt.c M src/southbridge/intel/common/pciehp.c M src/southbridge/intel/common/pmbase.c M src/southbridge/intel/common/pmclib.c M src/southbridge/intel/common/smihandler.c M src/southbridge/intel/i82371eb/acpi_tables.c M src/southbridge/intel/i82371eb/fadt.c M src/southbridge/intel/i82371eb/isa.c M src/southbridge/intel/i82371eb/wakeup.c M src/southbridge/intel/i82801dx/i82801dx.h M src/southbridge/intel/i82801dx/smi.c M src/southbridge/intel/i82801gx/lpc.c M src/southbridge/intel/i82801ix/lpc.c M src/southbridge/intel/i82801ix/smi.c M src/southbridge/intel/i82801jx/lpc.c M src/southbridge/intel/ibexpeak/lpc.c M src/southbridge/intel/ibexpeak/madt.c M src/southbridge/intel/ibexpeak/me.c M src/southbridge/intel/ibexpeak/pch.h M src/southbridge/intel/lynxpoint/acpi.c M src/southbridge/intel/lynxpoint/elog.c M src/southbridge/intel/lynxpoint/lpc.c M src/southbridge/intel/lynxpoint/me_9.x.c M src/southbridge/intel/lynxpoint/pch.h M src/superio/aspeed/ast2400/superio.c M src/superio/common/conf_mode.c M src/superio/common/generic.c M src/superio/common/ssdt.c M src/superio/nuvoton/nct5539d/superio.c M src/superio/nuvoton/nct5572d/superio.c M src/superio/nuvoton/nct6791d/superio.c M src/superio/nuvoton/npcd378/superio.c M src/superio/winbond/w83667hg-a/superio.c M src/vendorcode/eltan/security/mboot/mboot.h M src/vendorcode/google/chromeos/acpi.c M src/vendorcode/google/chromeos/elog.c M util/autoport/main.go 698 files changed, 907 insertions(+), 801 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/40930/2
Hello build bot (Jenkins), Patrick Georgi, Frans Hendriks, Tristan Corrick, Angel Pons, Andrey Petrov, Patrick Rudolph, Piotr Król, David Guckian, Michał Żygowski, Damien Zammit, Martin Roth, Lee Leahy, Christian Walter, Vanessa Eusebio, Huang Jin, Alexander Couzens, Werner Zeh, Evgeny Zinoviev, Wim Vervoorn, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40930
to look at the new patch set (#3).
Change subject: acpi: Move all ACPI table support out of arch/x86 ......................................................................
acpi: Move all ACPI table support out of arch/x86
This change moves all acpi table support in coreboot currently living under arch/x86 into acpi/ to make this architecture independent. ACPI table generation is not really tied to any architecture and hence it makes sense to move this to its own directory. All .c files are moved to src/acpi and all .h files are moved to src/include/acpi. In addition to this, any files that include ACPI header files are updated to use the new path.
The only acpi files that are still retained under arch/x86 are: a. acpi_s3.c: This doesn't really deal with ACPI tables. Also, there are some assumptions in there about SMM which will have to be resolved if this file needs to be moved to common code.
b. acpi_bert_storage.c/bert_storage.h: This file is currently written specifically with x86 in mind. So, not moving the file for now.
Motivation for this change: Not all stages on Picasso SoC are targeted for the same architecture. For example, verstage (if runs before bootblock) will be targeted for non-x86. This makes it difficult to add device tree to verstage which would be required to get to SoC configs from the tree. This is because the device tree on x86 platforms currently contains a lot of devices that require ACPI related enums and structs (like acpi_gpio, acpi_pld, acpi_dp and so on). Hence, this change removes all ACPI table support out of arch/x86.
BUG=b:155428745
Change-Id: Icc6b793c52c86483a8c52e0555619e36869a869e Signed-off-by: Furquan Shaikh furquan@google.com --- M Documentation/Intel/SoC/soc.html M Documentation/acpi/devicetree.md M src/acpi/Makefile.inc R src/acpi/acpi.c R src/acpi/acpi_device.c R src/acpi/acpi_pld.c A src/acpi/acpi_s3.c R src/acpi/acpigen.c R src/acpi/acpigen_dsm.c R src/acpi/acpigen_ps2_keybd.c M src/acpi/sata.c M src/arch/x86/Makefile.inc M src/arch/x86/acpi/debug.asl M src/arch/x86/acpi_bert_storage.c M src/arch/x86/acpi_s3.c M src/arch/x86/ebda.c M src/arch/x86/include/arch/bert_storage.h M src/arch/x86/tables.c M src/cpu/amd/agesa/family14/model_14_init.c M src/cpu/amd/agesa/family15tn/model_15_init.c M src/cpu/amd/agesa/family16kb/model_16_init.c M src/cpu/intel/common/common_init.c M src/cpu/intel/haswell/acpi.c M src/cpu/intel/haswell/haswell_init.c M src/cpu/intel/model_2065x/acpi.c M src/cpu/intel/model_2065x/model_2065x_init.c M src/cpu/intel/model_206ax/acpi.c M src/cpu/intel/model_206ax/model_206ax_init.c M src/cpu/intel/speedstep/acpi.c M src/cpu/x86/backup_default_smm.c M src/cpu/x86/lapic/lapic_cpu_init.c M src/device/pci_device.c M src/device/pci_rom.c M src/drivers/amd/agesa/heapmanager.c M src/drivers/amd/agesa/romstage.c M src/drivers/amd/agesa/state_machine.c M src/drivers/crb/tis.c M src/drivers/elog/elog.c M src/drivers/generic/adau7002/adau7002.c M src/drivers/generic/bayhub/chip.h M src/drivers/generic/generic/chip.h M src/drivers/generic/generic/generic.c M src/drivers/generic/gpio_keys/chip.h M src/drivers/generic/gpio_keys/gpio_keys.c M src/drivers/generic/gpio_regulator/chip.h M src/drivers/generic/gpio_regulator/gpio_regulator.c M src/drivers/generic/max98357a/chip.h M src/drivers/generic/max98357a/max98357a.c M src/drivers/gfx/generic/chip.h M src/drivers/gfx/generic/generic.c M src/drivers/i2c/da7219/chip.h M src/drivers/i2c/da7219/da7219.c M src/drivers/i2c/designware/dw_i2c.c M src/drivers/i2c/generic/chip.h M src/drivers/i2c/generic/generic.c M src/drivers/i2c/hid/hid.c M src/drivers/i2c/max98373/max98373.c M src/drivers/i2c/max98927/max98927.c M src/drivers/i2c/nau8825/chip.h M src/drivers/i2c/nau8825/nau8825.c M src/drivers/i2c/rt1011/rt1011.c M src/drivers/i2c/rt5663/chip.h M src/drivers/i2c/rt5663/rt5663.c M src/drivers/i2c/sx9310/chip.h M src/drivers/i2c/sx9310/sx9310.c M src/drivers/i2c/tpm/chip.c M src/drivers/i2c/tpm/chip.h M src/drivers/intel/fsp1_1/raminit.c M src/drivers/intel/fsp1_1/ramstage.c M src/drivers/intel/fsp1_1/romstage.c M src/drivers/intel/gma/acpi.c M src/drivers/intel/gma/intel_ddi.c M src/drivers/intel/gma/opregion.c M src/drivers/intel/ish/ish.c M src/drivers/intel/mipi_camera/camera.c M src/drivers/ipmi/ipmi_kcs_ops.c M src/drivers/lenovo/wacom.c M src/drivers/net/chip.h M src/drivers/net/r8168.c M src/drivers/pc80/pc/keyboard.c M src/drivers/pc80/rtc/mc146818rtc.c M src/drivers/pc80/tpm/tis.c M src/drivers/spi/acpi/acpi.c M src/drivers/spi/acpi/chip.h M src/drivers/tpm/tpm.c M src/drivers/usb/acpi/chip.h M src/drivers/usb/acpi/usb_acpi.c M src/drivers/wifi/generic.c M src/ec/google/chromeec/ec_acpi.c M src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c M src/ec/google/chromeec/smihandler.c M src/ec/google/wilco/chip.c M src/ec/google/wilco/smihandler.c M src/ec/lenovo/h8/h8.c M src/ec/lenovo/h8/ssdt.c R src/include/acpi/acpi.h R src/include/acpi/acpi_device.h R src/include/acpi/acpi_ivrs.h R src/include/acpi/acpi_pld.h R src/include/acpi/acpigen.h R src/include/acpi/acpigen_dsm.h R src/include/acpi/acpigen_ps2_keybd.h M src/include/device/azalia_device.h M src/include/device/pci_rom.h M src/lib/coreboot_table.c M src/lib/hardwaremain.c M src/lib/nhlt.c M src/mainboard/51nb/x210/dsdt.asl M src/mainboard/amd/gardenia/acpi/routing.asl M src/mainboard/amd/gardenia/acpi/usb_oc.asl M src/mainboard/amd/gardenia/dsdt.asl M src/mainboard/amd/inagua/acpi/routing.asl M src/mainboard/amd/inagua/acpi/usb_oc.asl M src/mainboard/amd/inagua/acpi_tables.c M src/mainboard/amd/inagua/dsdt.asl M src/mainboard/amd/olivehill/acpi/routing.asl M src/mainboard/amd/olivehill/acpi/usb_oc.asl M src/mainboard/amd/olivehill/acpi_tables.c M src/mainboard/amd/olivehill/dsdt.asl M src/mainboard/amd/padmelon/dsdt.asl M src/mainboard/amd/padmelon/mainboard.c M src/mainboard/amd/parmer/acpi_tables.c M src/mainboard/amd/parmer/dsdt.asl M src/mainboard/amd/persimmon/acpi/routing.asl M src/mainboard/amd/persimmon/acpi/usb_oc.asl M src/mainboard/amd/persimmon/acpi_tables.c M src/mainboard/amd/persimmon/dsdt.asl M src/mainboard/amd/south_station/acpi/routing.asl M src/mainboard/amd/south_station/acpi/usb_oc.asl M src/mainboard/amd/south_station/acpi_tables.c M src/mainboard/amd/south_station/dsdt.asl M src/mainboard/amd/thatcher/acpi/cpstate.asl M src/mainboard/amd/thatcher/acpi_tables.c M src/mainboard/amd/thatcher/dsdt.asl M src/mainboard/amd/union_station/acpi/routing.asl M src/mainboard/amd/union_station/acpi/usb_oc.asl M src/mainboard/amd/union_station/acpi_tables.c M src/mainboard/amd/union_station/dsdt.asl M src/mainboard/aopen/dxplplusu/acpi_tables.c M src/mainboard/aopen/dxplplusu/dsdt.asl M src/mainboard/aopen/dxplplusu/fadt.c M src/mainboard/apple/macbook21/dsdt.asl M src/mainboard/apple/macbook21/mainboard.c M src/mainboard/apple/macbookair4_2/dsdt.asl M src/mainboard/asrock/b75pro3-m/dsdt.asl M src/mainboard/asrock/b85m_pro4/dsdt.asl M src/mainboard/asrock/e350m1/acpi/routing.asl M src/mainboard/asrock/e350m1/acpi/usb_oc.asl M src/mainboard/asrock/e350m1/acpi_tables.c M src/mainboard/asrock/e350m1/dsdt.asl M src/mainboard/asrock/g41c-gs/cstates.c M src/mainboard/asrock/g41c-gs/dsdt.asl M src/mainboard/asrock/h110m/dsdt.asl M src/mainboard/asrock/h81m-hds/dsdt.asl M src/mainboard/asrock/imb-a180/acpi/routing.asl M src/mainboard/asrock/imb-a180/acpi/usb_oc.asl M src/mainboard/asrock/imb-a180/acpi_tables.c M src/mainboard/asrock/imb-a180/dsdt.asl M src/mainboard/asus/am1i-a/acpi_tables.c M src/mainboard/asus/am1i-a/dsdt.asl M src/mainboard/asus/f2a85-m/acpi/cpstate.asl M src/mainboard/asus/f2a85-m/acpi_tables.c M src/mainboard/asus/f2a85-m/dsdt.asl M src/mainboard/asus/h61m-cs/dsdt.asl M src/mainboard/asus/maximus_iv_gene-z/dsdt.asl M src/mainboard/asus/p2b/acpi_tables.c M src/mainboard/asus/p2b/dsdt.asl M src/mainboard/asus/p5gc-mx/cstates.c M src/mainboard/asus/p5gc-mx/dsdt.asl M src/mainboard/asus/p5qc/cstates.c M src/mainboard/asus/p5qc/dsdt.asl M src/mainboard/asus/p5ql-em/acpi_tables.c M src/mainboard/asus/p5ql-em/dsdt.asl M src/mainboard/asus/p5qpl-am/cstates.c M src/mainboard/asus/p5qpl-am/dsdt.asl M src/mainboard/asus/p8h61-m_lx/dsdt.asl M src/mainboard/asus/p8h61-m_lx3_r2_0/dsdt.asl M src/mainboard/asus/p8h61-m_pro/dsdt.asl M src/mainboard/asus/p8z77-m_pro/dsdt.asl M src/mainboard/asus/p8z77-v_lx2/dsdt.asl M src/mainboard/bap/ode_e20XX/acpi/routing.asl M src/mainboard/bap/ode_e20XX/acpi/usb_oc.asl M src/mainboard/bap/ode_e20XX/acpi_tables.c M src/mainboard/bap/ode_e20XX/dsdt.asl M src/mainboard/bap/ode_e21XX/acpi/routing.asl M src/mainboard/bap/ode_e21XX/acpi/usb_oc.asl M src/mainboard/bap/ode_e21XX/acpi_tables.c M src/mainboard/bap/ode_e21XX/dsdt.asl M src/mainboard/biostar/a68n_5200/acpi/routing.asl M src/mainboard/biostar/a68n_5200/acpi/usb_oc.asl M src/mainboard/biostar/a68n_5200/acpi_tables.c M src/mainboard/biostar/a68n_5200/dsdt.asl M src/mainboard/biostar/am1ml/acpi/routing.asl M src/mainboard/biostar/am1ml/acpi/usb_oc.asl M src/mainboard/biostar/am1ml/acpi_tables.c M src/mainboard/biostar/am1ml/dsdt.asl M src/mainboard/compulab/intense_pc/dsdt.asl M src/mainboard/elmex/pcm205400/acpi/routing.asl M src/mainboard/elmex/pcm205400/acpi/usb_oc.asl M src/mainboard/elmex/pcm205400/acpi_tables.c M src/mainboard/elmex/pcm205400/dsdt.asl M src/mainboard/emulation/qemu-i440fx/acpi_tables.c M src/mainboard/emulation/qemu-i440fx/dsdt.asl M src/mainboard/emulation/qemu-i440fx/fw_cfg.c M src/mainboard/emulation/qemu-q35/acpi_tables.c M src/mainboard/emulation/qemu-q35/dsdt.asl M src/mainboard/facebook/fbg1701/acpi_tables.c M src/mainboard/facebook/fbg1701/dsdt.asl M src/mainboard/facebook/monolith/dsdt.asl M src/mainboard/foxconn/d41s/cstates.c M src/mainboard/foxconn/d41s/dsdt.asl M src/mainboard/foxconn/g41s-k/cstates.c M src/mainboard/foxconn/g41s-k/dsdt.asl M src/mainboard/getac/p470/acpi_tables.c M src/mainboard/getac/p470/cstates.c M src/mainboard/getac/p470/dsdt.asl M src/mainboard/gigabyte/ga-945gcm-s2l/cstates.c M src/mainboard/gigabyte/ga-945gcm-s2l/dsdt.asl M src/mainboard/gigabyte/ga-b75m-d3h/dsdt.asl M src/mainboard/gigabyte/ga-g41m-es2l/cstates.c M src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl M src/mainboard/gigabyte/ga-h61m-series/dsdt.asl M src/mainboard/gizmosphere/gizmo/acpi/routing.asl M src/mainboard/gizmosphere/gizmo/acpi/usb_oc.asl M src/mainboard/gizmosphere/gizmo/acpi_tables.c M src/mainboard/gizmosphere/gizmo/dsdt.asl M src/mainboard/gizmosphere/gizmo2/acpi/routing.asl M src/mainboard/gizmosphere/gizmo2/acpi/usb_oc.asl M src/mainboard/gizmosphere/gizmo2/acpi_tables.c M src/mainboard/gizmosphere/gizmo2/dsdt.asl M src/mainboard/google/auron/acpi_tables.c M src/mainboard/google/auron/dsdt.asl M src/mainboard/google/auron/ec.c M src/mainboard/google/auron/smihandler.c M src/mainboard/google/beltino/acpi_tables.c M src/mainboard/google/beltino/dsdt.asl M src/mainboard/google/beltino/mainboard.c M src/mainboard/google/beltino/smihandler.c M src/mainboard/google/butterfly/dsdt.asl M src/mainboard/google/butterfly/early_init.c M src/mainboard/google/butterfly/mainboard.c M src/mainboard/google/cyan/acpi_tables.c M src/mainboard/google/cyan/dsdt.asl M src/mainboard/google/cyan/ec.c M src/mainboard/google/cyan/smihandler.c M src/mainboard/google/dedede/dsdt.asl M src/mainboard/google/dedede/ec.c M src/mainboard/google/dedede/mainboard.c M src/mainboard/google/deltaur/chromeos.c M src/mainboard/google/deltaur/dsdt.asl M src/mainboard/google/deltaur/mainboard.c M src/mainboard/google/deltaur/variants/baseboard/gpio.c M src/mainboard/google/dragonegg/chromeos.c M src/mainboard/google/dragonegg/dsdt.asl M src/mainboard/google/dragonegg/ec.c M src/mainboard/google/dragonegg/mainboard.c M src/mainboard/google/drallion/chromeos.c M src/mainboard/google/drallion/dsdt.asl M src/mainboard/google/drallion/ramstage.c M src/mainboard/google/eve/dsdt.asl M src/mainboard/google/eve/ec.c M src/mainboard/google/eve/mainboard.c M src/mainboard/google/fizz/dsdt.asl M src/mainboard/google/fizz/ec.c M src/mainboard/google/fizz/mainboard.c M src/mainboard/google/fizz/variants/karma/smihandler.c M src/mainboard/google/glados/dsdt.asl M src/mainboard/google/glados/ec.c M src/mainboard/google/glados/mainboard.c M src/mainboard/google/glados/smihandler.c M src/mainboard/google/hatch/chromeos.c M src/mainboard/google/hatch/dsdt.asl M src/mainboard/google/hatch/ec.c M src/mainboard/google/hatch/ramstage.c M src/mainboard/google/hatch/variants/akemi/gpio.c M src/mainboard/google/hatch/variants/baseboard/gpio.c M src/mainboard/google/hatch/variants/dratini/gpio.c M src/mainboard/google/hatch/variants/hatch/gpio.c M src/mainboard/google/hatch/variants/helios/gpio.c M src/mainboard/google/hatch/variants/jinlon/gpio.c M src/mainboard/google/hatch/variants/kindred/gpio.c M src/mainboard/google/hatch/variants/kohaku/gpio.c M src/mainboard/google/hatch/variants/mushu/gpio.c M src/mainboard/google/hatch/variants/nightfury/gpio.c M src/mainboard/google/hatch/variants/palkia/gpio.c M src/mainboard/google/hatch/variants/stryke/gpio.c M src/mainboard/google/jecht/acpi_tables.c M src/mainboard/google/jecht/dsdt.asl M src/mainboard/google/jecht/mainboard.c M src/mainboard/google/jecht/smihandler.c M src/mainboard/google/kahlee/dsdt.asl M src/mainboard/google/kahlee/ec.c M src/mainboard/google/kahlee/mainboard.c M src/mainboard/google/kahlee/smihandler.c M src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/routing.asl M src/mainboard/google/link/dsdt.asl M src/mainboard/google/link/early_init.c M src/mainboard/google/link/ec.c M src/mainboard/google/link/mainboard.c M src/mainboard/google/link/mainboard_smi.c M src/mainboard/google/octopus/dsdt.asl M src/mainboard/google/octopus/ec.c M src/mainboard/google/octopus/mainboard.c M src/mainboard/google/octopus/smihandler.c M src/mainboard/google/octopus/variants/baseboard/gpio.c M src/mainboard/google/octopus/variants/bobba/variant.c M src/mainboard/google/octopus/variants/dood/variant.c M src/mainboard/google/octopus/variants/garg/variant.c M src/mainboard/google/parrot/acpi_tables.c M src/mainboard/google/parrot/dsdt.asl M src/mainboard/google/parrot/early_init.c M src/mainboard/google/parrot/ec.c M src/mainboard/google/parrot/mainboard.c M src/mainboard/google/poppy/chromeos.c M src/mainboard/google/poppy/dsdt.asl M src/mainboard/google/poppy/ec.c M src/mainboard/google/poppy/mainboard.c M src/mainboard/google/poppy/variants/nami/smihandler.c M src/mainboard/google/poppy/variants/nautilus/smihandler.c M src/mainboard/google/poppy/variants/nocturne/ec.c M src/mainboard/google/rambi/acpi_tables.c M src/mainboard/google/rambi/dsdt.asl M src/mainboard/google/rambi/ec.c M src/mainboard/google/rambi/mainboard.c M src/mainboard/google/rambi/mainboard_smi.c M src/mainboard/google/reef/dsdt.asl M src/mainboard/google/reef/ec.c M src/mainboard/google/reef/mainboard.c M src/mainboard/google/reef/smihandler.c M src/mainboard/google/reef/variants/coral/gpio.c M src/mainboard/google/sarien/chromeos.c M src/mainboard/google/sarien/dsdt.asl M src/mainboard/google/sarien/ramstage.c M src/mainboard/google/slippy/acpi_tables.c M src/mainboard/google/slippy/dsdt.asl M src/mainboard/google/slippy/ec.c M src/mainboard/google/slippy/mainboard.c M src/mainboard/google/slippy/smihandler.c M src/mainboard/google/stout/acpi_tables.c M src/mainboard/google/stout/dsdt.asl M src/mainboard/google/stout/early_init.c M src/mainboard/google/stout/ec.c M src/mainboard/google/stout/mainboard.c M src/mainboard/google/volteer/dsdt.asl M src/mainboard/google/volteer/ec.c M src/mainboard/google/volteer/mainboard.c M src/mainboard/hp/abm/acpi/routing.asl M src/mainboard/hp/abm/acpi/usb_oc.asl M src/mainboard/hp/abm/acpi_tables.c M src/mainboard/hp/abm/dsdt.asl M src/mainboard/hp/compaq_8200_elite_sff/dsdt.asl M src/mainboard/hp/pavilion_m6_1035dx/acpi_tables.c M src/mainboard/hp/pavilion_m6_1035dx/dsdt.asl M src/mainboard/hp/pavilion_m6_1035dx/mainboard.c M src/mainboard/hp/snb_ivb_laptops/dsdt.asl M src/mainboard/hp/z220_sff_workstation/dsdt.asl M src/mainboard/ibase/mb899/cstates.c M src/mainboard/ibase/mb899/dsdt.asl M src/mainboard/intel/apollolake_rvp/dsdt.asl M src/mainboard/intel/baskingridge/acpi_tables.c M src/mainboard/intel/baskingridge/dsdt.asl M src/mainboard/intel/baskingridge/mainboard.c M src/mainboard/intel/baskingridge/mainboard_smi.c M src/mainboard/intel/cannonlake_rvp/chromeos.c M src/mainboard/intel/cannonlake_rvp/dsdt.asl M src/mainboard/intel/cannonlake_rvp/mainboard.c M src/mainboard/intel/cannonlake_rvp/smihandler.c M src/mainboard/intel/cedarisland_crb/dsdt.asl M src/mainboard/intel/coffeelake_rvp/chromeos.c M src/mainboard/intel/coffeelake_rvp/dsdt.asl M src/mainboard/intel/coffeelake_rvp/mainboard.c M src/mainboard/intel/d510mo/cstates.c M src/mainboard/intel/d510mo/dsdt.asl M src/mainboard/intel/d945gclf/cstates.c M src/mainboard/intel/d945gclf/dsdt.asl M src/mainboard/intel/dcp847ske/dsdt.asl M src/mainboard/intel/dg41wv/cstates.c M src/mainboard/intel/dg41wv/dsdt.asl M src/mainboard/intel/dg43gt/cstates.c M src/mainboard/intel/dg43gt/dsdt.asl M src/mainboard/intel/emeraldlake2/acpi_tables.c M src/mainboard/intel/emeraldlake2/dsdt.asl M src/mainboard/intel/emeraldlake2/ec.c M src/mainboard/intel/emeraldlake2/mainboard.c M src/mainboard/intel/emeraldlake2/smihandler.c M src/mainboard/intel/galileo/dsdt.asl M src/mainboard/intel/glkrvp/dsdt.asl M src/mainboard/intel/glkrvp/ec.c M src/mainboard/intel/glkrvp/mainboard.c M src/mainboard/intel/glkrvp/smihandler.c M src/mainboard/intel/harcuvar/acpi_tables.c M src/mainboard/intel/harcuvar/dsdt.asl M src/mainboard/intel/harcuvar/fadt.c M src/mainboard/intel/icelake_rvp/chromeos.c M src/mainboard/intel/icelake_rvp/dsdt.asl M src/mainboard/intel/icelake_rvp/mainboard.c M src/mainboard/intel/jasperlake_rvp/dsdt.asl M src/mainboard/intel/kblrvp/dsdt.asl M src/mainboard/intel/kblrvp/ec.c M src/mainboard/intel/kblrvp/mainboard.c M src/mainboard/intel/kunimitsu/dsdt.asl M src/mainboard/intel/kunimitsu/ec.c M src/mainboard/intel/kunimitsu/mainboard.c M src/mainboard/intel/kunimitsu/smihandler.c M src/mainboard/intel/leafhill/dsdt.asl M src/mainboard/intel/minnow3/dsdt.asl M src/mainboard/intel/saddlebrook/dsdt.asl M src/mainboard/intel/strago/acpi_tables.c M src/mainboard/intel/strago/dsdt.asl M src/mainboard/intel/strago/ec.c M src/mainboard/intel/strago/smihandler.c M src/mainboard/intel/tglrvp/dsdt.asl M src/mainboard/intel/wtm2/acpi_tables.c M src/mainboard/intel/wtm2/dsdt.asl M src/mainboard/intel/wtm2/mainboard.c M src/mainboard/jetway/nf81-t56n-lf/acpi/routing.asl M src/mainboard/jetway/nf81-t56n-lf/acpi/usb_oc.asl M src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c M src/mainboard/jetway/nf81-t56n-lf/dsdt.asl M src/mainboard/kontron/986lcd-m/cstates.c M src/mainboard/kontron/986lcd-m/dsdt.asl M src/mainboard/kontron/ktqm77/dsdt.asl M src/mainboard/lenovo/g505s/acpi_tables.c M src/mainboard/lenovo/g505s/dsdt.asl M src/mainboard/lenovo/g505s/mainboard.c M src/mainboard/lenovo/l520/dsdt.asl M src/mainboard/lenovo/s230u/dsdt.asl M src/mainboard/lenovo/s230u/mainboard.c M src/mainboard/lenovo/t400/acpi_tables.c M src/mainboard/lenovo/t400/cstates.c M src/mainboard/lenovo/t400/dsdt.asl M src/mainboard/lenovo/t400/fadt.c M src/mainboard/lenovo/t410/dsdt.asl M src/mainboard/lenovo/t410/mainboard.c M src/mainboard/lenovo/t420/dsdt.asl M src/mainboard/lenovo/t420s/dsdt.asl M src/mainboard/lenovo/t430/dsdt.asl M src/mainboard/lenovo/t430s/dsdt.asl M src/mainboard/lenovo/t440p/dsdt.asl M src/mainboard/lenovo/t520/dsdt.asl M src/mainboard/lenovo/t530/dsdt.asl M src/mainboard/lenovo/t60/dsdt.asl M src/mainboard/lenovo/t60/mainboard.c M src/mainboard/lenovo/thinkcentre_a58/cstates.c M src/mainboard/lenovo/thinkcentre_a58/dsdt.asl M src/mainboard/lenovo/x131e/dsdt.asl M src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl M src/mainboard/lenovo/x200/acpi_tables.c M src/mainboard/lenovo/x200/cstates.c M src/mainboard/lenovo/x200/dsdt.asl M src/mainboard/lenovo/x200/fadt.c M src/mainboard/lenovo/x201/dsdt.asl M src/mainboard/lenovo/x220/dsdt.asl M src/mainboard/lenovo/x220/early_init.c M src/mainboard/lenovo/x230/dsdt.asl M src/mainboard/lenovo/x60/dsdt.asl M src/mainboard/lenovo/x60/mainboard.c M src/mainboard/libretrend/lt1000/dsdt.asl M src/mainboard/lippert/frontrunner-af/acpi/routing.asl M src/mainboard/lippert/frontrunner-af/acpi/usb.asl M src/mainboard/lippert/frontrunner-af/acpi_tables.c M src/mainboard/lippert/frontrunner-af/dsdt.asl M src/mainboard/lippert/toucan-af/acpi/routing.asl M src/mainboard/lippert/toucan-af/acpi/usb.asl M src/mainboard/lippert/toucan-af/acpi_tables.c M src/mainboard/lippert/toucan-af/dsdt.asl M src/mainboard/msi/ms7707/dsdt.asl M src/mainboard/msi/ms7721/acpi/cpstate.asl M src/mainboard/msi/ms7721/acpi_tables.c M src/mainboard/msi/ms7721/dsdt.asl M src/mainboard/ocp/tiogapass/dsdt.asl M src/mainboard/ocp/tiogapass/fadt.c M src/mainboard/packardbell/ms2290/dsdt.asl M src/mainboard/pcengines/apu1/acpi/routing.asl M src/mainboard/pcengines/apu1/acpi/usb_oc.asl M src/mainboard/pcengines/apu1/acpi_tables.c M src/mainboard/pcengines/apu1/dsdt.asl M src/mainboard/pcengines/apu2/acpi/routing.asl M src/mainboard/pcengines/apu2/acpi/usb_oc.asl M src/mainboard/pcengines/apu2/acpi_tables.c M src/mainboard/pcengines/apu2/dsdt.asl M src/mainboard/portwell/m107/acpi_tables.c M src/mainboard/portwell/m107/dsdt.asl M src/mainboard/protectli/vault_bsw/dsdt.asl M src/mainboard/protectli/vault_kbl/dsdt.asl M src/mainboard/purism/librem_bdw/acpi_tables.c M src/mainboard/purism/librem_bdw/dsdt.asl M src/mainboard/purism/librem_skl/dsdt.asl M src/mainboard/razer/blade_stealth_kbl/dsdt.asl M src/mainboard/roda/rk886ex/cstates.c M src/mainboard/roda/rk886ex/dsdt.asl M src/mainboard/roda/rk9/acpi_tables.c M src/mainboard/roda/rk9/cstates.c M src/mainboard/roda/rk9/dsdt.asl M src/mainboard/roda/rk9/fadt.c M src/mainboard/roda/rv11/dsdt.asl M src/mainboard/samsung/lumpy/acpi_tables.c M src/mainboard/samsung/lumpy/dsdt.asl M src/mainboard/samsung/lumpy/ec.c M src/mainboard/samsung/lumpy/mainboard.c M src/mainboard/samsung/stumpy/acpi_tables.c M src/mainboard/samsung/stumpy/dsdt.asl M src/mainboard/samsung/stumpy/mainboard.c M src/mainboard/samsung/stumpy/smihandler.c M src/mainboard/sapphire/pureplatinumh61/dsdt.asl M src/mainboard/scaleway/tagada/acpi_tables.c M src/mainboard/scaleway/tagada/dsdt.asl M src/mainboard/scaleway/tagada/fadt.c M src/mainboard/siemens/mc_apl1/dsdt.asl M src/mainboard/supermicro/x10slm-f/dsdt.asl M src/mainboard/supermicro/x11-lga1151-series/dsdt.asl M src/mainboard/supermicro/x9scl/dsdt.asl M src/mainboard/system76/lemp9/dsdt.asl M src/mainboard/up/squared/dsdt.asl M src/northbridge/amd/agesa/family14/northbridge.c M src/northbridge/amd/agesa/family15tn/northbridge.c M src/northbridge/amd/agesa/family16kb/northbridge.c M src/northbridge/amd/pi/00630F01/northbridge.c M src/northbridge/amd/pi/00660F01/northbridge.c M src/northbridge/amd/pi/00730F01/northbridge.c M src/northbridge/intel/e7505/northbridge.c M src/northbridge/intel/gm45/acpi.c M src/northbridge/intel/gm45/northbridge.c M src/northbridge/intel/gm45/romstage.c M src/northbridge/intel/haswell/acpi.c M src/northbridge/intel/haswell/northbridge.c M src/northbridge/intel/i945/acpi.c M src/northbridge/intel/i945/northbridge.c M src/northbridge/intel/ironlake/northbridge.c M src/northbridge/intel/pineview/acpi.c M src/northbridge/intel/pineview/northbridge.c M src/northbridge/intel/sandybridge/acpi.c M src/northbridge/intel/sandybridge/northbridge.c M src/northbridge/intel/x4x/acpi.c M src/northbridge/intel/x4x/northbridge.c M src/security/memory/memory_clear.c M src/soc/amd/common/block/acpi/acpi.c M src/soc/amd/common/block/graphics/graphics.c M src/soc/amd/common/block/hda/hda.c M src/soc/amd/common/block/include/amdblocks/acpi.h M src/soc/amd/common/block/pi/agesawrapper.c M src/soc/amd/common/block/pi/amd_late_init.c M src/soc/amd/common/block/pi/refcode_loader.c M src/soc/amd/common/block/sata/sata.c M src/soc/amd/picasso/acpi.c M src/soc/amd/picasso/chip.h M src/soc/amd/picasso/finalize.c M src/soc/amd/picasso/i2c.c M src/soc/amd/picasso/include/soc/acpi.h M src/soc/amd/picasso/mca.c M src/soc/amd/picasso/northbridge.c M src/soc/amd/picasso/pmutil.c M src/soc/amd/picasso/romstage.c M src/soc/amd/picasso/smihandler.c M src/soc/amd/stoneyridge/acpi.c M src/soc/amd/stoneyridge/chip.h M src/soc/amd/stoneyridge/finalize.c M src/soc/amd/stoneyridge/i2c.c M src/soc/amd/stoneyridge/include/soc/acpi.h M src/soc/amd/stoneyridge/mca.c M src/soc/amd/stoneyridge/northbridge.c M src/soc/amd/stoneyridge/pmutil.c M src/soc/amd/stoneyridge/romstage.c M src/soc/amd/stoneyridge/smihandler.c M src/soc/intel/apollolake/acpi.c M src/soc/intel/apollolake/chip.c M src/soc/intel/apollolake/cpu.c M src/soc/intel/apollolake/graphics.c M src/soc/intel/apollolake/include/soc/pm.h M src/soc/intel/apollolake/pmutil.c M src/soc/intel/baytrail/acpi.c M src/soc/intel/baytrail/ehci.c M src/soc/intel/baytrail/elog.c M src/soc/intel/baytrail/include/soc/acpi.h M src/soc/intel/baytrail/include/soc/pmc.h M src/soc/intel/baytrail/northcluster.c M src/soc/intel/baytrail/pmutil.c M src/soc/intel/baytrail/ramstage.c M src/soc/intel/baytrail/refcode.c M src/soc/intel/baytrail/romstage/raminit.c M src/soc/intel/baytrail/southcluster.c M src/soc/intel/baytrail/xhci.c M src/soc/intel/braswell/acpi.c M src/soc/intel/braswell/elog.c M src/soc/intel/braswell/include/soc/acpi.h M src/soc/intel/braswell/include/soc/pm.h M src/soc/intel/braswell/northcluster.c M src/soc/intel/braswell/pmutil.c M src/soc/intel/braswell/ramstage.c M src/soc/intel/braswell/southcluster.c M src/soc/intel/broadwell/acpi.c M src/soc/intel/broadwell/igd.c M src/soc/intel/broadwell/include/soc/acpi.h M src/soc/intel/broadwell/include/soc/pm.h M src/soc/intel/broadwell/lpc.c M src/soc/intel/broadwell/me.c M src/soc/intel/broadwell/pmutil.c M src/soc/intel/broadwell/ramstage.c M src/soc/intel/broadwell/refcode.c M src/soc/intel/broadwell/systemagent.c M src/soc/intel/broadwell/xhci.c M src/soc/intel/cannonlake/acpi.c M src/soc/intel/cannonlake/graphics.c M src/soc/intel/cannonlake/include/soc/pm.h M src/soc/intel/common/acpi_wake_source.c M src/soc/intel/common/block/acpi/acpi.c M src/soc/intel/common/block/cpu/cpulib.c M src/soc/intel/common/block/include/intelblocks/acpi.h M src/soc/intel/common/block/include/intelblocks/sd.h M src/soc/intel/common/block/pmc/pmc.c M src/soc/intel/common/block/pmc/pmclib.c M src/soc/intel/common/block/scs/early_mmc.c M src/soc/intel/common/block/scs/sd.c M src/soc/intel/common/block/uart/uart.c M src/soc/intel/common/block/xhci/xhci.c M src/soc/intel/common/tpm_tis.c M src/soc/intel/common/vbt.c M src/soc/intel/denverton_ns/acpi.c M src/soc/intel/denverton_ns/chip.c M src/soc/intel/denverton_ns/include/soc/acpi.h M src/soc/intel/denverton_ns/include/soc/pm.h M src/soc/intel/denverton_ns/lpc.c M src/soc/intel/denverton_ns/pmc.c M src/soc/intel/icelake/acpi.c M src/soc/intel/icelake/graphics.c M src/soc/intel/icelake/include/soc/pm.h M src/soc/intel/jasperlake/acpi.c M src/soc/intel/jasperlake/graphics.c M src/soc/intel/jasperlake/include/soc/pm.h M src/soc/intel/quark/include/soc/acpi.h M src/soc/intel/quark/include/soc/pm.h M src/soc/intel/skylake/acpi.c M src/soc/intel/skylake/chip.c M src/soc/intel/skylake/chip.h M src/soc/intel/skylake/include/soc/acpi.h M src/soc/intel/skylake/include/soc/pm.h M src/soc/intel/skylake/pmutil.c M src/soc/intel/tigerlake/acpi.c M src/soc/intel/tigerlake/graphics.c M src/soc/intel/tigerlake/include/soc/pm.h M src/soc/intel/xeon_sp/cpx/acpi.c M src/soc/intel/xeon_sp/cpx/cpu.c M src/soc/intel/xeon_sp/skx/acpi.c M src/soc/intel/xeon_sp/skx/include/soc/acpi.h M src/soc/intel/xeon_sp/skx/include/soc/soc_util.h M src/southbridge/amd/agesa/hudson/fadt.c M src/southbridge/amd/agesa/hudson/lpc.c M src/southbridge/amd/agesa/hudson/ramtop.c M src/southbridge/amd/cimx/sb800/cfg.c M src/southbridge/amd/cimx/sb800/fadt.c M src/southbridge/amd/cimx/sb800/late.c M src/southbridge/amd/cimx/sb800/ramtop.c M src/southbridge/amd/pi/hudson/fadt.c M src/southbridge/amd/pi/hudson/hudson.c M src/southbridge/amd/pi/hudson/lpc.c M src/southbridge/intel/bd82x6x/elog.c M src/southbridge/intel/bd82x6x/lpc.c M src/southbridge/intel/bd82x6x/me.c M src/southbridge/intel/bd82x6x/me_8.x.c M src/southbridge/intel/bd82x6x/pch.h M src/southbridge/intel/common/acpi_pirq_gen.c M src/southbridge/intel/common/madt.c M src/southbridge/intel/common/pciehp.c M src/southbridge/intel/common/pmbase.c M src/southbridge/intel/common/pmclib.c M src/southbridge/intel/common/smihandler.c M src/southbridge/intel/i82371eb/acpi_tables.c M src/southbridge/intel/i82371eb/fadt.c M src/southbridge/intel/i82371eb/isa.c M src/southbridge/intel/i82371eb/wakeup.c M src/southbridge/intel/i82801dx/i82801dx.h M src/southbridge/intel/i82801dx/smi.c M src/southbridge/intel/i82801gx/lpc.c M src/southbridge/intel/i82801ix/lpc.c M src/southbridge/intel/i82801ix/smi.c M src/southbridge/intel/i82801jx/lpc.c M src/southbridge/intel/ibexpeak/lpc.c M src/southbridge/intel/ibexpeak/madt.c M src/southbridge/intel/ibexpeak/me.c M src/southbridge/intel/ibexpeak/pch.h M src/southbridge/intel/lynxpoint/acpi.c M src/southbridge/intel/lynxpoint/elog.c M src/southbridge/intel/lynxpoint/lpc.c M src/southbridge/intel/lynxpoint/me_9.x.c M src/southbridge/intel/lynxpoint/pch.h M src/superio/aspeed/ast2400/superio.c M src/superio/common/conf_mode.c M src/superio/common/generic.c M src/superio/common/ssdt.c M src/superio/nuvoton/nct5539d/superio.c M src/superio/nuvoton/nct5572d/superio.c M src/superio/nuvoton/nct6791d/superio.c M src/superio/nuvoton/npcd378/superio.c M src/superio/winbond/w83667hg-a/superio.c M src/vendorcode/eltan/security/mboot/mboot.h M src/vendorcode/google/chromeos/acpi.c M src/vendorcode/google/chromeos/elog.c M util/autoport/main.go 698 files changed, 908 insertions(+), 802 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/40930/3
Hello build bot (Jenkins), Patrick Georgi, Frans Hendriks, Tristan Corrick, Angel Pons, Andrey Petrov, Patrick Rudolph, Piotr Król, David Guckian, Michał Żygowski, Damien Zammit, Martin Roth, Lee Leahy, Christian Walter, Vanessa Eusebio, Huang Jin, Alexander Couzens, Werner Zeh, Evgeny Zinoviev, Wim Vervoorn, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40930
to look at the new patch set (#4).
Change subject: acpi: Move all ACPI table support out of arch/x86 ......................................................................
acpi: Move all ACPI table support out of arch/x86
This change moves all acpi table support in coreboot currently living under arch/x86 into acpi/ to make this architecture independent. ACPI table generation is not really tied to any architecture and hence it makes sense to move this to its own directory. All .c files are moved to src/acpi and all .h files are moved to src/include/acpi. In addition to this, any files that include ACPI header files are updated to use the new path.
The only acpi files that are still retained under arch/x86 are: a. acpi_s3.c: This doesn't really deal with ACPI tables. Also, there are some assumptions in there about SMM which will have to be resolved if this file needs to be moved to common code.
b. acpi_bert_storage.c/bert_storage.h: This file is currently written specifically with x86 in mind. So, not moving the file for now.
Motivation for this change: Not all stages on Picasso SoC are targeted for the same architecture. For example, verstage (if runs before bootblock) will be targeted for non-x86. This makes it difficult to add device tree to verstage which would be required to get to SoC configs from the tree. This is because the device tree on x86 platforms currently contains a lot of devices that require ACPI related enums and structs (like acpi_gpio, acpi_pld, acpi_dp and so on). Hence, this change removes all ACPI table support out of arch/x86.
BUG=b:155428745
Change-Id: Icc6b793c52c86483a8c52e0555619e36869a869e Signed-off-by: Furquan Shaikh furquan@google.com --- M Documentation/Intel/SoC/soc.html M Documentation/acpi/devicetree.md M src/acpi/Makefile.inc R src/acpi/acpi.c R src/acpi/acpi_device.c R src/acpi/acpi_pld.c R src/acpi/acpigen.c R src/acpi/acpigen_dsm.c R src/acpi/acpigen_ps2_keybd.c M src/acpi/sata.c M src/arch/x86/Makefile.inc M src/arch/x86/acpi/debug.asl M src/arch/x86/acpi_bert_storage.c M src/arch/x86/acpi_s3.c M src/arch/x86/ebda.c M src/arch/x86/include/arch/bert_storage.h M src/arch/x86/tables.c M src/cpu/amd/agesa/family14/model_14_init.c M src/cpu/amd/agesa/family15tn/model_15_init.c M src/cpu/amd/agesa/family16kb/model_16_init.c M src/cpu/intel/common/common_init.c M src/cpu/intel/haswell/acpi.c M src/cpu/intel/haswell/haswell_init.c M src/cpu/intel/model_2065x/acpi.c M src/cpu/intel/model_2065x/model_2065x_init.c M src/cpu/intel/model_206ax/acpi.c M src/cpu/intel/model_206ax/model_206ax_init.c M src/cpu/intel/speedstep/acpi.c M src/cpu/x86/backup_default_smm.c M src/cpu/x86/lapic/lapic_cpu_init.c M src/device/pci_device.c M src/device/pci_rom.c M src/drivers/amd/agesa/heapmanager.c M src/drivers/amd/agesa/romstage.c M src/drivers/amd/agesa/state_machine.c M src/drivers/crb/tis.c M src/drivers/elog/elog.c M src/drivers/generic/adau7002/adau7002.c M src/drivers/generic/bayhub/chip.h M src/drivers/generic/generic/chip.h M src/drivers/generic/generic/generic.c M src/drivers/generic/gpio_keys/chip.h M src/drivers/generic/gpio_keys/gpio_keys.c M src/drivers/generic/gpio_regulator/chip.h M src/drivers/generic/gpio_regulator/gpio_regulator.c M src/drivers/generic/max98357a/chip.h M src/drivers/generic/max98357a/max98357a.c M src/drivers/gfx/generic/chip.h M src/drivers/gfx/generic/generic.c M src/drivers/i2c/da7219/chip.h M src/drivers/i2c/da7219/da7219.c M src/drivers/i2c/designware/dw_i2c.c M src/drivers/i2c/generic/chip.h M src/drivers/i2c/generic/generic.c M src/drivers/i2c/hid/hid.c M src/drivers/i2c/max98373/max98373.c M src/drivers/i2c/max98927/max98927.c M src/drivers/i2c/nau8825/chip.h M src/drivers/i2c/nau8825/nau8825.c M src/drivers/i2c/rt1011/rt1011.c M src/drivers/i2c/rt5663/chip.h M src/drivers/i2c/rt5663/rt5663.c M src/drivers/i2c/sx9310/chip.h M src/drivers/i2c/sx9310/sx9310.c M src/drivers/i2c/tpm/chip.c M src/drivers/i2c/tpm/chip.h M src/drivers/intel/fsp1_1/raminit.c M src/drivers/intel/fsp1_1/ramstage.c M src/drivers/intel/fsp1_1/romstage.c M src/drivers/intel/gma/acpi.c M src/drivers/intel/gma/intel_ddi.c M src/drivers/intel/gma/opregion.c M src/drivers/intel/ish/ish.c M src/drivers/intel/mipi_camera/camera.c M src/drivers/ipmi/ipmi_kcs_ops.c M src/drivers/lenovo/wacom.c M src/drivers/net/chip.h M src/drivers/net/r8168.c M src/drivers/pc80/pc/keyboard.c M src/drivers/pc80/rtc/mc146818rtc.c M src/drivers/pc80/tpm/tis.c M src/drivers/spi/acpi/acpi.c M src/drivers/spi/acpi/chip.h M src/drivers/tpm/tpm.c M src/drivers/usb/acpi/chip.h M src/drivers/usb/acpi/usb_acpi.c M src/drivers/wifi/generic.c M src/ec/google/chromeec/ec_acpi.c M src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c M src/ec/google/chromeec/smihandler.c M src/ec/google/wilco/chip.c M src/ec/google/wilco/smihandler.c M src/ec/lenovo/h8/h8.c M src/ec/lenovo/h8/ssdt.c R src/include/acpi/acpi.h R src/include/acpi/acpi_device.h R src/include/acpi/acpi_ivrs.h R src/include/acpi/acpi_pld.h R src/include/acpi/acpigen.h R src/include/acpi/acpigen_dsm.h R src/include/acpi/acpigen_ps2_keybd.h M src/include/device/azalia_device.h M src/include/device/pci_rom.h M src/lib/coreboot_table.c M src/lib/hardwaremain.c M src/lib/nhlt.c M src/mainboard/51nb/x210/dsdt.asl M src/mainboard/amd/gardenia/acpi/routing.asl M src/mainboard/amd/gardenia/acpi/usb_oc.asl M src/mainboard/amd/gardenia/dsdt.asl M src/mainboard/amd/inagua/acpi/routing.asl M src/mainboard/amd/inagua/acpi/usb_oc.asl M src/mainboard/amd/inagua/acpi_tables.c M src/mainboard/amd/inagua/dsdt.asl M src/mainboard/amd/olivehill/acpi/routing.asl M src/mainboard/amd/olivehill/acpi/usb_oc.asl M src/mainboard/amd/olivehill/acpi_tables.c M src/mainboard/amd/olivehill/dsdt.asl M src/mainboard/amd/padmelon/dsdt.asl M src/mainboard/amd/padmelon/mainboard.c M src/mainboard/amd/parmer/acpi_tables.c M src/mainboard/amd/parmer/dsdt.asl M src/mainboard/amd/persimmon/acpi/routing.asl M src/mainboard/amd/persimmon/acpi/usb_oc.asl M src/mainboard/amd/persimmon/acpi_tables.c M src/mainboard/amd/persimmon/dsdt.asl M src/mainboard/amd/south_station/acpi/routing.asl M src/mainboard/amd/south_station/acpi/usb_oc.asl M src/mainboard/amd/south_station/acpi_tables.c M src/mainboard/amd/south_station/dsdt.asl M src/mainboard/amd/thatcher/acpi/cpstate.asl M src/mainboard/amd/thatcher/acpi_tables.c M src/mainboard/amd/thatcher/dsdt.asl M src/mainboard/amd/union_station/acpi/routing.asl M src/mainboard/amd/union_station/acpi/usb_oc.asl M src/mainboard/amd/union_station/acpi_tables.c M src/mainboard/amd/union_station/dsdt.asl M src/mainboard/aopen/dxplplusu/acpi_tables.c M src/mainboard/aopen/dxplplusu/dsdt.asl M src/mainboard/aopen/dxplplusu/fadt.c M src/mainboard/apple/macbook21/dsdt.asl M src/mainboard/apple/macbook21/mainboard.c M src/mainboard/apple/macbookair4_2/dsdt.asl M src/mainboard/asrock/b75pro3-m/dsdt.asl M src/mainboard/asrock/b85m_pro4/dsdt.asl M src/mainboard/asrock/e350m1/acpi/routing.asl M src/mainboard/asrock/e350m1/acpi/usb_oc.asl M src/mainboard/asrock/e350m1/acpi_tables.c M src/mainboard/asrock/e350m1/dsdt.asl M src/mainboard/asrock/g41c-gs/cstates.c M src/mainboard/asrock/g41c-gs/dsdt.asl M src/mainboard/asrock/h110m/dsdt.asl M src/mainboard/asrock/h81m-hds/dsdt.asl M src/mainboard/asrock/imb-a180/acpi/routing.asl M src/mainboard/asrock/imb-a180/acpi/usb_oc.asl M src/mainboard/asrock/imb-a180/acpi_tables.c M src/mainboard/asrock/imb-a180/dsdt.asl M src/mainboard/asus/am1i-a/acpi_tables.c M src/mainboard/asus/am1i-a/dsdt.asl M src/mainboard/asus/f2a85-m/acpi/cpstate.asl M src/mainboard/asus/f2a85-m/acpi_tables.c M src/mainboard/asus/f2a85-m/dsdt.asl M src/mainboard/asus/h61m-cs/dsdt.asl M src/mainboard/asus/maximus_iv_gene-z/dsdt.asl M src/mainboard/asus/p2b/acpi_tables.c M src/mainboard/asus/p2b/dsdt.asl M src/mainboard/asus/p5gc-mx/cstates.c M src/mainboard/asus/p5gc-mx/dsdt.asl M src/mainboard/asus/p5qc/cstates.c M src/mainboard/asus/p5qc/dsdt.asl M src/mainboard/asus/p5ql-em/acpi_tables.c M src/mainboard/asus/p5ql-em/dsdt.asl M src/mainboard/asus/p5qpl-am/cstates.c M src/mainboard/asus/p5qpl-am/dsdt.asl M src/mainboard/asus/p8h61-m_lx/dsdt.asl M src/mainboard/asus/p8h61-m_lx3_r2_0/dsdt.asl M src/mainboard/asus/p8h61-m_pro/dsdt.asl M src/mainboard/asus/p8z77-m_pro/dsdt.asl M src/mainboard/asus/p8z77-v_lx2/dsdt.asl M src/mainboard/bap/ode_e20XX/acpi/routing.asl M src/mainboard/bap/ode_e20XX/acpi/usb_oc.asl M src/mainboard/bap/ode_e20XX/acpi_tables.c M src/mainboard/bap/ode_e20XX/dsdt.asl M src/mainboard/bap/ode_e21XX/acpi/routing.asl M src/mainboard/bap/ode_e21XX/acpi/usb_oc.asl M src/mainboard/bap/ode_e21XX/acpi_tables.c M src/mainboard/bap/ode_e21XX/dsdt.asl M src/mainboard/biostar/a68n_5200/acpi/routing.asl M src/mainboard/biostar/a68n_5200/acpi/usb_oc.asl M src/mainboard/biostar/a68n_5200/acpi_tables.c M src/mainboard/biostar/a68n_5200/dsdt.asl M src/mainboard/biostar/am1ml/acpi/routing.asl M src/mainboard/biostar/am1ml/acpi/usb_oc.asl M src/mainboard/biostar/am1ml/acpi_tables.c M src/mainboard/biostar/am1ml/dsdt.asl M src/mainboard/compulab/intense_pc/dsdt.asl M src/mainboard/elmex/pcm205400/acpi/routing.asl M src/mainboard/elmex/pcm205400/acpi/usb_oc.asl M src/mainboard/elmex/pcm205400/acpi_tables.c M src/mainboard/elmex/pcm205400/dsdt.asl M src/mainboard/emulation/qemu-i440fx/acpi_tables.c M src/mainboard/emulation/qemu-i440fx/dsdt.asl M src/mainboard/emulation/qemu-i440fx/fw_cfg.c M src/mainboard/emulation/qemu-q35/acpi_tables.c M src/mainboard/emulation/qemu-q35/dsdt.asl M src/mainboard/facebook/fbg1701/acpi_tables.c M src/mainboard/facebook/fbg1701/dsdt.asl M src/mainboard/facebook/monolith/dsdt.asl M src/mainboard/foxconn/d41s/cstates.c M src/mainboard/foxconn/d41s/dsdt.asl M src/mainboard/foxconn/g41s-k/cstates.c M src/mainboard/foxconn/g41s-k/dsdt.asl M src/mainboard/getac/p470/acpi_tables.c M src/mainboard/getac/p470/cstates.c M src/mainboard/getac/p470/dsdt.asl M src/mainboard/gigabyte/ga-945gcm-s2l/cstates.c M src/mainboard/gigabyte/ga-945gcm-s2l/dsdt.asl M src/mainboard/gigabyte/ga-b75m-d3h/dsdt.asl M src/mainboard/gigabyte/ga-g41m-es2l/cstates.c M src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl M src/mainboard/gigabyte/ga-h61m-series/dsdt.asl M src/mainboard/gizmosphere/gizmo/acpi/routing.asl M src/mainboard/gizmosphere/gizmo/acpi/usb_oc.asl M src/mainboard/gizmosphere/gizmo/acpi_tables.c M src/mainboard/gizmosphere/gizmo/dsdt.asl M src/mainboard/gizmosphere/gizmo2/acpi/routing.asl M src/mainboard/gizmosphere/gizmo2/acpi/usb_oc.asl M src/mainboard/gizmosphere/gizmo2/acpi_tables.c M src/mainboard/gizmosphere/gizmo2/dsdt.asl M src/mainboard/google/auron/acpi_tables.c M src/mainboard/google/auron/dsdt.asl M src/mainboard/google/auron/ec.c M src/mainboard/google/auron/smihandler.c M src/mainboard/google/beltino/acpi_tables.c M src/mainboard/google/beltino/dsdt.asl M src/mainboard/google/beltino/mainboard.c M src/mainboard/google/beltino/smihandler.c M src/mainboard/google/butterfly/dsdt.asl M src/mainboard/google/butterfly/early_init.c M src/mainboard/google/butterfly/mainboard.c M src/mainboard/google/cyan/acpi_tables.c M src/mainboard/google/cyan/dsdt.asl M src/mainboard/google/cyan/ec.c M src/mainboard/google/cyan/smihandler.c M src/mainboard/google/dedede/dsdt.asl M src/mainboard/google/dedede/ec.c M src/mainboard/google/dedede/mainboard.c M src/mainboard/google/deltaur/chromeos.c M src/mainboard/google/deltaur/dsdt.asl M src/mainboard/google/deltaur/mainboard.c M src/mainboard/google/deltaur/variants/baseboard/gpio.c M src/mainboard/google/dragonegg/chromeos.c M src/mainboard/google/dragonegg/dsdt.asl M src/mainboard/google/dragonegg/ec.c M src/mainboard/google/dragonegg/mainboard.c M src/mainboard/google/drallion/chromeos.c M src/mainboard/google/drallion/dsdt.asl M src/mainboard/google/drallion/ramstage.c M src/mainboard/google/eve/dsdt.asl M src/mainboard/google/eve/ec.c M src/mainboard/google/eve/mainboard.c M src/mainboard/google/fizz/dsdt.asl M src/mainboard/google/fizz/ec.c M src/mainboard/google/fizz/mainboard.c M src/mainboard/google/fizz/variants/karma/smihandler.c M src/mainboard/google/glados/dsdt.asl M src/mainboard/google/glados/ec.c M src/mainboard/google/glados/mainboard.c M src/mainboard/google/glados/smihandler.c M src/mainboard/google/hatch/chromeos.c M src/mainboard/google/hatch/dsdt.asl M src/mainboard/google/hatch/ec.c M src/mainboard/google/hatch/ramstage.c M src/mainboard/google/hatch/variants/akemi/gpio.c M src/mainboard/google/hatch/variants/baseboard/gpio.c M src/mainboard/google/hatch/variants/dratini/gpio.c M src/mainboard/google/hatch/variants/hatch/gpio.c M src/mainboard/google/hatch/variants/helios/gpio.c M src/mainboard/google/hatch/variants/jinlon/gpio.c M src/mainboard/google/hatch/variants/kindred/gpio.c M src/mainboard/google/hatch/variants/kohaku/gpio.c M src/mainboard/google/hatch/variants/mushu/gpio.c M src/mainboard/google/hatch/variants/nightfury/gpio.c M src/mainboard/google/hatch/variants/palkia/gpio.c M src/mainboard/google/hatch/variants/stryke/gpio.c M src/mainboard/google/jecht/acpi_tables.c M src/mainboard/google/jecht/dsdt.asl M src/mainboard/google/jecht/mainboard.c M src/mainboard/google/jecht/smihandler.c M src/mainboard/google/kahlee/dsdt.asl M src/mainboard/google/kahlee/ec.c M src/mainboard/google/kahlee/mainboard.c M src/mainboard/google/kahlee/smihandler.c M src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/routing.asl M src/mainboard/google/link/dsdt.asl M src/mainboard/google/link/early_init.c M src/mainboard/google/link/ec.c M src/mainboard/google/link/mainboard.c M src/mainboard/google/link/mainboard_smi.c M src/mainboard/google/octopus/dsdt.asl M src/mainboard/google/octopus/ec.c M src/mainboard/google/octopus/mainboard.c M src/mainboard/google/octopus/smihandler.c M src/mainboard/google/octopus/variants/baseboard/gpio.c M src/mainboard/google/octopus/variants/bobba/variant.c M src/mainboard/google/octopus/variants/dood/variant.c M src/mainboard/google/octopus/variants/garg/variant.c M src/mainboard/google/parrot/acpi_tables.c M src/mainboard/google/parrot/dsdt.asl M src/mainboard/google/parrot/early_init.c M src/mainboard/google/parrot/ec.c M src/mainboard/google/parrot/mainboard.c M src/mainboard/google/poppy/chromeos.c M src/mainboard/google/poppy/dsdt.asl M src/mainboard/google/poppy/ec.c M src/mainboard/google/poppy/mainboard.c M src/mainboard/google/poppy/variants/nami/smihandler.c M src/mainboard/google/poppy/variants/nautilus/smihandler.c M src/mainboard/google/poppy/variants/nocturne/ec.c M src/mainboard/google/rambi/acpi_tables.c M src/mainboard/google/rambi/dsdt.asl M src/mainboard/google/rambi/ec.c M src/mainboard/google/rambi/mainboard.c M src/mainboard/google/rambi/mainboard_smi.c M src/mainboard/google/reef/dsdt.asl M src/mainboard/google/reef/ec.c M src/mainboard/google/reef/mainboard.c M src/mainboard/google/reef/smihandler.c M src/mainboard/google/reef/variants/coral/gpio.c M src/mainboard/google/sarien/chromeos.c M src/mainboard/google/sarien/dsdt.asl M src/mainboard/google/sarien/ramstage.c M src/mainboard/google/slippy/acpi_tables.c M src/mainboard/google/slippy/dsdt.asl M src/mainboard/google/slippy/ec.c M src/mainboard/google/slippy/mainboard.c M src/mainboard/google/slippy/smihandler.c M src/mainboard/google/stout/acpi_tables.c M src/mainboard/google/stout/dsdt.asl M src/mainboard/google/stout/early_init.c M src/mainboard/google/stout/ec.c M src/mainboard/google/stout/mainboard.c M src/mainboard/google/volteer/dsdt.asl M src/mainboard/google/volteer/ec.c M src/mainboard/google/volteer/mainboard.c M src/mainboard/hp/abm/acpi/routing.asl M src/mainboard/hp/abm/acpi/usb_oc.asl M src/mainboard/hp/abm/acpi_tables.c M src/mainboard/hp/abm/dsdt.asl M src/mainboard/hp/compaq_8200_elite_sff/dsdt.asl M src/mainboard/hp/pavilion_m6_1035dx/acpi_tables.c M src/mainboard/hp/pavilion_m6_1035dx/dsdt.asl M src/mainboard/hp/pavilion_m6_1035dx/mainboard.c M src/mainboard/hp/snb_ivb_laptops/dsdt.asl M src/mainboard/hp/z220_sff_workstation/dsdt.asl M src/mainboard/ibase/mb899/cstates.c M src/mainboard/ibase/mb899/dsdt.asl M src/mainboard/intel/apollolake_rvp/dsdt.asl M src/mainboard/intel/baskingridge/acpi_tables.c M src/mainboard/intel/baskingridge/dsdt.asl M src/mainboard/intel/baskingridge/mainboard.c M src/mainboard/intel/baskingridge/mainboard_smi.c M src/mainboard/intel/cannonlake_rvp/chromeos.c M src/mainboard/intel/cannonlake_rvp/dsdt.asl M src/mainboard/intel/cannonlake_rvp/mainboard.c M src/mainboard/intel/cannonlake_rvp/smihandler.c M src/mainboard/intel/cedarisland_crb/dsdt.asl M src/mainboard/intel/coffeelake_rvp/chromeos.c M src/mainboard/intel/coffeelake_rvp/dsdt.asl M src/mainboard/intel/coffeelake_rvp/mainboard.c M src/mainboard/intel/d510mo/cstates.c M src/mainboard/intel/d510mo/dsdt.asl M src/mainboard/intel/d945gclf/cstates.c M src/mainboard/intel/d945gclf/dsdt.asl M src/mainboard/intel/dcp847ske/dsdt.asl M src/mainboard/intel/dg41wv/cstates.c M src/mainboard/intel/dg41wv/dsdt.asl M src/mainboard/intel/dg43gt/cstates.c M src/mainboard/intel/dg43gt/dsdt.asl M src/mainboard/intel/emeraldlake2/acpi_tables.c M src/mainboard/intel/emeraldlake2/dsdt.asl M src/mainboard/intel/emeraldlake2/ec.c M src/mainboard/intel/emeraldlake2/mainboard.c M src/mainboard/intel/emeraldlake2/smihandler.c M src/mainboard/intel/galileo/dsdt.asl M src/mainboard/intel/glkrvp/dsdt.asl M src/mainboard/intel/glkrvp/ec.c M src/mainboard/intel/glkrvp/mainboard.c M src/mainboard/intel/glkrvp/smihandler.c M src/mainboard/intel/harcuvar/acpi_tables.c M src/mainboard/intel/harcuvar/dsdt.asl M src/mainboard/intel/harcuvar/fadt.c M src/mainboard/intel/icelake_rvp/chromeos.c M src/mainboard/intel/icelake_rvp/dsdt.asl M src/mainboard/intel/icelake_rvp/mainboard.c M src/mainboard/intel/jasperlake_rvp/dsdt.asl M src/mainboard/intel/kblrvp/dsdt.asl M src/mainboard/intel/kblrvp/ec.c M src/mainboard/intel/kblrvp/mainboard.c M src/mainboard/intel/kunimitsu/dsdt.asl M src/mainboard/intel/kunimitsu/ec.c M src/mainboard/intel/kunimitsu/mainboard.c M src/mainboard/intel/kunimitsu/smihandler.c M src/mainboard/intel/leafhill/dsdt.asl M src/mainboard/intel/minnow3/dsdt.asl M src/mainboard/intel/saddlebrook/dsdt.asl M src/mainboard/intel/strago/acpi_tables.c M src/mainboard/intel/strago/dsdt.asl M src/mainboard/intel/strago/ec.c M src/mainboard/intel/strago/smihandler.c M src/mainboard/intel/tglrvp/dsdt.asl M src/mainboard/intel/wtm2/acpi_tables.c M src/mainboard/intel/wtm2/dsdt.asl M src/mainboard/intel/wtm2/mainboard.c M src/mainboard/jetway/nf81-t56n-lf/acpi/routing.asl M src/mainboard/jetway/nf81-t56n-lf/acpi/usb_oc.asl M src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c M src/mainboard/jetway/nf81-t56n-lf/dsdt.asl M src/mainboard/kontron/986lcd-m/cstates.c M src/mainboard/kontron/986lcd-m/dsdt.asl M src/mainboard/kontron/ktqm77/dsdt.asl M src/mainboard/lenovo/g505s/acpi_tables.c M src/mainboard/lenovo/g505s/dsdt.asl M src/mainboard/lenovo/g505s/mainboard.c M src/mainboard/lenovo/l520/dsdt.asl M src/mainboard/lenovo/s230u/dsdt.asl M src/mainboard/lenovo/s230u/mainboard.c M src/mainboard/lenovo/t400/acpi_tables.c M src/mainboard/lenovo/t400/cstates.c M src/mainboard/lenovo/t400/dsdt.asl M src/mainboard/lenovo/t400/fadt.c M src/mainboard/lenovo/t410/dsdt.asl M src/mainboard/lenovo/t410/mainboard.c M src/mainboard/lenovo/t420/dsdt.asl M src/mainboard/lenovo/t420s/dsdt.asl M src/mainboard/lenovo/t430/dsdt.asl M src/mainboard/lenovo/t430s/dsdt.asl M src/mainboard/lenovo/t440p/dsdt.asl M src/mainboard/lenovo/t520/dsdt.asl M src/mainboard/lenovo/t530/dsdt.asl M src/mainboard/lenovo/t60/dsdt.asl M src/mainboard/lenovo/t60/mainboard.c M src/mainboard/lenovo/thinkcentre_a58/cstates.c M src/mainboard/lenovo/thinkcentre_a58/dsdt.asl M src/mainboard/lenovo/x131e/dsdt.asl M src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl M src/mainboard/lenovo/x200/acpi_tables.c M src/mainboard/lenovo/x200/cstates.c M src/mainboard/lenovo/x200/dsdt.asl M src/mainboard/lenovo/x200/fadt.c M src/mainboard/lenovo/x201/dsdt.asl M src/mainboard/lenovo/x220/dsdt.asl M src/mainboard/lenovo/x220/early_init.c M src/mainboard/lenovo/x230/dsdt.asl M src/mainboard/lenovo/x60/dsdt.asl M src/mainboard/lenovo/x60/mainboard.c M src/mainboard/libretrend/lt1000/dsdt.asl M src/mainboard/lippert/frontrunner-af/acpi/routing.asl M src/mainboard/lippert/frontrunner-af/acpi/usb.asl M src/mainboard/lippert/frontrunner-af/acpi_tables.c M src/mainboard/lippert/frontrunner-af/dsdt.asl M src/mainboard/lippert/toucan-af/acpi/routing.asl M src/mainboard/lippert/toucan-af/acpi/usb.asl M src/mainboard/lippert/toucan-af/acpi_tables.c M src/mainboard/lippert/toucan-af/dsdt.asl M src/mainboard/msi/ms7707/dsdt.asl M src/mainboard/msi/ms7721/acpi/cpstate.asl M src/mainboard/msi/ms7721/acpi_tables.c M src/mainboard/msi/ms7721/dsdt.asl M src/mainboard/ocp/tiogapass/dsdt.asl M src/mainboard/ocp/tiogapass/fadt.c M src/mainboard/packardbell/ms2290/dsdt.asl M src/mainboard/pcengines/apu1/acpi/routing.asl M src/mainboard/pcengines/apu1/acpi/usb_oc.asl M src/mainboard/pcengines/apu1/acpi_tables.c M src/mainboard/pcengines/apu1/dsdt.asl M src/mainboard/pcengines/apu2/acpi/routing.asl M src/mainboard/pcengines/apu2/acpi/usb_oc.asl M src/mainboard/pcengines/apu2/acpi_tables.c M src/mainboard/pcengines/apu2/dsdt.asl M src/mainboard/portwell/m107/acpi_tables.c M src/mainboard/portwell/m107/dsdt.asl M src/mainboard/protectli/vault_bsw/dsdt.asl M src/mainboard/protectli/vault_kbl/dsdt.asl M src/mainboard/purism/librem_bdw/acpi_tables.c M src/mainboard/purism/librem_bdw/dsdt.asl M src/mainboard/purism/librem_skl/dsdt.asl M src/mainboard/razer/blade_stealth_kbl/dsdt.asl M src/mainboard/roda/rk886ex/cstates.c M src/mainboard/roda/rk886ex/dsdt.asl M src/mainboard/roda/rk9/acpi_tables.c M src/mainboard/roda/rk9/cstates.c M src/mainboard/roda/rk9/dsdt.asl M src/mainboard/roda/rk9/fadt.c M src/mainboard/roda/rv11/dsdt.asl M src/mainboard/samsung/lumpy/acpi_tables.c M src/mainboard/samsung/lumpy/dsdt.asl M src/mainboard/samsung/lumpy/ec.c M src/mainboard/samsung/lumpy/mainboard.c M src/mainboard/samsung/stumpy/acpi_tables.c M src/mainboard/samsung/stumpy/dsdt.asl M src/mainboard/samsung/stumpy/mainboard.c M src/mainboard/samsung/stumpy/smihandler.c M src/mainboard/sapphire/pureplatinumh61/dsdt.asl M src/mainboard/scaleway/tagada/acpi_tables.c M src/mainboard/scaleway/tagada/dsdt.asl M src/mainboard/scaleway/tagada/fadt.c M src/mainboard/siemens/mc_apl1/dsdt.asl M src/mainboard/supermicro/x10slm-f/dsdt.asl M src/mainboard/supermicro/x11-lga1151-series/dsdt.asl M src/mainboard/supermicro/x9scl/dsdt.asl M src/mainboard/system76/lemp9/dsdt.asl M src/mainboard/up/squared/dsdt.asl M src/northbridge/amd/agesa/family14/northbridge.c M src/northbridge/amd/agesa/family15tn/northbridge.c M src/northbridge/amd/agesa/family16kb/northbridge.c M src/northbridge/amd/pi/00630F01/northbridge.c M src/northbridge/amd/pi/00660F01/northbridge.c M src/northbridge/amd/pi/00730F01/northbridge.c M src/northbridge/intel/e7505/northbridge.c M src/northbridge/intel/gm45/acpi.c M src/northbridge/intel/gm45/northbridge.c M src/northbridge/intel/gm45/romstage.c M src/northbridge/intel/haswell/acpi.c M src/northbridge/intel/haswell/northbridge.c M src/northbridge/intel/i945/acpi.c M src/northbridge/intel/i945/northbridge.c M src/northbridge/intel/ironlake/northbridge.c M src/northbridge/intel/pineview/acpi.c M src/northbridge/intel/pineview/northbridge.c M src/northbridge/intel/sandybridge/acpi.c M src/northbridge/intel/sandybridge/northbridge.c M src/northbridge/intel/x4x/acpi.c M src/northbridge/intel/x4x/northbridge.c M src/security/memory/memory_clear.c M src/soc/amd/common/block/acpi/acpi.c M src/soc/amd/common/block/graphics/graphics.c M src/soc/amd/common/block/hda/hda.c M src/soc/amd/common/block/include/amdblocks/acpi.h M src/soc/amd/common/block/pi/agesawrapper.c M src/soc/amd/common/block/pi/amd_late_init.c M src/soc/amd/common/block/pi/refcode_loader.c M src/soc/amd/common/block/sata/sata.c M src/soc/amd/picasso/acpi.c M src/soc/amd/picasso/chip.h M src/soc/amd/picasso/finalize.c M src/soc/amd/picasso/i2c.c M src/soc/amd/picasso/include/soc/acpi.h M src/soc/amd/picasso/mca.c M src/soc/amd/picasso/northbridge.c M src/soc/amd/picasso/pmutil.c M src/soc/amd/picasso/romstage.c M src/soc/amd/picasso/smihandler.c M src/soc/amd/stoneyridge/acpi.c M src/soc/amd/stoneyridge/chip.h M src/soc/amd/stoneyridge/finalize.c M src/soc/amd/stoneyridge/i2c.c M src/soc/amd/stoneyridge/include/soc/acpi.h M src/soc/amd/stoneyridge/mca.c M src/soc/amd/stoneyridge/northbridge.c M src/soc/amd/stoneyridge/pmutil.c M src/soc/amd/stoneyridge/romstage.c M src/soc/amd/stoneyridge/smihandler.c M src/soc/intel/apollolake/acpi.c M src/soc/intel/apollolake/chip.c M src/soc/intel/apollolake/cpu.c M src/soc/intel/apollolake/graphics.c M src/soc/intel/apollolake/include/soc/pm.h M src/soc/intel/apollolake/pmutil.c M src/soc/intel/baytrail/acpi.c M src/soc/intel/baytrail/ehci.c M src/soc/intel/baytrail/elog.c M src/soc/intel/baytrail/include/soc/acpi.h M src/soc/intel/baytrail/include/soc/pmc.h M src/soc/intel/baytrail/northcluster.c M src/soc/intel/baytrail/pmutil.c M src/soc/intel/baytrail/ramstage.c M src/soc/intel/baytrail/refcode.c M src/soc/intel/baytrail/romstage/raminit.c M src/soc/intel/baytrail/southcluster.c M src/soc/intel/baytrail/xhci.c M src/soc/intel/braswell/acpi.c M src/soc/intel/braswell/elog.c M src/soc/intel/braswell/include/soc/acpi.h M src/soc/intel/braswell/include/soc/pm.h M src/soc/intel/braswell/northcluster.c M src/soc/intel/braswell/pmutil.c M src/soc/intel/braswell/ramstage.c M src/soc/intel/braswell/southcluster.c M src/soc/intel/broadwell/acpi.c M src/soc/intel/broadwell/igd.c M src/soc/intel/broadwell/include/soc/acpi.h M src/soc/intel/broadwell/include/soc/pm.h M src/soc/intel/broadwell/lpc.c M src/soc/intel/broadwell/me.c M src/soc/intel/broadwell/pmutil.c M src/soc/intel/broadwell/ramstage.c M src/soc/intel/broadwell/refcode.c M src/soc/intel/broadwell/systemagent.c M src/soc/intel/broadwell/xhci.c M src/soc/intel/cannonlake/acpi.c M src/soc/intel/cannonlake/graphics.c M src/soc/intel/cannonlake/include/soc/pm.h M src/soc/intel/common/acpi_wake_source.c M src/soc/intel/common/block/acpi/acpi.c M src/soc/intel/common/block/cpu/cpulib.c M src/soc/intel/common/block/include/intelblocks/acpi.h M src/soc/intel/common/block/include/intelblocks/sd.h M src/soc/intel/common/block/pmc/pmc.c M src/soc/intel/common/block/pmc/pmclib.c M src/soc/intel/common/block/scs/early_mmc.c M src/soc/intel/common/block/scs/sd.c M src/soc/intel/common/block/uart/uart.c M src/soc/intel/common/block/xhci/xhci.c M src/soc/intel/common/tpm_tis.c M src/soc/intel/common/vbt.c M src/soc/intel/denverton_ns/acpi.c M src/soc/intel/denverton_ns/chip.c M src/soc/intel/denverton_ns/include/soc/acpi.h M src/soc/intel/denverton_ns/include/soc/pm.h M src/soc/intel/denverton_ns/lpc.c M src/soc/intel/denverton_ns/pmc.c M src/soc/intel/icelake/acpi.c M src/soc/intel/icelake/graphics.c M src/soc/intel/icelake/include/soc/pm.h M src/soc/intel/jasperlake/acpi.c M src/soc/intel/jasperlake/graphics.c M src/soc/intel/jasperlake/include/soc/pm.h M src/soc/intel/quark/include/soc/acpi.h M src/soc/intel/quark/include/soc/pm.h M src/soc/intel/skylake/acpi.c M src/soc/intel/skylake/chip.c M src/soc/intel/skylake/chip.h M src/soc/intel/skylake/include/soc/acpi.h M src/soc/intel/skylake/include/soc/pm.h M src/soc/intel/skylake/pmutil.c M src/soc/intel/tigerlake/acpi.c M src/soc/intel/tigerlake/graphics.c M src/soc/intel/tigerlake/include/soc/pm.h M src/soc/intel/xeon_sp/cpx/acpi.c M src/soc/intel/xeon_sp/cpx/cpu.c M src/soc/intel/xeon_sp/skx/acpi.c M src/soc/intel/xeon_sp/skx/include/soc/acpi.h M src/soc/intel/xeon_sp/skx/include/soc/soc_util.h M src/southbridge/amd/agesa/hudson/fadt.c M src/southbridge/amd/agesa/hudson/lpc.c M src/southbridge/amd/agesa/hudson/ramtop.c M src/southbridge/amd/cimx/sb800/cfg.c M src/southbridge/amd/cimx/sb800/fadt.c M src/southbridge/amd/cimx/sb800/late.c M src/southbridge/amd/cimx/sb800/ramtop.c M src/southbridge/amd/pi/hudson/fadt.c M src/southbridge/amd/pi/hudson/hudson.c M src/southbridge/amd/pi/hudson/lpc.c M src/southbridge/intel/bd82x6x/elog.c M src/southbridge/intel/bd82x6x/lpc.c M src/southbridge/intel/bd82x6x/me.c M src/southbridge/intel/bd82x6x/me_8.x.c M src/southbridge/intel/bd82x6x/pch.h M src/southbridge/intel/common/acpi_pirq_gen.c M src/southbridge/intel/common/madt.c M src/southbridge/intel/common/pciehp.c M src/southbridge/intel/common/pmbase.c M src/southbridge/intel/common/pmclib.c M src/southbridge/intel/common/smihandler.c M src/southbridge/intel/i82371eb/acpi_tables.c M src/southbridge/intel/i82371eb/fadt.c M src/southbridge/intel/i82371eb/isa.c M src/southbridge/intel/i82371eb/wakeup.c M src/southbridge/intel/i82801dx/i82801dx.h M src/southbridge/intel/i82801dx/smi.c M src/southbridge/intel/i82801gx/lpc.c M src/southbridge/intel/i82801ix/lpc.c M src/southbridge/intel/i82801ix/smi.c M src/southbridge/intel/i82801jx/lpc.c M src/southbridge/intel/ibexpeak/lpc.c M src/southbridge/intel/ibexpeak/madt.c M src/southbridge/intel/ibexpeak/me.c M src/southbridge/intel/ibexpeak/pch.h M src/southbridge/intel/lynxpoint/acpi.c M src/southbridge/intel/lynxpoint/elog.c M src/southbridge/intel/lynxpoint/lpc.c M src/southbridge/intel/lynxpoint/me_9.x.c M src/southbridge/intel/lynxpoint/pch.h M src/superio/aspeed/ast2400/superio.c M src/superio/common/conf_mode.c M src/superio/common/generic.c M src/superio/common/ssdt.c M src/superio/nuvoton/nct5539d/superio.c M src/superio/nuvoton/nct5572d/superio.c M src/superio/nuvoton/nct6791d/superio.c M src/superio/nuvoton/npcd378/superio.c M src/superio/winbond/w83667hg-a/superio.c M src/vendorcode/eltan/security/mboot/mboot.h M src/vendorcode/google/chromeos/acpi.c M src/vendorcode/google/chromeos/elog.c M util/autoport/main.go 697 files changed, 807 insertions(+), 802 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/40930/4
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move all ACPI table support out of arch/x86 ......................................................................
Patch Set 4: Code-Review-2
Let me rework this CL. It is impossible to review in its current form.
Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move all ACPI table support out of arch/x86 ......................................................................
Patch Set 4:
I'm not sure why of the build failure, but it seems straightforward. most of the file diffs are path changes.
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move all ACPI table support out of arch/x86 ......................................................................
Patch Set 4:
Patch Set 4:
I'm not sure why of the build failure, but it seems straightforward. most of the file diffs are path changes.
It is complaining about static const char *power_res_dev_states[] = { "_PR0", "_PR3" };. static needs to be dropped.
Hello build bot (Jenkins), Patrick Georgi, Frans Hendriks, Tristan Corrick, Angel Pons, Andrey Petrov, Patrick Rudolph, Piotr Król, David Guckian, Michał Żygowski, Damien Zammit, Martin Roth, Lee Leahy, Christian Walter, Vanessa Eusebio, Huang Jin, Alexander Couzens, Werner Zeh, Evgeny Zinoviev, Wim Vervoorn, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40930
to look at the new patch set (#5).
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
acpi: Move ACPI table support out of arch/x86 (1/5)
This change moves all ACPI table support in coreboot currently living under arch/x86 into common code to make it architecture independent. ACPI table generation is not really tied to any architecture and hence it makes sense to move this to its own directory.
In order to make it easier to review, this change is being split into multiple CLs. This is change 1/5 which moves .c files from arch/x86 to acpi/.
The only acpi files that are still retained under arch/x86 are: a. acpi_s3.c: This doesn't really deal with ACPI tables. Also, there are some assumptions in there about SMM which will have to be resolved if this file needs to be moved to common code.
b. acpi_bert_storage.c/bert_storage.h: This file is currently written specifically with x86 in mind. So, not moving the file for now.
Motivation for this change: Not all stages on Picasso SoC are targeted for the same architecture. For example, verstage (if runs before bootblock) will be targeted for non-x86. This makes it difficult to add device tree to verstage which would be required to get to SoC configs from the tree. This is because the device tree on x86 platforms currently contains a lot of devices that require ACPI related enums and structs (like acpi_gpio, acpi_pld, acpi_dp and so on). Hence, this change removes all ACPI table support out of arch/x86.
BUG=b:155428745
Change-Id: Icc6b793c52c86483a8c52e0555619e36869a869e Signed-off-by: Furquan Shaikh furquan@google.com --- M src/acpi/Makefile.inc R src/acpi/acpi.c R src/acpi/acpi_device.c R src/acpi/acpi_pld.c R src/acpi/acpigen.c R src/acpi/acpigen_dsm.c R src/acpi/acpigen_ps2_keybd.c M src/arch/x86/Makefile.inc 8 files changed, 12 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/40930/5
Hello build bot (Jenkins), Patrick Georgi, Frans Hendriks, Tristan Corrick, Angel Pons, Andrey Petrov, Patrick Rudolph, Piotr Król, David Guckian, Michał Żygowski, Damien Zammit, Martin Roth, Lee Leahy, Christian Walter, Vanessa Eusebio, Huang Jin, Alexander Couzens, Werner Zeh, Evgeny Zinoviev, Wim Vervoorn, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40930
to look at the new patch set (#6).
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
acpi: Move ACPI table support out of arch/x86 (1/5)
This change moves all ACPI table support in coreboot currently living under arch/x86 into common code to make it architecture independent. ACPI table generation is not really tied to any architecture and hence it makes sense to move this to its own directory.
In order to make it easier to review, this change is being split into multiple CLs. This is change 1/5 which moves .c files from arch/x86 to acpi/.
The only acpi files that are still retained under arch/x86 are: a. acpi_s3.c: This doesn't really deal with ACPI tables. Also, there are some assumptions in there about SMM which will have to be resolved if this file needs to be moved to common code.
b. acpi_bert_storage.c/bert_storage.h: This file is currently written specifically with x86 in mind. So, not moving the file for now.
Motivation for this change: Not all stages on Picasso SoC are targeted for the same architecture. For example, verstage (if runs before bootblock) will be targeted for non-x86. This makes it difficult to add device tree to verstage which would be required to get to SoC configs from the tree. This is because the device tree on x86 platforms currently contains a lot of devices that require ACPI related enums and structs (like acpi_gpio, acpi_pld, acpi_dp and so on). Hence, this change removes all ACPI table support out of arch/x86.
BUG=b:155428745
Change-Id: Icc6b793c52c86483a8c52e0555619e36869a869e Signed-off-by: Furquan Shaikh furquan@google.com --- M src/acpi/Makefile.inc R src/acpi/acpi.c R src/acpi/acpi_device.c R src/acpi/acpi_pld.c R src/acpi/acpigen.c R src/acpi/acpigen_dsm.c R src/acpi/acpigen_ps2_keybd.c M src/arch/x86/Makefile.inc 8 files changed, 12 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/40930/6
Furquan Shaikh has removed a vote from this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
Removed Code-Review-2 by Furquan Shaikh furquan@google.com
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
Patch Set 7: Code-Review+1
Frans Hendriks has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
Patch Set 7: Code-Review+1
Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
Patch Set 7: Code-Review+2
Raul Rangel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
Patch Set 7: Code-Review+2
Duncan Laurie has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
Patch Set 7: Code-Review+2
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
Patch Set 7: Code-Review+2
I wonder why gerrit complains about a merge conflict here. looks good to me, but probably needs a rebase
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
Patch Set 7:
Patch Set 7: Code-Review+2
I wonder why gerrit complains about a merge conflict here. looks good to me, but probably needs a rebase
There were some changes that merged recently: https://review.coreboot.org/c/coreboot/+/40882. I will rebase and push a new patchset.
Hello build bot (Jenkins), Raul Rangel, Patrick Georgi, Duncan Laurie, Andrey Petrov, Aaron Durbin, Patrick Rudolph, Piotr Król, David Guckian, Michał Żygowski, Christian Walter, Alexander Couzens, Werner Zeh, Felix Held, Wim Vervoorn, Frans Hendriks, Tristan Corrick, Angel Pons, Damien Zammit, Martin Roth, Lee Leahy, Vanessa Eusebio, Huang Jin, Evgeny Zinoviev,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40930
to look at the new patch set (#8).
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
acpi: Move ACPI table support out of arch/x86 (1/5)
This change moves all ACPI table support in coreboot currently living under arch/x86 into common code to make it architecture independent. ACPI table generation is not really tied to any architecture and hence it makes sense to move this to its own directory.
In order to make it easier to review, this change is being split into multiple CLs. This is change 1/5 which moves .c files from arch/x86 to acpi/.
The only acpi files that are still retained under arch/x86 are: a. acpi_s3.c: This doesn't really deal with ACPI tables. Also, there are some assumptions in there about SMM which will have to be resolved if this file needs to be moved to common code.
b. acpi_bert_storage.c/bert_storage.h: This file is currently written specifically with x86 in mind. So, not moving the file for now.
Motivation for this change: Not all stages on Picasso SoC are targeted for the same architecture. For example, verstage (if runs before bootblock) will be targeted for non-x86. This makes it difficult to add device tree to verstage which would be required to get to SoC configs from the tree. This is because the device tree on x86 platforms currently contains a lot of devices that require ACPI related enums and structs (like acpi_gpio, acpi_pld, acpi_dp and so on). Hence, this change removes all ACPI table support out of arch/x86.
BUG=b:155428745
Change-Id: Icc6b793c52c86483a8c52e0555619e36869a869e Signed-off-by: Furquan Shaikh furquan@google.com --- M src/acpi/Makefile.inc R src/acpi/acpi.c R src/acpi/acpi_device.c R src/acpi/acpi_pld.c R src/acpi/acpigen.c R src/acpi/acpigen_dsm.c R src/acpi/acpigen_ps2_keybd.c M src/arch/x86/Makefile.inc 8 files changed, 12 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/40930/8
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
Patch Set 8: Code-Review+2
Furquan Shaikh has submitted this change. ( https://review.coreboot.org/c/coreboot/+/40930 )
Change subject: acpi: Move ACPI table support out of arch/x86 (1/5) ......................................................................
acpi: Move ACPI table support out of arch/x86 (1/5)
This change moves all ACPI table support in coreboot currently living under arch/x86 into common code to make it architecture independent. ACPI table generation is not really tied to any architecture and hence it makes sense to move this to its own directory.
In order to make it easier to review, this change is being split into multiple CLs. This is change 1/5 which moves .c files from arch/x86 to acpi/.
The only acpi files that are still retained under arch/x86 are: a. acpi_s3.c: This doesn't really deal with ACPI tables. Also, there are some assumptions in there about SMM which will have to be resolved if this file needs to be moved to common code.
b. acpi_bert_storage.c/bert_storage.h: This file is currently written specifically with x86 in mind. So, not moving the file for now.
Motivation for this change: Not all stages on Picasso SoC are targeted for the same architecture. For example, verstage (if runs before bootblock) will be targeted for non-x86. This makes it difficult to add device tree to verstage which would be required to get to SoC configs from the tree. This is because the device tree on x86 platforms currently contains a lot of devices that require ACPI related enums and structs (like acpi_gpio, acpi_pld, acpi_dp and so on). Hence, this change removes all ACPI table support out of arch/x86.
BUG=b:155428745
Change-Id: Icc6b793c52c86483a8c52e0555619e36869a869e Signed-off-by: Furquan Shaikh furquan@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/40930 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Held felix-coreboot@felixheld.de --- M src/acpi/Makefile.inc R src/acpi/acpi.c R src/acpi/acpi_device.c R src/acpi/acpi_pld.c R src/acpi/acpigen.c R src/acpi/acpigen_dsm.c R src/acpi/acpigen_ps2_keybd.c M src/arch/x86/Makefile.inc 8 files changed, 12 insertions(+), 7 deletions(-)
Approvals: build bot (Jenkins): Verified Felix Held: Looks good to me, approved
diff --git a/src/acpi/Makefile.inc b/src/acpi/Makefile.inc index e99110e..068c592 100644 --- a/src/acpi/Makefile.inc +++ b/src/acpi/Makefile.inc @@ -1,4 +1,15 @@ # SPDX-License-Identifier: GPL-2.0-only # This file is part of the coreboot project.
-ramstage-$(CONFIG_HAVE_ACPI_TABLES) += sata.c +ifeq ($(CONFIG_HAVE_ACPI_TABLES),y) + +ramstage-y += acpi.c +ramstage-y += acpi_device.c +ramstage-y += acpi_pld.c +ramstage-y += acpigen.c +ramstage-y += acpigen_dsm.c +ramstage-y += acpigen_ps2_keybd.c + +ramstage-y += sata.c + +endif # CONFIG_GENERATE_ACPI_TABLES diff --git a/src/arch/x86/acpi.c b/src/acpi/acpi.c similarity index 100% rename from src/arch/x86/acpi.c rename to src/acpi/acpi.c diff --git a/src/arch/x86/acpi_device.c b/src/acpi/acpi_device.c similarity index 100% rename from src/arch/x86/acpi_device.c rename to src/acpi/acpi_device.c diff --git a/src/arch/x86/acpi_pld.c b/src/acpi/acpi_pld.c similarity index 100% rename from src/arch/x86/acpi_pld.c rename to src/acpi/acpi_pld.c diff --git a/src/arch/x86/acpigen.c b/src/acpi/acpigen.c similarity index 100% rename from src/arch/x86/acpigen.c rename to src/acpi/acpigen.c diff --git a/src/arch/x86/acpigen_dsm.c b/src/acpi/acpigen_dsm.c similarity index 100% rename from src/arch/x86/acpigen_dsm.c rename to src/acpi/acpigen_dsm.c diff --git a/src/arch/x86/acpigen_ps2_keybd.c b/src/acpi/acpigen_ps2_keybd.c similarity index 100% rename from src/arch/x86/acpigen_ps2_keybd.c rename to src/acpi/acpigen_ps2_keybd.c diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc index 2d00709..aa1f5fe 100644 --- a/src/arch/x86/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -230,12 +230,6 @@
ifeq ($(CONFIG_ARCH_RAMSTAGE_X86_32)$(CONFIG_ARCH_RAMSTAGE_X86_64),y)
-ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c -ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpigen.c -ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpigen_dsm.c -ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi_device.c -ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi_pld.c -ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpigen_ps2_keybd.c ramstage-$(CONFIG_HAVE_ACPI_RESUME) += acpi_s3.c ramstage-$(CONFIG_ACPI_BERT) += acpi_bert_storage.c ramstage-y += c_start.S