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=-17.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 3AF6AC433E0 for ; Fri, 1 Jan 2021 23:19: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 B2178221F2 for ; Fri, 1 Jan 2021 23:19:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B2178221F2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:53096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvTi0-0004Wr-NV for qemu-devel@archiver.kernel.org; Fri, 01 Jan 2021 18:19:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvTes-0001j4-3Q for qemu-devel@nongnu.org; Fri, 01 Jan 2021 18:16:35 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:35917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kvTeo-0003Fh-49 for qemu-devel@nongnu.org; Fri, 01 Jan 2021 18:16:33 -0500 Received: by mail-wm1-x336.google.com with SMTP id y23so10488953wmi.1 for ; Fri, 01 Jan 2021 15:16:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tfAEfnQ3aVtxsx2f5Rh0p0abcR4mhZoCzuE3e5pjgWc=; b=X2YFFW9SCxzHFYQnHXjPS9cajzx/QWHJcDYooMXPazYcd0THSIxHOqXEsek8gbHlyt rSwHa78pyQCyePffxJaA5VNdF+Tyicd6uRhGi/Fvaitr0Y7ET8yZzJ+s++12D7MkM4k2 SCoOOQ2gIUA2uFmuKvqvixR7WkVHRSXHQz0fWElmZEfNxZZ3cW3g2lq9YsKNoNbhU4Wr PkOuogXf0wwlrBJgkgVQM6qU2u3eS2aGrAStlsJZK/X0xX4W8ggvPJl4iuBLq9MvzoRO kgPNMAHAURsSII+xB39Bb1isyN+mUuyR136Sn1nOB1t2WcyKBzkHW9BdJy2dvd2ov4e6 c2VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:from:to:cc:references:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tfAEfnQ3aVtxsx2f5Rh0p0abcR4mhZoCzuE3e5pjgWc=; b=fMAOk2yirwrHzj5nFHx41rtBgme6TbCj8VAvmUgH60V72Q4WEL027CcmREfcjzsN/5 MwY1DwRc/SKxbjri1fTtNePuGxwwhSqDgCAoaT0+5xEuAU6hg7CzO9I/BvWR5KvxaOCi pZpByb1onsJmsPbXS4n2Ta/16isByaP3jv+U2JMZbObuyOOJbBljV3x5xrSNg+WF0Y3H eWrd4nnFnpOEFTNbSMrSlFF3Dq36mUl7Titu5YEHdteIA9BMaIX2mcMXQ0F/v1Aow1Mc etvIsoYq757e/vOxtGWxY8XB4wubBuB8UcJN/eySelJ6z0uhTIaBinx4KbKZoFxZTOUr 0VSQ== X-Gm-Message-State: AOAM532SFJmH4SeyQ5L7bFpM7/CB3e0DfqqLBTwdfrhpZ2G4o1U4IKkk XkzFtJtQ+3xszD0KDRSwj+lWoDwalLs= X-Google-Smtp-Source: ABdhPJykEcWxBD4Fj9PaJPjoV10C0JS4sm4iB8WlCGoLo77ziv3HJWr8YRuKZmdxXMYN+OClZxmrrQ== X-Received: by 2002:a05:600c:2306:: with SMTP id 6mr17402236wmo.53.1609542988616; Fri, 01 Jan 2021 15:16:28 -0800 (PST) Received: from [192.168.1.34] (239.red-83-42-57.dynamicip.rima-tde.net. [83.42.57.239]) by smtp.gmail.com with ESMTPSA id o83sm18732799wme.21.2021.01.01.15.16.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Jan 2021 15:16:27 -0800 (PST) Subject: Re: [PATCH v2 3/8] hw/mips: Use address translation helper to handle ENVP_ADDR From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= To: Jiaxun Yang , qemu-devel@nongnu.org References: <20201215064200.28751-1-jiaxun.yang@flygoat.com> <20201215064200.28751-4-jiaxun.yang@flygoat.com> Message-ID: <04abcfa4-2070-e15a-d24b-6780ac1f2046@amsat.org> Date: Sat, 2 Jan 2021 00:16:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-2.749, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: chenhuacai@kernel.org, paulburton@kernel.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 1/1/21 9:38 PM, Philippe Mathieu-Daudé wrote: > On 12/15/20 7:41 AM, Jiaxun Yang wrote: >> It will signed extend vaddr properly. >> >> Signed-off-by: Jiaxun Yang >> --- >> hw/mips/fuloong2e.c | 24 +++++++++--------- >> hw/mips/malta.c | 62 ++++++++++++++++++++++----------------------- >> 2 files changed, 43 insertions(+), 43 deletions(-) > > Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé