From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C93C2C4338F for ; Fri, 20 Aug 2021 09:05:40 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 6D34A6113D for ; Fri, 20 Aug 2021 09:05:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6D34A6113D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:57142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mH0T5-0002an-K8 for qemu-devel@archiver.kernel.org; Fri, 20 Aug 2021 05:05:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mH0Qd-0000Qk-VC for qemu-devel@nongnu.org; Fri, 20 Aug 2021 05:03:07 -0400 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:46753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mH0Qc-0006Tw-HD for qemu-devel@nongnu.org; Fri, 20 Aug 2021 05:03:07 -0400 Received: by mail-ed1-x530.google.com with SMTP id r19so12926789eds.13 for ; Fri, 20 Aug 2021 02:03:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Oh50wmy6mNxPZgP1tb1Z+wfji93/59BgvYV3gABmscI=; b=ZD2+Nn7vvVfxqHmp6/elDKyG/JYlZSnC0N1LcyTMGYr0HVyeGc3DQBawhYgqK/oPWv XXN4SX1o2ID7ri4XIsfREQ60hkutX8gVqPj6FdPsX9VDowCWTyuaUDhjSackQOFGyZbO nFFFNdZAzn+6rW0m3uCCt4xNsM2txAkIjFrhy8BkkJbXVTciE3DKvhevKHEe5+MCljaG 7WV1hW2ZFFKbSLxLooa8gC5LRreHODfKPIpcch4JP2VlXp0kqPy67pKtw/ZhsYsh37jx K2vQFdiUm1cK/M0HDKjpePtxuJNalDjR849vJPN4TW1sxGM2ViRb08/BwKXt7DFggkZX I09g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Oh50wmy6mNxPZgP1tb1Z+wfji93/59BgvYV3gABmscI=; b=GdQEjdBgm1db6JqKeiyQShOSaqdUW+mcjCZtLbpYNyqzuPLUqILONhu00GjvyXnzsE NRUlv9OVt+Xjf+XLUJ5PnL2pxsNTz/pZkL2zjqzH5jF2IX02l4bWIJqfhCJpyRkjQq7l qEskzeukz0KKhYlqAUVo/L5joklc264CDRXv/XW334Ob4bVT4kTAhnJXeyE3aFN2WUhi 1jqJNLFBLe99qH23OXwk1xMZ12w5KLLfbLyIjdJYb4lRFVGyppgFOIkU4eB9+oswwm60 jhLg2vmlLBkR4CUsv6RPu7+zIPCzeqdgpAnujFFLs/f5gI1if0Nwo/aGLxTVuBmiLWS0 VpQg== X-Gm-Message-State: AOAM532UQlNEpVzpfIQUL5dJL89Kv/8s/APJwDzsUgpkuQTrxdmWcfQY L79ZExn3PQOSvlWRMelehxgsa9rmwbZkhWntIMw5dw== X-Google-Smtp-Source: ABdhPJyhSb0FnYlyvKNOYfB73M26jb24jZd+cbd0aafV0ftxcmGrZ+KY1cKfxCc9FLoH7iCl00gx8Q1AhcZDuR3+gFo= X-Received: by 2002:a50:ff03:: with SMTP id a3mr20993581edu.100.1629450185259; Fri, 20 Aug 2021 02:03:05 -0700 (PDT) MIME-Version: 1.0 References: <20210819163422.2863447-1-philmd@redhat.com> <20210819163422.2863447-5-philmd@redhat.com> In-Reply-To: <20210819163422.2863447-5-philmd@redhat.com> From: Peter Maydell Date: Fri, 20 Aug 2021 10:02:19 +0100 Message-ID: Subject: Re: [PATCH v2 4/4] hw/dma/xlnx-zdma Always expect 'dma' link property to be set To: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=peter.maydell@linaro.org; helo=mail-ed1-x530.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E. Iglesias" , qemu-arm , QEMU Developers , Alistair Francis Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Thu, 19 Aug 2021 at 17:34, Philippe Mathieu-Daud=C3=A9 wrote: > > Simplify by always passing a MemoryRegion property to the device. > Doing so we can move the AddressSpace field to the device struct, > removing need for heap allocation. > > Update the Xilinx ZynqMP / Versal SoC models to pass the default > system memory instead of a NULL value. > > Suggested-by: Peter Maydell > Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Peter Maydell thanks -- PMM