From patchwork Mon Feb 26 17:37:58 2024 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: 775944 Delivered-To: patch@linaro.org Received: by 2002:ab3:621a:0:b0:258:3251:9e33 with SMTP id w26csp1499584lte; Mon, 26 Feb 2024 09:38:46 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWwt93sf/JrF2wPb7QhwdbVz90A8+eOaiPx7jqFL1sERyGz2cPB4r6a01tLtD2ziPPInTDhWVdG751erUw+Gni8 X-Google-Smtp-Source: AGHT+IElZGFTnYwo6JYY0Qj3ccxERz3wBmrszgtDE/hrVyEvYLhle5zqTAQu06iFFNAwLZezM1CL X-Received: by 2002:a9d:6c43:0:b0:6e4:8086:571 with SMTP id g3-20020a9d6c43000000b006e480860571mr7857321otq.26.1708969126298; Mon, 26 Feb 2024 09:38:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708969126; cv=none; d=google.com; s=arc-20160816; b=jlyLZb46m5z21DYFf+Mc2IDDWecemUsgrdy8Q4HTO2y4EzF4HtRKBoKeBPjBA0wL7L oJlwUc7i55Ss3G73sH36EhdiI8VmE+ngqCbkh4+FMSRuNUgNY0GEypJLKiyM5QXDUPOh aCOoLnE4KQ2ACKP7jmkkASvx/zOMOaMxE1yHy2xgv5mj+KaG4eo4346+ifDYJGBiIA79 fp58rrS4sfsX0LXb5dkHMMJSi6Oc8qzSusLdMEmglfi48LAu6CEfcv4UwgFDzRJ/wGS7 WX9IrzFS8QU57aOs/+p5IR69N7SW6p/gCOagJExVNgLn/143NkNrBexYSAbmagbPWsHQ kXpA== 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=8mgFB9QFF5PJ603vJYftBh86z1nFKmxYR5yaSbjagl0=; fh=OZQBfL75rC14cCDy3q+1fYHCs9KjWAQ7ZJ3hTfS+5lQ=; b=zdahoF7m6w9fAsq4h5Wp3nJTjSXsyaaeYL6VesjjT89RASFLANDNJL2aRoiUFP/ABf EtV9anPxDoMP33Y8odQCNSDqJBW7NJgQO6JQGqrhp6kWDozeQ7thcoWEX1d6XFiAOkrX csX8fJNz6pJyvcAClPFeQBKza/cEJqlH8huc43W3SZpDYOXOhKgFfpTUpOljxNx7H1xA woOnstOJPkBQCCvz0H6/xAmyLbvEWfvSFHhxOd4y6nY5IpfFIV3DFyBhnU9hIEJ/geK4 10ZkAHhE4izAXgNOtTcEbWkQH954/rsMyxfSHhooBX4V0zC6GroHM7uVkLTGqupylmek A9fA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nEVBO3hw; 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 l18-20020a05622a175200b0042e67d14d98si6001829qtk.680.2024.02.26.09.38.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Feb 2024 09:38:46 -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=nEVBO3hw; 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 1reevt-00041M-NV; Mon, 26 Feb 2024 12:38:31 -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 1reevc-0003qO-PA for qemu-devel@nongnu.org; Mon, 26 Feb 2024 12:38:16 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1reevb-00074o-Cy for qemu-devel@nongnu.org; Mon, 26 Feb 2024 12:38:12 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-412a390347dso10718895e9.3 for ; Mon, 26 Feb 2024 09:38:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708969087; x=1709573887; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8mgFB9QFF5PJ603vJYftBh86z1nFKmxYR5yaSbjagl0=; b=nEVBO3hw767+JvcwHRKc4CyIVLkq4IFIylqPRhUxJO1Tqm+9x8LJn44wEhy6r5Eumc 6TNmSNAxZfXAVBKXoVsk1g72N+eOxOZqkoRin+LsT8RUWD+E2SZju5LCZ2ox8IWSJYvM tkHmtS9IwcHBd2vh5n1TVf3lv2BRFJbx/D2TWmKyhFNzfd4cIht2ONr/RhWTWEvuCtHk hFS9CSlNiLEpiFwd16E98xS64NaJsaAXGb6BhsLUMznXZMqCzo9AMY+59T7w2/32eb8D 1wDQiVho2O3Y+bhdRLAFoGm/cOXODZnI0eYhrQ7vQ3fHiX3ScniEQSlddxRvHFFdwsAA BUrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708969087; x=1709573887; 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=8mgFB9QFF5PJ603vJYftBh86z1nFKmxYR5yaSbjagl0=; b=bgAkUmdcQStcktktZTDN/4wgM9ylklL5NcYsUmpakfKLKQgkcvdvnHC6Odwd94f/fJ NbWe5LIr5wsJXph6ndO2HY3r65/o8ttTYOUvWcepaFsSYy1DqCOV5UAFYgzsqOWG4spk K4cTOW5awpled07fmaBVp2lsZEvXxGAmEud01zoawSklIeTU1i4/lpAZg6evQ37Ih2Zt G9Obz45M1IZLkdSsPNvxgZ0DP86c6JKB5JxcMjb6wCjMRiUP/qIZQDQ0MsKIrWoeHRCr ZWttufUxokPQVBS3jkBL6kL+u24AqXTojI+SBnj3GztCnnsPQww54ihouy2p/4q/wWT/ L6HA== X-Gm-Message-State: AOJu0YysLHREEEv5uOyuEfPqBIqit7jqwExOZGFTLxibJcX6LyLg5y+w 6s2C5XdQYj1kLMqqZPrzljDnPY5DoRD6vVmvbjOo9KyyzogmMeYcV3nmZx6Y+jMcojFF7o6fG6w p X-Received: by 2002:a05:600c:34c7:b0:412:989a:f6f5 with SMTP id d7-20020a05600c34c700b00412989af6f5mr5761837wmq.38.1708969087571; Mon, 26 Feb 2024 09:38:07 -0800 (PST) Received: from m1x-phil.lan ([176.187.223.153]) by smtp.gmail.com with ESMTPSA id n16-20020a05600c3b9000b0041298c75ae8sm2493367wms.1.2024.02.26.09.38.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 26 Feb 2024 09:38:07 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 0/6] hw: Remove sysbus_address_space() Date: Mon, 26 Feb 2024 18:37:58 +0100 Message-ID: <20240226173805.289-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=philmd@linaro.org; helo=mail-wm1-x32e.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, T_SCC_BODY_TEXT_LINE=-0.01 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 (all series reviewed) Since v1: - Rebased Pass address space as link property for devices where it seems to matter, otherwise just use get_system_memory(). Philippe Mathieu-Daudé (6): hw/arm: Inline sysbus_create_simple(PL110 / PL111) hw/display/pl110: Pass frame buffer memory region as link property hw/arm/exynos4210: Inline sysbus_create_varargs(EXYNOS4210_FIMD) hw/display/exynos4210_fimd: Pass frame buffer memory region as link hw/i386/kvmvapic: Inline sysbus_address_space() hw/sysbus: Remove now unused sysbus_address_space() include/hw/sysbus.h | 1 - hw/arm/exynos4210.c | 14 +++++++++----- hw/arm/integratorcp.c | 7 ++++++- hw/arm/realview.c | 7 ++++++- hw/arm/versatilepb.c | 8 +++++++- hw/arm/vexpress.c | 15 +++++++++++++-- hw/core/sysbus.c | 5 ----- hw/display/exynos4210_fimd.c | 19 ++++++++++++++++--- hw/display/pl110.c | 20 ++++++++++++++++---- hw/i386/kvmvapic.c | 11 +++++------ 10 files changed, 78 insertions(+), 29 deletions(-)