Skip to content
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

Zephyr v3.6.0 xt non rpi v2 #122

Merged

Conversation

GrygiriiS
Copy link

Second chunk of non RPI5 patches from rpi5_dev to zephyr-v3.6.0-xt.

@oleksiimoisieiev
Copy link

LGTM Acked-by: Oleksii Moisieiev <[email protected]>

Copy link
Collaborator

@firscity firscity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acked-by: Dmytro Firsov <[email protected]>

xakep-amatop and others added 3 commits July 22, 2024 14:25
Backported from upstream patch 69c6732

Fix warning in gpio regulator:
    "declaration of 'ret' shadows a previous local".

Signed-off-by: Mykola Kvach <[email protected]>
Acked-by: Dmytro Firsov <[email protected]>
On ARM64 the build will fail with coverage and GCOV enabled:

  CONFIG_COVERAGE=y
  CONFIG_COVERAGE_GCOV=y
  CONFIG_FORCE_COVERAGE=y

 west build -b rcar_spider_ca55 -p always zephyr-dom0-xt \
 -S xen_dom0  -- -DCONFIG_COVERAGE=y -DCONFIG_FORCE_COVERAGE=y

Failure:
 "linker_zephyr_pre0.cmd:181: undefined symbol `__gcov_bss_end' referenced
in expression"

Fix build of ARM64 platforms with coverage and GCOV enabled.

Signed-off-by: Grygorii Strashko <[email protected]>
Acked-by: Volodymyr Babchuk <[email protected]>
Acked-by: Dmytro Firsov <[email protected]>
The Xen extends domain grant tables every time domain requests gnttab
basing on gnttab idx. If idx > xen_current_max_gnttab_idx the Xen extends
grant table so that idx <= xen_current_max_gnttab_idx. The growing grant
tables on every hypercall is a bit costly operation and it also results in
the bunch of log messages:

(XEN) xen-source/xen/common/grant_table.c:1909:d0v0 Expanding d0 \
  grant table from 1 to 2 frames

This patch changes gnttab processing from gnttab max_idx to low_idx, so the
first hypercall has the largest index, ensuring that the grant table will
grow only once. It also reduces number of log messages.

Signed-off-by: Grygorii Strashko <[email protected]>
Acked-by: Volodymyr Babchuk <[email protected]>
Reviewed-by: Dmytro Firsov <[email protected]>
Acked-by: Dmytro Firsov <[email protected]>
@GrygiriiS GrygiriiS force-pushed the zephyr-v3.6.0-xt_non_rpi_v2 branch from 216f45c to 94a27f8 Compare July 22, 2024 11:26
@firscity firscity merged commit 5120e50 into xen-troops:zephyr-v3.6.0-xt Jul 22, 2024
7 checks passed
@GrygiriiS GrygiriiS deleted the zephyr-v3.6.0-xt_non_rpi_v2 branch September 5, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants