From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Xu Subject: Re: [kvm-unit-tests PATCH v4 08/11] libcflat: add IS_ALIGNED() macro, and page sizes Date: Wed, 9 Nov 2016 10:07:05 -0500 Message-ID: <20161109150705.GA3762@pxdev.xzpeter.org> References: <1478636499-14339-1-git-send-email-drjones@redhat.com> <1478636499-14339-9-git-send-email-drjones@redhat.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 36E3D4029B for ; Wed, 9 Nov 2016 10:06:49 -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 2STXnyzDJHfq for ; Wed, 9 Nov 2016 10:06:48 -0500 (EST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 7160540293 for ; Wed, 9 Nov 2016 10:06:46 -0500 (EST) Content-Disposition: inline In-Reply-To: <1478636499-14339-9-git-send-email-drjones@redhat.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: Andrew Jones Cc: kvm@vger.kernel.org, marc.zyngier@arm.com, andre.przywara@arm.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, pbonzini@redhat.com, kvmarm@lists.cs.columbia.edu List-Id: kvmarm@lists.cs.columbia.edu On Tue, Nov 08, 2016 at 09:21:36PM +0100, Andrew Jones wrote: > From: Peter Xu > > These macros will be useful to do page alignment checks. > > Signed-off-by: Peter Xu > [drew: also added SZ_64K] > Signed-off-by: Andrew Jones Reviewed-by: Peter Xu From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.25.150.194 with SMTP id y185csp301075lfd; Wed, 9 Nov 2016 07:07:09 -0800 (PST) X-Received: by 10.37.252.28 with SMTP id v28mr17851374ybd.145.1478704028950; Wed, 09 Nov 2016 07:07:08 -0800 (PST) Return-Path: Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id b9si21455qkj.81.2016.11.09.07.07.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Nov 2016 07:07:08 -0800 (PST) Received-SPF: pass (google.com: domain of peterx@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of peterx@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=peterx@redhat.com Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 063CD9023B; Wed, 9 Nov 2016 15:07:08 +0000 (UTC) Received: from pxdev.xzpeter.org (vpn-60-187.rdu2.redhat.com [10.10.60.187]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uA9F75JL007340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 9 Nov 2016 10:07:06 -0500 Date: Wed, 9 Nov 2016 10:07:05 -0500 From: Peter Xu To: Andrew Jones Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, qemu-devel@nongnu.org, qemu-arm@nongnu.org, pbonzini@redhat.com, andre.przywara@arm.com, peter.maydell@linaro.org, alex.bennee@linaro.org, marc.zyngier@arm.com, eric.auger@redhat.com, christoffer.dall@linaro.org Subject: Re: [kvm-unit-tests PATCH v4 08/11] libcflat: add IS_ALIGNED() macro, and page sizes Message-ID: <20161109150705.GA3762@pxdev.xzpeter.org> References: <1478636499-14339-1-git-send-email-drjones@redhat.com> <1478636499-14339-9-git-send-email-drjones@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1478636499-14339-9-git-send-email-drjones@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 09 Nov 2016 15:07:08 +0000 (UTC) X-TUID: Hh4oeJ1cJmdS On Tue, Nov 08, 2016 at 09:21:36PM +0100, Andrew Jones wrote: > From: Peter Xu > > These macros will be useful to do page alignment checks. > > Signed-off-by: Peter Xu > [drew: also added SZ_64K] > Signed-off-by: Andrew Jones Reviewed-by: Peter Xu From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4UT6-0008Q4-9k for qemu-devel@nongnu.org; Wed, 09 Nov 2016 10:07:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4UT5-0004nZ-Ly for qemu-devel@nongnu.org; Wed, 09 Nov 2016 10:07:16 -0500 Date: Wed, 9 Nov 2016 10:07:05 -0500 From: Peter Xu Message-ID: <20161109150705.GA3762@pxdev.xzpeter.org> References: <1478636499-14339-1-git-send-email-drjones@redhat.com> <1478636499-14339-9-git-send-email-drjones@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1478636499-14339-9-git-send-email-drjones@redhat.com> Subject: Re: [Qemu-devel] [kvm-unit-tests PATCH v4 08/11] libcflat: add IS_ALIGNED() macro, and page sizes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrew Jones Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, qemu-devel@nongnu.org, qemu-arm@nongnu.org, pbonzini@redhat.com, andre.przywara@arm.com, peter.maydell@linaro.org, alex.bennee@linaro.org, marc.zyngier@arm.com, eric.auger@redhat.com, christoffer.dall@linaro.org On Tue, Nov 08, 2016 at 09:21:36PM +0100, Andrew Jones wrote: > From: Peter Xu > > These macros will be useful to do page alignment checks. > > Signed-off-by: Peter Xu > [drew: also added SZ_64K] > Signed-off-by: Andrew Jones Reviewed-by: Peter Xu