From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [PATCH v2 2/3] arm64: kvm: reuse existing cache type/info related macros Date: Thu, 23 Feb 2017 16:57:07 +0100 Message-ID: <20170223155707.GD1409@cbox> References: <1485793527-18028-1-git-send-email-sudeep.holla@arm.com> <1485793527-18028-2-git-send-email-sudeep.holla@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id B1C9540C27 for ; Thu, 23 Feb 2017 10:56:22 -0500 (EST) Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id POAt-hJV0c8P for ; Thu, 23 Feb 2017 10:56:21 -0500 (EST) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 41C1040C1D for ; Thu, 23 Feb 2017 10:56:20 -0500 (EST) Received: by mail-wm0-f51.google.com with SMTP id 196so3974836wmm.1 for ; Thu, 23 Feb 2017 07:57:21 -0800 (PST) Content-Disposition: inline In-Reply-To: <1485793527-18028-2-git-send-email-sudeep.holla@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: Sudeep Holla Cc: Marc Zyngier , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu List-Id: kvmarm@lists.cs.columbia.edu On Mon, Jan 30, 2017 at 04:25:26PM +0000, Sudeep Holla wrote: > We already have various macros related to cache type and bitfields in > CLIDR system register. We can replace some of the hardcoded values > here using those existing macros. > > This patch reuses those existing cache type/info related macros and > replaces the hardcorded values. It also removes some of the comments > that become trivial with the macro names. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Christoffer Dall > Cc: Marc Zyngier > Signed-off-by: Sudeep Holla Acked-by: Christoffer Dall From mboxrd@z Thu Jan 1 00:00:00 1970 From: cdall@linaro.org (Christoffer Dall) Date: Thu, 23 Feb 2017 16:57:07 +0100 Subject: [PATCH v2 2/3] arm64: kvm: reuse existing cache type/info related macros In-Reply-To: <1485793527-18028-2-git-send-email-sudeep.holla@arm.com> References: <1485793527-18028-1-git-send-email-sudeep.holla@arm.com> <1485793527-18028-2-git-send-email-sudeep.holla@arm.com> Message-ID: <20170223155707.GD1409@cbox> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Jan 30, 2017 at 04:25:26PM +0000, Sudeep Holla wrote: > We already have various macros related to cache type and bitfields in > CLIDR system register. We can replace some of the hardcoded values > here using those existing macros. > > This patch reuses those existing cache type/info related macros and > replaces the hardcorded values. It also removes some of the comments > that become trivial with the macro names. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Christoffer Dall > Cc: Marc Zyngier > Signed-off-by: Sudeep Holla Acked-by: Christoffer Dall