1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-05 02:20:30 +00:00
Jon Mason 70e9b1ffde arm: workaround qemuarm64-secureboot ZONE_DMA issues
Upstream stable patches for ZONE_DMA size and dma-ranges are causing:

Segmentation fault
[    3.156012] Internal error: synchronous external abort: 96000050 [#15] PREEMPT SMP
[    3.156172] Modules linked in:
[    3.156247] CPU: 0 PID: 139 Comm: rc Tainted: G      D           5.10.21-yocto-standard #1
[    3.156391] Hardware name: linux,dummy-virt (DT)
[    3.156490] pstate: 00000005 (nzcv daif -PAN -UAO -TCO BTYPE=--)
[    3.156619] pc : copy_page+0x40/0xc0
[    3.156691] lr : copy_highpage+0x58/0xe0
[    3.156786] sp : ffffffc01192bc10
[    3.156855] x29: ffffffc01192bc10 x28: ffffff804036a880
[    3.156958] x27: 0000000000000000 x26: ffffff80432e56f0
[    3.157063] x25: ffffff8043955c38 x24: 000000557a600000
[    3.157167] x23: ffffff80432e5680 x22: ffffffff00e4e940
[    3.157268] x21: ffffffff00180600 x20: ffffff800e018000
[    3.157378] x19: ffffff80413a5000 x18: 0000000000000000
[    3.157495] x17: 0000000000000000 x16: 000000557a5ffc48
[    3.157611] x15: 0000000000000001 x14: 0000000000000000
[    3.157715] x13: 000000557a60ae08 x12: 0000000000000000
[    3.157832] x11: 0000000000000000 x10: 0000000000000000
[    3.157920] x9 : 000000557a5fd010 x8 : 000000000557a600
[    3.158033] x7 : 0000000000000161 x6 : 0000000000000000
[    3.158140] x5 : 0000000000000000 x4 : 00005b0000000002
[    3.158238] x3 : 000000557a5fa550 x2 : 0000000000000000
[    3.158348] x1 : ffffff80413a5080 x0 : ffffff800e018100
[    3.158451] Call trace:
[    3.158501]  copy_page+0x40/0xc0
[    3.158572]  copy_user_highpage+0x24/0x40
[    3.158654]  wp_page_copy+0x90/0x790
[    3.158723]  do_wp_page+0xa4/0x490
[    3.158786]  handle_mm_fault+0x7b8/0xc30
[    3.158867]  do_page_fault+0x15c/0x400
[    3.158937]  do_mem_abort+0x4c/0xac
[    3.159004]  el0_da+0x3c/0x50
[    3.159070]  el0_sync_handler+0x168/0x1b0
[    3.159153]  el0_sync+0x174/0x180
[    3.159224] Code: 91040000 91020021 f2402c1f d503201f (a8300c02)
[    3.159343] ---[ end trace 06748391c33610de ]---

Temporarily revert these patches to allow for qemuarm64-secureboot to
continue working while the root cause is being investigated.  The
patches in question are:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=35ec3d09ff6a49ee90e1bfd09166596f017eb5bb
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8eaef922e9381af7b923c4e3c57a632a87101acb

Change-Id: I3cdea9469d940f6458d0ef65460f945c55eef3e3
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-20 11:32:28 -04:00
2021-04-19 13:17:30 +01:00
2021-04-19 08:12:27 -04:00
2019-11-15 11:19:35 -05:00

Introduction

This repository contains Arm layers for OpenEmbedded

meta-arm: This layer provides support for general recipes for the Arm architecture. Anything that's not needed explicitly for BSPs, the IOTA distribution, or destined to be upstreamed belongs here.

meta-arm-bsp: This layer provides support for Arm reference platforms

meta-arm-iota: This layer provides support for Arm's IOTA Linux Distribution

meta-arm-toolchain: This layer provides support for Arm's GNU-A toolset releases

meta-arm-autonomy: This layer provides a reference stack for autonomous systems.

Contributing

Currently, we only accept patches from the meta-arm mailing list. For general information on how to submit a patch, please read https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

E-mail meta-arm@lists.yoctoproject.org with patches created using this process. You can configure git-send-email to automatically use this address for the meta-arm repository with the following git command:

$ git config --local --add sendemail.to meta-arm@lists.yoctoproject.org

Commits and patches added should follow the OpenEmbedded patch guidelines:

https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

The component being changed in the shortlog should be prefixed with the layer name (without the meta- prefix), for example:

arm-bsp/trusted-firmware-a: decrease frobbing level

arm-toolchain/gcc: enable foobar v2

Reporting bugs

E-mail meta-arm@lists.yoctoproject.org with the error encountered and the steps to reproduce the issue.

Maintainer(s)

S
Description
No description provided
Readme 12 MiB
Languages
BitBake 67.1%
Python 24.6%
Shell 2.7%
HTML 2.2%
Jinja 1.5%
Other 1.9%