Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1819770lqp; Mon, 15 Apr 2024 20:24:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX1AXsZI13CwhaQChIg+vKcii0ZeM0I6fmZCy9FyL1NThxYW0ATOKX1NnTI1PU8hXZYNXM0z9nnMWsVH/26hAuOYqYgP9I0QsYedjS2vg== X-Google-Smtp-Source: AGHT+IHvOn32l0GEPAk/BH7OCR7IlvWGB+ebF/ci3Gc7vGsgwaxITa3g/GyU+VEc7NRzgRw/l++s X-Received: by 2002:a17:906:15d8:b0:a51:fec0:23ec with SMTP id l24-20020a17090615d800b00a51fec023ecmr8680596ejd.25.1713237894384; Mon, 15 Apr 2024 20:24:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713237894; cv=pass; d=google.com; s=arc-20160816; b=E4LOve8hQvq7aJ2dUhe22HLNFuHJoTbotCA10Akh1gH4hd8D/y2N/dpxjpTL2jG3b8 oMUKcTaZCfu8+KOWuq88tgBRs0+XpVQ4EtYINEcelJhqeFDFDQEczazW6I68Lo2A1Nzz /tHVP8byIW/EKQg9uqvM0TRMyQeRMFPfZq7c2MzI9p7XLjduFmC4/HaQ6C/GcDtBZcX4 8j9MhEvr3qqk/h0OIy5zrHL6tEol1AC1/QBOaPZk1s4s1R2O/3EZpF5tM4UrKBYqNvHm mWzs2ME/a5QeMKnhVKgVg1wue57OWtj/kvzC+3uPUw+/XjOBvAhKD/pQxB6BN7ipim3W SCKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:reply-to:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=WwzWSRaDGLC7Jl3VN4s5jShOzj49M6d0mhTOVh8VTl4=; fh=33kVDnewqIXYywOXpJhUknvEz2zvvV6atgRUdfSsDHQ=; b=r4JyF1A3Jfv1T97IH5ozE/EQ2Up7UUyThnd8DJjZrv6Y/22/ZW9D6IoUFDc/w7pgRs M/+7KtwpjVYd0CQd92YvB2iuwcRQdNzDwsbVd3xv/sWOYFg7uUyEVVDV8hG82rGBNhP+ yfZ6z17/svPOkNX6dKn0wKuma7/3FUiNj6O14tBeG8Ti0bWiZdsVWJfzRM46ttvk8nmt N9/NknrkmJIGSRP2t0cV3UbQP5m4aE4HoS1Bw0rFWWgqjzOOaJh+ccYjspAgn+cyzyLD oTl02BeJP5HHzgdLbpXBLx/35JNoYBFGqdzCFqy2LPMtPNisNAWPrM6xIvcoqU5+aP7S Nr3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@apple.com header.s=20180706 header.b="PxluG/gy"; arc=pass (i=1 spf=pass spfdomain=apple.com dkim=pass dkdomain=apple.com dmarc=pass fromdomain=apple.com); spf=pass (google.com: domain of linux-kernel+bounces-146173-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146173-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=apple.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id nc32-20020a1709071c2000b00a524b7fc8d6si3180439ejc.766.2024.04.15.20.24.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 20:24:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146173-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@apple.com header.s=20180706 header.b="PxluG/gy"; arc=pass (i=1 spf=pass spfdomain=apple.com dkim=pass dkdomain=apple.com dmarc=pass fromdomain=apple.com); spf=pass (google.com: domain of linux-kernel+bounces-146173-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146173-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=apple.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1D1ED1F23B9C for ; Tue, 16 Apr 2024 03:24:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86B2B3770B; Tue, 16 Apr 2024 03:23:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=apple.com header.i=@apple.com header.b="PxluG/gy" Received: from rn-mailsvcp-mx-lapp02.apple.com (rn-mailsvcp-mx-lapp02.apple.com [17.179.253.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 750421946F for ; Tue, 16 Apr 2024 03:23:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=17.179.253.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713237788; cv=none; b=n1l9mhZ/VJsB+UHUPgZdXWFEeKVZCK3iWancAQgHrKSWbOWhZhU04FBtzYALrrTQc8Spfvqno03c9L6UygznpEXlkBwTsGbD53V2kVVf69Ud3FdCyvp2x4STfc8326P/hj8HhbueO3/qGg5sC4LEHF44A/pabenE7/Oa0Fitqo0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713237788; c=relaxed/simple; bh=WwzWSRaDGLC7Jl3VN4s5jShOzj49M6d0mhTOVh8VTl4=; h=From:To:Cc:Subject:Date:Message-id:In-reply-to:References: MIME-version; b=gKMoN1QjJrK1RzvaqWqKvAJ9gUQXW9uL4ENz5KZVomGI5RdM+Jgf//fbkVLr2AOGS0wUIfsTLTUjusJQFZLFTdS5gzFIQKWI3NhHq14wSBkOFeA/dvMGa2nsAlDvoKn9U7rQ4gUgxGD2GRoWwDGGoem2e3YO2yyCJ0i9sp8GgHc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=apple.com; spf=pass smtp.mailfrom=apple.com; dkim=pass (2048-bit key) header.d=apple.com header.i=@apple.com header.b=PxluG/gy; arc=none smtp.client-ip=17.179.253.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=apple.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=apple.com Received: from rn-mailsvcp-mta-lapp04.rno.apple.com (rn-mailsvcp-mta-lapp04.rno.apple.com [10.225.203.152]) by rn-mailsvcp-mx-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0SC000T98JYC9920@rn-mailsvcp-mx-lapp02.rno.apple.com> for linux-kernel@vger.kernel.org; Mon, 15 Apr 2024 19:23:00 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-16_01,2024-04-15_01,2023-05-22_02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : reply-to : content-transfer-encoding; s=20180706; bh=WwzWSRaDGLC7Jl3VN4s5jShOzj49M6d0mhTOVh8VTl4=; b=PxluG/gyNjG1svs3YhUBq1UBtCibg4S7Ga7Z0YhIkKxvgPgatQAZQ/ITzYXkI6dzzffG Rlcl40+2We0dWPDQdYqJtUtqDVTPr3spg4LLefsqlkcsOTLOT+giI1a5pua59ZXXUiZB fMcGykhp+W8mEssGFONCifScdeKDF8z2y7eNttRbqzTdse5aYLpcvmq6h4/ner64Jl9V qgC3MLE6DPyO97oi10vsAN6HYIYEuWi7brFXRZercZ4+fLht3iNs9Q5i7pdWJPOoAt8A KCMDdhOW4zx/ZB8neVY+DurLs09vO90uwoaTLRkavYZ58WJHb4f7yCjvhp9c1yyUNHVR Zg== Received: from rn-mailsvcp-mmp-lapp04.rno.apple.com (rn-mailsvcp-mmp-lapp04.rno.apple.com [17.179.253.17]) by rn-mailsvcp-mta-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0SC000G97JYBVWB0@rn-mailsvcp-mta-lapp04.rno.apple.com>; Mon, 15 Apr 2024 19:23:00 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp04.rno.apple.com by rn-mailsvcp-mmp-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) id <0SC000U00JCL0X00@rn-mailsvcp-mmp-lapp04.rno.apple.com>; Mon, 15 Apr 2024 19:22:59 -0700 (PDT) X-Va-A: X-Va-T-CD: 3075b9643109b0fe17c43e4f1b7ca0e4 X-Va-E-CD: 631f076f6b365e42e06a1df7057e44fb X-Va-R-CD: ce6be43db0cce57f85f587e814b9d60f X-Va-ID: a4de5280-170c-473d-9b33-eeac3760abae X-Va-CD: 0 X-V-A: X-V-T-CD: 3075b9643109b0fe17c43e4f1b7ca0e4 X-V-E-CD: 631f076f6b365e42e06a1df7057e44fb X-V-R-CD: ce6be43db0cce57f85f587e814b9d60f X-V-ID: d01307ab-8361-4e0f-a1dd-199f180af2d9 X-V-CD: 0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-16_01,2024-04-15_01,2023-05-22_02 Received: from rn-mailsvcp-relay-lapp01.rno.apple.com ([17.11.155.73]) by rn-mailsvcp-mmp-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPSA id <0SC0004BHJY7NG00@rn-mailsvcp-mmp-lapp04.rno.apple.com>; Mon, 15 Apr 2024 19:22:56 -0700 (PDT) From: Zayd Qumsieh To: Hector Martin , Will Deacon Cc: Catalin Marinas , Marc Zyngier , Mark Rutland , Zayd Qumsieh , Justin Lu , Ryan Houdek , Mark Brown , Ard Biesheuvel , Mateusz Guzik , Anshuman Khandual , Oliver Upton , Miguel Luis , Joey Gouly , Christoph Paasch , Kees Cook , Sami Tolvanen , Baoquan He , Joel Granados , Dawei Li , Andrew Morton , Florent Revest , David Hildenbrand , Stefan Roesch , Andy Chiu , Josh Triplett , Oleg Nesterov , Helge Deller , Zev Weiss , Ondrej Mosnacek , Miguel Ojeda , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Asahi Linux Subject: Re: [PATCH 0/4] arm64: Support the TSO memory model Date: Mon, 15 Apr 2024 19:22:41 -0700 Message-id: <20240416022242.89623-1-zayd_qumsieh@apple.com> X-Mailer: git-send-email 2.39.3 (Apple Git-146) In-reply-to: Hector Martin References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-version: 1.0 Reply-to: Zayd Qumsieh Content-transfer-encoding: 8bit >I'm probably going to make myself hugely unpopular here, but I have a >strong objection to this patch series as it stands. I firmly believe >that providing a prctl() to query and toggle the memory model to/from >TSO is going to lead to subtle fragmentation of arm64 Linux userspace. It's definitely not our intent to fragment the ecosystem. The goal of this memory ordering is to simplify emulation layers that benefit from this. If you have suggestions to reduce the risk of it being misused outside of emulators, we'd be happy to look into it. Thanks, Zayd