On 07/23/2012 10:48 AM, Bhushan Bharat-R65777 wrote: > > >> -----Original Message----- >> From: Wood Scott-B07421 >> Sent: Monday, July 23, 2012 9:12 PM >> To: Bhushan Bharat-R65777 >> Cc: kvm-ppc@xxxxxxxxxxxxxxx; agraf@xxxxxxx; kvm@xxxxxxxxxxxxxxx; Bhushan Bharat- >> R65777 >> Subject: Re: [PATCH v2] booke: Added ONE_REG interface for IAC/DAC debug >> registers >> >> This will exceed the array size if userspace asks to access IAC3/4 on an e500- >> family chip. > > No , is not the array size already set to maximum. But yes we should not let IAC3/4 being accessed for e500 (FSL_BOOKE). > >> >> Why not just set the array at the max size unconditionally? > > This is already coded this way. Please see the struct is this patch. Sorry, I misread the array declaration. -Scott -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html