[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linuxbios
Subject:    [coreboot] Re: getting rid of CAR_GLOBAL and early_variables.h
From:       Patrick Rudolph <patrick.rudolph () 9elements ! com>
Date:       2019-02-13 8:36:16
Message-ID: f846c69860a4248ab3eac37b89978eabfc5f9f9c.camel () 9elements ! com
[Download RAW message or body]

Sound's like a good plan.

On Sun, 2019-02-10 at 13:26 +0100, Arthur Heymans wrote:
> Hi
> 
> Currently most x86 platforms have CONFIG_NO_CAR_GLOBAL_MIGRATION set
> by
> implementing POSTCAR_STAGE. This means that global variables during
> CAR
> stages don't need to be migrated to cbmem when initializing cbmem, as
> stages are cleanly separated programs (in other words you don't tear
> down CAR while running code in CAR). Previously we had a CAR_GLOBAL
> macro that would put global variables a 'special' place in car. with
> NO_CAR_GLOBAL_MIGRATION this is not needed anymore.
> 
> I propose to remove all those CAR_GLOBAL references on platforms
> already
> implementing POSTCAR_STAGE. see [1]. That way future platforms that
> tend
> to copy a lot of this code don't needlessly end up using this
> meaningless macro.
> 
> Now moving forward it would be a nice goal to set for the October
> release 2020 to have NO_CAR_GLOBAL_MIGRATION as a mandatory feature?
> This was already discussed in [2], without a decisive conclusion.
> 
> [1]https://review.coreboot.org/q/topic:%2522no_CAR_GLOBAL%2522+
> [2]
> https://mail.coreboot.org/hyperkitty/list/coreboot@coreboot.org/message/VJ34MNXVZRO4VUZAK2YXUMTBRFWNF7NM/
>  _______________________________________________
> coreboot mailing list -- coreboot@coreboot.org
> To unsubscribe send an email to coreboot-leave@coreboot.org
-- 
Patrick Rudolph

9elements Agency GmbH, Kortumstraße 19-21, 44787 Bochum, Germany
Email:  patrick.rudolph@9elements.com
Phone:  +49 234 68 94 188

Sitz der Gesellschaft: Bochum
Handelsregister: Amtsgericht Bochum, HRB 17519
Geschäftsführung: Sebastian Deutsch, Daniel Hoelzgen
_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-leave@coreboot.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic