[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 26/27] i8259_common.c: remove static irq_count and irq_level variables
- To: Mark Cave-Ayland <mark.caveayland@xxxxxxxxxxx>
- From: Peter Maydell <peter.maydell@xxxxxxxxxx>
- Date: Fri, 16 Oct 2026 17:09:08 +0100
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=ekA2GvyEqTKTqcCmn0VyediNRRfm4eukmQVIUJ/lNz0=; fh=DBA+KqNtehNJZ86p09hJoLgUxSp2vUn/M3gdxFQrGfg=; b=GuGSrkyomRkpFv3T1FkJZjBHwgmlYI8HwMbQtkdzXuOB5vSdTvbuPNKtC0iuSPFxlV 54MokYpIV+ggnqpI32JVGzETU50viqGRkmgh4z+C6vPuz4ygD2qw1H7egcLdF0Lpq6Wh DD5R6j5CNAUkrtZdpqS2sJMGHEwyABejkiobPWaN/QxRd83a5Eiqv4MhMfIxGNLlyhEr T/0+p+LpByaupkdPDDmBX9Sb663FV1PqpFehshUaAhIt8bzKInTtCm48++OLj0AHgOy6 +b7CVYprPictDjiURdrO1tVy96RYfweEXFx8CJg4QrLY0r0C5XI015cff1E1xlgEnB2b 0kvw==; darn=lists.xenproject.org
- Arc-seal: i=1; a=rsa-sha256; t=1792166960; cv=none; d=google.com; s=arc-20260327; b=iryzr6jeKe2FaJSRiwYMBE+0hsTZYFwwPqiesY4bXF+fCWfNjJ+n33es7Y2+cice23 zCC4xcUP58fCCKbGgVEKKXP4AD2YPUaHY7HdnsTKsSW2E3w72eD77nIrOJAF03XFokZM X/eYIctgqKX3X9wISISolpaLucJd1fGoVW6BgKhYXCpX86wDbXvrvEqKFMy843L2NkVY aBbnQMUg6QSn4hl5zbo1hWfaVBM9XL45W583qnpCAEhgCXhuOLL/WjFaPh45Og+njlFK ItaNDO/SzXP0TW0MTwA1qfJeQ5SYMMSnfr0LlIw1azpLxPjavPvWz7PhjGA+Kt90MkaI dMlw==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=google header.d=linaro.org header.i="@linaro.org" header.h="Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References:MIME-Version"
- Cc: pbonzini@xxxxxxxxxx, richard.henderson@xxxxxxxxxx, mst@xxxxxxxxxx, sstabellini@xxxxxxxxxx, anthony@xxxxxxxxxxxxxx, edgar.iglesias@xxxxxxxxx, qemu-devel@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Fri, 16 Oct 2026 16:09:28 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Fri, 16 Oct 2026 at 15:24, Mark Cave-Ayland
<mark.caveayland@xxxxxxxxxxx> wrote:
>
> Adjust the parameters to i8259_stat_update_irq() to allow passing in pointers
> to the irq_count and irq_level arrays, and then move the arrays into the
> corresponding i8259 PIC and KVM PIC devices.
>
> Doing this allows the statistics capture logic in i8259_set_irq() that handles
> incoming cascading interrupts to be removed.
>
> Signed-off-by: Mark Cave-Ayland <mark.caveayland@xxxxxxxxxxx>
Reviewed-by: Peter Maydell <peter.maydell@xxxxxxxxxx>
thanks
-- PMM
|