coreboot-kgpe-d16/src
Aaron Durbin 223fb436fe cpu/x86/mp: pass pointers to structures for AP callbacks
In order to extend the MP callback infrastructure prepare for
easier changes by making the AP callback get signalled by a
single pointer to a local variable on the signaller's stack.
When the APs see the callback they will copy the structure
to a local variable and then set the acknowledgement by
clearing out the slot.

The reading and writing to the slots were implemented using inline
assembly which forces a memory access and a compiler barrier.

BUG=b:74436746

Change-Id: Ia46133a49c03ce3ce0e73ae3d30547316c7ec43c
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/26043
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-05-14 08:39:18 +00:00
..
acpi
arch acpi: Add support for writing ACPI _PLD structures 2018-05-11 09:00:33 +00:00
commonlib timestamp: Add timestamps for TPM communication 2018-05-13 10:08:42 +00:00
console console: Skip non-BSP printk() earlier 2018-05-09 05:21:21 +00:00
cpu cpu/x86/mp: pass pointers to structures for AP callbacks 2018-05-14 08:39:18 +00:00
device devicetree: Add USB device type 2018-05-11 08:59:51 +00:00
drivers drivers/pc80/tpm: get ioport from pnp records 2018-05-13 10:16:24 +00:00
ec ec/google/chromeec: add config for wake event types 2018-05-08 14:16:15 +00:00
include program_loading: make types a mask, make unknown type a non-zero 2018-05-14 02:54:21 +00:00
lib timestamp: Increase max number of timestamps 2018-05-14 07:37:40 +00:00
mainboard mainboard/asus: Add license headers 2018-05-13 10:13:32 +00:00
northbridge nb/intel/x4x/raminit: DDR3 specific ODT 2018-05-14 08:30:51 +00:00
security timestamp: Add timestamps for TPM communication 2018-05-13 10:08:42 +00:00
soc grunt: use stage cache when waking from S3 2018-05-14 07:34:51 +00:00
southbridge agesa/hudson/southbridge: add acpi name reporting for lpc 2018-05-14 07:39:08 +00:00
superio superio/ite/it8623e: initialize the PWM fan controller 2018-05-12 20:32:27 +00:00
vendorcode AGESA f14: Remove OPTION_DDR2 2018-05-10 17:54:39 +00:00
Kconfig Timestamps: Add option to print timestamps to debug console 2018-03-09 17:16:21 +00:00