Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 97D05CCF9EC for ; Mon, 27 Oct 2025 12:38:36 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vDMUS-0006BK-6J; Mon, 27 Oct 2025 08:38:25 -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 1vDMUN-00066B-Mi for qemu-arm@nongnu.org; Mon, 27 Oct 2025 08:38:20 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vDMUB-0006QO-Ks for qemu-arm@nongnu.org; Mon, 27 Oct 2025 08:38:19 -0400 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-421851bca51so4270203f8f.1 for ; Mon, 27 Oct 2025 05:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761568679; x=1762173479; 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=Oa5aQxRYPo9Nd1dGHw3Wox9JI4dBESZln5Zp2k//GTA=; b=ZfdCAXw4FDdWumiv9y/kcNYvWW6mrC/eMI/L9pLls+jqRSyFbskOhgqqjeKpqA+2Sy GaS7LzIwFKcMr9uhPfMP+IhKzR2ZuCDIm7/obkVxa8LKuD2ztjKENU1Up+krlRaqHcYV 2eV/bF0VskALF+I4SXfk/NQjjH0Mtrznu87f6cui2nWtxGa9SthhoppQkUsoOcbCN9Le BwLNrqts6tqPusTJB14IIRjry0BBAttXcBc3JFY0PiKf91Tf+Yy2tcytrMSYwdppJToy sS7j8FI4LKQoWDDySZi31WzA1x5VzVm1TNsmMMsDL2Q2hx6tAXjcMrpPHjrFBDm0N/bw XZOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761568679; x=1762173479; 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=Oa5aQxRYPo9Nd1dGHw3Wox9JI4dBESZln5Zp2k//GTA=; b=VD/+Htc/+UQPdGpAKsLnW0Fs3WPIzfc4nPUrpQ8DwLsENtPOHKvnHz08yzSUdoR+yx Fu9sgYH8x09nzvSyGurMOUPtwgiuaVvAEhKB3G5iNbTlYujpklbwKmF+eKG1atF3VQxo 4VOPA0z1I6S6dnkOlq+kPiBBsHAZAGlA9c4zYJe72Bu/GghTDzHRnIbP3xDontSL5Tk4 MTxcgtoYpC8ggt3JtjcEy63BDizPIjYgKcsWbck7nEXdN/+1ffIZuzawV5AqtC29ykF5 fOxLzPUZLdeg8dexEDJGO+/7BPj0E28FecQTGCNhRpy8NtlhZpVbJuljBJcL0cfroan1 sqtQ== X-Forwarded-Encrypted: i=1; AJvYcCXi0bHsWnsDMMx8In2xRR+7JX6oYuA1rtYaaavWRvnzJGBL/us2h6kV5IWBmgaZtpt3ckEVOasVhA==@nongnu.org X-Gm-Message-State: AOJu0YyyZ19wOd5XIBOtVWbcieIxMFaadZg+jofMi98Nhe+X09v4RC5L LzXzxFvkAgbNqaDQhNVySiUh5C24/EzbbVt46a1bQ02pcaO5xyfgxtHoqn47+HGDhD4= X-Gm-Gg: ASbGncu1lYk82KkcAUGDRd0Vj4Bw42/nbTs8kLBf0KQHotAuvRM37Ta8zP+LoJN03H+ 4LpdCXqk+0ztJym65w9WoQMFvDfzXny06vVGzGldEZekaRD3ywekzF1cmyRS9+wqxWAc8J7snOT pWCazdNS6QkmkdY4X6w+rxdkmvAlON4AK0S9zlFpQZwC6/IvSZyTn94fb3wAocWQ7lYY0tXOGgL /IebcN0BV68UURAIhAG9ck9TM9NPN4ZboTmMstTZJjhexQwCOg5CuwZCQo0hL67zI5mtsDwzw44 nvS8cQg79H3AsV4mt6V3pZN9h7K8tBegtFK/CEqx5IC8LkzNOl4t1UHUsbn45qECcQQ2R9zUSJl ZLC1KfW92qB4/hR60zZuUDhFkLaw20YraQwKdLUKh6OILonr9iqf3ybEUEgYUE7eSaNZViz7nEr RXD07OlnbnwKbSEYBDZiDZ6F55sI2GthnD2YDOj4P/SK6MQugjvg== X-Google-Smtp-Source: AGHT+IFnQVrSiGZZvXhqxIqDrh5o+Z52J2z6xQ+sXC6tpiz74mh6oATYobctlPMOFZJouBZIyIdbyA== X-Received: by 2002:a05:6000:40ca:b0:427:45f:ee21 with SMTP id ffacd0b85a97d-4299071f96bmr9266716f8f.27.1761568678787; Mon, 27 Oct 2025 05:37:58 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952d5678sm14031058f8f.22.2025.10.27.05.37.57 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 27 Oct 2025 05:37:58 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Joel Stanley , qemu-arm@nongnu.org, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , David Hildenbrand , Gerd Hoffmann , Peter Maydell , Troy Lee , Paolo Bonzini , Helge Deller , Mark Cave-Ayland , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , Steven Lee , Andrew Jeffery , Peter Xu , Artyom Tarasenko , Jamin Lin Subject: [PATCH 6/6] hw/sparc64/ebus: Log unassigned MMIO accesses with unassigned_mem_ops Date: Mon, 27 Oct 2025 13:36:43 +0100 Message-ID: <20251027123644.63487-7-philmd@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251027123644.63487-1-philmd@linaro.org> References: <20251027123644.63487-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::42a; envelope-from=philmd@linaro.org; helo=mail-wr1-x42a.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, T_SPF_TEMPERROR=0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@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-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Replace unassigned_io_ops -> unassigned_mem_ops to log accesses as MMIO ones. Signed-off-by: Philippe Mathieu-Daudé --- hw/sparc64/sun4u.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c index e9f9b0a4cb9..87cf1c6c0bd 100644 --- a/hw/sparc64/sun4u.c +++ b/hw/sparc64/sun4u.c @@ -360,7 +360,7 @@ static void ebus_realize(PCIDevice *pci_dev, Error **errp) * memory access to this region to succeed which allows the OpenBSD kernel * to boot. */ - memory_region_init_io(&s->bar0, OBJECT(s), &unassigned_io_ops, s, + memory_region_init_io(&s->bar0, OBJECT(s), &unassigned_mem_ops, s, "bar0", 0x1000000); pci_register_bar(pci_dev, 0, PCI_BASE_ADDRESS_SPACE_MEMORY, &s->bar0); memory_region_init_alias(&s->bar1, OBJECT(s), "bar1", -- 2.51.0