On Sat, Nov 11 2023 at 20:16, Jacob Pan wrote: > From: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > When programming IRTE for posted mode, we need to retrieve the > physical we need .... I surely did not write this changelog. > address of the posted interrupt descriptor (PID) that belongs to it's > target CPU. > > This per CPU PID has already been set up during cpu_init(). This information is useful because? > +static u64 get_pi_desc_addr(struct irq_data *irqd) > +{ > + int cpu = cpumask_first(irq_data_get_effective_affinity_mask(irqd)); The effective affinity mask is magically correct when this is called?