From patchwork Fri Feb 10 16:37:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 652339 Delivered-To: patch@linaro.org Received: by 2002:adf:f90f:0:0:0:0:0 with SMTP id b15csp1059382wrr; Fri, 10 Feb 2023 08:38:35 -0800 (PST) X-Google-Smtp-Source: AK7set8I5gyBaTKUZZ4xXFvvlnn9yFQ+xCdyiVIJJHz4yJJdYAbSqA5jABMGJTiBQNkiNJXTNM9r X-Received: by 2002:ac8:5a4c:0:b0:3b9:a523:2bb5 with SMTP id o12-20020ac85a4c000000b003b9a5232bb5mr25483643qta.14.1676047114980; Fri, 10 Feb 2023 08:38:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676047114; cv=none; d=google.com; s=arc-20160816; b=zcaPagxnfeTwZugzMh6Tbl1l42wdtAufPXcoJ6sUqSvOF3QJZCGudsE3vihSvl64fH k/CReyF9J4N1wn0Sz3OU/nPm1QjZIV2cOcLhM0+8ZRlEeZJOILHHWIFf7g04p4V0WkI6 huLwv+YjU3bz4EXkIbGzgprBo/MDk1J21khwoAPDDRWBQY3aN23VJNV8zPMF2q64Ze62 rDMAzRwxS/wDJtKgoyopYYUgJhWKSXNBlozHYzOCk3+htWRC+8QxEmZuZW2PyqLUPQ05 xC3b4GbnFT63/7wF5r5HzfAa8m3qmVU1XtV5BlE1hk0b7h4AqX+vli9LwmcXkBOHFMVy YpfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=uZyX7beYR1/8hPTlA0f9tYFKMMepz6hOSd4CeavM+Z0=; b=fpSUtK+4qUWc2DuVi9HAKji2A3JXvLcAtLXIA1Q1FItaAVLtz1AMmeRQeyWFQUiYV+ 5GumSbkg9RU1YHXnnqrlZHpsPpyfPngEOg0/YXrwXlNhQDrlsaDK2kNz6x/LAXectr8v eeBYEdeswuFzT5Mp5pgWCjJLJQMktikbB5xmEIF+X92aKqiiKdlCzhN7ey3HOZBb4pxZ BdNz5aXvgCFe3QmarsQS4+Qfa1Z4ICmPQAgU1YARqxajEQisx4NCYS93jF3olqnX6BLq /st0gKeveLY4fbmrqdcBsM32t4PhhClixK2jcK9NdLIiS8X61QI4gwuyKIQ0m8A6ar0Y BMyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n2E46jbz; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k14-20020a05622a03ce00b003ab9329d092si4207904qtx.518.2023.02.10.08.38.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Feb 2023 08:38:34 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n2E46jbz; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQWPJ-0000OM-8N; Fri, 10 Feb 2023 11:37:53 -0500 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 1pQWPH-0000Nc-21 for qemu-devel@nongnu.org; Fri, 10 Feb 2023 11:37:51 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQWPF-00008K-JT for qemu-devel@nongnu.org; Fri, 10 Feb 2023 11:37:50 -0500 Received: by mail-wm1-x335.google.com with SMTP id o36so4249668wms.1 for ; Fri, 10 Feb 2023 08:37:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=uZyX7beYR1/8hPTlA0f9tYFKMMepz6hOSd4CeavM+Z0=; b=n2E46jbzRFXkWkurdBdqhfVXcQEU6sfSDwelBGxbchDXm5tcLSzEv/jFqOejZhc1qp LDLq0laVFaSRITc8/oj71udMNZKpvZSWPZ4JH2cdXTdE/dZautGLL4wt/Cc42Coi8iOo lxbfevijWcYfhofNoVCHybJo8tFth8zZZiRH+RNpz5oSw5X+68chdL+Hvc4E5L3LBneM Cfr+209RyvzIoUqB6/u9dQp/q4Pjtb7SFa+rQCpCSj321qrtWJjzbAlzr1/wvpaUnzRc qZTNUbFWlsMCvG01CX5FbpOODlva0mF5HOnR4iE47fNy1QZGXFs/XCt/XXAed47glHpO pihg== 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=uZyX7beYR1/8hPTlA0f9tYFKMMepz6hOSd4CeavM+Z0=; b=ECmyjLHlTJmH1yg648KB2utTYR8HBUeZSVsjrbP4WYkfEZaeYoH64mf19KoDKgjDuJ MjLBuFnDiw1jufrwD7m1ZbEBzfz0toFuRVrYHJIO+jV+EPJyvAi+yB31TxmLtBPKyVeg 9O29ac2SiLfhgNiYt7UZ+xtPgg16ImsS5sbFU/B43f41TYV5AdyhHSkyTl9zoVwWaWSq iWnJHvDlcWaXpJs4ePjjB+pc44UMt/7LPXu0WM8yt5Ota9pd0evb2dbx2Rbe72aWo9lh rdXzmj3qL9fmIptWTjhpoNq/e1iLJBzkbYoKst0SscAuh4u1NkjgScfcoQXG3QfevOsX faUw== X-Gm-Message-State: AO0yUKVomabBLXwApX/099Bxbrq/jnWPdAOvUL9/opU7HBI+pi06dOSL kgnem9fU02AX4WMAGkf8WZgxzJZQVNeowhCJ X-Received: by 2002:a05:600c:1656:b0:3db:742:cfe9 with SMTP id o22-20020a05600c165600b003db0742cfe9mr14904890wmn.34.1676047066785; Fri, 10 Feb 2023 08:37:46 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id x2-20020a1c7c02000000b003df30c94850sm8496952wmc.25.2023.02.10.08.37.45 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 10 Feb 2023 08:37:46 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , Sergio Lopez , Richard Henderson , qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 00/11] hw/isa: More housekeeping Date: Fri, 10 Feb 2023 17:37:33 +0100 Message-Id: <20230210163744.32182-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=philmd@linaro.org; helo=mail-wm1-x335.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Trying to clarify the ISA API. Most patches should be trivial enough, so not much to describe here :) Philippe Mathieu-Daudé (11): hw/intc/i8259: Document i8259_init() hw/isa/i82378: Rename output IRQ as 'cpu_intr' hw/isa/i82378: Remove intermediate IRQ forwarder hw/isa/vt82c686: Remove intermediate IRQ forwarder hw/mips/jazz: Rename ISA input IRQs as 'isa_irqs_in' hw/sparc64/sun4u: Keep reference to ISA input IRQs in EbusState hw/isa: Reorder to separate ISABus* vs ISADevice* functions hw/isa: Un-inline isa_bus_from_device() hw/isa: Rename isa_bus_irqs() -> isa_bus_register_input_irqs() hw/isa: Use isa_address_space_io() to reduce access on global 'isabus' hw/isa: Factor isa_bus_get_irq() out of isa_get_irq() hw/hppa/machine.c | 2 +- hw/i386/microvm.c | 2 +- hw/i386/pc_piix.c | 2 +- hw/intc/i8259.c | 4 ++-- hw/isa/i82378.c | 19 ++++++------------- hw/isa/isa-bus.c | 29 ++++++++++++++++++++--------- hw/isa/lpc_ich9.c | 2 +- hw/isa/piix4.c | 2 +- hw/isa/vt82c686.c | 16 ++++------------ hw/mips/jazz.c | 6 +++--- hw/ppc/pnv_lpc.c | 2 +- hw/sparc64/sun4u.c | 12 ++++++------ include/hw/intc/i8259.h | 10 +++++++++- include/hw/isa/isa.h | 27 ++++++++++++++++----------- 14 files changed, 72 insertions(+), 63 deletions(-)