[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 19/22] i8259: move InterruptStatsProviderClass get_statistics() from i8259 to PIC
- To: Mark Cave-Ayland <mark.caveayland@xxxxxxxxxxx>
- From: Peter Maydell <peter.maydell@xxxxxxxxxx>
- Date: Tue, 13 Oct 2026 17:23: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=0aU3xZ0O9qtDwjPihhb4Xe3w0i2uTKvAQPFqDUeHH/o=; fh=EPCCytDeP3vLQ7g2MfIU1KePKPlwz1O+yDAB06rI5ws=; b=EbwsBrFUWY7XrUoLvMd58Lw7ZYzC5YWQrg/qzVoWieXP0McpB0MMimKLADXI6WQncF QlZy+7y0hJ1N/oHDQQ2LurqJKX+j9tMTK54x0gK9E2DthEsVvBggJ0dt8mYKDDcYR1pZ sHBg9BEu3qRIGUA0qVZscOiZUA5KA17ooht9RL0qo4ol1MU6mAVDo4/Jlstw1AeKP0jW elgFNORy7JpCmPDXPzt3IQiaWoSZreobuejyoJcMS0BoZci2c6hHtnSQA0yddZl4pnS1 sd8RcC9yfXbKYAZ/ajbbzyk5zDHSH9SscJmW0CEe2YTkaOPlPnauc9V/+cqJagVCjMui OCTg==; darn=lists.xenproject.org
- Arc-seal: i=1; a=rsa-sha256; t=1791908602; cv=none; d=google.com; s=arc-20260327; b=rYCXK0WW4ZntzZT8ddwfpm3NP8hvFo8CypjaHbcQU+quFqP63BuoacHYmiSLTC50Nj vkzahpHUVGmI1o8pG2aCiCgD8q1NuToxvY5WOR/XtowOr6EIr47l5e7mpSG0wlbDw5Wk sYzBL5LYZ1jv2UTfeWyZHjacA3xs2an+v745J/KkgwTWLhkoFCq1l30fzJpCZE9kGPxV PExcxsA6T2j6yxZvJ3CbSJ+5zlSbqUONtbhdd3792P88I3EZfNDx6W/fVbMRTDUQcQE6 8fq0LKE6f1MWYcKuWDSv993EYzKUdWXqqUxkwBrNE7AOWhsK0kfSkNAUIxtzn1yUhUTo kFfw==
- 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: Tue, 13 Oct 2026 16:23:30 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Wed, 16 Sept 2026 at 11:50, Mark Cave-Ayland
<mark.caveayland@xxxxxxxxxxx> wrote:
>
> The internal i8259 implementation has workaround logic for storing interrupt
> statistics since these are currently recorded at the PIC level (i.e. for all
> 16 interrupt lines) whilst being stored in the master i8259 device which only
> has 8 physical interrupt lines.
>
> Move the get_statistics() implementation from the individual i8259 device to
> the containing PIC device in preparation for removing this hack. Note that
> this has a visible change to the "info pic" HMP monitor output since the named
> device displayed by "info irq" is now the PIC and not the individual i8259:
>
Reviewed-by: Peter Maydell <peter.maydell@xxxxxxxxxx>
thanks
-- PMM
|