From patchwork Wed Oct 26 13:31:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 13020644 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 DD9CBC38A2D for ; Wed, 26 Oct 2022 13:41:07 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ongVn-0005bZ-54; Wed, 26 Oct 2022 09:32:04 -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 1ongVi-0005ZD-R9; Wed, 26 Oct 2022 09:31:58 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ongVh-0007kQ-Bi; Wed, 26 Oct 2022 09:31:58 -0400 Received: by mail-ed1-x529.google.com with SMTP id a5so28370080edb.11; Wed, 26 Oct 2022 06:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7XFjlVpcxaj5zu3U9gU7k60uMx2pDm5CTfU/4CJL5Uk=; b=q1l8rx5p/vt+FXr18VdAMFHEhBHuPsHJ/Eg1YEXVdcPpHpYvGarnPC6gqky2lh0n4L yRBg+3lxvgSPMBUiZAZvoFstF/5neDtA1JPiTNX11lu7KVdo1ohYNIUZSxV5VxGLGjs8 94M5K3d/4ZcFXvuCi4O+W+SJ3AgQnxW44gSVBmYmQ7xfFwS/hDRKhIdoaHPh3o7OksjV ahkxL36vGO23szbhdV4a2fw71ezZIdnOnCVfpdHOGHmD3MlNCWTlZglQDBsSUfjE+Nvl KJu+9CoNSbeDLRMM47L6wh+KrLgIpTlnEW9NLEheUB56PNQ30J7meHSXok0lDq+Uo9vO bedg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7XFjlVpcxaj5zu3U9gU7k60uMx2pDm5CTfU/4CJL5Uk=; b=UMmTXQduqdYszzEJAE4bZdn2sCwwudnPD/UXxmpBUQ+Sqte1JeDQqppjhxKrqLBgGE L7uovEHQsWC9VgJ5WxiA74J6Q5tEwZCpqtMGpXPBbnfxSsc52/dk6q16sMCE2AZZ3ZKs IYQvRgfA9es+9ZvAbkCvrzN9C6JOuDyOlr05YuFarXclIbhXRcWhxzNmj80DtVbYc88p MNMCWrpR2avDY/khUg/SScVFPX1FMLVmwAN2yBvHaEyLW8EmJBTjxXeszxYrMwcrcOt7 75OFVUqPdZj4/odJoO7OWxzQg4gN0lo/IBqqdDMw3yF7FYd/djRFHasohgpDHyclxK7w LR5g== X-Gm-Message-State: ACrzQf3IkhYaCf3rvhzemjzvkcp5ISmwJTGnJko+cPpudwwQgIMdLu/b cjkkBlzrFLZ6NyYcAoa7gLqoNr64nsY= X-Google-Smtp-Source: AMsMyM7c4rMgPwe0uTsE/9aksYLm81y6p6UNMAp+4qacsve3YQdYmZdl4g1nTBfal6B6GBWkp1ow8Q== X-Received: by 2002:a05:6402:26c6:b0:45d:374b:fb73 with SMTP id x6-20020a05640226c600b0045d374bfb73mr40390433edd.424.1666791114842; Wed, 26 Oct 2022 06:31:54 -0700 (PDT) Received: from osoxes.fritz.box (p200300faaf0bb2009c4947838afc41b6.dip0.t-ipconnect.de. [2003:fa:af0b:b200:9c49:4783:8afc:41b6]) by smtp.gmail.com with ESMTPSA id 13-20020a170906328d00b00730b3bdd8d7sm3032524ejw.179.2022.10.26.06.31.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 06:31:54 -0700 (PDT) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Marcel Apfelbaum , qemu-trivial@nongnu.org, Ani Sinha , Igor Mammedov , Richard Henderson , Eduardo Habkost , Paolo Bonzini , Bernhard Beschow Subject: [PATCH 0/4] Cleanup AML generation for north and south bridges Date: Wed, 26 Oct 2022 15:31:06 +0200 Message-Id: <20221026133110.91828-1-shentey@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=shentey@gmail.com; helo=mail-ed1-x529.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org While refactoring of PCI AML generation seems to be still ongoing, this series attempts to be an intermediate, short-term step to improve comprehensibility of the code. It also simplifies experimentation with different south bridges (PIIX4 and VT82xx) in the pc machine. Testing done: * `mache check` * Start a live CD using "pc" and "q35" machine types Bernhard Beschow (4): hw/i386/acpi-build: Remove unused struct hw/i386/acpi-build: Resolve redundant attribute hw/i386/acpi-build: Resolve PIIX ISA bridge rather than ACPI controller hw/i386/acpi-build: Generate AML for north and south bridges separately hw/i386/acpi-build.c | 45 ++++++++++++++++++-------------------------- 1 file changed, 18 insertions(+), 27 deletions(-)