From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSLnL-00052k-54 for qemu-devel@nongnu.org; Tue, 25 Mar 2014 03:29:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSLnG-00073P-8v for qemu-devel@nongnu.org; Tue, 25 Mar 2014 03:29:11 -0400 References: <1395715231-4217-1-git-send-email-anton@samba.org> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <1395715231-4217-1-git-send-email-anton@samba.org> Date: Tue, 25 Mar 2014 07:29:01 +0000 Message-ID: <871txqspmq.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 1/6] target-ppc: POWER8 supports the MSR_LE bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anton Blanchard Cc: clg@fr.ibm.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org, gkurz@linux.vnet.ibm.com Anton Blanchard writes: > Add MSR_LE to the msr_mask for POWER8. > > - pcc->msr_mask = 0x800000000284FF36ULL; > + pcc->msr_mask = 0x800000000284FF37ULL; Should we be adding some #define's for the various bit positions on this mask? Looking at the current code it looks like a big ream of magic numbers. Cheers, -- Alex Bennée