Re: [GIT PULL] Add KVM support for Book3s_64 (PPC64) hosts v3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2009-07-26 at 22:47 +0200, Alexander Graf wrote:
> When we just interpret the bitmap as u64* do we break 32 on 64 x86? If  
> not, that makes it work for 32 on 64 ppc, because the kernel is always  
> 64.

It just a matter of having the bits in the right place. The kernel will
not always be 64-bit though, for example it's no for kvm/e500 or kvm/440
and there's no reason those could get gfx at some stage.

Now, the kernel -does- provide _le variants of the bitops, and those
have the side advantage of being agnostic to 32 vs. 64 bit so maybe that
what we should use everywhere ?

Look at ppc's bitops.h, it has nice descriptions of the format.

Cheers,
Ben.


--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux