From patchwork Wed Nov 6 11:33:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 178666 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp476826ilf; Wed, 6 Nov 2019 03:34:13 -0800 (PST) X-Google-Smtp-Source: APXvYqxYDVfqciqmgM0c2RODCuhHhue85b/vV9ET3unO2IlWlLUiPFjLaFW9mKDECzp1nko6KHtB X-Received: by 2002:a05:6402:13d4:: with SMTP id a20mr2069105edx.105.1573040053320; Wed, 06 Nov 2019 03:34:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573040053; cv=none; d=google.com; s=arc-20160816; b=Q3YnnKzr9UuqlOYxECcxmMOWIG/ozAK+PgphzyaLstE0yn8gqzX3hgYDcXlqJnGVYq 7nE3EB2B54gLMrtDISqHHMvnprgV4aOFIlik6/4BDU3o5oLmJGRgyN+h9r64Vg0qwjIR Wvst23fKGlVSuxEk50Xxw8SmFbX1wWUh4TMu+j5yZuKU/ssgJp635of4lnP5P9siNaQ9 VfB3ux4gNT03mdFDEwrSbzws+PbscYP3xuCjQH/tmpfIUunCnVTgXaiXERq5XIwOdgME CG0VjQ4GuNdv5jnQ9BFu5vVkofUZqq8+Bdr39B5BaUREYNDj74AbMFL7dF1o8H5N4BPs yr3A== 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:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=mhrOzofaCWIJFCVDwPiLXME5UaZdBlhyAX2UwDZp+B4=; b=XvW2agzeO2JTws4VJCel+Dc+upJhrNS+yETeLlschDyPn02cELk3LQWL5Z4KJy/MrT Kfw0iRwaY2y4oeVRAdH3nQY3r9wfvB3RcPfRQmQ6hcbWBAnnO/JVoD83X65rY9h2Q+vw mpdRZrLTPsIX9PA1KBGYFiX8l7REHC4aM+N1sKsAN7lP+BCNANUroBFibAi8pxx0rrl9 MeyBWaMeBeLJEs+Dc2x2YkxbgTsjQt3bDrKCng3s91opSVr0EZrf3HL3G08Pl17t8QaW d7qXTwVVWvEsS1aVVyfUwx+KjJUV+4vJKURXOpFtP/nlomy1amsXlDJB7qSDdOlMMpne CEnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mvy5YVon; 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=pass (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 w54si11725990eda.214.2019.11.06.03.34.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2019 03:34:13 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=Mvy5YVon; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSJZj-0003mT-KB for patch@linaro.org; Wed, 06 Nov 2019 06:34:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37787) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSJZA-0003m2-7V for qemu-devel@nongnu.org; Wed, 06 Nov 2019 06:33:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSJZ8-0007Er-8h for qemu-devel@nongnu.org; Wed, 06 Nov 2019 06:33:35 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:33080) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSJZ8-00079K-0A for qemu-devel@nongnu.org; Wed, 06 Nov 2019 06:33:34 -0500 Received: by mail-wm1-x332.google.com with SMTP id a17so1364253wmb.0 for ; Wed, 06 Nov 2019 03:33:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mhrOzofaCWIJFCVDwPiLXME5UaZdBlhyAX2UwDZp+B4=; b=Mvy5YVonUvB51+vNyUtkeTre4gws2fGfhO0Ypc0X+k66nP34FWk47sB8E5CeKBZ0zT gYRin7BD6OYoSKxrYxy4I/F9w7Y+ayZCPpaqYUj0VUC8ZxY1iHsUhM5hy7x1lMUniXeP e7+82v2KEyjmWrLyQmBgR7O9dNUIOqB7HCVBsaxdMONaScMKl7B9jffOV+ONle5l6A9k 1ToC51VVgx01BQdPQqaYRLlno0VJ9UdbRXGA9eC/h39LMGFcv5L4KhhQIL2iZwBB2l5b bvL/VqR2SBuDnQdF5PpYiukv/xNFcPdXyeuqNEt6rlmQsnz0FSRQ/rtBgYTUcYguztyo 4iew== 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:mime-version :content-transfer-encoding; bh=mhrOzofaCWIJFCVDwPiLXME5UaZdBlhyAX2UwDZp+B4=; b=gdETegZ+SnzYoCN9N7WPZFt2dLOVMCEQr8ZrXZOEUp9fU5WEKorGmThmW5AYNP45NS o1pqqcHVpu4ALpE9zGNWaVVg0P+/rlTzI904TnFB5vzHSRrbAIiT84UC3hjp5vsmnMU3 5M2IU6BrUJDuzLxlh0OcL8fqpTG7ctGOrkED57CUhPaLyvLPZLbxDDrkNptO+atLpyH5 Q2r9H+KJ/xCC2PTew0AxdJ4LR0abiEesjodh+Cv7Pel7WnrzvdgdpKrUa/p6cQfR+IP+ jdwk51Zi4buSunYG4sGVbXiBe0oVVZcMHZ5zQExWS9XxVc+jlWKo9Z8IcZ18spNebaPO zzvg== X-Gm-Message-State: APjAAAXVAyQpnnSPEr9VnybmiiM24AIV6CKZSncfqqXvhFHe2xRgteSE af/JBJ/XyNDubi3kDiR2yYi3fSa/fntZJQ== X-Received: by 2002:a7b:c408:: with SMTP id k8mr2131605wmi.67.1573040010564; Wed, 06 Nov 2019 03:33:30 -0800 (PST) Received: from localhost.localdomain (31.red-176-87-122.dynamicip.rima-tde.net. [176.87.122.31]) by smtp.gmail.com with ESMTPSA id q124sm1776907wme.13.2019.11.06.03.33.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 03:33:30 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 00/12] linux-user sparc fixes Date: Wed, 6 Nov 2019 12:33:06 +0100 Message-Id: <20191106113318.10226-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::332 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: laurent@vivier.eu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Changes in v3: * Fix checkpatch errors in patches 5 and 8. There's lots more style errors left to clean up in these files, but this is enough for now. r~ Richard Henderson (12): scripts/qemu-binfmt-conf: Update for sparc64 tests/tcg/multiarch/linux-test: Fix error check for shmat target/sparc: Define an enumeration for accessing env->regwptr linux-user/sparc: Use WREG constants in sparc/target_cpu.h linux-user/sparc: Begin using WREG constants in sparc/signal.c linux-user/sparc: Use WREG_SP constant in sparc/signal.c linux-user/sparc: Fix WREG usage in setup_frame linux-user/sparc64: Fix target_signal_frame linux-user: Rename cpu_clone_regs to cpu_clone_regs_child linux-user: Introduce cpu_clone_regs_parent linux-user/sparc: Fix cpu_clone_regs_* linux-user/alpha: Set r20 secondary return value linux-user/aarch64/target_cpu.h | 7 +- linux-user/alpha/target_cpu.h | 16 ++++- linux-user/arm/target_cpu.h | 7 +- linux-user/cris/target_cpu.h | 7 +- linux-user/hppa/target_cpu.h | 7 +- linux-user/i386/target_cpu.h | 7 +- linux-user/m68k/target_cpu.h | 7 +- linux-user/microblaze/target_cpu.h | 7 +- linux-user/mips/target_cpu.h | 7 +- linux-user/nios2/target_cpu.h | 7 +- linux-user/openrisc/target_cpu.h | 8 ++- linux-user/ppc/target_cpu.h | 7 +- linux-user/riscv/target_cpu.h | 7 +- linux-user/s390x/target_cpu.h | 7 +- linux-user/sh4/target_cpu.h | 7 +- linux-user/sparc/target_cpu.h | 64 ++++++++++++------ linux-user/tilegx/target_cpu.h | 7 +- linux-user/xtensa/target_cpu.h | 8 ++- target/sparc/cpu.h | 33 ++++++++++ linux-user/sparc/signal.c | 100 ++++++++++------------------- linux-user/syscall.c | 6 +- tests/tcg/multiarch/linux-test.c | 3 +- scripts/qemu-binfmt-conf.sh | 8 ++- 23 files changed, 238 insertions(+), 106 deletions(-) -- 2.17.1