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

Re: [RFC][PATCH] Fix HPMC handler by increasing size to multiple of 16 bytes



On 2018-03-19 6:23 PM, Helge Deller wrote:
-	length = os_hpmc_size;
-	ivap[7] = length;
+	length = ALIGN(os_hpmc_size, 16);
+	ivap[7] = length; /* length needs to be multiple of 16. */
If this is true, should we not add three nops to the end of os_hpmc so it has a length which is a multiple of 16?

Dave

--
John David Anglin  dave.anglin@bell.net


Reply to: