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.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,T_DKIMWL_WL_HIGH,URIBL_BLOCKED,USER_AGENT_MUTT 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 8E8C2C07542 for ; Mon, 27 May 2019 06:07:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 63DE921726 for ; Mon, 27 May 2019 06:07:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Mqodg/qU"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="RRp7RK35" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63DE921726 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dOfDeSGFurcE0isQ99S7zbg2Fe2GwYqNwGUL7kjCqME=; b=Mqodg/qUtfAXDh 3F54zdPfhRdxkQSKYObpDn2zZ388W5WIjap8CtEjf8ek5TOUp3pC5Mutf0hJtcZv/Ehbu9I8Ei/I0 3flf8nTLuOYT7HiN3LhMo3yMZV6DeJQkV/siF/46qhoTDzd/uAAQRWgrPUUVuUIj834ipAk6ckpYF +FzZPp0i4nxvZT6/rZll0L2XkA1ggWVZFy5FOxeaOTNpRVoQl9YmrmJ8B1W8uvxnqVKZgzXHpNW3i wyV12gF74/a3vNf94apRju3UHdfUSoNonzH7L4PVTtRPeLYuBp9hyxepHuo8t+R0pPOo34dsZ6Y6X 74TYiBaRn5LW/XUnhxjw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hV8ml-0007Lu-Qp; Mon, 27 May 2019 06:07:03 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hV8mi-0007LZ-Ul for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2019 06:07:02 +0000 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 75DBE204EC; Mon, 27 May 2019 06:06:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558937220; bh=mw+L/lLqY44mNdz/h0RDLRWC8v4KYOi5aOl1+CIT9wA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RRp7RK35mra3nwfLeSnANm7jg9RuE5Xik4SIoiYMi2PYUvCZu2b5m/t7BU7kliO6J 1Vf3DetAjGyPp8/lPrqpTmOqANVXTe8co9sTQ3LnD4ptx1nAxwPAFhWJ4B3x7COQQV cR2NmSD9PKbsSn0OuiImgyLxb8g+55SRD5uDhAwM= Date: Mon, 27 May 2019 08:06:56 +0200 From: Greg Kroah-Hartman To: Shaokun Zhang Subject: Re: [PATCH v3 1/2] drivers: base: cacheinfo: Add variable to record max cache line size Message-ID: <20190527060656.GA7997@kroah.com> References: <1558922768-29155-1-git-send-email-zhangshaokun@hisilicon.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1558922768-29155-1-git-send-email-zhangshaokun@hisilicon.com> User-Agent: Mutt/1.12.0 (2019-05-25) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190526_230701_007389_3A093588 X-CRM114-Status: GOOD ( 13.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Jeremy Linton , Sudeep Holla , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, May 27, 2019 at 10:06:07AM +0800, Shaokun Zhang wrote: > Add coherency_max_size variable to record the maximum cache line size > for different cache levels. We will synchronize it with 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 > --- > ChangeLog since v2: > -- Rebase to 5.2-rc2 > -- Export cache_line_size for I/O driver > ChangeLog since v1: > -- Move coherency_max_size to drivers/base/cacheinfo.c > -- Address Catalin's comments > Link: https://www.spinics.net/lists/arm-kernel/msg723615.html > > drivers/base/cacheinfo.c | 5 +++++ > include/linux/cacheinfo.h | 2 ++ > 2 files changed, 7 insertions(+) > > diff --git a/drivers/base/cacheinfo.c b/drivers/base/cacheinfo.c > index a7359535caf5..8827c60f51e2 100644 > --- a/drivers/base/cacheinfo.c > +++ b/drivers/base/cacheinfo.c > @@ -213,6 +213,8 @@ int __weak cache_setup_acpi(unsigned int cpu) > return -ENOTSUPP; > } > > +unsigned int coherency_max_size; Why are you creating a global variable? Where are the other patches in this series? thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel