Re: [kvm-unit-tests PATCH v1] s390x: add a pgm irq handler and a way to expect them

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

 



On 30.05.2017 10:03, David Hildenbrand wrote:
> On 29.05.2017 18:35, Thomas Huth wrote:
>> On 29.05.2017 14:17, David Hildenbrand wrote:
>>> The pgm irq handler will detect unexpected pgm irqs and allows to
>>> expect pgm irqs + verify that the pgm irq was triggered.
>>>
>>> We need "-fno-delete-null-pointer-checks", otherwise trying to access the
>>> lowcore at address 0 makes GCC generate very weird code.
>>
>> I wonder whether you could get rid of that by using a global variable
>> for lc instead?
> 
> As far as I remember, I tried that and it didn't change a thing. Will do
> a quick test.

It works as long as that global variable is not static, because then GCC
must assume that any other code could set it to !0.

-- 

Thanks,

David



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux