From patchwork Thu Aug 22 18:59:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 172058 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp1299451ily; Thu, 22 Aug 2019 12:01:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqDMAE3Mx/N4lShS6CL7msDuW3TUpHlNeHzo5CoC+H6LW9jZOdEQ+Fsh26rcIijsxWASI4 X-Received: by 2002:ac8:6702:: with SMTP id e2mr1148028qtp.314.1566500464584; Thu, 22 Aug 2019 12:01:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566500464; cv=none; d=google.com; s=arc-20160816; b=MMcrb3+leyp03BW6VidDdZoGEgzxDnB6LUaKy5v+cSVo/0mRD8cNpc+oCpzv93fq61 XyYu5Z/9LTl2w7hAxho/u22JIkeY6DHau/mA0WFtNlJ7VK1lL+lD8uSAhdu5Zg//aQEa iCfDsgqPak/tK4/b2tAwjsWXtfM4WUO1h6NQ7r3xaKWKuyVSYzuOLzZQGBLp5rNCY/SI 3gx/6t6QaiYi0ooi7cPSybY45WYi5HJalZz+LSFspvFsnWXX+CLOAkaFUqG4qvTVP+yE hmoiavbyS5CADSX/FoBDMWyRTuGo7A8DH1ggUnOD5l9p8VBjJAWRfzaiC+V5UUxWANR8 K60A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:message-id:date:to:from :dkim-signature; bh=Hgo7S5UIiUNt0ZBTjD+X0/y9Qgvm9bETayEs4h3pBGk=; b=sWNY8kwzxsyfExXBcrira7aHOv4QXaXRc0z6eElb8jM9Js/auF+pQFChQk1Gmz6CYC DXeg2kOoGU0LD8HQlWo13gw60kNTYFLdRpqoAVHerpRwhYjPBpGzMPZBrhaQTdmHApnt ImSJPAFctdEw5cQ5atXoGc1JEfB7GNq5lCvYdB4NuWLJ8jsUtBuS6Wu8zYdg06G1t78T SZV2fxtbglcuOIRBnLvJatC/8Uutb4gkFHZnvDeG1eBiPBZBSXspPLpXMqSp1F3rMRDf uFfLZEWXo+FtK0uVJadxibrJ8CQZ1Nk0ck2oOIIEl+nz32jwce/fgZK+vjhZhqJ35LcE 5aCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=kcmziD7l; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k29si462566qvh.34.2019.08.22.12.01.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Aug 2019 12:01:04 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=kcmziD7l; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:47206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0sKV-0005Q4-EU for patch@linaro.org; Thu, 22 Aug 2019 15:01:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36933) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0sJ6-0005Pr-2P for qemu-devel@nongnu.org; Thu, 22 Aug 2019 14:59:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i0sJ4-0004PT-BB for qemu-devel@nongnu.org; Thu, 22 Aug 2019 14:59:35 -0400 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:43175) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i0sJ3-0004OP-T4 for qemu-devel@nongnu.org; Thu, 22 Aug 2019 14:59:34 -0400 Received: by mail-pg1-x543.google.com with SMTP id k3so4180651pgb.10 for ; Thu, 22 Aug 2019 11:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Hgo7S5UIiUNt0ZBTjD+X0/y9Qgvm9bETayEs4h3pBGk=; b=kcmziD7lKB8oSctR/ifjuCLkJfpatpB6iRjIwBZ5UJcVoOaORjhEnOfdIGvANoXCXG lvVrKvUzgUehZGYHoqoJzsHNYxgwHv8SWl/1AD+m5aVTLBP3Z1zKFBYezdEpu8103T98 xxydak3SNHlm34ipabsLFqQjrgsWHfO42tjviTX/SQRi4/DyiatghItILpGCeqxX/3X2 nPd7psiph6M7Uoab7OA46zDgeMVNxUXeRd/gO1B5ZsPOBWMrhnMvN7eb2s+ra57BARmn CmIHKbTVY7b0OJUtovBItxcz1Us6NZdLxtAPUeL7uVKHvOgOA3SndC37i8S6cOeO9o2h yhCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Hgo7S5UIiUNt0ZBTjD+X0/y9Qgvm9bETayEs4h3pBGk=; b=NgdH22UahHbWTpjiNsdywkbZRju3krxSFfcItJU12WaXgtJMChvC3pt6pxwRPjs9S3 WW5XKKZ0eZ/b+edGy1Cuj6tB+3D5foHOa/VFVAigmuyi4p0BtcSoejcsXDR1SsiaZByV 2XtVtXIKUXk/1/DPwzqJYoBEze0a3DN7k0nFZ/Gz+N1Ck8yTyhCXyDPC/ocFDvH2imrL iRBtb3HTOMJQn3NX1TmS7HwaSkS5eUZwkDk1jl2bR6rkiqN4c1sbR75y1SfWV3yIq8tm wuJg8vuUjnGkrKmFxWSEOSiicIZXGsoUtIz4jTAXclexQYyT7NfBNVX0eMn4sxMmtQ+o Db/w== X-Gm-Message-State: APjAAAWzcO7dz3SFvybWUsd5kVkL9tO1fUcstZX2iuuTw8PiIGvuzVoD tjUjDzEBwTgq3VZnABB2i1j7pUZlq7Q= X-Received: by 2002:a17:90a:2c9:: with SMTP id d9mr1197473pjd.134.1566500371651; Thu, 22 Aug 2019 11:59:31 -0700 (PDT) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id z14sm287172pjr.23.2019.08.22.11.59.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Aug 2019 11:59:30 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 22 Aug 2019 11:59:27 -0700 Message-Id: <20190822185929.16891-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::543 Subject: [Qemu-devel] [PATCH 0/2] linux-user/arm: Adjust MAX_RESERVED_VA for M-profile 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: peter.maydell@linaro.org, laurent@vivier.eu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is inspired by the discussion in https://bugs.launchpad.net/qemu/+bug/1840922 Previously I suggested a new CPUClass hook, but when I went to implement that seemed like overkill. r~ Richard Henderson (2): linux-user: Pass CPUState to MAX_RESERVED_VA linux-user/arm: Adjust MAX_RESERVED_VA for M-profile linux-user/arm/target_cpu.h | 24 ++++++++++++++++++--- linux-user/main.c | 43 +++++++++++++++++++++---------------- 2 files changed, 46 insertions(+), 21 deletions(-) -- 2.17.1 Reviewed-by: Peter Maydell