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 X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02D96C4361B for ; Tue, 15 Dec 2020 01:49:26 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8AD1F224D1 for ; Tue, 15 Dec 2020 01:49:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8AD1F224D1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=getutm.app Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:54818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kozSu-000159-2M for qemu-devel@archiver.kernel.org; Mon, 14 Dec 2020 20:49:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kozPq-00009Q-TE for qemu-devel@nongnu.org; Mon, 14 Dec 2020 20:46:16 -0500 Received: from mail-io1-f66.google.com ([209.85.166.66]:40353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kozPp-0004uF-05 for qemu-devel@nongnu.org; Mon, 14 Dec 2020 20:46:14 -0500 Received: by mail-io1-f66.google.com with SMTP id r9so18919333ioo.7 for ; Mon, 14 Dec 2020 17:46:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lbMph9H9udVvUiO6QGKD84i0SqcE29hZ+hhb8t/nLF4=; b=ML9n8QP8C8kmgngKlo9tG+q690Gmywj1K/ZhQgFTsyIHT/T5dgeVn7Sow+o/QrtBvO i8BPgUsE6UEUtRM1jNiLbo8DlmXK+mvdU71/k2NHz9KJFCn7/ZzASS6XE3SUYqwKUPS4 hA0jXLCx9oi4CYZxEWgX5KFH+HPEydrA7jjFxJOesXBVvDdwMRqq1CmA+2uQx3+0u5DX qL/x3flhzOXGXGPO8iEqw3wNOruWkSGidMap2LMGi3sUhZfPBSxSkyDx/V9nuN4cl7av M5G5k9bDMz9Dg3Vib5hqSymuEhwoNFUPlHreBnsllne7ovEkJkn4EhjZ41K/1mPONtvT 5Lfg== X-Gm-Message-State: AOAM530VBCh6rNR9h7Xs7A8ngttnjp8xJ3Re2ukI1dFKAzgAbIlZiiL9 W3gC+o4eUrZhBKRXNKZoOu28QCMNWRk= X-Google-Smtp-Source: ABdhPJwWk1IqUM/7xRAVmf6oCOnPydTgH8TNICUZUdFC37+Mhi2O1xvBbgW/RfOyvZ2S1iGBzzMNNQ== X-Received: by 2002:a02:2444:: with SMTP id q4mr23074046jae.43.1607996772042; Mon, 14 Dec 2020 17:46:12 -0800 (PST) Received: from mail-io1-f51.google.com (mail-io1-f51.google.com. [209.85.166.51]) by smtp.gmail.com with ESMTPSA id y21sm10051229iot.12.2020.12.14.17.46.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Dec 2020 17:46:11 -0800 (PST) Received: by mail-io1-f51.google.com with SMTP id m23so4110563ioy.2 for ; Mon, 14 Dec 2020 17:46:11 -0800 (PST) X-Received: by 2002:a05:6602:142:: with SMTP id v2mr809042iot.32.1607996771601; Mon, 14 Dec 2020 17:46:11 -0800 (PST) MIME-Version: 1.0 References: <20201214140314.18544-1-richard.henderson@linaro.org> <20201214140314.18544-5-richard.henderson@linaro.org> In-Reply-To: <20201214140314.18544-5-richard.henderson@linaro.org> From: Joelle van Dyne Date: Mon, 14 Dec 2020 17:46:01 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 04/43] util: Specialize flush_idcache_range for aarch64 To: Richard Henderson Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.166.66; envelope-from=osy86dev@gmail.com; helo=mail-io1-f66.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: QEMU Developers , Joelle van Dyne Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Mon, Dec 14, 2020 at 6:03 AM Richard Henderson wrote: > > For darwin, the CTR_EL0 register is not accessible, but there > are system routines that we can use. > > For other hosts, copy the single pointer implementation from > libgcc and modify it to support the double pointer interface > we require. This halves the number of cache operations required > when split-rwx is enabled. > > Cc: Joelle van Dyne > Signed-off-by: Richard Henderson Reviewed-by: Joelle van Dyne