coreboot-kgpe-d16/src/mainboard/asrock/e350m1
Stefan Reinauer 935850e082 asrock/e350m1: reduce default stack size
The stack used on the ASRock E350M1 is significantly less than
what we currently set (64k per core). In fact, we use about half
of the default stack size (4k) on core 0 and even less on non
BSP cores [1]:

    $ grep stack coreboot_without_patch_but_monotonic_timer.log
    CPU1: stack_base 002a0000, stack_end 002afff8
    CPU1: stack: 002a0000 - 002b0000, lowest used address 002afda8, stack used: 600 bytes
    CPU0: stack: 002b0000 - 002c0000, lowest used address 002bf75c, stack used: 2212 bytes

Removing the Kconfig variable STACK_SIZE to use the default results
in the following numbers of stack usage.

    $ grep stack coreboot_with_patch.log
    CPU1: stack_base 00287000, stack_end 00287ff8
    CPU1: stack: 00287000 - 00288000, lowest used address 00287da8, stack used: 600 bytes
    CPU0: stack: 00288000 - 00289000, lowest used address 0028875c, stack used: 2212 bytes

[1] http://review.coreboot.org/#/c/3154/
    (comment May 2 10:21 AM)

Change-Id: Ibdb2102c86094fce3787e3b5a162ca8423de205c
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Tested-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/3209
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-05-07 18:30:43 +02:00
..
acpi ASRock DSDT: Split the ASRock DSDT 2013-04-11 00:53:17 +02:00
acpi_tables.c AMD Fam14 boards: Unify acpi_table.c by mainly using Inagua’s one 2013-02-21 23:15:14 +01:00
agesawrapper.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
agesawrapper.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
BiosCallOuts.c Asrock E350M1: Use SPD read code from F14 wrapper 2013-03-22 01:06:12 +01:00
BiosCallOuts.h ASRock E350M1: Let BiosGnbPcieSlotReset() return AGESA_UNSUPPORTED 2013-03-07 00:45:41 +01:00
buildOpts.c ASRock E350M1: buildOpts.c: Add missing memory related defines 2013-04-02 18:59:29 +02:00
cmos.layout GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
devicetree.cb Asrock E350M1: Use SPD read code from F14 wrapper 2013-03-22 01:06:12 +01:00
dsdt.asl ASRock DSDT: Split the ASRock DSDT 2013-04-11 00:53:17 +02:00
get_bus_conf.c AMD SB800 based boards: Use #include <sb_cimx.h> instead of "sb_cimx.h" 2013-04-20 18:57:20 +02:00
irq_tables.c ASRock E350M1: irq_tables.c: Include cpu/amd/amdfam14.h for get_bus_conf 2013-03-30 14:07:21 +01:00
Kconfig asrock/e350m1: reduce default stack size 2013-05-07 18:30:43 +02:00
mainboard.c ASRock E350M1: mainboard.c: Include cimx_util.h for pm_iowrite 2013-04-01 21:06:39 +02:00
Makefile.inc Asrock E350M1: Use SPD read code from F14 wrapper 2013-03-22 01:06:12 +01:00
mptable.c ASRock E350M1: mptable.c: Remove unused variable dev 2013-04-01 21:07:46 +02:00
OptionsIds.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
platform_cfg.h AMD CIMx SB800 boards: platform_cfg.h: Integrate Kconfig SATA Mode choice 2013-03-08 22:25:12 +01:00
PlatformGnbPcie.c ASRock E350M1: PlatformGnbPcie.c: Do not return anything for void return type 2013-03-30 14:03:11 +01:00
PlatformGnbPcieComplex.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
reset.c x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
romstage.c AMD SB800 based boards: Use #include <sb_cimx.h> instead of "sb_cimx.h" 2013-04-20 18:57:20 +02:00