From patchwork Mon Aug 29 02:09:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 600852 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp1683286mae; Sun, 28 Aug 2022 19:11:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR7uzFtZa/WH+o56VZ9TiHPKDN0RFbpfj0znR7dLsfGgehBh002o3igcjLzPJSu+vvMOcG/+ X-Received: by 2002:a05:6214:20cf:b0:476:c8d:6da6 with SMTP id 15-20020a05621420cf00b004760c8d6da6mr8827370qve.98.1661739092238; Sun, 28 Aug 2022 19:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661739092; cv=none; d=google.com; s=arc-20160816; b=yS0rKg3T3xCZCJ/3Vr8psUDiHLqEZHXGWmzQW6CXqLMyawxsDnXUcqqC16EZU4OFl0 kUlRk5mF7SGgDYgRD80RBFdK4KZ2rEVOaSzzt12xw+M9eq0v/Q19kRrL2I6ZnLd8D4KL N7OD2Cy0QYRr34SOuN+MyOvlWtj1aFqS2NeMw+mWYjBFCsTs9FMDBfmlihtndqVNy8xS PHZGOzj9cSTBdHQnOylWTCGjFiQGy68QlpHoCiU6jrge1/OyYiK2fzSUGIEKIuww7+Sj iAneKdslHIazyZmvDjutWcISKiGSZUEWXtq56oyGawQ5fBSfqJABFzdvjF86RxQNGJdP flzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=utqcsl5SCMWe0M/OxVEMVx6dMvkHqtyR4CX1E9ouDOk=; b=wVBLrGZIQmeBlUgNehwnuzUdQ3h3SIuwCQkmykdXkquWguigV0EJDHE9qOa97bqlkA SwH23yeC+QmUXGiHG73DL7Ah7Ykli5e9adIPngJG0Jk7Z/gMEzHs49ytOfobWToPVFO0 kMjhRMO+xWEdrcqQwZxWSX6AFe7nF1L1KeFZgJi1lSuK69Pjb+HkWrStvpaQ8XfsWsSk q6m8UE/9jCgK+pzVaVFpTRL63Jo0mNOA754tTk1Mw1w+fJt+CY488tBOIo2gFGk9zH/e a8fHk0s4tQQ3r47sZlOdP8tt4XBlR1Z7l8A93ss+LChmfG5G/+VTw2Pdzr0XCfvR4UEZ bQ/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XAv0ZCdh; 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 w15-20020a05620a424f00b006bc62fc0712si3461362qko.262.2022.08.28.19.11.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Aug 2022 19:11:32 -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=pass header.i=@linaro.org header.s=google header.b=XAv0ZCdh; 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]:45718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSUFP-0003Rr-PY for patch@linaro.org; Sun, 28 Aug 2022 22:11:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSUE8-0003RN-Vn for qemu-devel@nongnu.org; Sun, 28 Aug 2022 22:10:13 -0400 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]:38597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSUE7-0001b4-4h for qemu-devel@nongnu.org; Sun, 28 Aug 2022 22:10:12 -0400 Received: by mail-pg1-x532.google.com with SMTP id r22so6443944pgm.5 for ; Sun, 28 Aug 2022 19:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=utqcsl5SCMWe0M/OxVEMVx6dMvkHqtyR4CX1E9ouDOk=; b=XAv0ZCdhntJNzHOUP0j+neCmCQHxsgy5Muzqd0iMs9l4rKAWswN11lS1uLHaFuO7VD +Vjj/LqCGRkDPGvW4Z+7pOnifkmNCevBOb36n1LYyu5fC9z9vObQP53f3cPMkRWYnm1q h3Cwi9w0CqMjUphkGO85Ax5vXa6E8MWFIPSxx0AgbLvkeo2mzMhK2kRoGZNleKgbhLvt 5AmqckgqqGlj+1JnQWDiwtqT++Fg5HftZ63EfgAJjmAqwN1DPumnITu3aD1YEV2T1GDs q1x9TuLwPCtDypIhCaxeaWEDc7MDXR/vqnEGvtYaWRtItFFopcAptyEv8Emx+Ebuqknb dw0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=utqcsl5SCMWe0M/OxVEMVx6dMvkHqtyR4CX1E9ouDOk=; b=MiXNS+QxTVWRyeTCWVp14B8BRFhMidhNQ1d1rMRgyKc/r8gyuhI0Cn2OxYjnny2OT1 OR72mR03dfO23fCTpfticIZETh4jq7hWW1ZNks41ybYzCfCvZ1juPZzipKyl32wtibYA H9DmG5tAF4+pSraN8CRFhHz7h5V86qz9K4tlbYuLpWG/d4u6WaRkeq3RIrbcM4fTmFAg zQ1Bb7Q2vEj6fYDrvkzCVOS4aWFrOrKap48qmB27kzPMwQFnCVhBMhq8Lfobml+IcoSc PLnYIhEvKNfHNcTH654m9e+NDZxowgmls8uO0hq6OpOyAPSjP+G+JrwTFsWbrLrYwcjr 3Mlg== X-Gm-Message-State: ACgBeo1GlA+HJFJXHwYuKbDjoiwdIH8k8thEzvx3KkkZKg6+5EI/GaHi GmMV4GLJVC/98FDuamqehStV9VYuuf/ysQ== X-Received: by 2002:a62:1795:0:b0:536:4e84:5ee9 with SMTP id 143-20020a621795000000b005364e845ee9mr14536495pfx.52.1661739009017; Sun, 28 Aug 2022 19:10:09 -0700 (PDT) Received: from stoup.. ([2602:47:d49d:ec01:2fa6:2ab5:a96e:2a35]) by smtp.gmail.com with ESMTPSA id ik30-20020a170902ab1e00b0016bdc98730bsm6035139plb.151.2022.08.28.19.10.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Aug 2022 19:10:08 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: laurent@vivier.eu Subject: [PATCH 0/8] linux-user: Futex improvements Date: Sun, 28 Aug 2022 19:09:58 -0700 Message-Id: <20220829021006.67305-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Fixes a bug in FUTEX_FD, and implements a bunch of other ops. Also, some assorted strace fixes. r~ Richard Henderson (8): linux-user: Combine do_futex and do_futex_time64 linux-user: Sink call to do_safe_futex linux-user: Implement FUTEX_WAKE_BITSET linux-user: Convert signal number for FUTEX_FD linux-user: Implement PI futexes linux-user: Update print_futex_op linux-user: Lock log around strace linux-user: Log tid for strace linux-user/syscall_defs.h | 3 + linux-user/strace.c | 130 ++++++++++++++++++++++---------------- linux-user/syscall.c | 125 ++++++++++++++---------------------- 3 files changed, 125 insertions(+), 133 deletions(-)