From patchwork Fri Jul 5 03:33:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5LyK6JekIOWkqua4hQ==?= X-Patchwork-Id: 13724401 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EDC41C30658 for ; Fri, 5 Jul 2024 03:33:53 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPZhg-00056e-Ip; Thu, 04 Jul 2024 23:33:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPZha-000564-Rd for qemu-devel@nongnu.org; Thu, 04 Jul 2024 23:33:39 -0400 Received: from mail-sgaapc01acsn2080b.outbound.protection.outlook.com ([2a01:111:f400:feab::80b] helo=APC01-SG2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPZhX-0003mS-CH for qemu-devel@nongnu.org; Thu, 04 Jul 2024 23:33:38 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cpiv61YzzfDlzJuXEPj8jZNT1EOSiYPmpFrTlcBpTw0N8ChqYsmQFBwER4gNM8TTcp+2rxhok5G20UdCkQKtQaBEiG5akQ207lL2Jkd6zORGrVLbkxrwSPJO94rBd7U0BxUPHGayGgXQvac8k5tZMcx6GYXT58PppxlmMXattOF3hXRT2APqMMbJaVx73f0WHIOj2IYntz1w5bIiDidBdM+9XdzjxxDY4qBfA/EzpFXRuJLMxgDzqTqJ6ncRoUrOiGJFKRdLol1IfS4dciWV9FV3bxi5/sQLuzlMcvtuiFqmRzU+rglGqz29dy0S6l/tjEqfsni6rZ0gHNIrmzA1WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=X/YIvRofYO0R16YIMpAlHEXp6ljGp8JFJhITXZtB0uI=; b=nK3N+wUZDXGQ7qK/Of6xg5EJbiF8kZuk5mRmzCd7pUfwqhOrJxWPfitIomU+IS727Dk4l45AGljOMtuF1+5s8/CogNUoe70Rxq4fgFUBmSA6gOGaqKZw+Eo598IKqfEV6uXQbn3iixxWp2CDUeGh6tmVBH6dsqN6WLzrqBNreQM9WbcZRTIPl5KEjalq5ra/YzvzIkDVG1SF5grsEMAlh3xgrD6LZD4Rn8a7A41vrH5HXP+YWUHaf+uz8GxpoYuPOvnjb4BatsUF8Hx9LlSp+Up0rV95tpI6ibNK+XObD2KerVCkR4copByzj8zcZojYsSP3g3eOZH0vge4egRZTXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.JP; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X/YIvRofYO0R16YIMpAlHEXp6ljGp8JFJhITXZtB0uI=; b=liCMFQJNCh+IgzWkelZHvGQZUfQE3Nd2c4Yvyvi832o+xQoe8s4/4pIBT2SYOWf/TkiQ+Cu8Pgh8IYYITMijxhyYcdzLbfXgwVgUXK4mikoof5uxGrERAbrFPAIPpiUsznJJaxy04t7IDw4PLYSiI2zQYE1OIc9s9j8OZERyDtaAEPU0cDF9Oyciyw8nlvguiB2G9EQUCkFlu3R2dy2brOwi9wnbwMioAn7JvTAVJFyfaBjAXhVXRKN92ZAUPwsEEOLvAUsG8jg9JfyxsWKQO32BXFhWRidh6nut9p0+XKyhqVADiQdbQvXHAx1EiRtAFDWty1/qeCXzpmCazBNbZA== Received: from SEZPR01MB4301.apcprd01.prod.exchangelabs.com (2603:1096:101:4f::5) by KL1PR01MB5736.apcprd01.prod.exchangelabs.com (2603:1096:820:10e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.33; Fri, 5 Jul 2024 03:33:28 +0000 Received: from SEZPR01MB4301.apcprd01.prod.exchangelabs.com ([fe80::40ec:96e8:ebc2:2872]) by SEZPR01MB4301.apcprd01.prod.exchangelabs.com ([fe80::40ec:96e8:ebc2:2872%6]) with mapi id 15.20.7741.027; Fri, 5 Jul 2024 03:33:27 +0000 From: =?iso-2022-jp?b?GyRCMEtGIxsoQiAbJEJCQEA2GyhC?= To: "qemu-devel@nongnu.org" CC: "pbonzini@redhat.com" , "mst@redhat.com" Subject: [PING][PATCH] hw/intc/ioapic: Delete a wrong IRQ redirection on I/O APIC Thread-Topic: [PING][PATCH] hw/intc/ioapic: Delete a wrong IRQ redirection on I/O APIC Thread-Index: AQHaxvexsisMgUUJlkSRN/8Sl71JD7HniWYq Date: Fri, 5 Jul 2024 03:33:27 +0000 Message-ID: References: In-Reply-To: Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-tmn: [mxv7y7BQ00ZdnUnobWr054exya4/XMvI] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SEZPR01MB4301:EE_|KL1PR01MB5736:EE_ x-ms-office365-filtering-correlation-id: 4df030d4-de01-4933-94dd-08dc9ca33b86 x-microsoft-antispam: BCL:0; ARA:14566002|9400799024|8060799006|19110799003|461199028|102099032|440099028|3412199025; x-microsoft-antispam-message-info: G8Jt6RtRL48xms4UnsDg4Vcjs1elDSmiRRX5jCOMrGg9PKzMn90n0xn47y1HxhyPsjP+IJqkKfv/E/u9VlrYW7e9prX6i6g6YZ5JJsXVZz5ld9AZS16vjGY6VDW8I1InP/+vNlHeYyh+hqQUaTAM3fKSKiKGfNW/hLFJsFkscGi7BbyqoqQydjxsrggvURVwb3Xz0M+pxzodRVND+mpwHhsl+y8X6O3MjTgith6JIJcWOXF6pHImLSwHt2nPYVhc3r0B3g09R0UogHy71S+WGZobGVuCD2B/lrWgRVT4QgcHoMVVjCXSb+KVYsx2nNHTmUgwiREPyABX1WzdzpPPtWXYWOUzy01zXTvOutUsta5V77GiQIctmZ21NLW/xttPIv+AIALXgiyIYeVd1s2XB/wdgD934CmTzWfhh+Lm6YlJI0AjJnW8lR1wABpivuLlaREHUVA7/ytEVOWd3+cjNWyUCGtkcnCOaNTlHdT8I5pJGYtCe6b+QMw0fVJrM2z+JlxkoAcuCtjEsQODseNVELxLO6EVZn9IurjWWvZb4MZc9HSiOejRCH1qS4Mlj6N0eYNzrez3TFTOiad/iXtHOhxw0M2t8Wn5hdB3nkb1VBu0J8cLIz81qXMhX6Bft9ZqsRo3YDagaYdrmkBH09hnYA6fscbpw+d5MAdNmTjBi+HBJqEdkd7XQPwkWluTHKtRz3tkuafmWi46D/ElwGu7YLjHaMlyXc0Nm4VYadtiywA= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?b?SHE3bDU4c01iOUZCNDg0?= =?iso-2022-jp?b?Zzc5Tlp0NWM5ajdDMkk5ZWhXa05janBWend4U0lMQ21wcmdMWm5TUHU3?= =?iso-2022-jp?b?cVplYm8xbTBKRkh2dHVDb1ZCRkU0eEF2YmdjTzUzcTRQUmNOTVNYVWVu?= =?iso-2022-jp?b?ZCttRGhlRDJ3NnJHSUo3ZzJZZ3FGYWFJQnFCWGU0bEtOU0hOR1p3bkkv?=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2U2QkszajcydGVj?= =?iso-2022-jp?b?N2Q4T01weW5LdVRpUXJmYTRaMit5VGlPUVFJRXpNSUM3WUF5Wm5EOTZr?= =?iso-2022-jp?b?MUxFV09HQXdrbUVnaUZheTlSakNrSUxHZkgyd2JYK3YvSFRXdHFJVko4?= =?iso-2022-jp?b?Z1dpMzhkU3hVZTZEUHQ0ZWtscWFkVDFmRnlGVk5XZkhEK0Z6WVBkdG1V?= =?iso-2022-jp?b?UCs3ZmxTZnlraGp0YmZ2SHY1ZnZJc3F1cENiVmF0VG1ERmxOUmpPcnBz?= =?iso-2022-jp?b?VUJCblI3dXFRUFpQWmNaMVdjbHFqeStrVUFIMTRjS3lCRllTblZqdHVJ?= =?iso-2022-jp?b?MGdPTVNUTXhUK3BES2hnSW00Ui9rSEFHOWVwR3p5WFM5NFlUb0VPRGY1?= =?iso-2022-jp?b?bUU4YlltWnFORTBHY0hZejNQT05mQitrbWxaMHhsU1Y4VU00dVhxeVha?= =?iso-2022-jp?b?aU0yay9hYUVLVTlJUGZrUnppc2thZVYzS3ArWWMvS1BnU3cxTUFJdXcx?= =?iso-2022-jp?b?elc1OFQwazlTWXpmWjBsSmZaSklKKzhtemlUSnJacm92VDBRYWVjWHZW?= =?iso-2022-jp?b?aU1reVJBWFNnMm5UNVF6V1ExRFgyWlEveXYrN1ZQeEQ3aGFEWWlLVXVu?= =?iso-2022-jp?b?dE1UMFFVbFMxQUhVNFBFWmhZN1M2K0VMT0RKRUZBeE1qUS9PbkVhSjhp?= =?iso-2022-jp?b?QlE2c2xtd3lRdkNycEpDYzZnWmdHSGFnNWs9?= MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-7719-20-msonline-outlook-b4c57.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SEZPR01MB4301.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 4df030d4-de01-4933-94dd-08dc9ca33b86 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2024 03:33:27.1680 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR01MB5736 Received-SPF: pass client-ip=2a01:111:f400:feab::80b; envelope-from=taisei1212@outlook.jp; helo=APC01-SG2-obe.outbound.protection.outlook.com X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, CHARSET_FARAWAY_HEADER=3.2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org This is a ping to the patch below. https://lore.kernel.org/qemu-devel/TY0PR0101MB42850337F8917D1F514107FBA4D52@TY0PR0101MB4285.apcprd01.prod.exchangelabs.com/ diff --git a/hw/intc/ioapic.c b/hw/intc/ioapic.c index 716ffc8bbb..6b630b45ca 100644 --- a/hw/intc/ioapic.c +++ b/hw/intc/ioapic.c @@ -154,15 +154,8 @@ static void ioapic_set_irq(void *opaque, int vector, int level) { IOAPICCommonState *s = opaque; - /* ISA IRQs map to GSI 1-1 except for IRQ0 which maps - * to GSI 2. GSI maps to ioapic 1-1. This is not - * the cleanest way of doing it but it should work. */ - trace_ioapic_set_irq(vector, level); ioapic_stat_update_irq(s, vector, level); - if (vector == 0) { - vector = 2; - } if (vector < IOAPIC_NUM_PINS) { uint32_t mask = 1 << vector; uint64_t entry = s->ioredtbl[vector];