From patchwork Sun Jul 9 18:28:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 700851 Delivered-To: patch@linaro.org Received: by 2002:adf:fcc5:0:0:0:0:0 with SMTP id f5csp4826935wrs; Sun, 9 Jul 2023 11:30:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlHCW6Agy2H4PI1CrcxFjrm1OoEB9kQrWSgorsJSpLOumI8PBAKNEYzx85yk/DjDbjk1eaX9 X-Received: by 2002:a05:622a:1709:b0:403:a090:3a11 with SMTP id h9-20020a05622a170900b00403a0903a11mr7417574qtk.32.1688927430437; Sun, 09 Jul 2023 11:30:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688927430; cv=none; d=google.com; s=arc-20160816; b=MOFiYxyjevBNUaz4Ghm3Ej+IAJMDVxfW6J5fS46WaTBLnK1XX3ro+FAAn14EZC2IVa pDKPZYsb596WrKi35hEHHXqngvHgkrxEGw7LzBzkiJ/DSLzGlPDfaPqcJ//q71IgghWW o5IInRo7CqvwPkqct/flwKXuKySaD/PsyWoMmENPthtrB1vu6f8pgF0L8I1ZoOIcoDVy 3MZUlfzj6TbW7r3re74PTiw11nC6YTocsdf54Kecleor9m/HjY9Q0h0RPbMtPxwmbcTV 45mxey0Kq8uyaXtGKG6qeo3+rE+QC033b2eo8axazO72d6hzTfE+YNkp3iWlUlYsS4dH QA8w== 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=gkmuf4L0OI5wcKr4WVTcr5LnQ0uH5Smo7a7q0ycBiDo=; fh=4nfr0hkxlMpWE4oToQ1q4rzQVecv6te3cGVRc3YFjiI=; b=WIogs2xcqqfulfl3eJxEPLQH6IpFeORTJ8WukmNF+/6Jcn+qHPx0LNFoxnmyrUoX1Q biOtf1+1Io37w41AymhWOeIIybV3P9CmVQTP2ju2ETFyOUWlZU5Qz1XZyTXOVDQmTWFV 3GVeJ8JsOY4N1gq/oahRo6jCH5Y/bfCOuSgriMfqL/qSXCGIrJ3HmJVq2ItJQnvMVs0D ONQ4jnkgwa4Q7uT4+EWSWjPTdxMlCDeFv8wREAzO4R4ibmGxZd3ojuU+w/KVJPNlK6go qBSVvHiv0lV1+ZVR/ntA06TCfgRV0/ZNK9YKV+M1rxAnki9YzXuvabuHrvYa+Wx374Id aVig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oxZsKCmH; 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 u18-20020a05622a199200b00403a4eb7417si1507981qtc.242.2023.07.09.11.30.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 09 Jul 2023 11:30:30 -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=oxZsKCmH; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIZAI-0008De-OE; Sun, 09 Jul 2023 14:29:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIZAE-0008DR-JJ for qemu-devel@nongnu.org; Sun, 09 Jul 2023 14:29:42 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIZAA-0000DB-6f for qemu-devel@nongnu.org; Sun, 09 Jul 2023 14:29:40 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3fbd33a57ddso38014745e9.1 for ; Sun, 09 Jul 2023 11:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688927376; x=1691519376; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gkmuf4L0OI5wcKr4WVTcr5LnQ0uH5Smo7a7q0ycBiDo=; b=oxZsKCmHaaijYfHN/EZmG2d0zs8dvcsEOvBEyRkRVkQUTqKsiqT6c97B6P6hQAzHr5 4EvBKKwL76KbjHPjpixTsKMWozeJpsnztX+chehndxShzGCPen/sbpJLPcUxgb1+fWqy IdIzzPaeO2CYBq/98oYrwawRFV7leOsXBFszmf4pLAlUWhMgQbvHf/cDCOnN8xqsf75f gZaNrMlxKQ9o1rwYYyumQtnUCrY0HqoyFPsOkstVU0OpGvj85iN31zuUp0HwDqrYlB93 u/vXpJsOuzZT+JwMqXr1IkMVUfCvHYgTtQIdtlsWumFQa9L2mJFmtWqm99gDMrxW2ee0 tpFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688927376; x=1691519376; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gkmuf4L0OI5wcKr4WVTcr5LnQ0uH5Smo7a7q0ycBiDo=; b=AD/CoBU0YMVaBTUS16UzhrjidlC8skbcPfqC3Wdz+bEWuGNYi/fUoYbWTIKJvZDei5 G41BSdCXqlxbxRDyUpnMuKSRMvpBkreIAK0EuY5CuYWbrk7/WmeWHsnw+dyaPOLNtVFy cpR7aD2MwfZvKX18RbwTWQAH3SV+rKyDZEvpmoNFAsfrSK+8FmeSwScP9PvwKSlcO25Q Vejr5o8mjt//5LFzRzs7Q+lxAI8hBfrKgtY1mqiavIJr20KeMf5Jjezbt6UXz1N3WoT9 2etN/bu/mj9/bxl65cMjJQV1lX/p/wdn2uFpdq2HC9NQ1luBHcetdQoMoDvlk0IeXGlx yqbg== X-Gm-Message-State: ABy/qLYisLQvf43suqSzr22pqXpQmZrsCbAfnHheaajt7Ufioys/vPXZ txoWVzWwMsIibuers61yjJFrbW0lcgT4tf96+xg0Qw== X-Received: by 2002:a7b:c394:0:b0:3fb:e356:b60d with SMTP id s20-20020a7bc394000000b003fbe356b60dmr8459599wmj.38.1688927376034; Sun, 09 Jul 2023 11:29:36 -0700 (PDT) Received: from stoup.. ([148.252.133.210]) by smtp.gmail.com with ESMTPSA id q15-20020a7bce8f000000b003fbe791a0e8sm8317108wmj.0.2023.07.09.11.29.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jul 2023 11:29:35 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: laurent@vivier.eu Subject: [PATCH 00/45] linux-user: patch roundup Date: Sun, 9 Jul 2023 19:28:12 +0100 Message-Id: <20230709182934.309468-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x334.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-bounces+patch=linaro.org@nongnu.org I think this is all of the linux-user patches from the list that are outstanding, except for 20230524054647.1093758-1-richard.henderson@linaro.org "linux-user/i386: Properly align signal frame" which failed testing under cross-i386-tci. I'll have another look at that later this week, as it's a bug fix. If I've missed any, please shout. Patches lacking review: 03-linux-user-Use-abi_uint-not-uint32_t-in-syscall_defs.patch 07-linux-user-Use-abi_uint-not-unsigned-int-in-syscall_.patch 10-linux-user-Use-abi_int-not-int-in-syscall_defs.h.patch 12-host-include-i386-Implement-aes-round.h.patch 13-host-include-aarch64-Implement-aes-round.h.patch 14-include-exec-user-Set-ABI_LLONG_ALIGNMENT-to-4-for-m.patch 15-include-exec-user-Set-ABI_LLONG_ALIGNMENT-to-4-for-n.patch 28-linux-user-Implement-MAP_FIXED_NOREPLACE.patch 31-linux-user-Rewrite-target_mprotect.patch 32-linux-user-Rewrite-mmap_frag.patch 33-accel-tcg-Introduce-page_find_range_empty.patch 34-bsd-user-Use-page_find_range_empty-for-mmap_find_vma.patch 35-linux-user-Use-page_find_range_empty-for-mmap_find_v.patch 37-linux-user-Rewrite-mmap_reserve.patch 38-linux-user-Rename-mmap_reserve-to-mmap_reserve_or_un.patch 39-linux-user-Simplify-target_munmap.patch 41-accel-tcg-Return-bool-from-page_check_range.patch 42-linux-user-Remove-can_passthrough_madvise.patch 43-linux-user-Simplify-target_madvise.patch r~ Andreas Schwab (1): linux-user: Make sure initial brk(0) is page-aligned Juan Quintela (1): linux-user: Drop uint and ulong Pierrick Bouvier (1): linux-user/syscall: Implement execve without execveat Richard Henderson (41): linux-user: Reformat syscall_defs.h linux-user: Remove #if 0 block in syscall_defs.h linux-user: Use abi_uint not uint32_t in syscall_defs.h linux-user: Use abi_int not int32_t in syscall_defs.h linux-user: Use abi_ullong not uint64_t in syscall_defs.h linux-user: Use abi_llong not int64_t in syscall_defs.h linux-user: Use abi_uint not unsigned int in syscall_defs.h linux-user: Use abi_ullong not unsigned long long in syscall_defs.h linux-user: Use abi_llong not long long in syscall_defs.h linux-user: Use abi_int not int in syscall_defs.h linux-user: Use abi_ushort not unsigned short in syscall_defs.h linux-user: Use abi_short not short in syscall_defs.h linux-user: Use abi_uint not unsigned in syscall_defs.h include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2 linux-user: Fix do_shmat type errors accel/tcg: Split out cpu_exec_longjmp_cleanup tcg: Fix info_in_idx increment in layout_arg_by_ref linux-user: Fix formatting of mmap.c linux-user/strace: Expand struct flags to hold a mask linux-user: Split TARGET_MAP_* out of syscall_defs.h linux-user: Split TARGET_PROT_* out of syscall_defs.h linux-user: Populate more bits in mmap_flags_tbl accel/tcg: Introduce page_check_range_empty bsd-user: Use page_check_range_empty for MAP_EXCL linux-user: Implement MAP_FIXED_NOREPLACE linux-user: Split out target_to_host_prot linux-user: Widen target_mmap offset argument to off_t linux-user: Rewrite target_mprotect linux-user: Rewrite mmap_frag accel/tcg: Introduce page_find_range_empty bsd-user: Use page_find_range_empty for mmap_find_vma_reserved linux-user: Use page_find_range_empty for mmap_find_vma_reserved linux-user: Use 'last' instead of 'end' in target_mmap linux-user: Rewrite mmap_reserve linux-user: Rename mmap_reserve to mmap_reserve_or_unmap linux-user: Simplify target_munmap accel/tcg: Accept more page flags in page_check_range accel/tcg: Return bool from page_check_range linux-user: Remove can_passthrough_madvise linux-user: Simplify target_madvise Robbin Ehn (1): linux-user/riscv: Add syscall riscv_hwprobe bsd-user/qemu.h | 2 +- include/exec/cpu-all.h | 40 +- include/exec/user/abitypes.h | 5 +- linux-user/aarch64/target_mman.h | 8 + linux-user/alpha/target_mman.h | 13 + linux-user/generic/target_mman.h | 58 + linux-user/hppa/target_mman.h | 10 + linux-user/mips/target_mman.h | 18 + linux-user/mips64/target_mman.h | 2 +- linux-user/ppc/target_mman.h | 8 + linux-user/qemu.h | 2 +- linux-user/riscv/syscall32_nr.h | 1 + linux-user/riscv/syscall64_nr.h | 1 + linux-user/sparc/target_mman.h | 9 + linux-user/syscall_defs.h | 2260 ++++++++++++++---------------- linux-user/user-mmap.h | 2 +- linux-user/xtensa/target_mman.h | 18 + accel/tcg/cpu-exec.c | 43 +- accel/tcg/user-exec.c | 72 +- bsd-user/mmap.c | 50 +- linux-user/mmap.c | 704 +++++----- linux-user/strace.c | 61 +- linux-user/syscall.c | 214 ++- target/hppa/op_helper.c | 2 +- target/riscv/vector_helper.c | 2 +- target/sparc/ldst_helper.c | 2 +- tcg/tcg.c | 2 +- accel/tcg/ldst_atomicity.c.inc | 4 +- 28 files changed, 1931 insertions(+), 1682 deletions(-)