Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1133271yba; Thu, 9 May 2019 11:15:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxi0T6LalZ3TCD9Mjg04iab79F0Bgr5eu6zyJRyY7BnNp+r+sY6dKs7gtbOTJZv3srTWEEa X-Received: by 2002:a17:902:e183:: with SMTP id cd3mr7098377plb.233.1557425757544; Thu, 09 May 2019 11:15:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557425757; cv=none; d=google.com; s=arc-20160816; b=VWphD3fkB67BOdEC8rbrhgDAtNq/jMyAO1rPiFT/e7qrHnWG2TSNj++HvPX5rDKMmL f6kLApE9cba2ryUOK6LIbdCdzpU6BB1viV4LsJ23WrvAH4cEljqObuVIHOIluWWKpjEz Dg5bX23UgvY+0OxVcv6L3baBznF9xiAlgR6BafZJK2THnpv/KzteoVVJlkV259npKIjI TGNDEC8z+ltsqWxDbYCnlSk/KyK+dxIre8aW15PhAbPeheDwKfH0T9KXFRgh+6yI7ZwL EhdtY2wMl4ZLtfHupv5jR1AZfBZ19lQ/DAm3JPz9kKBLNs1RO0jbKp1lWKf0Xk1uA65z Du8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=JUwS9dymJ04YX4ZOblBi1WuWquJR7xZC0s3nDAuNoUk=; b=xo+glRdEI+fgiEOeaYsJ+2aN50p16zN+I614zTGG2qhAc2MnLG4yV5YmjLvBFw3wAU rD3bDC4acMys4YOS35p44WqqthWaiRbTdPAa2jtJa1x5N1m8Tp82d2yhAm03KmqIREhE HI8YHi3qeT6regWV/UaOblVwRkURYyvZZka1jytGBBgZ2wiTPG1Zin2epILQOqsBNHE9 4ezI86yDd/qLYej9GMeEbmb0zncHtTg+QaIpL2okk/nzU50WfE+De3WvfLkqdgYFNW7T 7bEsdqb0KOzphHL9Pdd0Cq6YiiDpVRURQPaqXj7Q+a/zgTmUmQLW8KeZffJj/UW+dLkk 94Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=VqoSa2GZ; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z21si920759plo.386.2019.05.09.11.15.41; Thu, 09 May 2019 11:15:57 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=VqoSa2GZ; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726776AbfEISOV (ORCPT + 99 others); Thu, 9 May 2019 14:14:21 -0400 Received: from mail-it1-f174.google.com ([209.85.166.174]:37481 "EHLO mail-it1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726632AbfEISOT (ORCPT ); Thu, 9 May 2019 14:14:19 -0400 Received: by mail-it1-f174.google.com with SMTP id l7so4900072ite.2 for ; Thu, 09 May 2019 11:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JUwS9dymJ04YX4ZOblBi1WuWquJR7xZC0s3nDAuNoUk=; b=VqoSa2GZlo6D3X0b3NIdkqAQ3ahd1+Ux+sgMDHdI900ih4KCYeIGukoOOgsg1SuTz4 RpV8NGtVEWJitMWbMgmGPVx1MnyYfi6WCq9XuIC2pcKu0vc4R8ihWREDa94Hoj2VhnQM 7QcI96SurtZkIgsfyE9NNmirlMlrys4wVtd3qBGSgbLLHoqNNQ01XdnxWYCFeXEweSO1 oKB3s50PEJ21DxS9Zs//F7uMkxd+w8+0MLCe6cUOMYCJnfB4ItRen0/3wr/6uXS/yvZm qarIPkSkW6j9HEbXnenkNfWYFDqgushWRuZxq0GC60xy/Wfh6zud8zCC97/hjOzLAJvZ F22Q== 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=JUwS9dymJ04YX4ZOblBi1WuWquJR7xZC0s3nDAuNoUk=; b=K7ImbpJkC+4V37qAal6QkVlEvXM8PJFUg/jghAmGOG5JdoaKvIkh1lY8N1voCE+9QH uFPjgdniGVK8TWo+7q23eTCrsKoQG0knpIN40loCQ2dz3ps/u7hoAC7P4LI4Oj7fqBPS JZItqroQVShZsuUl0g1ZS/jgg4AdGDNNIBjVhItIlCJa5Rr+jgJVw7iNAs40K5PQQLye MzcbaCr3yFLFXKEMDFBcKdCsutPQ/YIpYYumxcqT55R0zfv4JicE+iSAQsejSwuHFFQ0 j6DHT3zZLGmP4qmkUdED4qM04V4dRcGPc09NglAeeV7y1RKbYv+PcuefjUg5ZxNX3Q9R /MRw== X-Gm-Message-State: APjAAAX4pseCo0l05W1n/rCw/sjDljrUyHhBiInwEacx7xEeXurQJNnT aru+9E71FGV14tlqAuZKQ5aZyF3fdgMRjNSJSs8YxtZldBE= X-Received: by 2002:a24:b14d:: with SMTP id c13mr3667006itj.51.1557425658561; Thu, 09 May 2019 11:14:18 -0700 (PDT) MIME-Version: 1.0 References: <20190509085004.GE64514@C02TF0J2HF1T.local> In-Reply-To: <20190509085004.GE64514@C02TF0J2HF1T.local> From: Salman Qazi Date: Thu, 9 May 2019 11:14:07 -0700 Message-ID: Subject: Re: icache_is_aliasing and big.LITTLE To: Catalin Marinas Cc: Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thank you. On Thu, May 9, 2019 at 1:50 AM Catalin Marinas wrote: > > 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