-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: fixup of transfer list entry overriding #6461
core: fixup of transfer list entry overriding #6461
Conversation
All comments have been addressed. |
275b0ae
to
a8b3df1
Compare
Separated commit for DT changes. |
CI / make check (QEMUv8, BTI+MTE+PAC) (pull_request) failed due to a connection timeout when downloading the toolchain, looks not related to this PR.
|
@raymo200915 hopefully a transient network issue, I have restarted the job, thanks for the heads up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For commit "core: fixup of transfer list entry overriding":
commit message should also tell that when transfer list is used, the FDT max size is given by the TL max_size field, not by the configuration switch CFG_DTB_MAX_SIZE
.
a8b3df1
to
720b7e4
Compare
Fixed. |
Updated commit message of "core: fixup of transfer list entry overriding". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
(for bith commits) with below comments addressed for the commit message on commit "core: fixup of transfer list entry overriding":
Header line: "core: arm: fixup of transfer list entry overriding"
Since this is a fix, could you add a Fixes:
tag related to the TL integration commit?
Swap the 2 last paragraph. The last one refers to the 1st one:
Expand the data size of DTB transfer list entry to the max allocable
size to reserve sufficient space for new nodes.
+This fixes a potential issue that the amended DTB transfer entry
+overrides other entries followed by, when inserting new nodes.
+
When CFG_TRANSFER_LIST is enabled, instead of CFG_DTB_MAX_SIZE,
the DTB max size will be given by a calculation of the remaining space
in the transfer list mapped memory.
-This fixes a potential issue that the amended DTB transfer entry
-overrides other entries followed by, when inserting new nodes.
Thanks
720b7e4
to
f2bb551
Compare
Done. Thanks @etienne-lms |
Commit message updated. |
|
Add argument to function init_external_dt() to allow callers to specify the maximum size of external DTB to be initialized. Signed-off-by: Raymond Mao <raymond.mao@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Expand the data size of DTB transfer list entry to the max allocable size to reserve sufficient space for new nodes. This fixes a potential issue that the amended DTB transfer entry overrides other entries followed by, when inserting new nodes. When CFG_TRANSFER_LIST is enabled, instead of CFG_DTB_MAX_SIZE, the DTB max size will be given by a calculation of the remaining space in the transfer list mapped memory. Fixes: 6676372 ("core: add support for transfer list") Signed-off-by: Raymond Mao <raymond.mao@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
f2bb551
to
b4b4fd8
Compare
Thanks @jenswi-linaro , review tags added. |
Expand the data size of DTB transfer list entry to the max allocable size to reserve sufficient space for new nodes.
This fixes a potential issue that the amended DTB transfer entry overrides other entries followed by, when inserting new nodes.