Re: [PATCH v2] x86/irq: introduce APIC_VECTOR_VALID()

2025-04-05 Thread Stefano Stabellini
On Mon, 24 Mar 2025, Denis Mukhin wrote: > On Monday, March 24th, 2025 at 6:51 AM, Andrew Cooper > wrote: > > > > > > > On 20/03/2025 11:05 pm, dm...@proton.me wrote: > > > > > Add new macro APIC_VECTOR_VALID() to validate the interrupt vector > > > range as per [1]. This macro replaces hardc

Re: [PATCH v2] x86/irq: introduce APIC_VECTOR_VALID()

2025-03-31 Thread Denis Mukhin
On Monday, March 24th, 2025 at 4:32 PM, Stefano Stabellini wrote: > > > On Mon, 24 Mar 2025, Denis Mukhin wrote: > > > On Monday, March 24th, 2025 at 6:51 AM, Andrew Cooper > > andrew.coop...@citrix.com wrote: > > > > > On 20/03/2025 11:05 pm, dm...@proton.me wrote: > > > > > > > Add new m

Re: [PATCH v2] x86/irq: introduce APIC_VECTOR_VALID()

2025-03-26 Thread Jan Beulich
On 21.03.2025 00:05, dm...@proton.me wrote: > Add new macro APIC_VECTOR_VALID() to validate the interrupt vector > range as per [1]. This macro replaces hardcoded checks against the > open-coded value 16 in LAPIC and virtual LAPIC code and simplifies > the code a bit. > > [1] Intel SDM volume 3A >

Re: [PATCH v2] x86/irq: introduce APIC_VECTOR_VALID()

2025-03-25 Thread Andrew Cooper
On 24/03/2025 12:36 pm, Jan Beulich wrote: > On 21.03.2025 00:05, dm...@proton.me wrote: >> Add new macro APIC_VECTOR_VALID() to validate the interrupt vector >> range as per [1]. This macro replaces hardcoded checks against the >> open-coded value 16 in LAPIC and virtual LAPIC code and simplifies

Re: [PATCH v2] x86/irq: introduce APIC_VECTOR_VALID()

2025-03-24 Thread Denis Mukhin
On Monday, March 24th, 2025 at 6:51 AM, Andrew Cooper wrote: > > > On 20/03/2025 11:05 pm, dm...@proton.me wrote: > > > Add new macro APIC_VECTOR_VALID() to validate the interrupt vector > > range as per [1]. This macro replaces hardcoded checks against the > > open-coded value 16 in LAPIC an

Re: [PATCH v2] x86/irq: introduce APIC_VECTOR_VALID()

2025-03-24 Thread Denis Mukhin
On Monday, March 24th, 2025 at 5:36 AM, Jan Beulich wrote: > > > On 21.03.2025 00:05, dm...@proton.me wrote: > > > Add new macro APIC_VECTOR_VALID() to validate the interrupt vector > > range as per [1]. This macro replaces hardcoded checks against the > > open-coded value 16 in LAPIC and virt

Re: [PATCH v2] x86/irq: introduce APIC_VECTOR_VALID()

2025-03-24 Thread Andrew Cooper
On 20/03/2025 11:05 pm, dm...@proton.me wrote: > Add new macro APIC_VECTOR_VALID() to validate the interrupt vector > range as per [1]. This macro replaces hardcoded checks against the > open-coded value 16 in LAPIC and virtual LAPIC code and simplifies > the code a bit. > > [1] Intel SDM volume 3A