From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0AD29C001CC for ; Thu, 11 Apr 2024 14:01:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tSkspHOQtLoEMUAL2xQwCQuXa0MoUzXclrFCZHWwh48=; b=CJo9g9HfL7TtVE PbGRq9DktEcuAyy1f8n3lxcCA8fwhp8oYtSnilS0TIShIKSClPO4acN8B5xAFtpLQWQx9pXoD48wE x0A+VK5x4P7hSiJ0dxQsnoXi4qdo2VemuKvSlvgqKz+ALM482XJ/NYBgLqyiUibEqWYYAINGZaFXo CVYuHrYaT77TXPWs9dPa1uEr8G1Rn+8D5HQxWLMUtro8rpjmj9naymarflYAMOFiee9iEXZSiQDqo 23qI/n9iJEj4+XpcQWjcReM9jSWGWIS44NMYAIGYDYdrqcz/OX/NotHC2D8E5u+6RQlKSOnGw6OQA Ac6b6vgK9ZO76FD4DjZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruud1-0000000CBuT-0jBP; Thu, 11 Apr 2024 13:38:11 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruucy-0000000CBt6-0EHb for linux-arm-kernel@lists.infradead.org; Thu, 11 Apr 2024 13:38:09 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id A9ACFCE0A66; Thu, 11 Apr 2024 13:38:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E5BBC072AA; Thu, 11 Apr 2024 13:37:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712842684; bh=ubjRejHhKP//LNBOtLise49krMVbPnzbk/E6iAJWZCw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dHiPZYakpXIq0CSgNo83dnvf7Tg7baZzDEZjPmwF0VXJDncuSfiHF/AnT0d/u4tOo 8tVy0uVs7pJe6vmaHKw3TCxbbjZYkQSmmxt9qMpJL/bxsFZW86PbODWdQkKgUlA6nD 5IsAKhgOsdfWvZQ564SvwVrVG+QRQAnoGh6Piut4Fb+FB8gaskDRKmmnrRQVK355WN OaO4/7zP0UrtgQjFcAro9tq9uXIqrEdJrdbQW6z1IXe/0+OaZcPh1GQyAIv4GOlpPn VmawQ6VJOXRNegf9ROCJIjEqO1/S9mCYdrsa0ubyzUv+OmhEoHOiyanrmxv16YcnU/ Isfs0yFzXAWcw== Date: Thu, 11 Apr 2024 14:37:56 +0100 From: Will Deacon To: Zayd Qumsieh Cc: Catalin Marinas , Mark Brown , Ard Biesheuvel , Mark Rutland , Mateusz Guzik , Anshuman Khandual , Marc Zyngier , Oliver Upton , Miguel Luis , Joey Gouly , Christoph Paasch , Kees Cook , Sami Tolvanen , Baoquan He , Lecopzer Chen , 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 Subject: Re: [PATCH 0/3] tso: aarch64: Expose TSO for virtualized linux on Apple Silicon Message-ID: <20240411133755.GA26535@willie-the-truck> References: <20240410211652.16640-1-zayd_qumsieh@apple.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240410211652.16640-1-zayd_qumsieh@apple.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240411_063808_306591_8967BC73 X-CRM114-Status: GOOD ( 15.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Zayd, It makes a nice change to see an apple.com address on the mailing list! On Wed, Apr 10, 2024 at 02:16:38PM -0700, Zayd Qumsieh wrote: > x86 CPUs use a TSO memory model. Apple Silicon CPUs have the ability to > selectively use a TSO memory model. This can be done by setting the > ACTLR.TSOEN bit to 1. This feature is useful for x86 emulators, since it > removes the need for emulators to insert memory barriers in order to abide > by the TSO memory model. This patch series will add ACTLR.TSOEN support to > virtualized linux on Apple Silicon machines. Userspace will be able to use > a prctl to change the memory model of the CPU from the default ARM64 memory > model to a TSO memory model. FWIW: I've replied on the other series from Hector: https://lore.kernel.org/lkml/20240411132853.GA26481@willie-the-truck/T/#t Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel