* Re: Arch-neutral name for hardware interrupt support
2021-11-01 10:47 Arch-neutral name for hardware interrupt support Andrew Cooper
@ 2021-11-01 20:32 ` Stefano Stabellini
2021-11-02 7:16 ` Alistair Francis
2021-11-02 0:33 ` Bobby Eshleman
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Stefano Stabellini @ 2021-11-01 20:32 UTC (permalink / raw)
To: Andrew Cooper
Cc: xen-devel, Jan Beulich, Wei Liu, Roger Pau Monné,
Julien Grall, Stefano Stabellini, Volodymyr Babchuk,
Jane Malalane, Bobby Eshleman, Alistair Francis, Connor Davis,
Bertrand.Marquis
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
+Bertrand
On Mon, 1 Nov 2021, Andrew Cooper wrote:
> Hello,
>
> On ARM, the GIC is a hard prerequisite for VMs.
>
> I can't remember what the state of RISCV is, but IIRC there is still
> some debate over how interrupts are expected to work under virt.
>
> On x86, the story is very different. PV have no hardware assistance,
> while HVM hardware assistance depends on hardware support. Therefore we
> want to introduce a new CDF flag so we can control the setting per
> domain, rather than globally as it is done now.
>
> This brings us to the question of what a suitable architecture name
> would be.
>
> Hardware Virtual Interrupts is a little too close to Hardware Virtual
> (Machine) Introspection, and Hardware Assisted Interrupts (mirroring
> HAP) doesn't seem great either.
>
> Thoughts / ideas / suggestions?
Maybe "hardware-enabled virtualized interrupts"
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Arch-neutral name for hardware interrupt support
2021-11-01 20:32 ` Stefano Stabellini
@ 2021-11-02 7:16 ` Alistair Francis
2021-11-02 8:38 ` Bertrand Marquis
0 siblings, 1 reply; 9+ messages in thread
From: Alistair Francis @ 2021-11-02 7:16 UTC (permalink / raw)
To: Stefano Stabellini
Cc: Andrew Cooper, xen-devel, Jan Beulich, Wei Liu,
Roger Pau Monné, Julien Grall, Volodymyr Babchuk,
Jane Malalane, Bobby Eshleman, Alistair Francis, Connor Davis,
Bertrand.Marquis
On Tue, Nov 2, 2021 at 6:33 AM Stefano Stabellini
<sstabellini@kernel.org> wrote:
>
> +Bertrand
>
> On Mon, 1 Nov 2021, Andrew Cooper wrote:
> > Hello,
> >
> > On ARM, the GIC is a hard prerequisite for VMs.
> >
> > I can't remember what the state of RISCV is, but IIRC there is still
> > some debate over how interrupts are expected to work under virt.
We are getting there, the current draft is pretty stable:
https://github.com/riscv/riscv-aia/
> >
> > On x86, the story is very different. PV have no hardware assistance,
> > while HVM hardware assistance depends on hardware support. Therefore we
> > want to introduce a new CDF flag so we can control the setting per
> > domain, rather than globally as it is done now.
> >
> > This brings us to the question of what a suitable architecture name
> > would be.
> >
> > Hardware Virtual Interrupts is a little too close to Hardware Virtual
> > (Machine) Introspection, and Hardware Assisted Interrupts (mirroring
> > HAP) doesn't seem great either.
> >
> > Thoughts / ideas / suggestions?
>
> Maybe "hardware-enabled virtualized interrupts"
hardware-supported virtualised interrupts (HSV Interrupts)
Alistair
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Arch-neutral name for hardware interrupt support
2021-11-02 7:16 ` Alistair Francis
@ 2021-11-02 8:38 ` Bertrand Marquis
0 siblings, 0 replies; 9+ messages in thread
From: Bertrand Marquis @ 2021-11-02 8:38 UTC (permalink / raw)
To: Alistair Francis
Cc: Stefano Stabellini, Andrew Cooper, xen-devel, Jan Beulich,
Wei Liu, Roger Pau Monné, Julien Grall, Volodymyr Babchuk,
Jane Malalane, Bobby Eshleman, Alistair Francis, Connor Davis
Hi,
> On 2 Nov 2021, at 07:16, Alistair Francis <alistair23@gmail.com> wrote:
>
> On Tue, Nov 2, 2021 at 6:33 AM Stefano Stabellini
> <sstabellini@kernel.org> wrote:
>>
>> +Bertrand
>>
>> On Mon, 1 Nov 2021, Andrew Cooper wrote:
>>> Hello,
>>>
>>> On ARM, the GIC is a hard prerequisite for VMs.
>>>
>>> I can't remember what the state of RISCV is, but IIRC there is still
>>> some debate over how interrupts are expected to work under virt.
>
> We are getting there, the current draft is pretty stable:
> https://github.com/riscv/riscv-aia/
>
>>>
>>> On x86, the story is very different. PV have no hardware assistance,
>>> while HVM hardware assistance depends on hardware support. Therefore we
>>> want to introduce a new CDF flag so we can control the setting per
>>> domain, rather than globally as it is done now.
>>>
>>> This brings us to the question of what a suitable architecture name
>>> would be.
>>>
>>> Hardware Virtual Interrupts is a little too close to Hardware Virtual
>>> (Machine) Introspection, and Hardware Assisted Interrupts (mirroring
>>> HAP) doesn't seem great either.
>>>
>>> Thoughts / ideas / suggestions?
>>
>> Maybe "hardware-enabled virtualized interrupts"
>
> hardware-supported virtualised interrupts (HSV Interrupts)
Both propositions are ok I think but I have a preference for supported.
Cheers
Bertrand
>
> Alistair
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Arch-neutral name for hardware interrupt support
2021-11-01 10:47 Arch-neutral name for hardware interrupt support Andrew Cooper
2021-11-01 20:32 ` Stefano Stabellini
@ 2021-11-02 0:33 ` Bobby Eshleman
2021-11-02 8:51 ` Roger Pau Monné
2021-11-02 12:59 ` Jan Beulich
3 siblings, 0 replies; 9+ messages in thread
From: Bobby Eshleman @ 2021-11-02 0:33 UTC (permalink / raw)
To: Andrew Cooper
Cc: xen-devel, Jan Beulich, Wei Liu, Roger Pau Monné,
Julien Grall, Stefano Stabellini, Volodymyr Babchuk,
Jane Malalane, Alistair Francis, Connor Davis
On Mon, Nov 01, 2021 at 10:47:26AM +0000, Andrew Cooper wrote:
> Hello,
>
> On ARM, the GIC is a hard prerequisite for VMs.
>
> I can't remember what the state of RISCV is, but IIRC there is still
> some debate over how interrupts are expected to work under virt.
>
Yes sir, that addition to the spec is not yet released (publically) AFAICT.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Arch-neutral name for hardware interrupt support
2021-11-01 10:47 Arch-neutral name for hardware interrupt support Andrew Cooper
2021-11-01 20:32 ` Stefano Stabellini
2021-11-02 0:33 ` Bobby Eshleman
@ 2021-11-02 8:51 ` Roger Pau Monné
2021-11-03 10:16 ` Jane Malalane
2021-11-02 12:59 ` Jan Beulich
3 siblings, 1 reply; 9+ messages in thread
From: Roger Pau Monné @ 2021-11-02 8:51 UTC (permalink / raw)
To: Andrew Cooper
Cc: xen-devel, Jan Beulich, Wei Liu, Julien Grall, Stefano Stabellini,
Volodymyr Babchuk, Jane Malalane, Bobby Eshleman,
Alistair Francis, Connor Davis
On Mon, Nov 01, 2021 at 10:47:26AM +0000, Andrew Cooper wrote:
> Hello,
>
> On ARM, the GIC is a hard prerequisite for VMs.
>
> I can't remember what the state of RISCV is, but IIRC there is still
> some debate over how interrupts are expected to work under virt.
>
> On x86, the story is very different. PV have no hardware assistance,
> while HVM hardware assistance depends on hardware support. Therefore we
> want to introduce a new CDF flag so we can control the setting per
> domain, rather than globally as it is done now.
>
> This brings us to the question of what a suitable architecture name
> would be.
>
> Hardware Virtual Interrupts is a little too close to Hardware Virtual
> (Machine) Introspection, and Hardware Assisted Interrupts (mirroring
> HAP) doesn't seem great either.
>
> Thoughts / ideas / suggestions?
Is this going to cover both hardware assisted interrupt
controller and assisted interrupt delivery (ie: APIC virtualization
and posted interrupts in x86 speak) or just one of them?
Thanks, Roger.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Arch-neutral name for hardware interrupt support
2021-11-02 8:51 ` Roger Pau Monné
@ 2021-11-03 10:16 ` Jane Malalane
2021-11-04 9:30 ` Roger Pau Monné
0 siblings, 1 reply; 9+ messages in thread
From: Jane Malalane @ 2021-11-03 10:16 UTC (permalink / raw)
To: Roger Pau Monné, Andrew Cooper
Cc: xen-devel, Jan Beulich, Wei Liu, Julien Grall, Stefano Stabellini,
Volodymyr Babchuk, Bobby Eshleman, Alistair Francis, Connor Davis
[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]
On 02/11/2021 08:51, Roger Pau Monné wrote:
> On Mon, Nov 01, 2021 at 10:47:26AM +0000, Andrew Cooper wrote:
>> Hello,
>>
>> On ARM, the GIC is a hard prerequisite for VMs.
>>
>> I can't remember what the state of RISCV is, but IIRC there is still
>> some debate over how interrupts are expected to work under virt.
>>
>> On x86, the story is very different. PV have no hardware assistance,
>> while HVM hardware assistance depends on hardware support. Therefore we
>> want to introduce a new CDF flag so we can control the setting per
>> domain, rather than globally as it is done now.
>>
>> This brings us to the question of what a suitable architecture name
>> would be.
>>
>> Hardware Virtual Interrupts is a little too close to Hardware Virtual
>> (Machine) Introspection, and Hardware Assisted Interrupts (mirroring
>> HAP) doesn't seem great either.
>>
>> Thoughts / ideas / suggestions?
> Is this going to cover both hardware assisted interrupt
> controller and assisted interrupt delivery (ie: APIC virtualization
> and posted interrupts in x86 speak) or just one of them?
>
> Thanks, Roger.
It's not going to cover IOMMU posted interrupts, only CPU posted interrupts.
Jane.
[-- Attachment #2: Type: text/html, Size: 1605 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Arch-neutral name for hardware interrupt support
2021-11-03 10:16 ` Jane Malalane
@ 2021-11-04 9:30 ` Roger Pau Monné
0 siblings, 0 replies; 9+ messages in thread
From: Roger Pau Monné @ 2021-11-04 9:30 UTC (permalink / raw)
To: Jane Malalane
Cc: Andrew Cooper, xen-devel, Jan Beulich, Wei Liu, Julien Grall,
Stefano Stabellini, Volodymyr Babchuk, Bobby Eshleman,
Alistair Francis, Connor Davis
On Wed, Nov 03, 2021 at 10:16:26AM +0000, Jane Malalane wrote:
> On 02/11/2021 08:51, Roger Pau Monné wrote:
> > On Mon, Nov 01, 2021 at 10:47:26AM +0000, Andrew Cooper wrote:
> > > Hello,
> > >
> > > On ARM, the GIC is a hard prerequisite for VMs.
> > >
> > > I can't remember what the state of RISCV is, but IIRC there is still
> > > some debate over how interrupts are expected to work under virt.
> > >
> > > On x86, the story is very different. PV have no hardware assistance,
> > > while HVM hardware assistance depends on hardware support. Therefore we
> > > want to introduce a new CDF flag so we can control the setting per
> > > domain, rather than globally as it is done now.
> > >
> > > This brings us to the question of what a suitable architecture name
> > > would be.
> > >
> > > Hardware Virtual Interrupts is a little too close to Hardware Virtual
> > > (Machine) Introspection, and Hardware Assisted Interrupts (mirroring
> > > HAP) doesn't seem great either.
> > >
> > > Thoughts / ideas / suggestions?
> > Is this going to cover both hardware assisted interrupt
> > controller and assisted interrupt delivery (ie: APIC virtualization
> > and posted interrupts in x86 speak) or just one of them?
> >
> > Thanks, Roger.
>
> It's not going to cover IOMMU posted interrupts, only CPU posted interrupts.
IMO it needs to be something like Hardware {assisted,virtual}
interrupt controller, or some such, to differentiate from IOMMU posted
interrupts, which will likely use Hardware {assisted,virtual}
interrupts. So:
* Hardware {assisted,virtual} interrupt controller: all APIC related
hardware assisted emulation.
* Hardware {assisted,virtual} interrupts: IOMMU posted interrupts.
I prefer `assisted` rather than `virtual`, but I'm not a native
speaker so my taste could go against what most prefer.
Regards, Roger.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Arch-neutral name for hardware interrupt support
2021-11-01 10:47 Arch-neutral name for hardware interrupt support Andrew Cooper
` (2 preceding siblings ...)
2021-11-02 8:51 ` Roger Pau Monné
@ 2021-11-02 12:59 ` Jan Beulich
3 siblings, 0 replies; 9+ messages in thread
From: Jan Beulich @ 2021-11-02 12:59 UTC (permalink / raw)
To: Andrew Cooper
Cc: Wei Liu, Roger Pau Monné, Julien Grall, Stefano Stabellini,
Volodymyr Babchuk, Jane Malalane, Bobby Eshleman,
Alistair Francis, Connor Davis, xen-devel
On 01.11.2021 11:47, Andrew Cooper wrote:
> Hello,
>
> On ARM, the GIC is a hard prerequisite for VMs.
>
> I can't remember what the state of RISCV is, but IIRC there is still
> some debate over how interrupts are expected to work under virt.
>
> On x86, the story is very different. PV have no hardware assistance,
> while HVM hardware assistance depends on hardware support. Therefore we
> want to introduce a new CDF flag so we can control the setting per
> domain, rather than globally as it is done now.
>
> This brings us to the question of what a suitable architecture name
> would be.
>
> Hardware Virtual Interrupts is a little too close to Hardware Virtual
> (Machine) Introspection, and Hardware Assisted Interrupts (mirroring
> HAP) doesn't seem great either.
>
> Thoughts / ideas / suggestions?
As per the subject of your mail simply "hwint"? But, as Roger says, a
good name certainly depends on the scope of what exactly you want to
cover.
Jan
^ permalink raw reply [flat|nested] 9+ messages in thread