From patchwork Mon Jun 19 07:41:51 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: 694003 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d91:0:0:0:0:0 with SMTP id b17csp2250167wru; Mon, 19 Jun 2023 00:42:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6W/j2e0Ehp7+YzFKCWPnXBtkkGjZzefj5b2keZaGkzXlkA+3Lr7r/NeABzS7HpIR4IS8Xn X-Received: by 2002:a05:6214:20a4:b0:623:690c:3cd7 with SMTP id 4-20020a05621420a400b00623690c3cd7mr3686849qvd.47.1687160576326; Mon, 19 Jun 2023 00:42:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687160576; cv=none; d=google.com; s=arc-20160816; b=UBGBxJs7qnTV82sc7p/84BZUkk+IITMOk6tG46YDgj3gf+hqQwjTQrC0yOlKZf+FE1 PCllu6IdKikeRFhV6UlskJQWeiSyvVsEqwV0glxBappH/pjCQFdqCiCU8tLevzWvfOXJ VWOEE79J5CbwwMHkONyfEKjoLgz0fSTZbK1iMGs6SdLGSffz/zRb5D9WCFb8pIXmV3jT bovF9qNaKQw+SC9NI2CaELw2redwlVTLarp2ir+uqUSbN9hx1EyZd1AboLiJblzvek1F afG6QN0vgSxxAePuCLEFYIVv8RX6ymkyrxkmqizS3bSM6k1u4QJ6DqP5Lf/Slk6GKGpS 4LQA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YkXthOPn4E1631VSOfPiqw4sZJp9rt3aVw83F1yxbyc=; b=o2bpras/hcY7uZ8H0d8b2tsg9hGg3Z+9WQPMMUOUY27d5l12BzScob4ImdcJAfTfIc xsuFxVFNZWQ1+m+DdwCDo3bhKmKBOJ32ndhCJqTTvb+CdvDs1dCVsYNj9wQE/z2mPzBt 3ps9RB0sLW9mTtCVrMHJc+5+HW8D6auMhg4HoWgtJp8+e3aplQRoWWvOr37vljA+6YX9 dgy/n+bRUn4du7+YB7KID7BXaFs0iuoA+deVC/2W2+MGgN7FrjXsGXrgOXIRbiRWoeCQ Uvi0afltRRWNQHzdfrovzhhjkYvRO9UYp9FbFuv8l3+hhT9qQ6Oo4QnLK1I9rr3aGIfG T7Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mzlfo3m5; 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 q11-20020a05621419eb00b0062df3f20a48si7142232qvc.376.2023.06.19.00.42.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Jun 2023 00:42:56 -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=mzlfo3m5; 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 1qB9Wf-0006eC-Dn; Mon, 19 Jun 2023 03:42:13 -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 1qB9Wc-0006df-VY for qemu-devel@nongnu.org; Mon, 19 Jun 2023 03:42:10 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qB9Wb-0004OS-HS for qemu-devel@nongnu.org; Mon, 19 Jun 2023 03:42:10 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-3110ab7110aso3084111f8f.3 for ; Mon, 19 Jun 2023 00:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687160527; x=1689752527; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YkXthOPn4E1631VSOfPiqw4sZJp9rt3aVw83F1yxbyc=; b=mzlfo3m5LYpvP4ytqd3u+umd3HUv3UoWTWvc+meiDxyIoj/bv6hlN6Se8YNnUVIEhR mx8ASvJWiAsEUqzZy5j+O4JwN+S+kRZU9g5SsK3aCw7Tw70pTYHokfMArDu79E8TQYBY hWNke8QI58l9K/UoHtT1hk89d1oFLoqQNrqL3k5x8no9HpYcrFSDB2d/ipK9wZN1pjxz /Nmex6QU/WLFXdmahMWe2jdHg2jhJNDeCdfAHITmr5kTSY7FUMJzmPkQYv6pCO8Cyolx VU+yfzB0KOuy5S5JplBAs09oZ/INK9XJrtiycK8Yb72XlTNLkSwNLC+qGZcWZs0FQVra 2Gfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687160527; x=1689752527; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YkXthOPn4E1631VSOfPiqw4sZJp9rt3aVw83F1yxbyc=; b=hmwF/LsL8veD5PUbkpw0lmu/aqN4AqIUQ3QfVWW/ILVimcPGNf2eDUFLhqsGCSr9Ea BdpgUH0Ob+N43nPA5H8pR8V4GPwhFx41HsuwFFQk4FFDvBxdaNGQOJKFjYo02s5S9nuT SkHVMDSj6499tkVhfXt2igw0e5NHcJ1+58vCjGmZgVg7+m5+1DJpm8edW/V5oHepXdgY 3F3cdnjy7tAzFgeBBwxsf7yoMFXp6groljRaQAWl4koDpUV5DJn39s8oJOO09woSh8Ql 12AQKrR+XVSf7UEW+fjNeD/q0KqjNEHZOTURtvUqqPtky8RT274Pb4W90byXQmRgHcS9 4O3Q== X-Gm-Message-State: AC+VfDzahCoOt0lMVJyhXvy+h6CuCQJWFHFq4xOjrDCubyedUZRnYHty KxhWRZGFjLKDuas7kV5lvIYguKMxMXUIje7Mg/tFJw== X-Received: by 2002:adf:f04c:0:b0:30f:c2a3:6281 with SMTP id t12-20020adff04c000000b0030fc2a36281mr7297532wro.64.1687160527690; Mon, 19 Jun 2023 00:42:07 -0700 (PDT) Received: from localhost.localdomain (194.red-95-127-33.staticip.rima-tde.net. [95.127.33.194]) by smtp.gmail.com with ESMTPSA id n6-20020a5d6b86000000b003111cbd8009sm9334752wrx.97.2023.06.19.00.42.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Jun 2023 00:42:07 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, "Edgar E. Iglesias" , Helge Deller , Paolo Bonzini , Richard Henderson , Jason Wang , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 2/4] hw/dma/etraxfs: Include missing 'exec/memory.h' header Date: Mon, 19 Jun 2023 09:41:51 +0200 Message-Id: <20230619074153.44268-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230619074153.44268-1-philmd@linaro.org> References: <20230619074153.44268-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.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=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 The 'fs_dma_ctrl' structure has a MemoryRegion 'mmio' field which is initialized in etraxfs_dmac_init() calling memory_region_init_io() and memory_region_add_subregion(). These functions are declared in "exec/memory.h", along with the MemoryRegion structure. Include the missing header. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- hw/dma/etraxfs_dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/dma/etraxfs_dma.c b/hw/dma/etraxfs_dma.c index a1068b19ea..9c0003de51 100644 --- a/hw/dma/etraxfs_dma.c +++ b/hw/dma/etraxfs_dma.c @@ -28,6 +28,7 @@ #include "qemu/main-loop.h" #include "sysemu/runstate.h" #include "exec/address-spaces.h" +#include "exec/memory.h" #include "hw/cris/etraxfs_dma.h"