[PATCH v3 58/62] xen/acpi: Fix event-channel interrupt when booting with ACPI

Julien Grall julien.grall at citrix.com
Mon Nov 30 07:30:54 PST 2015


On 27/11/15 15:12, Stefano Stabellini wrote:
>> +    }
>> +    else
>> +    {
>> +        int type = 3;
>> +        int flag = 2; /* Active-low level-sensitive  */
>> +        d->arch.hvm_domain.params[HVM_PARAM_CALLBACK_IRQ] = (u64)type << 56
>> +                                                            | flag << 8
>> +                                                            | d->arch.evtchn_irq;
>> +    }
>>  }
> 
> Actually there is no point in setting HVM_PARAM_CALLBACK_IRQ only on
> ACPI: I would just set it on all cases.

+1

Regards,

-- 
Julien Grall



More information about the linux-arm-kernel mailing list