Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp534223yba; Thu, 9 May 2019 01:51:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfwQ42yelGNJ0qWTkWoFDzjoPC17CIb7QgHWUQsf0yLBqLTmkxPjlvhNlhI1x1r9YKZCy2 X-Received: by 2002:a63:88c7:: with SMTP id l190mr3907210pgd.244.1557391875785; Thu, 09 May 2019 01:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557391875; cv=none; d=google.com; s=arc-20160816; b=wDwsn3pfAedtNtF2EyjpOPR50Hj6m1vA+gYkM+zC38pUDGp24QqNU/VSpEBWA5Jj3O 9T/ExZ8ZJzMu1mUEo8ka3RJHidIb09V9BFYu8PPUF41I1BApE/oipuDHjsbW6PgTwx6h Yk7TpC1M8TEF1ysk2YF5NOCT/D6/MK4THr9NSvA2CaZcb8JSrxqtcwgODGdnVLue6fK7 R6HFeqcdUgBYAbNd+ewR9/XP6yA2VwTHNhQj3U4X0GJdT8NBM39Pz4mNxtYC1OQ+xRcp vJEihLLQTWCFHPgAqg4DFR+3WSty1soZANSURhy9hT6LN9CDr+8qlvVSJy/5HqGu+tq0 H6QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=wNN16s2LxufZd7iJQMLkp8zJ8ZKOwO2Q5iGshgii1mY=; b=knUNDvOIJXsMSVNXAeDGnCDTtIUxQpeDYdUfGEHailKrJ4iKxqoJfm3xYVVFXjd5jk dGIQiFCQRrWLBpWLX6/4OR9ud1TKqIQwsH4t231wyZ23OCqWFzKYED4CQy/hcOavVlV6 6+abs+HWLWL3bzeK+yIj/igM47ByV7SED0OYcj2PdX/P869CBl+GXCOg7PZ1xl1GQs8n 8NmmMQGNbiisp+bfPc4obeVGQncwdc9mdUnwk16ROL/E0BABALDUS36LtF7hc5gJU4EX P1miQZWn6YJiI7kYlD8ANIcyHfHCcOCzo7LTET3lQ5IhmtEHZACm91HdAVxs05TGl+Bq 7rbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 23si1767422pfh.2.2019.05.09.01.50.59; Thu, 09 May 2019 01:51:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726545AbfEIIuL (ORCPT + 99 others); Thu, 9 May 2019 04:50:11 -0400 Received: from foss.arm.com ([217.140.101.70]:34590 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725869AbfEIIuK (ORCPT ); Thu, 9 May 2019 04:50:10 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 29FC7374; Thu, 9 May 2019 01:50:10 -0700 (PDT) Received: from C02TF0J2HF1T.local (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E9BB13F575; Thu, 9 May 2019 01:50:08 -0700 (PDT) Date: Thu, 9 May 2019 09:50:04 +0100 From: Catalin Marinas To: Salman Qazi Cc: Linux Kernel Mailing List Subject: Re: icache_is_aliasing and big.LITTLE Message-ID: <20190509085004.GE64514@C02TF0J2HF1T.local> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, May 08, 2019 at 11:45:03AM -0700, Salman Qazi wrote: > What is the intention behind icache_is_aliasing on big.LITTLE systems > where some icaches are VIPT and others are PIPT? Is it meant to be > conservative in some sense or should it be made per-CPU? It needs to cover the worst case scenario across all CPUs, i.e. aliasing VIPT if one of the CPUs has this. We can't make it per-CPU because a thread performing cache maintenance might be migrated to another CPU with different cache policy (e.g. sync_icache_aliases()). -- Catalin