Message ID | 20250112221726.30206-21-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:525c:0:b0:385:e875:8a9e with SMTP id k28csp1178931wrc; Sun, 12 Jan 2025 14:21:45 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUEMXmdZgIqGZ9HjEaGSTGP3jBYNaB9RVYNioWfKozzSwqbMAwGKC0Hze0eFqF2c71kXtKzEQ==@linaro.org X-Google-Smtp-Source: AGHT+IHyV43saZGXpMO1f7tUz9XbEKMfZPbpJW5dsLlXQyYA3CdPIuA6F1+blwMLJkaI60eR0hs6 X-Received: by 2002:a05:620a:45a6:b0:7b6:e207:c8a2 with SMTP id af79cd13be357-7bcd97d5673mr3220804185a.55.1736720505092; Sun, 12 Jan 2025 14:21:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736720505; cv=none; d=google.com; s=arc-20240605; b=aHvOETWXmkhOlvps42ah4AFqWo5NFqtvfL7GT7KIVzH4Pi6PGvTi39lFDMOC1NBuek 5ZuqFMSk3SXozoh8rvu/bkIPE16nzTGoWNMPM9g3soLd7rpxrppqZpsKbaXfnJRxYOa2 i1pdxhHBQCWVyOTF+s6OlvO4q8drIs4TJS1Namgyz7RFP+2tA3plouRNikCda26JHCgm 7+yZ71JjB87mrMiHR0T/BijXZBlrcIxbjKHYFIqraE/fnaBvxG0cV7NWmaabGM4FMIsV IqR765Pw6+cryykyIop6YtYYNDX6WHyJsMnAWncKwkj7pw2jP0sKzp03ihCiO8Y5N5lc dsMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=tapoh0/SBib6qRzr75O/lv4A8ahdf/FQ6/7pfjWt9KU=; fh=KEPLpLQVO77v+WBSDPeXmXKEnOIOhNHYNw7geHkyLGA=; b=O8/c0/hrt9n99gUwGyIIgFVCp651sgnXcexPFCAnDBm4vs/djCWttYAKp9D+h+HFeF jC+UIfi1ITF4rtWfzvWHxkIdORefyEEQlWVtghRaHXBeuN98rvaN/J6COaKp8ZtI1SX5 B1s6DJJmsDfB5BxhadK0z4jkVJNVxSpgsgxMKGedXp+UXdxPvOL79q4C+NHMduUxi0Pb WH4aIdceB5SM3Hsotztpslw2XIEnmqgFN1FKLwnrUg4rGEoriPCNLqSGx8eHzSJEJ+x7 uDkRPRDuYGvdNQHfIdQXJVoGE6s2uaDjYD7V4/0HScIHIXkmrUe+opZf7nlDBuRsUSfz 79yQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vaYNeKuB; 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; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7bce34fd642si931231885a.390.2025.01.12.14.21.44 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 Jan 2025 14:21:45 -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=vaYNeKuB; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tX6It-0001WE-DN; Sun, 12 Jan 2025 17:19:33 -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 <philmd@linaro.org>) id 1tX6Ia-00015V-4J for qemu-devel@nongnu.org; Sun, 12 Jan 2025 17:19:13 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tX6IY-0006W6-Cg for qemu-devel@nongnu.org; Sun, 12 Jan 2025 17:19:11 -0500 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-38a25d4b9d4so1885100f8f.0 for <qemu-devel@nongnu.org>; Sun, 12 Jan 2025 14:19:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736720348; x=1737325148; darn=nongnu.org; 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=tapoh0/SBib6qRzr75O/lv4A8ahdf/FQ6/7pfjWt9KU=; b=vaYNeKuBclEElUtoZsb3ebh/ZGLR5GtZ94g5ocEF1X+BmGuoxGYzXYLW2d3YHVjuVJ j4oY0hsBgEtADtcqxc7/gy8hsde5TRHW1voRenxROOc31tQhK3vCwdE4cpaZnKLqxuOW pcH/AGMOtlX/0IN0cYZCUk/jniSafmxx4Fjv/6LJUnCBw1mMv+bQxzZzkPzW0YKw6mRO 6+le5znRi6rD2vXA0xtAfa849meCXaVplEXfxwi/MZKPRwFG8VZ6I59en4AZohiQwGMg 1GIYudEylnAIQJ5uV6swxT09/t3e5eyJjyzFscG0wjdTkB5s2J9Yoc9TDcEjz+ZLbxjA sKNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736720348; x=1737325148; 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=tapoh0/SBib6qRzr75O/lv4A8ahdf/FQ6/7pfjWt9KU=; b=M/WIeKM6PdZ22aUIp4SPAuavGEgPZ7b1HA7HYzKPQvWcA6XhgbHLkWr1dbDD6ti4ft LTkM3MWhzbPdhIwhMEDnoPiGlzPgKqXd8Dhr4tQoRaGEbzH7/qOzK4msIJZBSUj1E7ok pgFhM/appAxDzYil1mwnsswQXFQ0dnIWttYvlCdjXyBKcS2HaUHiYMHJZ87sQ36ZT9Pc hW66uzJrjjQKb8+619rPCB0ogcyR3Wxom/q2LYtCajV2eKyF8m/5GYbXdLQ/G23i8oJe BsyZLtGo9I4nQ43um+N/BviAmwFYgEeHnIOYw/wNXEdBIjGovpl3ojJnBWHuEr4xOTdU B8cw== X-Gm-Message-State: AOJu0YwC48XmvtTF38MSLKbK3GgJY2bQCb+2dMiM/DKqQRtd2zkb/T4d OI8NW15c/D2SRcsRhijrW4b+6jzKEts0uNK9MfecmFyRJngF1hP18t6c2uPmm1vjwRTMPeqw7b1 bym0= X-Gm-Gg: ASbGncubWKqgex/ssPIQnepJl/XYdxG9N4KSQwW5+qglkK08tiJ9yobo617a221ETwY lF3oagVV+XoVk+PKTpaNIxGlN9qqGwSUSNX9AOCxvc0rhpJ0G9yk3gY7Ohj2y2TIYaixvr8tBFK tjuu3WldwUEoqzxzoxdfp6O53bvjxAtS2LTEC4fzcuZtVaMpaGM4KmdEtfYeYurk1/gP/VchiPA tbHOhHNbGcSpiKJu7FAcFpQbF0wp0OOQWdiHUSOmpOxywq8YBT7OnenFI+SvFZhIGBER/OOmCX7 Kxdl+8W5jBZ7xbyxZ9r2n6qTTMFD33U= X-Received: by 2002:a05:6000:1acc:b0:385:db39:2cf with SMTP id ffacd0b85a97d-38a872c943fmr14867664f8f.12.1736720348565; Sun, 12 Jan 2025 14:19:08 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a8e384f2bsm10503500f8f.41.2025.01.12.14.19.07 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 12 Jan 2025 14:19:08 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, =?utf-8?q?A?= =?utf-8?q?lex_Benn=C3=A9e?= <alex.bennee@linaro.org> Subject: [PULL 20/49] hw/net/xilinx_ethlite: Map RESERVED I/O as unimplemented Date: Sun, 12 Jan 2025 23:16:56 +0100 Message-ID: <20250112221726.30206-21-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250112221726.30206-1-philmd@linaro.org> References: <20250112221726.30206-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=philmd@linaro.org; helo=mail-wr1-x436.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/49] pc-bios/meson.build: Silent unuseful DTC warnings
|
expand
|
diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c index a7f6d1b368c..14bf2b2e17a 100644 --- a/hw/net/xilinx_ethlite.c +++ b/hw/net/xilinx_ethlite.c @@ -94,6 +94,7 @@ struct XlnxXpsEthLite uint32_t c_rx_pingpong; unsigned int port_index; /* dual port RAM index */ + UnimplementedDeviceState rsvd; UnimplementedDeviceState mdio; XlnxXpsEthLitePort port[2]; }; @@ -303,6 +304,16 @@ static void xilinx_ethlite_realize(DeviceState *dev, Error **errp) memory_region_init(&s->container, OBJECT(dev), "xlnx.xps-ethernetlite", 0x2000); + object_initialize_child(OBJECT(dev), "ethlite.reserved", &s->rsvd, + TYPE_UNIMPLEMENTED_DEVICE); + qdev_prop_set_string(DEVICE(&s->rsvd), "name", "ethlite.reserved"); + qdev_prop_set_uint64(DEVICE(&s->rsvd), "size", + memory_region_size(&s->container)); + sysbus_realize(SYS_BUS_DEVICE(&s->rsvd), &error_fatal); + memory_region_add_subregion_overlap(&s->container, 0, + sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->rsvd), 0), + -1); + object_initialize_child(OBJECT(dev), "ethlite.mdio", &s->mdio, TYPE_UNIMPLEMENTED_DEVICE); qdev_prop_set_string(DEVICE(&s->mdio), "name", "ethlite.mdio");