Hi Bhupinder,

On 15/12/16 11:23, Bhupinder Thakur wrote:.

+     * VMIDs.
+     */
+    if ( !vmid_8_bit )
+        max_vmid = MAX_VMID_16_BIT;
+
     /* pa_range is 4 bits, but the defined encodings are only 3 bits */
     if ( pa_range&0x8 || !pa_range_info[pa_range].pabits )
         panic("Unknown encoding of ID_AA64MMFR0_EL1.PARange %x\n",
pa_range);


This code has changed in xen upstream and the platform will unlikely apply.
Please rebase your code on staging.

I checked with the staging branch. This code is same. I re-based my
code on staging branch but there is no change in this code fragment.

The code was changed by commit 7190f2d "fix potential pa_range_info out of bound access" that is present in both staging and master.

I've tried to apply the patch on staging and it failed. So you need to rebase it.

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to