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.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 EA60AC4708E for ; Tue, 3 Jan 2023 13:17:43 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.470621.730175 (Exim 4.92) (envelope-from ) id 1pChAW-0000uM-7s; Tue, 03 Jan 2023 13:17:28 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 470621.730175; Tue, 03 Jan 2023 13:17:28 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pChAW-0000uF-53; Tue, 03 Jan 2023 13:17:28 +0000 Received: by outflank-mailman (input) for mailman id 470621; Tue, 03 Jan 2023 13:17:27 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pChAV-0000u9-He for xen-devel@lists.xenproject.org; Tue, 03 Jan 2023 13:17:27 +0000 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [2a00:1450:4864:20::329]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id f673d0b5-8b68-11ed-b8d0-410ff93cb8f0; Tue, 03 Jan 2023 14:17:24 +0100 (CET) Received: by mail-wm1-x329.google.com with SMTP id p1-20020a05600c1d8100b003d8c9b191e0so23054738wms.4 for ; Tue, 03 Jan 2023 05:17:24 -0800 (PST) Received: from [192.168.30.216] ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id r17-20020a05600c425100b003cffd3c3d6csm40171333wmm.12.2023.01.03.05.17.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Jan 2023 05:17:23 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f673d0b5-8b68-11ed-b8d0-410ff93cb8f0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=+6FCYc7IsbLXUkXo08SQ4GUWBR9iGC2Xzf9FolVUtRo=; b=n/56VD4IRMp0yuUVG73jhVPdUgXayuZx4giEfUZ8VLgAAnbQZeIuIvQcokB2wptb6k roMl4LNuBykQy/MpusQOu0PMAW1zy6KpNMcCebcpS9DCuAqDne0+v68abElKm/+c9PGX 5deJomEDWCynXEAQCe2GxPFbAKq3knf/Q0Vi2APEhmyoBGnSpcnvaiXifXNt7MFWuLtI CYdI4jO0cRMmDBNHyzsDW6aehiMZJ7lHGoG9Mw1g3tBw2z61ryhoGk+Eml41wavMKgNr 3jQc0/MkoQeBHxtCrcfilhHCmnRLxA8ZrtYjJvD3vWgTfxcPoCHF0jAIAEkIpPZNbsBN AdAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+6FCYc7IsbLXUkXo08SQ4GUWBR9iGC2Xzf9FolVUtRo=; b=DIgZrvcbTihimYS6Pc/U3JE+nIRpF4Cyp7Qs+KLLG0IegroKrqKw80gzRDYiJaYwbM kzjd9Pzn865w5K0BlWo29hijZ0dPchQtS1yPlZl2Z5Kwg8XBFpIm1ePUqjeRg0Q/t211 3lTDKkP4GrMftcqmSyXrzTtkee+VgOLscLcRVaR7sOElR7m2jX5ay0gBg5jwSAD/cpeZ jp0j91xrhXeKgDdNFoMtDv7ihed3rXsjPAJBcR7hyoa7Fti+9ir+XcraLFcGi/xxBeG8 Gou/OOlwwAQ00c6KU4mZnr6r+ZuEweQmqugD6cM7kFPk6L+EFfq5uECH5YPhAF4xkicM CHew== X-Gm-Message-State: AFqh2kobLcBRJp5YBSA9+KTFBrM2X7a4gkbGOvt/bA0mniOqg8XBJlE7 WZmY02M4mWDXmJFvbHePXPJHbA== X-Google-Smtp-Source: AMrXdXtKrBI9NGgAUmqiWfEI2RGlGcbNiSC2hdExF6pkPz5b4Eg0tXIw6L8+2KPWlNKYtW4NbzL5LQ== X-Received: by 2002:a05:600c:4255:b0:3d3:3d34:5d63 with SMTP id r21-20020a05600c425500b003d33d345d63mr32744520wmm.8.1672751844305; Tue, 03 Jan 2023 05:17:24 -0800 (PST) Message-ID: <0de699a7-98b8-e320-da4d-678d0f594213@linaro.org> Date: Tue, 3 Jan 2023 14:17:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 0/6] Resolve TYPE_PIIX3_XEN_DEVICE Content-Language: en-US To: Chuck Zmudzinski , Bernhard Beschow , qemu-devel@nongnu.org Cc: Paul Durrant , Marcel Apfelbaum , "Michael S. Tsirkin" , Stefano Stabellini , Anthony Perard , Aurelien Jarno , Eduardo Habkost , xen-devel@lists.xenproject.org, =?UTF-8?Q?Herv=c3=a9_Poussineau?= , Paolo Bonzini , Richard Henderson References: <20230102213504.14646-1-shentey@gmail.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Chuck, On 3/1/23 04:15, Chuck Zmudzinski wrote: > On 1/2/23 4:34 PM, Bernhard Beschow wrote: >> This series first renders TYPE_PIIX3_XEN_DEVICE redundant and finally removes >> it. The motivation is to 1/ decouple PIIX from Xen and 2/ to make Xen in the PC >> machine agnostic to the precise southbridge being used. 2/ will become >> particularily interesting once PIIX4 becomes usable in the PC machine, avoiding >> the "Frankenstein" use of PIIX4_ACPI in PIIX3. >> >> Testing done: >> None, because I don't know how to conduct this properly :( >> >> Based-on: <20221221170003.2929-1-shentey@gmail.com> >> "[PATCH v4 00/30] Consolidate PIIX south bridges" This series is based on a previous series: https://lore.kernel.org/qemu-devel/20221221170003.2929-1-shentey@gmail.com/ (which itself also is). >> Bernhard Beschow (6): >> include/hw/xen/xen: Make xen_piix3_set_irq() generic and rename it >> hw/isa/piix: Reuse piix3_realize() in piix3_xen_realize() >> hw/isa/piix: Wire up Xen PCI IRQ handling outside of PIIX3 >> hw/isa/piix: Avoid Xen-specific variant of piix_write_config() >> hw/isa/piix: Resolve redundant k->config_write assignments >> hw/isa/piix: Resolve redundant TYPE_PIIX3_XEN_DEVICE >> >> hw/i386/pc_piix.c | 34 ++++++++++++++++-- >> hw/i386/xen/xen-hvm.c | 9 +++-- >> hw/isa/piix.c | 66 +---------------------------------- > > This file does not exist on the Qemu master branch. > But hw/isa/piix3.c and hw/isa/piix4.c do exist. > > I tried renaming it from piix.c to piix3.c in the patch, but > the patch set still does not apply cleanly on my tree. > > Is this patch set re-based against something other than > the current master Qemu branch? > > I have a system that is suitable for testing this patch set, but > I need guidance on how to apply it to the Qemu source tree. You can ask Bernhard to publish a branch with the full work, or apply each series locally. I use the b4 tool for that: https://b4.docs.kernel.org/en/latest/installing.html i.e.: $ git checkout -b shentey_work $ b4 am 20221120150550.63059-1-shentey@gmail.com $ git am ./v2_20221120_shentey_decouple_intx_to_lnkx_routing_from_south_bridges.mbx $ b4 am 20221221170003.2929-1-shentey@gmail.com $ git am ./v4_20221221_shentey_this_series_consolidates_the_implementations_of_the_piix3_and_piix4_south.mbx $ b4 am 20230102213504.14646-1-shentey@gmail.com $ git am ./20230102_shentey_resolve_type_piix3_xen_device.mbx Now the branch 'shentey_work' contains all the patches and you can test. Regards, Phil.