| 545861aa | 19-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: remove struct load_seg
Removes struct load_seg, the mobj stored in struct load_seg is already stored in struct vm_region. A flag VM_FLAG_EXCLUSIVE_MOBJ is added to indicate that the mobj in st
core: remove struct load_seg
Removes struct load_seg, the mobj stored in struct load_seg is already stored in struct vm_region. A flag VM_FLAG_EXCLUSIVE_MOBJ is added to indicate that the mobj in struct vm_region should be freed instead of just ignored when removing a region.
Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 310feded | 19-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: store file pointer in struct mobj_with_fobj
Stores the file pointer in struct mobj_with_fobj instead of in struct load_seg. When the mobj is freed the stored file pointer has its reference cou
core: store file pointer in struct mobj_with_fobj
Stores the file pointer in struct mobj_with_fobj instead of in struct load_seg. When the mobj is freed the stored file pointer has its reference counter decreased instead of relying on free_seg() to do it when the struct load_seg is freed.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| d301003e | 19-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: add VM_FLAG_READONLY
Adds VM_FLAG_READONLY which is used to enforce that read-only parts of a TA binary shared between TAs cannot be mapped read/write.
Reviewed-by: Jerome Forissier <jerome.f
core: add VM_FLAG_READONLY
Adds VM_FLAG_READONLY which is used to enforce that read-only parts of a TA binary shared between TAs cannot be mapped read/write.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| f9bd210d | 18-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: user_ta_remap() use vm_remap()
user_ta_remap() switches to use vm_remap() instead of vm_unmap() and vm_map_pad().
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Je
core: user_ta_remap() use vm_remap()
user_ta_remap() switches to use vm_remap() instead of vm_unmap() and vm_map_pad().
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| ef55da15 | 19-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: add vm_get_flags()
Adds vm_get_flags() which returns the flags of a mapped region.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@li
core: add vm_get_flags()
Adds vm_get_flags() which returns the flags of a mapped region.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 2e8a1d08 | 18-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: add vm_remap()
Adds vm_remap() to allow changing virtual address of an already established mapping
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <j
core: add vm_remap()
Adds vm_remap() to allow changing virtual address of an already established mapping
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 60ef5192 | 19-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: split TEE_MATTR_* defines
Splits the TEE_MATTR_* defines into two groups, TEE_MATTR_* and VM_FLAG_*. TEE_MATTR_* is restored to only handle mappings attributes and permissions. The new group V
core: split TEE_MATTR_* defines
Splits the TEE_MATTR_* defines into two groups, TEE_MATTR_* and VM_FLAG_*. TEE_MATTR_* is restored to only handle mappings attributes and permissions. The new group VM_FLAG_* is added to tag regions with purpose and such.
As a consequence user_ta_map(), vm_map_pad() and vm_map() takes one more argument, the flags field.
struct vm_region also gains a flags field, but since only the lower bits are used in the flags and attr fields they are each stored as uint16_t instead.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 0732e4ba | 19-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: simplify umap_add_region()
Simplifies umap_add_region() and select_va_in_range() by using dummy regions for start and end of range.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
core: simplify umap_add_region()
Simplifies umap_add_region() and select_va_in_range() by using dummy regions for start and end of range.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 7cef08fa | 18-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: vm_map_pad(): remove TEE_MATTR_PERMANENT test
Removes the unneeded TEE_MATTR_PERMANENT test for a paged mobj before calling tee_pager_add_uta_area().
Acked-by: Jerome Forissier <jerome.foriss
core: vm_map_pad(): remove TEE_MATTR_PERMANENT test
Removes the unneeded TEE_MATTR_PERMANENT test for a paged mobj before calling tee_pager_add_uta_area().
Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 011f523d | 19-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: change vm_set_prot() to only accept prot bits
Changes vm_set_prot() to only accept prot bits as defined by TEE_MATTR_PROT_MASK.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Sig
core: change vm_set_prot() to only accept prot bits
Changes vm_set_prot() to only accept prot bits as defined by TEE_MATTR_PROT_MASK.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| f3d70def | 19-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: only pass prot bits to tee_pager_add_uta_area()
Fixes vm_map_pad() to only pass the prot bits (TEE_MATTR_PROT_MASK) to tee_pager_add_uta_area().
Fixes: 2616b1036291 ("core: add prot arg to te
core: only pass prot bits to tee_pager_add_uta_area()
Fixes vm_map_pad() to only pass the prot bits (TEE_MATTR_PROT_MASK) to tee_pager_add_uta_area().
Fixes: 2616b1036291 ("core: add prot arg to tee_pager_add_uta_area()") Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 642a0c68 | 19-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: remove unused TEE_MATTR_LOCKED
Removes the now unused TEE_MATTR_LOCKED macro.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.
core: remove unused TEE_MATTR_LOCKED
Removes the now unused TEE_MATTR_LOCKED macro.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 570f0d71 | 19-Jun-2019 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: remove obsolete TEE_MMU_UMAP_* defines
Removes the now obsolete TEE_MMU_UMAP_* defines.
Fixes: 211417d3a487 ("core: more flexible ta mapping") Reviewed-by: Jerome Forissier <jerome.forissier@
core: remove obsolete TEE_MMU_UMAP_* defines
Removes the now obsolete TEE_MMU_UMAP_* defines.
Fixes: 211417d3a487 ("core: more flexible ta mapping") Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 8fee193f | 19-Jul-2019 |
Clement Faure <clement.faure@nxp.com> |
core: imx: add mx6sxsabresd platform flavor
Add mx6sxsabresd platform flavor to mx6sx.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> |
| c1f744f5 | 19-Jul-2019 |
Clement Faure <clement.faure@nxp.com> |
core: imx: add mx6solo platform flavors
Add mx6solosabresd and mx6solosabreauto platform flavors to mx6s.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.co
core: imx: add mx6solo platform flavors
Add mx6solosabresd and mx6solosabreauto platform flavors to mx6s.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
show more ...
|
| 26abeed5 | 19-Jul-2019 |
Clement Faure <clement.faure@nxp.com> |
core: imx: add mx6qsabreauto platform flavor
Add mx6qsabreauto platform flavor to mx6q.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> |
| e5ad33ed | 19-Jul-2019 |
Clement Faure <clement.faure@nxp.com> |
core: imx: add mx6dlsabreauto platform flavor
Add mx6dlsabreauto platform flavor to mx6dl.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> |
| 0c2f8066 | 19-Jul-2019 |
Clement Faure <clement.faure@nxp.com> |
core: imx: add mx6ul9x9evk platform flavor
Add mx6ul9x9evk platform flavor to mx6ul.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> |
| f9cf3c56 | 19-Jul-2019 |
Clement Faure <clement.faure@nxp.com> |
core: imx: add imx6qp board support
Add imx6qp board support. Add two imx6qp platform flavors: * imx6qpsabresd * imx6qpsabreauto
Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by:
core: imx: add imx6qp board support
Add imx6qp board support. Add two imx6qp platform flavors: * imx6qpsabresd * imx6qpsabreauto
Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
show more ...
|
| 6230dd0f | 18-Mar-2019 |
Silvano di Ninno <silvano.dininno@nxp.com> |
core: imx: update PL310 settings
Move PL310 settings for mx6q, 6dl, 6solo to a dedicated file in plat-imx config folder. Update PL310 settings.
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.
core: imx: update PL310 settings
Move PL310 settings for mx6q, 6dl, 6solo to a dedicated file in plat-imx config folder. Update PL310 settings.
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
show more ...
|
| 2aa55246 | 04-Jul-2019 |
Silvano di Ninno <silvano.dininno@nxp.com> |
core: imx: move plat_cpu_reset_late() function
Remove platform specific imx6 file. Move plat_cpu_reset_late() function to main file.
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com> Review
core: imx: move plat_cpu_reset_late() function
Remove platform specific imx6 file. Move plat_cpu_reset_late() function to main file.
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
show more ...
|
| fa857e4b | 14-Nov-2017 |
Cedric Neveux <cedric.neveux@nxp.com> |
core: imx: add SCU module
Move SCU initialization to a separate file. Update it as a driver module.
Signed-off-by: Cedric Neveux <cedric.neveux@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> |
| 16e73240 | 14-Nov-2017 |
Cedric Neveux <cedric.neveux@nxp.com> |
core: imx: add CSU module
Centralize CSU settings in one file. Update it as a driver module.
Signed-off-by: Cedric Neveux <cedric.neveux@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> |
| 0db0dc0e | 23-Jul-2019 |
Clement Faure <clement.faure@nxp.com> |
core: imx: disable CAAM for imx6ull
The imx6ull does not feature the CAAM.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> |
| b847af97 | 04-Jul-2019 |
Silvano di Ninno <silvano.dininno@nxp.com> |
core: imx: update CAAM initialization
Change CAAM initialization to a driver model. Add CAAM base address check. Move imx_caam.c to drivers folder.
Signed-off-by: Silvano di Ninno <silvano.dininno@
core: imx: update CAAM initialization
Change CAAM initialization to a driver model. Add CAAM base address check. Move imx_caam.c to drivers folder.
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com> Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
show more ...
|