Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5371273ybi; Tue, 4 Jun 2019 05:48:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVX+pTLci8GimDuzWpXUqOxlWZ6cCD+760d5BzQSInWljYUDxYpZuONDIJ1cPWYfYefLtR X-Received: by 2002:a17:902:bb95:: with SMTP id m21mr36903055pls.154.1559652479981; Tue, 04 Jun 2019 05:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559652479; cv=none; d=google.com; s=arc-20160816; b=w6PIoqhGcwELIHW9lOxw7ttSQLKT96NJD6QdJdMF1TqNsdDgNBv1b0FJj9EQSQNaQ8 LMkDWhQcSv6IOd0goW+jqiOIR7W5cfl5Tfp/zTMnP84GCgDKBTf8POK/kPsScuFYSInA pHkPHQO+uiTPOGiDXL59dvy64aB4tEARZOdciXOpg2iB8K5lr0xV78iYmT/o8CwDGPVi MHpkIdNYVjflyUjUSYDSfCw8+mXwQUgLj3H6tC9PxTXha/2U1C8YrMeLfPD4krgiTt4Z 8Op15HR2hp47EJCWGE/gEc2ShcYX+8Ck8zFdQpoDMgvDHu69Zx2FqaLo4L7lAFl6hnTo 1g+Q== 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=W/ZA0nsTV0m3Qau9Ci4AA1mv9MM5lOvTBvdgz4CyHhg=; b=0ZRsh2+wMp1SPtWUn+CPmwrVYYgU9TndPBQwTyy3Bo6CrvjFWPEe0YVNesG9ifUfwY ZC2d3DCiB5Xj93t+FLzwV/UZPMmWJiWeAMoT1Lg1X2uTXb4v0/g6fgwkH4xApd6nHaOS Lwfb1Xc6qjb6g3ZNT6xuN8fG8pewOUBRjsv/pnpsZShhwcaat0qcJgO1dyy96D388Bh/ K+OoJ0HQjmfqUdupkebX84ARsyyvTOqVtPib+JQFmJdeRqk/moIvOUq2XGooXMqeNgMp E8yT8X0G4IhOj+dCdX9RrBhGGz0eeUM+kTS5QaDJT9D+sI7bChKefY/5PKdMbVbN0yQq scqg== 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 s5si22600368pgr.361.2019.06.04.05.47.42; Tue, 04 Jun 2019 05:47:59 -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 S1727655AbfFDMpU (ORCPT + 99 others); Tue, 4 Jun 2019 08:45:20 -0400 Received: from foss.arm.com ([217.140.101.70]:42550 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726994AbfFDMpU (ORCPT ); Tue, 4 Jun 2019 08:45:20 -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 CC7B8A78; Tue, 4 Jun 2019 05:45:19 -0700 (PDT) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.196.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 520933F690; Tue, 4 Jun 2019 05:45:18 -0700 (PDT) Date: Tue, 4 Jun 2019 13:45:15 +0100 From: Catalin Marinas To: Shaokun Zhang Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , Sudeep Holla , Jeremy Linton , Will Deacon Subject: Re: [PATCH v4 1/2] drivers: base: cacheinfo: Add variable to record max cache line size Message-ID: <20190604124515.GB6610@arrakis.emea.arm.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.10.1 (2018-07-13) 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 Both patches queued for 5.3. Thanks. -- Catalin