Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3918892ybi; Mon, 3 Jun 2019 02:33:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyf+Y8AhXp7oAud7w39UKv8EjBHJ/NCQWRpIjt6oTcUPTIiHi08jOAcL11c+zaa/CdBH3Qa X-Received: by 2002:a17:902:e2:: with SMTP id a89mr28770585pla.210.1559554411631; Mon, 03 Jun 2019 02:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559554411; cv=none; d=google.com; s=arc-20160816; b=rYaX3ajdQ2Hj0bnYr6QBuqi/+fziy4nTuIygtkXBy1w+dd/Q4HGoMcqleK/Wfkw7+4 HaimBMnit53wJj4LkEj3fVW+uJ7h0wypYiU13EOhWLTqO6GKSwjgO74FbP0rpShmthQF x1V476LX+X9JWUM+q10+or0u3jH6POYs4+fAug3YTvVgJqRJNKnYaf+2hvyI1UxcWMiW j0RYNwFJj39ECI7hUkmknuznDNEKgTEToxAJgRVoxP1bmZJDKR+UazcAKjRHi7ePyEd+ 3/QQs79amrrMBJEZdpHFFZm8/+FaHsDssSNtP5Exnt956YsfyTjyvqClzG5sNKuJfvC8 Sqxw== 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:dkim-signature; bh=OhF1mLLLoSegAHXDPx0L8FLcZGqoZ9GKd5FtORSrzxM=; b=Lj5ChY1JG3/KDkNv1go/1QxTWwakoAhUR8GZnEM3AiWrecL9jjFpwYSVyuO3+s/dYk NAc8nIPRr+agQMxhTJtgHFrOKoZ40ThukUq+tIbXYSObPz245+vylXbd2/MNhBYoCcQz bHin4LUbnj/W1RkD2DVLwiwkB26DFUoIRpuKpvkbDZvd5QU6Zk8d/MCVTd/iNnLBb4yj H5b/Gtpho0o1vz/MGZ0WFLCuzYmeGueA/+E9Q1bMXl+3DNIgkekpqpIwFwfvPNnszvxv lsZ3BIzJE+jCOl092t0o6/j/bzP9jFgaq4JgT+WbKryG7r0L0JxIwFljNORUL2Bup+au T7lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=S+FM+Lya; 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 t12si2915575plr.151.2019.06.03.02.33.15; Mon, 03 Jun 2019 02:33:31 -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=@kernel.org header.s=default header.b=S+FM+Lya; 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 S1727757AbfFCJb5 (ORCPT + 99 others); Mon, 3 Jun 2019 05:31:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:60568 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726555AbfFCJb5 (ORCPT ); Mon, 3 Jun 2019 05:31:57 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7D67228006; Mon, 3 Jun 2019 09:31:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559554317; bh=EMN8Iq59ijXBnEHjrjBo+85LTiDDMfUpO35bS9zD+hA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S+FM+LyaDtTO9EKGzJuxtIkNDUabPe0tJvMKkEUDdOe4Nm5SoFmNliu7cmoDPRXir BA/Txj7hGqIEzAhO2Vat8/5P2GGHHms8+HAX/bFc1mkNgNF7HtZUIhQVnf8ugoMxSB ek+G0XoWMjgCmdTS8UASEtCUMf3ulub46wFJdFgY= Date: Mon, 3 Jun 2019 11:31:54 +0200 From: Greg Kroah-Hartman To: Shaokun Zhang Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Sudeep Holla , Catalin Marinas , Jeremy Linton , Will Deacon Subject: Re: [PATCH v4 1/2] drivers: base: cacheinfo: Add variable to record max cache line size Message-ID: <20190603093154.GA29175@kroah.com> References: <1559009814-17004-1-git-send-email-zhangshaokun@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1559009814-17004-1-git-send-email-zhangshaokun@hisilicon.com> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 28, 2019 at 10:16:53AM +0800, Shaokun Zhang wrote: > Add coherency_max_size variable to record the maximum cache line size > for different cache levels. If it is available, we will synchronize > it as cache line size, otherwise we will use CTR_EL0.CWG reporting > in cache_line_size() for arm64. > > Cc: Greg Kroah-Hartman > Cc: "Rafael J. Wysocki" > Cc: Sudeep Holla > Cc: Catalin Marinas > Cc: Jeremy Linton > Cc: Will Deacon > Signed-off-by: Shaokun Zhang Reviewed-by: Greg Kroah-Hartman