coreboot-kgpe-d16/src/arch/x86
Julius Werner cd6b22f9a0 arch: Unify basic cache clearing API
Caching is a very architecture-specific thing, but most architectures
have a cache in general. Therefore it can be useful to have a generic
architecture-independent API to perform simple cache management tasks
from common code.

We have already standardized on the dcache_clean/invalidate naming
scheme that originally comes from ARM in libpayload, so let's just do
the same for coreboot. Unlike libpayload, there are other things than
just DMA coherency we may want to achieve with those functions, so
actually implement them for real even on architectures with
cache-snooping DMA like x86. (In the future, we may find applications
like this in libpayload as well and should probably rethink the API
there... maybe move the current functionality to a separate
dma_map/unmap API instead. But that's beyond scope of this patch.)

Change-Id: I2c1723a287f76cd4118ef38a445339840601aeea
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/19788
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
2017-05-30 22:19:50 +02:00
..
acpi
include arch: Unify basic cache clearing API 2017-05-30 22:19:50 +02:00
acpi.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
acpi_device.c arch/x86/acpi: Allow "transparent" ACPI device names 2017-04-17 22:53:14 +02:00
acpi_s3.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
acpigen.c x86/acpigen: Fix BufferSize of ResourceTemplate 2017-04-18 16:03:32 +02:00
acpigen_dsm.c arch/x86/acpigen: Fix acpigen for If (Lequal (...)) 2016-11-16 01:08:06 +01:00
assembly_entry.S vboot: Move remaining features out of vendorcode/google/chromeos 2017-03-28 22:18:13 +02:00
boot.c arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00
bootblock.ld
bootblock_crt0.S
bootblock_normal.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
bootblock_romcc.S
bootblock_simple.c vboot: Move remaining features out of vendorcode/google/chromeos 2017-03-28 22:18:13 +02:00
c_start.S ramstage: Align stack to 16 bytes 2017-03-19 21:38:53 +01:00
car.ld commonlib: Move drivers/storage into commonlib/storage 2017-05-12 18:20:33 +02:00
cbfs_and_run.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
cbmem.c CBMEM: Clarify CBMEM_TOP_BACKUP function usage 2017-05-27 13:54:47 +02:00
cpu.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
cpu_common.c
crt0_romcc_epilogue.inc
ebda.c arch/x86: Fix space issues detected by checkpatch 2017-03-17 03:17:39 +01:00
exception.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
exit_car.S soc/intel/apollolake: allow ApolloLake SoC to use FSP CAR Init 2016-12-21 00:11:24 +01:00
failover.ld
gdt.c arch/x86: Fix space issues detected by checkpatch 2017-03-17 03:17:39 +01:00
id.ld
id.S arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00
ioapic.c
Kconfig CBMEM: Add config CBMEM_TOP_BACKUP 2017-05-18 06:47:34 +02:00
Makefile.inc Remove libverstage as separate library and source file class 2017-03-28 22:18:53 +02:00
memcpy.c
memlayout.ld
memmove.c arch/x86: Fix space issues detected by checkpatch 2017-03-17 03:17:39 +01:00
memset.c arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00
mmap_boot.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
mpspec.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
pci_ops_conf1.c arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00
pci_ops_mmconf.c arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00
pirq_routing.c arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00
postcar.c drivers/intel/fsp2_0: add FSP TempRamInit & TempRamExit API support 2016-12-21 00:10:22 +01:00
postcar_loader.c postcar_loader: Support LATE_CBMEM_INIT boards 2016-12-09 23:54:34 +01:00
prologue.inc
rdrand.c arch/x86: add functions to generate random numbers 2017-02-20 04:46:10 +01:00
romcc_console.c
smbios.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
stages.c
tables.c arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00
thread.c arch/x86: Fix space issues detected by checkpatch 2017-03-17 03:17:39 +01:00
thread_switch.S
timestamp.c
verstage.c vboot: Remove CHIPSET_PROVIDES_VERSTAGE_MAIN_SYMBOL Kconfig option 2017-03-28 22:14:03 +02:00
wakeup.S
walkcbfs.S arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00