From patchwork Mon Nov 2 11:53:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikos Nikoleris X-Patchwork-Id: 11873757 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 586F9C00A89 for ; Mon, 2 Nov 2020 11:53:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1149722226 for ; Mon, 2 Nov 2020 11:53:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728561AbgKBLxO (ORCPT ); Mon, 2 Nov 2020 06:53:14 -0500 Received: from foss.arm.com ([217.140.110.172]:58352 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728297AbgKBLxO (ORCPT ); Mon, 2 Nov 2020 06:53:14 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C211930E; Mon, 2 Nov 2020 03:53:13 -0800 (PST) Received: from camtx2.cambridge.arm.com (camtx2.cambridge.arm.com [10.1.7.22]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DBE1B3F66E; Mon, 2 Nov 2020 03:53:12 -0800 (PST) From: Nikos Nikoleris To: kvm@vger.kernel.org Cc: mark.rutland@arm.com, jade.alglave@arm.com, luc.maranget@inria.fr, andre.przywara@arm.com, alexandru.elisei@arm.com Subject: [kvm-unit-tests PATCH 0/2] arm: MMU extentions to enable litmus7 Date: Mon, 2 Nov 2020 11:53:09 +0000 Message-Id: <20201102115311.103750-1-nikos.nikoleris@arm.com> X-Mailer: git-send-email 2.17.1 X-ARM-No-Footer: FoSSMail Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi all, litmus7 [1][2], a tool that we develop and use to test the memory model on hardware, is building on kvm-unit-tests to encapsulate full system tests and control address translation. This series extends the kvm-unit-tests arm MMU API and adds two memory attributes to MAIR_EL1 to make them available to the litmus tests. [1]: http://diy.inria.fr/doc/litmus.html [2]: https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/expanding-memory-model-tools-system-level-architecture Thanks, Nikos Luc Maranget (1): arm: Add mmu_get_pte() to the MMU API Nikos Nikoleris (1): arm: Add support for the DEVICE_nGRE and NORMAL_WT memory types lib/arm/asm/mmu-api.h | 1 + lib/arm64/asm/pgtable-hwdef.h | 2 ++ lib/arm/mmu.c | 23 ++++++++++++++--------- arm/cstart64.S | 6 +++++- 4 files changed, 22 insertions(+), 10 deletions(-)