Hi Jan > On 19 Apr 2021, at 1:33 pm, Jan Beulich <jbeul...@suse.com> wrote: > > On 19.04.2021 13:54, Julien Grall wrote: >> For the time being, I think move this code in x86 is a lot better than >> #ifdef or keep the code in common code. > > Well, I would perhaps agree if it ended up being #ifdef CONFIG_X86. > I would perhaps not agree if there was a new CONFIG_* which other > (future) arch-es could select if desired.
I agree with Julien moving the code to x86 file as currently it is referenced only in x86 code and as of now we are not sure how other architecture will implement the Interrupt remapping (via IOMMU or any other means). Let me know if you are ok with moving the code to x86. Regards, Rahul > > Jan