)]}' { "commit": "711fbe903f2c460d8fb66a55ed30c5f436647cfd", "tree": "d6a6608140122d27a728406b9554ce9d9e7377cc", "parents": [ "5a143586d36fd98fd74b9449159f1ad94ea4f5bb" ], "author": { "name": "David Brazdil", "email": "dbrazdil@google.com", "time": "Tue Aug 06 13:39:58 2019 +0100" }, "committer": { "name": "David Brazdil", "email": "dbrazdil@google.com", "time": "Tue Aug 13 17:12:50 2019 +0100" }, "message": "Enable MMU and caching in VM API tests\n\nVM API tests are failing on real hardware because VMs are not seeing\ndata written by the hypervisor. The reason for this is that Hafnium has\ndata caching enabled while the test VMs do not. Solve this discrepancy\nby enabling data caching in the VMs too, which requires enabling stage-1\nMMU translation.\n\nThe entire address space is identity-mapped with read-write-execute\npermisssions. Only GIC tests currently require custom device mappings.\n\nImplementation shares ptable management code from src/mm.c and\nsrc/arch/mm.c.\n\nBug: 138985026\nTest: ./kokoro/ubuntu/build.sh\nChange-Id: Ib9f599c448d70296a6ca869ddbb51abfcc55148d\n", "tree_diff": [ { "type": "modify", "old_id": "d6a61020f1894f0f44fc876c2fed28ebd8b89afc", "old_mode": 33188, "old_path": "build/toolchain/embedded.gni", "new_id": "a1eaeed6c293c3ac39739b5d5ca1c88a80b22ddb", "new_mode": 33188, "new_path": "build/toolchain/embedded.gni" }, { "type": "modify", "old_id": "f7c4d9d1b7db1703cfa007cbff7c18135e41c185", "old_mode": 33188, "old_path": "inc/hf/mm.h", "new_id": "8b2fb8f6d454f81e47f7e3e56ce151d7280f36d6", "new_mode": 33188, "new_path": "inc/hf/mm.h" }, { "type": "modify", "old_id": "f5108ec8d07f241647d37039a13dcea9d9c0f4ab", "old_mode": 33188, "old_path": "src/BUILD.gn", "new_id": "8c5b6e54672bd8c1219f51d272d08e88c0e87d63", "new_mode": 33188, "new_path": "src/BUILD.gn" }, { "type": "modify", "old_id": "4c5dace648d0f835c20888e16357b9212f8ec59f", "old_mode": 33188, "old_path": "src/arch/aarch64/hftest/BUILD.gn", "new_id": "e5bcedc1b0264d6358746004744a864c0f249780", "new_mode": 33188, "new_path": "src/arch/aarch64/hftest/BUILD.gn" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "6673d906d994d613ea55d34475f69f70d788574f", "new_mode": 33188, "new_path": "src/arch/aarch64/hftest/mm.c" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "8bbb70ed86910852208521ae95b80cdf9f6fb605", "new_mode": 33188, "new_path": "src/arch/aarch64/inc/hf/arch/vm/mm.h" }, { "type": "modify", "old_id": "191368e517626dbe622b42f5279f9d0513a65bf4", "old_mode": 33188, "old_path": "src/arch/aarch64/mm.c", "new_id": "1106aa676cb3294622764bba5210bae88d247972", "new_mode": 33188, "new_path": "src/arch/aarch64/mm.c" }, { "type": "modify", "old_id": "2a85484feb900deeec0474d9ae7d19c530981227", "old_mode": 33188, "old_path": "src/mm.c", "new_id": "995e77dcdacb2face746311966476a681c7ca27a", "new_mode": 33188, "new_path": "src/mm.c" }, { "type": "modify", "old_id": "e08c62a342ff3458a7e99f2be220d214433597c8", "old_mode": 33188, "old_path": "test/hftest/BUILD.gn", "new_id": "9a5b4526a9989cb02ec7a4003d2bdde0999d4644", "new_mode": 33188, "new_path": "test/hftest/BUILD.gn" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "36b977bcaf1313dff7814b8b6abbf12fc85de73f", "new_mode": 33188, "new_path": "test/hftest/hftest_mm.c" }, { "type": "modify", "old_id": "5b9fafb467c35af85153bb08b6a2b4720dd15fd9", "old_mode": 33188, "old_path": "test/hftest/hftest_service.c", "new_id": "72efa7d9b8baa9cb20efa272aed5f42898bea4dd", "new_mode": 33188, "new_path": "test/hftest/hftest_service.c" }, { "type": "modify", "old_id": "bcffe5c9ed4a31685277be065fd2045bda345ef4", "old_mode": 33188, "old_path": "test/hftest/inc/hftest.h", "new_id": "62eb84c8391b47aff5b3603664060ef6d2c4bf00", "new_mode": 33188, "new_path": "test/hftest/inc/hftest.h" }, { "type": "modify", "old_id": "c1bfa1abd46adcc41b8e276cca22da21cdbf84ef", "old_mode": 33188, "old_path": "test/hftest/standalone_main.c", "new_id": "63edf1eb5c980cc46def143746129a36703f0e97", "new_mode": 33188, "new_path": "test/hftest/standalone_main.c" }, { "type": "modify", "old_id": "571f978cf817284ab39ce777cd4ceb6a5cc1c8cd", "old_mode": 33188, "old_path": "test/vmapi/gicv3/gicv3.c", "new_id": "47923e0ee81b9b4466243491b4c719c5fa8e1869", "new_mode": 33188, "new_path": "test/vmapi/gicv3/gicv3.c" }, { "type": "modify", "old_id": "1adeb5bf95bdc14f98c27039b47a2ee25ab4228f", "old_mode": 33188, "old_path": "test/vmapi/primary_only/faults.c", "new_id": "bf56b15da787bcbfdb5bba35f742b45978611ade", "new_mode": 33188, "new_path": "test/vmapi/primary_only/faults.c" }, { "type": "modify", "old_id": "a7b29c8645bf768fc5f065de5f3ee56457cd217a", "old_mode": 33188, "old_path": "test/vmapi/primary_only/primary_only.c", "new_id": "4bede95a1c34ab522dcc77991f8cc1c6f0d90c0c", "new_mode": 33188, "new_path": "test/vmapi/primary_only/primary_only.c" }, { "type": "modify", "old_id": "49c95e34aaf23183947efe5615f139be1120ce42", "old_mode": 33188, "old_path": "test/vmapi/primary_with_secondaries/run_race.c", "new_id": "63ba81d1f63c991f06604b7ec1689d537c18af9b", "new_mode": 33188, "new_path": "test/vmapi/primary_with_secondaries/run_race.c" }, { "type": "modify", "old_id": "e37d7e9b22f3dc0ea044d6352cc9a3af18ce0ad4", "old_mode": 33188, "old_path": "test/vmapi/primary_with_secondaries/services/abort.c", "new_id": "3d11bd2547925281937564a167ac796a5c14908d", "new_mode": 33188, "new_path": "test/vmapi/primary_with_secondaries/services/abort.c" }, { "type": "modify", "old_id": "863919d188d6b36708d44dd941e4cf578e1ea1e9", "old_mode": 33188, "old_path": "test/vmapi/primary_with_secondaries/services/smp.c", "new_id": "44dd505f12936e760a632fbbbb9c7a97177649b0", "new_mode": 33188, "new_path": "test/vmapi/primary_with_secondaries/services/smp.c" } ] }