From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, 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 8B55FC43331 for ; Thu, 26 Mar 2020 22:54:50 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 50A4E20714 for ; Thu, 26 Mar 2020 22:54:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=wdc.com header.i=@wdc.com header.b="KSy5IDwb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 50A4E20714 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=wdc.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:33924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHbOj-00045b-I5 for qemu-devel@archiver.kernel.org; Thu, 26 Mar 2020 18:54:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59255) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHbLk-00018D-J8 for qemu-devel@nongnu.org; Thu, 26 Mar 2020 18:51:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHbLj-0001H8-I0 for qemu-devel@nongnu.org; Thu, 26 Mar 2020 18:51:44 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:23225) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jHbLi-0001DZ-SR; Thu, 26 Mar 2020 18:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1585263117; x=1616799117; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=cx0sbsH5WZU0XL1xvk5K9rUby/RenU9Pf5m/Dm09K3o=; b=KSy5IDwbCVrJv1vvhpr5iTv4I0CSO5sa8Mas9YB+M5+cSiUnF2Es2Yc7 lT5C9W6gYSe2/yZ6kGWqiaQh1mgkhSMQKp/jZwVXs/o1LVIoiBTw3veTv uWVP5XSyuMsUo90F9ku/N5LGkDaP53ruriZj4U+IfHy7vASOwcXDUC+pD tG8eEsYI79c4mc8DTRVJnDmNloy69tqC6f3tZUjzEPRWQXHnmMDYpo3vD 8pslTm/sgqkavsFTi7boBB0SxJj3V3a+NPiQH5PeGzbuj+Cm/ooMVZNby DakvfhfBTcwg0oiKHZxw+8c+TkTSnKiFieQt94CjQUGvY/YBgHdW+5fWT w==; IronPort-SDR: 3f63lRvU3jVA0fKqBKjlrwtHHcO+gGLbgVBAI/460Chin1wlUZ156O+dxYssdLrZuDKQQ2LX3o xxzwqhRDlhvlFXRe8JNF6RVscd/Lzd88dP/AyLWEXk6LBFg0UWYDEFUr+cGH1YkCCn/N1BPaIJ +qzPTOycDPXxgt8N3N+NNUtSE63MzBs451bvVadMDRDx9TEiFz5zfN2fK7Pba+PD8J4Pj6F2Dd v3XDW629drCOTEPXxWrEDMOyIIj2wEg1TJW07Jdd8J84ck+eNMGS61l5pJFD4zoxku8tEm15Ex hpk= X-IronPort-AV: E=Sophos;i="5.72,310,1580745600"; d="scan'208";a="235858175" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 27 Mar 2020 06:51:52 +0800 IronPort-SDR: 5tGSJxNxSs773aGbxe9PiJrY5tt1XIXZX2Qq2dXzRKemY0D8p9htZxtF6xab7NWf9L/FwA2avj 5DwOoE4RDJTgfAzl7riSLIDDCzdT++GWYC7XJ8Q2v8Qqgwnd72nAe1cvNDblM3+Uup9GvfCPe8 ksVQb9t3dv+2Jbb4QzIkumUAj6dLik/QnAMSJULcDMPIw4wLZFE7rR1dbo0Hc0CEJcunta0DdT +4ze4yygYtHi5INe1uvkZVhhf5Wge/dBQKoKj/MFSYDKOg7g5wcFIPraaruCuuSZ8r0EbJ4gB3 QVXKayTgQJbEqYRHJRMAGiVE Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2020 15:42:41 -0700 IronPort-SDR: zysQK7Gk4I6cDx1oM3UkMyS+Vyc7baA44FVlzY6axaHNvQwSdS+Lpz6/CYnwxccfTwvyBujhv0 efaGQ8xk3aGTRMpptalYxnj2FS90uxv88tzsRr9R3Q50sPp2LK2PKge9Wfvu9XMckB94oZiYxd R8XioFrbNlJOxFW2ErDGDbCmX0Yym2IpjDdCFXXkgflICxtzLWYTNhVYOe2ZbKDSGGZfi8Nt1m w8vZeA0FHMMlyfjruGCMAcFjyJSsoaIfHk5DH+oU98EiktofSsbgsOC5QDuw1wOhEOVheb+2wa rxw= WDCIronportException: Internal Received: from 2j0d3g2.ad.shared (HELO risc6-mainframe.hgst.com) ([10.86.54.250]) by uls-op-cesaip02.wdc.com with ESMTP; 26 Mar 2020 15:51:39 -0700 From: Alistair Francis To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH for 5.0 v1 0/2] RISC-V: Fix Hypervisor guest user space Date: Thu, 26 Mar 2020 15:44:04 -0700 Message-Id: X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 68.232.143.124 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alistair.francis@wdc.com, palmer@dabbelt.com, alistair23@gmail.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This series fixes two bugs in the RISC-V two stage lookup implementation. This fixes the Hypervisor userspace failing to start. Alistair Francis (2): riscv: Don't use stage-2 PTE lookup protection flags riscv: AND stage-1 and stage-2 protection flags target/riscv/cpu_helper.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) -- 2.26.0