From patchwork Sun May 19 20:19:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 164478 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp4768597ili; Sun, 19 May 2019 13:22:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkfTsWm3T+dsVUz1bN+igExOVNGGtXKleSTgBC1p+23ZJGv7d5X/dv2oyjzXdmxUlh32PL X-Received: by 2002:a17:906:d215:: with SMTP id w21mr11495709ejz.122.1558297376560; Sun, 19 May 2019 13:22:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558297376; cv=none; d=google.com; s=arc-20160816; b=Y2YbIgyLlYkixHiwepcBKQXMARevVLcwRm8jO3mhRIggCMPBHWLvFEcfoZ4QS0TRrw tsN30s4vqgIQuw/ClHr5ZAAuODKBlH6IPYkGJNRyWJ7grySEUSZj0UL3UA6hKbZ4b66/ lEBQojK3iRG31Jw7Z8hAY34EqtOPXpSzJr39epV+m/luKigsCwJSFuQ35+2rjzlZHrey XyytEW1rDhuJr38TQgSdNw/0/r9R0dgUYi9KJ4m153YNoASLBettz/vZBs87o5V+LBT6 UY9xI5qaTmTLSGGrHnhBgqdKSqqC+EojJp31DTmelsjgO8n9egwAraTKW3T3yttGZxsU dn+g== 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=80lnl/T+XgF23R26O4LGwLUsUEXM9hE5duFY1wfldMU=; b=kzuxeqOhOwfYXRJYFYuOZKPzz9tcTqR+Ub5XyCnLlaR96bWY5kX63Q8a9gvVeDsDgA PFJVhOIgEfybZ+Cw8B6FvX8xHUMKIR4S94qX8jdfvFJ1bRioiuHjTFU/qr9ZLnNPTosX e21a/RqICe6K+R/DRzjhewgVK0iXv1GnKF0l+shThXA0dpiKhMX/QDj+Oo+67vFR9KLM Es+GUy6Sx3Jzyz1HBAIPgvMxhpL8mv/F1htwyncZAmfFn13HEQl8ypwGu1No2U/CnQrC WqAu7vzLuVbagw2e53JQQbuB8tqH+uNRt+tNwgLMHdI36OQut57FLjd9mGe/Yn67lVjQ 5nbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=b4dvoEdb; 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 n16si1060318eju.302.2019.05.19.13.22.56 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 19 May 2019 13:22:56 -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=b4dvoEdb; 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 ([127.0.0.1]:52870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSSKd-000888-Dy for patch@linaro.org; Sun, 19 May 2019 16:22:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSSHo-0005PH-99 for qemu-devel@nongnu.org; Sun, 19 May 2019 16:20:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSSHn-0007I1-4l for qemu-devel@nongnu.org; Sun, 19 May 2019 16:20:00 -0400 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:43739) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSSHm-0007Fp-Ti for qemu-devel@nongnu.org; Sun, 19 May 2019 16:19:59 -0400 Received: by mail-pg1-x543.google.com with SMTP id t22so5715966pgi.10 for ; Sun, 19 May 2019 13:19:57 -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=80lnl/T+XgF23R26O4LGwLUsUEXM9hE5duFY1wfldMU=; b=b4dvoEdbKlPh/BXaEmL2Y3BOkL7jrjJCQnwNCPlMyvqpflDh68I3TXJ2NE/b5kAIRC pqnFrGkSekIGxShzX4mDU/Y0xHR27wJrJTqsBFQHF8AhzIGHe4igfgIX94xQRWXZXeYv vYpOvYOkxGe0+nQTkDf7kevNOPU5oOy0MEt5yGGXHPKAwaP2yuPhuyZG+UK4bHUJSAuz /RT3hmU8V8oNkwn+LIuPtYxqvYCPb7SCWlpyEqDKObRChDtNIkm0T9ev3XoBfLy2ix9V IzciwAO1j8OurbNVZ1U7zukBJn6OpUHCKPf8xddYPTyqsVxiJpl1Zx3MwwXZnM2gDjzY 408Q== 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=80lnl/T+XgF23R26O4LGwLUsUEXM9hE5duFY1wfldMU=; b=hae36SHbliYdiNyXd+8LjXYubpEjwAyuPWeBjF5HhfBGZjlGnHqpHyoNvGqnNHiQua a4x7TQdCgng4tgsvZGUpP/B0d92X+SErFZHVZDbZgyLjaYyiphQweDeAzSaAnWbW2oML QTQw/tIjApjQzTuJDwh1ew6mTGbR/t/kAPSL2KncevYYMzmsvuopbfX/uvOHA9kSAqAf MCtJ9mv0IWxTUb65Cg8NRSclS5OHTWobl393FFDhubFg8pNRKweuaHMGInsKjryAOLRP Rt2e2AwMIgobr5Pd03CgJfyHccGzbnfbsCI75kZgWP8ORAMYRaJVVMDziuwZ/RCztQX4 ffwg== X-Gm-Message-State: APjAAAVWZvajiVB+GC+Dm5Fb8s9C1jFlfbOEbxnoqvbycNhe1AZHKd4C WqsxSLyyeXxBCXBiBMxAv6Cvb600gXs= X-Received: by 2002:a62:fb18:: with SMTP id x24mr11222582pfm.76.1558297195822; Sun, 19 May 2019 13:19:55 -0700 (PDT) Received: from localhost.localdomain (97-113-13-231.tukw.qwest.net. [97.113.13.231]) by smtp.gmail.com with ESMTPSA id e14sm18166264pff.60.2019.05.19.13.19.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 May 2019 13:19:55 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sun, 19 May 2019 13:19:40 -0700 Message-Id: <20190519201953.20161-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 00/13] linux-user: path, clone, sparc, shmat fixes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: laurent@vivier.eu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is an omnibus patchset of: v2: util/path: Do not cache all filenames at startup https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg04149.html v1: linux-user: Fix shmat emulation by honoring host SHMLBA https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg03430.html And a v3 update of v2: linux-user sparc fixes https://lists.gnu.org/archive/html/qemu-devel/2019-05/msg02273.html r~ Richard Henderson (13): util/path: Do not cache all filenames at startup linux-user: Rename cpu_clone_regs to cpu_clone_regs_child linux-user: Introduce cpu_clone_regs_parent linux-user/alpha: Set r20 secondary return value target/sparc: Define an enumeration for accessing env->regwptr linux-user/sparc: Use WREG constants in sparc/target_cpu.h linux-user/sparc: Use WREG constants in sparc/signal.c linux-user/sparc: Fix cpu_clone_regs linux-user/sparc: Flush register windows before clone/fork/vfork scripts/qemu-binfmt-conf: Update for sparc64 tests/tcg/multiarch/linux-test: Fix error check for shmat linux-user: Fix shmat emulation by honoring host SHMLBA linux-user: Align mmap_find_vma to host page size linux-user/aarch64/target_cpu.h | 6 +- linux-user/alpha/target_cpu.h | 8 +- linux-user/arm/target_cpu.h | 6 +- linux-user/cris/target_cpu.h | 6 +- linux-user/hppa/target_cpu.h | 6 +- linux-user/i386/target_cpu.h | 6 +- linux-user/m68k/target_cpu.h | 6 +- linux-user/microblaze/target_cpu.h | 6 +- linux-user/mips/target_cpu.h | 6 +- linux-user/nios2/target_cpu.h | 6 +- linux-user/openrisc/target_cpu.h | 7 +- linux-user/ppc/target_cpu.h | 6 +- linux-user/qemu.h | 2 +- linux-user/riscv/target_cpu.h | 6 +- linux-user/s390x/target_cpu.h | 6 +- linux-user/sh4/target_cpu.h | 6 +- linux-user/sparc/target_cpu.h | 45 ++++--- linux-user/tilegx/target_cpu.h | 6 +- linux-user/xtensa/target_cpu.h | 7 +- target/sparc/cpu.h | 33 +++++ linux-user/elfload.c | 17 ++- linux-user/mmap.c | 76 ++++++----- linux-user/sparc/cpu_loop.c | 12 ++ linux-user/sparc/signal.c | 96 +++++--------- linux-user/syscall.c | 9 +- tests/tcg/multiarch/linux-test.c | 3 +- util/path.c | 201 +++++++---------------------- scripts/qemu-binfmt-conf.sh | 8 +- 28 files changed, 309 insertions(+), 299 deletions(-) -- 2.17.1