From nobody Wed Feb 11 01:09:28 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1697033319; cv=none; d=zohomail.com; s=zohoarc; b=XtZTxaBOoHPKJXKmMbRR+0cigzAjY4jm4J5fgmdcKv7irIcc2b722LEnsJzScjgLdTWZ2/7IMjk4Wf4OhkHP+S1LUDqAYKySsTuSUtzPdGm5QoP59p2c9gfLmcJAxGmch0QnvbEikuFR0WhhJui4J6im9MS2HTy7q+y2hHl/Um4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697033319; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=KoDUpCbTedzPU30CQb9d9uvflh1nTk1L9uLqEJ+jbds=; b=ahD5+bL4JmSskHbcwozzStfvPYjaH/S4INc5T+ywlZfgR5Wbp3cwBjVTzaeLKi3vEjSyMsQh4iAlHF500a/AR4jg1g4JeaV5ze2ogQHHeGuC8JV0Gv1N38e7BY7de2sWVo4hKDg6LGo2zKbAL30p4pbdJzsmh5+Z+t4ESzX1PWg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1697033319951156.2455365679607; Wed, 11 Oct 2023 07:08:39 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqZsc-0000E5-CX; Wed, 11 Oct 2023 10:08:06 -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 1qqZsP-0008Rc-7p for qemu-devel@nongnu.org; Wed, 11 Oct 2023 10:07:54 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqZsM-0007FH-Pw for qemu-devel@nongnu.org; Wed, 11 Oct 2023 10:07:53 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40684f53bfcso63867665e9.0 for ; Wed, 11 Oct 2023 07:07:50 -0700 (PDT) Received: from m1x-phil.lan (mdq11-h01-176-173-161-48.dsl.sta.abo.bbox.fr. [176.173.161.48]) by smtp.gmail.com with ESMTPSA id z19-20020a7bc7d3000000b0040641a9d49bsm16646145wmk.17.2023.10.11.07.07.46 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 11 Oct 2023 07:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697033268; x=1697638068; 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=KoDUpCbTedzPU30CQb9d9uvflh1nTk1L9uLqEJ+jbds=; b=iLKg3bSopm2nhrNM8L1r2ItPIhTXalwhpy/uFBwIZiov/5866RyzSJqyNyiwTO2qKC ULOXhhXCHGkLru4/CZbuJ1E/1ezVmYayZm4tWwcIJfTuxdm/8ZYhvn1aO2lDVp83LqZJ 1N0Z9a9fO8jYLRhyamDYO1zdXoq8TRL3hkGJPKNcHOsgY2fAfCmZxrU5CZGVGJfcmVsg 5ZVMcmiAPh1xewS1ylZ3laCAxQtTeaOHcOG9xJuXLCnaWO1x7rwtwIurDP/jeLgH+1RS GFxNokI6O7FcH/XQGlogYqaRmOO72+Mr6Xkw0ksOIQmvONG22Kt6pCMZbHK6FJ/stzXs NBzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697033268; x=1697638068; 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=KoDUpCbTedzPU30CQb9d9uvflh1nTk1L9uLqEJ+jbds=; b=YpyIdbWO58Tpvcx5iCldqE4tT+lrPtbzXaOCFf3vW0RWto5IrCHU4UYgj3f3agQmgi s+8rGAoyHUoVkZGaJxNufgf51rVddzfYQTKyy03iWCwhmIkaIBahimaJEmxuNNaF4xPS KKOHu8LH4ofe+KF7+C/jGqAZeVzX0SKy18pFMcFsVh0tKFjh8itSWAFXgxCTIQRayS4g tGlazLGsX10aoQqZ6rtRdHiD9rb8mN6+ZYWmWgm/FEDWtLZ+vbdAfOmLoFmqPRyusM8o /tj+qWdW4GWkF0S70oszHkoHxNn9nbhPXpwoKrudT6bs5duGHwh8UMN2kaubr5QaX8Rh aJYQ== X-Gm-Message-State: AOJu0YwJws3hUWyRnRJd1XCqPEzoJCyY9RTn1ZWp9IzVnVbaD820ETje XZ2YlklDm9fiy9PVKfULgj2NNUd8Hi8f4kdVkhA= X-Google-Smtp-Source: AGHT+IHG8C+TqNC8Dic+04CcGJ7nl+DUuX+FlcIogEE0TXokQFlgx18gYzvShoAVRRz5wv2PW8C9WA== X-Received: by 2002:a05:600c:231a:b0:405:3a14:aa1a with SMTP id 26-20020a05600c231a00b004053a14aa1amr18051202wmo.18.1697033268480; Wed, 11 Oct 2023 07:07:48 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Markus Armbruster , BALATON Zoltan , qemu-trivial@nongnu.org, qemu-ppc@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 1/2] MAINTAINERS: Cover hw/ppc/ppc440_uc.c with Sam460ex board Date: Wed, 11 Oct 2023 16:07:20 +0200 Message-ID: <20231011140721.3469-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231011140721.3469-1-philmd@linaro.org> References: <20231011140721.3469-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=philmd@linaro.org; helo=mail-wm1-x330.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=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1697033321040100001 hw/ppc/ppc440_uc.c implements the TYPE_PPC460EX_PCIE_HOST device, which is used by the aCube Sam460ex board. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: BALATON Zoltan --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9e7dec4a58..8c07d07927 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1482,6 +1482,7 @@ M: BALATON Zoltan L: qemu-ppc@nongnu.org S: Maintained F: hw/ppc/sam460ex.c +F: hw/ppc/ppc440_uc.c F: hw/ppc/ppc440_pcix.c F: hw/display/sm501* F: hw/ide/sii3112.c --=20 2.41.0 From nobody Wed Feb 11 01:09:28 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1697033306; cv=none; d=zohomail.com; s=zohoarc; b=BnPcekHUkSsxbtv4g10gqCAK7QhFYUxlhBdvAYBRLrTSG3P0oIm4p17c+LuXjbXQbuNJbdX1l54qOEyvlUupWSwVlkul1CtMdyNjYxONqYrQBBGWrT4z5uKc92pg8NxHM1WAVUDIhZzOef7YyODUgsR0SiWvYf2PCVQQcL0UTiY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697033306; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=usve4PUujmMl+yMklSEmrKUgOD9wFrihCQZTy1/EuhY=; b=Kayd9qJaCwkr+CYECPlxeMZyEOumSxeyBtozlusWlo5tYdIcGa3A3pR8vQ+7xGiFgAvqIc1hiz3kmUJStCTxODiIb4ESEjL0M8PnyenQ1p8/Ba8hmuLuPPwjFiaMgOFe2Xz3Z3chnNhDLs+6YdKWjUo5p7ggjUGKsZwHJER2nAw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 169703330615852.73763645120994; Wed, 11 Oct 2023 07:08:26 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqZsc-0000EJ-FY; Wed, 11 Oct 2023 10:08:07 -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 1qqZsX-0000AL-BF for qemu-devel@nongnu.org; Wed, 11 Oct 2023 10:08:01 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqZsT-0007GR-NI for qemu-devel@nongnu.org; Wed, 11 Oct 2023 10:08:00 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-405361bb9f7so64356455e9.2 for ; Wed, 11 Oct 2023 07:07:56 -0700 (PDT) Received: from m1x-phil.lan (mdq11-h01-176-173-161-48.dsl.sta.abo.bbox.fr. [176.173.161.48]) by smtp.gmail.com with ESMTPSA id 4-20020a05600c248400b004060f0a0fd5sm16912521wms.13.2023.10.11.07.07.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 11 Oct 2023 07:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697033275; x=1697638075; 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=usve4PUujmMl+yMklSEmrKUgOD9wFrihCQZTy1/EuhY=; b=ADxQmNiQFcEO00e+80m2JT63capjTnnspS7C3dekT7hrjde8ZZq3hWMBs5prFHQo93 CV8y5BTeNj+y84SXmguySa8bA+/fB5A5EoOjwTrPLIFXGPDMuzX1x86NEpwtGwhnuOkC RB1uqKs9Ms5+j86OZT420ytnM0QSmnoSx5qyUQUJt6R4zpa6p/aOnfYy9veVhJ4aDKUb h+MeKKaCAJctVNCviJxZMJJbebcghprQc7L30ZKGgEaWB9bohbnJigmTvjNvHHm1Vc4e 7iBNoVuXOD06K/+5oCrL36/fLzvEYwDO0Tl38G5CLajwyfEapJRgvfIY311DQP+fnze4 zW+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697033275; x=1697638075; 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=usve4PUujmMl+yMklSEmrKUgOD9wFrihCQZTy1/EuhY=; b=WJSCS5rExxBpr9HBRCF7O6pQhCSeSSc3mwp5YD9MuG7EpMTQ2Ev/7U9X5/rgF0nsnE Yhq9Nm/5CLFOsv5PPyzetpSixAVOWojWxn9yxH3BPyDfPRiXCqMmqoiE9Spje1bI14lW HWF91Dn+gw56af8/UXjyVD4KTVPOPWe4niWSey0ggc0CIBS2ZcpXfHHidP58utEE+RNm RODdbVWIVTIQqoCH0G0nYJG6t3dbWzaTNj73aMsg8U1YgRenNvB3piw0zffYPmUPtFGR Umm92Ue1iM/xNqOeBJykvILSYU7UA62o3yiMIs3x9cXzMc7j7qlEx1bdKBOeSZdat3p5 2sFw== X-Gm-Message-State: AOJu0YzngCgU1caBdW3gfQsloSNecdGTpZU7+mDtoOD7EJGA+4P5HFcr vWsByiCUcXff7UPpJKybP/EzqE/o0G7gqQTC0eo= X-Google-Smtp-Source: AGHT+IHFTdwstWPuYaLjKJv36aoGe0CiU+W+okuR3KgbnHSYjLUfQplwnOC/KDWAsbK5bjbnwx3jOQ== X-Received: by 2002:a7b:c394:0:b0:406:51a0:17fd with SMTP id s20-20020a7bc394000000b0040651a017fdmr17468739wmj.18.1697033275133; Wed, 11 Oct 2023 07:07:55 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Markus Armbruster , BALATON Zoltan , qemu-trivial@nongnu.org, qemu-ppc@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 2/2] hw/ppc/ppc440_uc: Remove dead l2sram_update_mappings() Date: Wed, 11 Oct 2023 16:07:21 +0200 Message-ID: <20231011140721.3469-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231011140721.3469-1-philmd@linaro.org> References: <20231011140721.3469-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=philmd@linaro.org; helo=mail-wm1-x32d.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=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1697033307042100004 Apparently l2sram_update_mappings() bit-rotted over time, when defining MAP_L2SRAM we get: hw/ppc/ppc440_uc.c:83:17: error: no member named 'isarc' in 'struct ppc4x= x_l2sram_t' if (l2sram->isarc !=3D isarc || ~~~~~~ ^ hw/ppc/ppc440_uc.c:84:18: error: no member named 'isacntl' in 'struct ppc= 4xx_l2sram_t' (l2sram->isacntl & 0x80000000) !=3D (isacntl & 0x80000000)) { ~~~~~~ ^ hw/ppc/ppc440_uc.c:85:21: error: no member named 'isacntl' in 'struct ppc= 4xx_l2sram_t' if (l2sram->isacntl & 0x80000000) { ~~~~~~ ^ hw/ppc/ppc440_uc.c:88:50: error: no member named 'isarc_ram' in 'struct p= pc4xx_l2sram_t' &l2sram->isarc_ram); ~~~~~~ ^ hw/ppc/ppc440_uc.c:93:50: error: no member named 'isarc_ram' in 'struct p= pc4xx_l2sram_t' &l2sram->isarc_ram); ~~~~~~ ^ hw/ppc/ppc440_uc.c:96:17: error: no member named 'dsarc' in 'struct ppc4x= x_l2sram_t' if (l2sram->dsarc !=3D dsarc || ~~~~~~ ^ hw/ppc/ppc440_uc.c:97:18: error: no member named 'dsacntl' in 'struct ppc= 4xx_l2sram_t' (l2sram->dsacntl & 0x80000000) !=3D (dsacntl & 0x80000000)) { ~~~~~~ ^ hw/ppc/ppc440_uc.c:98:21: error: no member named 'dsacntl' in 'struct ppc= 4xx_l2sram_t' if (l2sram->dsacntl & 0x80000000) { ~~~~~~ ^ hw/ppc/ppc440_uc.c:100:52: error: no member named 'dsarc' in 'struct ppc4= xx_l2sram_t' if (!(isacntl & 0x80000000) || l2sram->dsarc !=3D isarc) { ~~~~~~ ^ hw/ppc/ppc440_uc.c:103:54: error: no member named 'dsarc_ram' in 'struct = ppc4xx_l2sram_t' &l2sram->dsarc_ram); ~~~~~~ ^ hw/ppc/ppc440_uc.c:111:54: error: no member named 'dsarc_ram' in 'struct = ppc4xx_l2sram_t' &l2sram->dsarc_ram); ~~~~~~ ^ Remove that dead code. Reviewed-by: BALATON Zoltan Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/ppc/ppc440_uc.c | 42 ------------------------------------------ 1 file changed, 42 deletions(-) diff --git a/hw/ppc/ppc440_uc.c b/hw/ppc/ppc440_uc.c index 4181c843a8..7d6ca70387 100644 --- a/hw/ppc/ppc440_uc.c +++ b/hw/ppc/ppc440_uc.c @@ -73,46 +73,6 @@ typedef struct ppc4xx_l2sram_t { uint32_t isram0[11]; } ppc4xx_l2sram_t; =20 -#ifdef MAP_L2SRAM -static void l2sram_update_mappings(ppc4xx_l2sram_t *l2sram, - uint32_t isarc, uint32_t isacntl, - uint32_t dsarc, uint32_t dsacntl) -{ - if (l2sram->isarc !=3D isarc || - (l2sram->isacntl & 0x80000000) !=3D (isacntl & 0x80000000)) { - if (l2sram->isacntl & 0x80000000) { - /* Unmap previously assigned memory region */ - memory_region_del_subregion(get_system_memory(), - &l2sram->isarc_ram); - } - if (isacntl & 0x80000000) { - /* Map new instruction memory region */ - memory_region_add_subregion(get_system_memory(), isarc, - &l2sram->isarc_ram); - } - } - if (l2sram->dsarc !=3D dsarc || - (l2sram->dsacntl & 0x80000000) !=3D (dsacntl & 0x80000000)) { - if (l2sram->dsacntl & 0x80000000) { - /* Beware not to unmap the region we just mapped */ - if (!(isacntl & 0x80000000) || l2sram->dsarc !=3D isarc) { - /* Unmap previously assigned memory region */ - memory_region_del_subregion(get_system_memory(), - &l2sram->dsarc_ram); - } - } - if (dsacntl & 0x80000000) { - /* Beware not to remap the region we just mapped */ - if (!(isacntl & 0x80000000) || dsarc !=3D isarc) { - /* Map new data memory region */ - memory_region_add_subregion(get_system_memory(), dsarc, - &l2sram->dsarc_ram); - } - } - } -} -#endif - static uint32_t dcr_read_l2sram(void *opaque, int dcrn) { ppc4xx_l2sram_t *l2sram =3D opaque; @@ -193,7 +153,6 @@ static void dcr_write_l2sram(void *opaque, int dcrn, ui= nt32_t val) /*l2sram->isram1[dcrn - DCR_L2CACHE_BASE] =3D val;*/ break; } - /*l2sram_update_mappings(l2sram, isarc, isacntl, dsarc, dsacntl);*/ } =20 static void l2sram_reset(void *opaque) @@ -203,7 +162,6 @@ static void l2sram_reset(void *opaque) memset(l2sram->l2cache, 0, sizeof(l2sram->l2cache)); l2sram->l2cache[DCR_L2CACHE_STAT - DCR_L2CACHE_BASE] =3D 0x80000000; memset(l2sram->isram0, 0, sizeof(l2sram->isram0)); - /*l2sram_update_mappings(l2sram, isarc, isacntl, dsarc, dsacntl);*/ } =20 void ppc4xx_l2sram_init(CPUPPCState *env) --=20 2.41.0