Re: [PATCH v2] powerpc/tm: Print 64-bits MSR
From: Breno Leitao <leitao@debian.org>
Date: 2018-08-08 15:50:38
Hi Leroy, On 08/07/2018 03:57 PM, LEROY Christophe wrote:
Breno Leitao [off-list ref] a écrit :
quoted
On 08/07/2018 02:15 PM, Christophe LEROY wrote:quoted
Le 07/08/2018 à 15:35, Breno Leitao a écrit :
quoted
quoted
I think it would be better to change 'reason' to 'unsigned long' instead of replacing it by regs->msr for the printk.That was my initial approach, but this code seems to run on 32 bits system, and I do not want to change the whole 'reason' bit width without having a 32 bits to test, at least.But 'unsigned long' is still 32 bits on ppc32, so it makes no difference with 'unsigned int' And I will test it for you if needed
Cool, I really appreciate it, and I would definitely need it once I have a more intrusive HTM patchset I am working on. Regarding this one, I think the change is so simple as-is that I would prefer to continue with the v2 patch, if you do not mind. Thank you!