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

update index.md #1

Merged
merged 1 commit into from
Jun 27, 2022
Merged

update index.md #1

merged 1 commit into from
Jun 27, 2022

Conversation

bokdeuk-jeong
Copy link
Collaborator

Introduce materials for development.

Introduce materials for development.
Copy link
Collaborator

@beomheynkim beomheynkim left a comment

Choose a reason for hiding this comment

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

잘 정리된 리스트입니다.

@beomheynkim beomheynkim merged commit ede80e6 into main Jun 27, 2022
@bokdeuk-jeong bokdeuk-jeong deleted the bokdeuk-jeong-patch-1 branch June 28, 2022 03:01
bitboom pushed a commit that referenced this pull request Dec 8, 2022
XEN fails to boot linux when cpu is selected as max with following
kernel crash. Hence revert to using cortex-a57 when XEN_BOOT is
selected.

[    0.000000] ------------[ cut here ]------------
[    0.000000] kernel BUG at arch/arm64/kernel/traps.c:498!
[    0.000000] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.16.0-gdbeb6ea978fc #1
[    0.000000] Hardware name: linux,dummy-virt (DT)
[    0.000000] pstate: 000000c5 (nzcv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    0.000000] pc : do_undefinstr+0x2bc/0x2e0
[    0.000000] lr : do_undefinstr+0x2c8/0x2e0
[    0.000000] sp : ffffd399cddc3c60
[    0.000000] x29: ffffd399cddc3c60 x28: ffffd399cddd34c0 x27: 0000000000000000
[    0.000000] x26: 0000000000000000 x25: 0000000000000000 x24: ffffd399cd830008
[    0.000000] x23: 00000000000000c5 x22: ffffd399cd7810bc x21: ffffd399cddc3e30
[    0.000000] x20: 00000000d5182101 x19: ffffd399cddc3ce0 x18: 0000000000000014
[    0.000000] x17: 0000000049426f60 x16: 0000000056a84232 x15: 0000000099ac15ae
[    0.000000] x14: 00000000ab810c49 x13: 501bac190a4c3eb1 x12: 89c8a6a0aab2e7c5
[    0.000000] x11: 00000000c16d9c19 x10: 00000000e4fb46a5 x9 : 00000000d78a73db
[    0.000000] x8 : 0000000000000014 x7 : 501bac190a4c3eb1 x6 : 89c8a6a0aab2e7c5
[    0.000000] x5 : ffffd399cddd5910 x4 : 0000000000000000 x3 : ffffd399ce0e70f8
[    0.000000] x2 : 0000000000000000 x1 : ffffd399cddd34c0 x0 : 00000000000000c5
[    0.000000] Call trace:
[    0.000000]  do_undefinstr+0x2bc/0x2e0
[    0.000000]  el1_undef+0x2c/0x4c
[    0.000000]  el1h_64_sync_handler+0x84/0xd0
[    0.000000]  el1h_64_sync+0x78/0x7c
[    0.000000]  start_kernel+0x4c4/0x664
[    0.000000]  __primary_switched+0xc0/0xc8
[    0.000000] Code: 17ffff8d a9425bf5 17ffffb1 a9025bf5 (d4210000)
[    0.000000] ---[ end trace 32823fcd1957a64b ]---
[    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[    0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---

Signed-off-by: Ruchika Gupta <ruchika.gupta@linaro.org>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
bitboom pushed a commit that referenced this pull request Feb 22, 2023
Linux, besides CPIO, supports 7 different compressed formats for the initrd
(gzip, bzip2, LZMA, XZ, LZO, LZ4, ZSTD), but kvmtool only recognizes one of
them.

Remove the initrd magic check because:

1. It doesn't bring much to the end user, as the Linux kernel still
   complains if the initrd is in an unknown format.

2. --kernel can be used to load something that is not a Linux kernel (like
   a kvm-unit-tests test), in which case a format which is not supported by
   a Linux kernel can still be perfectly valid. For example, kvm-unit-tests
   load the test environment as an initrd in plain ASCII format.

3. It cuts down on the maintenance effort when new formats are added to
   the Linux kernel. Not a big deal, since that doesn't happen very often,
   but it's still an effort with very little gain (see point #1 above).

Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Link: https://lore.kernel.org/r/20220214165830.69207-2-alexandru.elisei@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
bitboom pushed a commit that referenced this pull request May 30, 2023
file name issue resolved for methodology document
zpzigi754 added a commit to zpzigi754/islet that referenced this pull request Jun 5, 2024
$ tar -xf ./assets/prebuilt/out.tar.bz2 -C ./
$ ./scripts/fvp-cca -bo -rmm=verified --use-prebuilt
$./scripts/fvp-cca -ro -nw=linux --realm=linux -rmm=verified --trace

```
(rmm entry)
247864770000 ps IT (24786477) fdc00000 d50041bf O EL2h_rl : MSR      SPSEL,islet-project#1
247864770000 ps R cpsr 000003c9
247864770000 ps R SPSel 00000000:00000001
247864780000 ps IT (24786478) fdc00004 9400071d O EL2h_rl : BL       0xfdc01c78
247864780000 ps R X30 00000000FDC00008
247864780000 ps GPTW ISIDE L0 0000fdc01c78 0000000004003018 : 00000000fff20003 TABLE TYPE=0x03 ADDR=0x00000000fff20000
247864780000 ps GPTW ISIDE L1 0000fdc01c78 00000000fff3ee00 : bbbbbbbbbbbbbbbb GRANULE TYPE=0x0b GPI=0x0b PGS=4KB
247864790000 ps IT (24786479) fdc01c78 d10143ff O EL2h_rl : SUB      sp,sp,#0x50
247864790000 ps R SP_EL2 FFFFFFFFFFFFFFB0
247864800000 ps IT (24786480) fdc01c7c f90023fe O EL2h_rl : STR      x30,[sp,#0x40]
247864800000 ps MW8 fffffffffffffff0 00000000_fdc00008 (ABORTED)
247864800000 ps E 00000000fdc01c7c 00000084 CoreEvent_CURRENT_SPx_SYNC
247864800000 ps R cpsr 000003c9
```
zpzigi754 added a commit to zpzigi754/islet that referenced this pull request Jun 25, 2024
This commit enables `--trace-toggle` option for ACS tests. The
option allows specifying the range of instruction tracing with
Arm's `ToggleMTIPlugin`, helping to debug a subtle symptom.
The instruction toggling is controlled by pre-reserved `hlt 5`
instruction.

[Pre-requisite]

The library (ToggleMTIPlugin.so) is not included in our simulator
package. It should be manually located by installing another package
such as `FastModelsPortfolio_11.25` which requires license agreement.

[Usage example]

(in plat/fvp/src/entry.rs)
unsafe extern "C" fn rmm_entry() -> ! {
    core::arch::asm!("
        msr spsel, islet-project#1
        bl get_cpu_id

+       hlt     5                   // trace start
        ldr x1, =__RMM_STACK_END__
        mov x2, {}
        mul x0, x0, x2
        sub x0, x1, x0
        mov sp, x0
+       hlt     5                   // trace end

$ ./scripts/fvp-cca -nw=acs --selected-tests="cmd_rsi_version" --trace-toggle

$ cat out/trace.log
141120780000 ps cluster0.cpu0 IT (14112078) fdc0000c 58000161 O EL2h_rl : LDR      x1,0xfdc00038
141120790000 ps cluster0.cpu0 IT (14112079) fdc00010 d2a00202 O EL2h_rl : MOV      x2,#0x100000
141120800000 ps cluster0.cpu0 IT (14112080) fdc00014 9b027c00 O EL2h_rl : MUL      x0,x0,x2
141120810000 ps cluster0.cpu0 IT (14112081) fdc00018 cb000020 O EL2h_rl : SUB      x0,x1,x0
141120820000 ps cluster0.cpu0 IT (14112082) fdc0001c 9100001f O EL2h_rl : ADD      sp,x0,#0
141120830000 ps cluster0.cpu0 IT (14112083) fdc00020 d44000a0 O EL2h_rl : HLT      islet-project#5

Signed-off-by: Changho Choi <ch754.choi@samsung.com>
zpzigi754 added a commit that referenced this pull request Jun 26, 2024
This commit enables `--trace-toggle` option for ACS tests. The
option allows specifying the range of instruction tracing with
Arm's `ToggleMTIPlugin`, helping to debug a subtle symptom.
The instruction toggling is controlled by pre-reserved `hlt 5`
instruction.

[Pre-requisite]

The library (ToggleMTIPlugin.so) is not included in our simulator
package. It should be manually located by installing another package
such as `FastModelsPortfolio_11.25` which requires license agreement.

[Usage example]

(in plat/fvp/src/entry.rs)
unsafe extern "C" fn rmm_entry() -> ! {
    core::arch::asm!("
        msr spsel, #1
        bl get_cpu_id

+       hlt     5                   // trace start
        ldr x1, =__RMM_STACK_END__
        mov x2, {}
        mul x0, x0, x2
        sub x0, x1, x0
        mov sp, x0
+       hlt     5                   // trace end

$ ./scripts/fvp-cca -nw=acs --selected-tests="cmd_rsi_version" --trace-toggle

$ cat out/trace.log
141120780000 ps cluster0.cpu0 IT (14112078) fdc0000c 58000161 O EL2h_rl : LDR      x1,0xfdc00038
141120790000 ps cluster0.cpu0 IT (14112079) fdc00010 d2a00202 O EL2h_rl : MOV      x2,#0x100000
141120800000 ps cluster0.cpu0 IT (14112080) fdc00014 9b027c00 O EL2h_rl : MUL      x0,x0,x2
141120810000 ps cluster0.cpu0 IT (14112081) fdc00018 cb000020 O EL2h_rl : SUB      x0,x1,x0
141120820000 ps cluster0.cpu0 IT (14112082) fdc0001c 9100001f O EL2h_rl : ADD      sp,x0,#0
141120830000 ps cluster0.cpu0 IT (14112083) fdc00020 d44000a0 O EL2h_rl : HLT      #5

Signed-off-by: Changho Choi <ch754.choi@samsung.com>
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.

2 participants