From patchwork Wed Oct 18 13:12:12 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: 735044 Delivered-To: patch@linaro.org Received: by 2002:adf:f0cd:0:b0:32d:baff:b0ca with SMTP id x13csp985294wro; Wed, 18 Oct 2023 06:14:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFDjwrqvnm0pWMUVwNB4k8Z5Qeb7mWMdU4lgauG+x3wMtYu8f/hmyfU/dMOR1+optKPXk9r X-Received: by 2002:a05:620a:2848:b0:774:12ae:99be with SMTP id h8-20020a05620a284800b0077412ae99bemr6134892qkp.44.1697634891437; Wed, 18 Oct 2023 06:14:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697634891; cv=none; d=google.com; s=arc-20160816; b=xpgaNBg9A/2L7rdmKlwq4gKNI8VrG/R7qch2Dkgcp19BXmZQKAKD6y0PuPt/0xxqPd Nb7HIV8J1OOVjA596eIpLNVx5bHn+4PgrfRRNadUr1vPu5zIaNnZZAPeKIyzdVD/9Tz3 ItYjmpzVdWa/tI+aIUMWxcCmWeq5PyvrG42RPtu9enS+DAx+Rz1LtToAHZm/UBvrAqh0 5FIY9xTjy5/75Fffo0rVSnEckkbDcVjiMh3jI4803eky9PNlReRdE0mrGqNJ5bAF/3E1 cCbqiuwhU64QEK1Jmy0VWYANqrVmzQn+Yf7LDgBVa88jeBwIGvhcWsp5dwM5qQsEru6K dwHw== 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=y+7dBdnLdYLbkfBLo/0ny+SjIXHGD30XHvK4qlWP4Rw=; fh=Uq4CCH4qgIScoA1ZlzK6h1LD8Rw6xac8JtYTs6G5zlc=; b=XNlSRbCPYriDRKhrgCeFjSHN4aamD5Tz+pWrNJyI50DUXPzYdIwpjlnnO9ZvXsClBg LgSCk1MLFSHW0tTBUlQ7QYFaLlhbCYs4VQvbIQ9DOj61NCiWM0cCiuRb8HSx7mSFwspw KWsXplYN9kQCg7CY1Ox08i+vBLVsyUvmedywP3ZDvJzkt+bLE7YCMYLTCY6mAV0+P0Av UsVtiNowSUeey//N+M7/brKSckWp85E49mG9bxKI63N7ot1ZqTX+SwHHBSOEkrl8qzby frkDm9Fvfulq/hek/U2hHfZbzd6jdOelQMsIfaHFJqknhoXN77OI8mj4RoNm6E40jhHm qpdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="J2v/bhq1"; 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 g10-20020a05620a108a00b0076da127884csi2526288qkk.223.2023.10.18.06.14.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Oct 2023 06:14:51 -0700 (PDT) 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="J2v/bhq1"; 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 1qt6M8-0007Jo-86; Wed, 18 Oct 2023 09:13:01 -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 1qt6Lc-00070m-Ji for qemu-devel@nongnu.org; Wed, 18 Oct 2023 09:12:32 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qt6La-0000e3-Qc for qemu-devel@nongnu.org; Wed, 18 Oct 2023 09:12:28 -0400 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-53e08e439c7so11311305a12.0 for ; Wed, 18 Oct 2023 06:12:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697634743; x=1698239543; 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=y+7dBdnLdYLbkfBLo/0ny+SjIXHGD30XHvK4qlWP4Rw=; b=J2v/bhq12juImRpaWC9hbKbkNYKaAQ2UAcwOGpt9ZXWUfbeTT4MWynWQFpveDq4bJl j+yzhxwxEfrMtw4oEi4widSe71vtTa96TjrVUGOJKoG3pXYONdA+veQEThQ7aUTqgRA1 1Wz0WiYvAYNFgzEv3m0usw1zMD6GM7aK6AuYZ5ERK6+C2wvHvCaZarH9qpfrdVSlsku2 KXvw05uZUS9lJIvOBPvFxlfDCdi3eWJ5SzJ5zqtIcrvWrjWbMuqEQ9xnCw5uemoN9wLg 3+1BeT101zbEr79Fj4USItqpgS4q+YXh8ExRzonjhfCb83AivkEyDjKCx+JrJubP5w4/ pxCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697634743; x=1698239543; 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=y+7dBdnLdYLbkfBLo/0ny+SjIXHGD30XHvK4qlWP4Rw=; b=SQQJbNK1VzbkKlyRXsz703ICdhI9Lb1LduC3nTpq20UciVpVZuMFV38p4Ys51FN+PA FKW3sQnIceONZYb/cCXhUvM4Mb6IAOXo3u068d8CiGuXUChVK03qbcKVAmOj9mKMivvL r3VlP3XsLtHuD5VMBMPHm5LVWzapKjJCGJJh+nIP8I1UzY1uvmpMomIkXLyT1zFB8vkU Ha3vq9SBnVQUfRuZjYUgWuAhumjVi7htjsvIroFwmz2M1rHzeYamBGpHgmSba8eWIOAz E73IpBHIuOWbx/Vp4+Mq1kpK4sg2HvT/flhH/3dJ6DEEnCwaBNVrdn44WL0JtG0UCiMW L11Q== X-Gm-Message-State: AOJu0Yxqehoot1sIBwxBttm/cw59+Dj3RR0WfgbazBt+xzKXThr9TcDe YQy3ZGMxL62la6uQeTc3m3ftLRCh+eFMcVEpV/E= X-Received: by 2002:a17:907:c08:b0:9bd:e017:370e with SMTP id ga8-20020a1709070c0800b009bde017370emr4594450ejc.54.1697634743370; Wed, 18 Oct 2023 06:12:23 -0700 (PDT) Received: from m1x-phil.lan (gyl59-h01-176-171-218-149.dsl.sta.abo.bbox.fr. [176.171.218.149]) by smtp.gmail.com with ESMTPSA id os20-20020a170906af7400b009ad89697c86sm1698352ejb.144.2023.10.18.06.12.22 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 18 Oct 2023 06:12:22 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 0/8] hw/arm/pxa2xx: SysBus/QDev fixes Date: Wed, 18 Oct 2023 15:12:12 +0200 Message-ID: <20231018131220.84380-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::534; envelope-from=philmd@linaro.org; helo=mail-ed1-x534.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=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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Hi, Extracted from a bigger series which enforce QDev state machine (qdev instance must be realized before external API is used on it). While here, pxa2xx i2c/intc devices received some qdev fondness. Philippe Mathieu-Daudé (8): hw/sd/pxa2xx: Realize sysbus device before accessing it hw/sd/pxa2xx: Do not open-code sysbus_create_simple() hw/pcmcia/pxa2xx: Realize sysbus device before accessing it hw/pcmcia/pxa2xx: Do not open-code sysbus_create_simple() hw/pcmcia/pxa2xx: Inline pxa2xx_pcmcia_init() hw/intc/pxa2xx: Convert to Resettable interface hw/intc/pxa2xx: Pass CPU reference using QOM link property hw/intc/pxa2xx: Factor pxa2xx_pic_realize() out of pxa2xx_pic_init() include/hw/arm/pxa.h | 2 -- hw/arm/pxa2xx.c | 12 ++++++++---- hw/arm/pxa2xx_pic.c | 38 +++++++++++++++++++++++++++++--------- hw/pcmcia/pxa2xx.c | 15 --------------- hw/sd/pxa2xx_mmci.c | 7 +------ 5 files changed, 38 insertions(+), 36 deletions(-)