Re: [RFC PATCH v4 21/21] x86/watchdog/hardlockup/hpet: Support interrupt remapping

2019-06-16 Thread Thomas Gleixner
On Sun, 16 Jun 2019, Thomas Gleixner wrote: > On Thu, 23 May 2019, Ricardo Neri wrote: > > +/** irq_remapping_enabled() - Detect if interrupt remapping is enabled > > + * @hdata: A data structure with the HPET block id > > + * > > + * Determine if the HPET block that the hardlockup detector is

Re: [RFC PATCH v4 21/21] x86/watchdog/hardlockup/hpet: Support interrupt remapping

2019-06-16 Thread Thomas Gleixner
On Thu, 23 May 2019, Ricardo Neri wrote: > +/** irq_remapping_enabled() - Detect if interrupt remapping is enabled > + * @hdata: A data structure with the HPET block id > + * > + * Determine if the HPET block that the hardlockup detector is under > + * the remapped interrupt domain. > + * > + *

[RFC PATCH v4 21/21] x86/watchdog/hardlockup/hpet: Support interrupt remapping

2019-05-23 Thread Ricardo Neri
When interrupt remapping is enabled in the system, the MSI interrupt message must follow a special format the IOMMU can understand. Hence, utilize the functionality provided by the IOMMU driver for such purpose. The first step is to determine whether interrupt remapping is enabled by looking for