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=-5.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,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 AA647C28CC6 for ; Mon, 3 Jun 2019 09:32:07 +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 8451B28006 for ; Mon, 3 Jun 2019 09:32:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eLMnTWnu"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="S+FM+Lya" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8451B28006 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=L+NodQxJtex3hWWFv1twB7IbmVFLo6U4yvFNkI50zlI=; b=eLMnTWnuDeZ7J/ I+DTSNjqkCw3N1UP5NgEkjcKy65ocWcKeh4gQME3exqjiOZJeXTBZ581Rbskl9CXlPc/6JOnPsiG5 eCevT+RXYUzAnqClxQGgyLn3wNgGUvq0XzoFKq2Hkv3kflf7JBcOt8fgR6LDS5924IjHwoyuOBo62 XscP1or0l4GKSD+wUxJyRiksGwLXYI8Vd+rI99GJHEYyRyfx6hBrExzbM02AiKWIfx2TAyWN62pjY etA1X/BTq5lFwetIR2wbHAwgOZqc0OIIy+H2HD7lfd9tFFU5OD9XPpUWF3hMQS4/k18RaDy0KbaPF yaKO0UCRhq5+B1Y5fn6A==; 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 1hXjJx-0001qU-V3; Mon, 03 Jun 2019 09:32:01 +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 1hXjJv-0001p3-B2 for linux-arm-kernel@lists.infradead.org; Mon, 03 Jun 2019 09:32:00 +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 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 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-Disposition: inline In-Reply-To: <1559009814-17004-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-20190603_023159_402637_9B33322C X-CRM114-Status: UNSURE ( 9.25 ) X-CRM114-Notice: Please train this message. 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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=-5.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,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 D339CC28CC6 for ; Mon, 3 Jun 2019 09:31:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 99AD128008 for ; Mon, 3 Jun 2019 09:31:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559554318; bh=EMN8Iq59ijXBnEHjrjBo+85LTiDDMfUpO35bS9zD+hA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=i9vAykWhtf1G00MdYoub51tbeCTl93+8bokutjnJAKLcjHHDSv12BRtyFS7AIYuls /teRzGWDCfNLfmHsSnlWNMc91DZEawcqlPJfyk0Y3yk1mU5Id27VGf82uYkV40FyjG PM64Z93dEU55bNjjT2vc42QWh83kfjxj6b7vVCug= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727875AbfFCJb6 (ORCPT ); Mon, 3 Jun 2019 05:31:58 -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