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 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 DBBE1C433EF for ; Wed, 2 Feb 2022 16:19:36 +0000 (UTC) Received: from localhost ([::1]:34714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFIM3-0000Gl-Te for qemu-devel@archiver.kernel.org; Wed, 02 Feb 2022 11:19:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFHTl-0004Ry-CX for qemu-devel@nongnu.org; Wed, 02 Feb 2022 10:23:29 -0500 Received: from [2607:f8b0:4864:20::22f] (port=37808 helo=mail-oi1-x22f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFHTj-0003tm-Kv for qemu-devel@nongnu.org; Wed, 02 Feb 2022 10:23:28 -0500 Received: by mail-oi1-x22f.google.com with SMTP id r27so18114435oiw.4 for ; Wed, 02 Feb 2022 07:23:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5R63wW0wINKNcTBXuI9ixers15a2a72LEpYe6L/uNbU=; b=m8HSujccROQm3mxSeqQQL8GFPKZOEUM9g602j+R7MIjNolUE6Gxwbj4dY4VY+kywfr uBmphzxQKpifa38IPLY8Q3HeDlfTXxQBieyomoasiLU0/aLjeOkqI83dV6tqYedPY9OO fe/+SanXJcHGIlCohXPnrCHibyfMiUbJ+u1yGYz/ucpsDfSzrf9nAc2A/0G5TKxY049F JzHQ3VQbeKDhlXdoBRGQJDHkN+glYsJWJkwCcg0le7Tg5jJLmmFitrdAD09dNYLkj4bZ GQdlc5HtsQCGcY4t2HtKooaINIjjiBog/c/GqpdNAoNeaepWPHFp9504v5CbsIUlyXZY 4OfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5R63wW0wINKNcTBXuI9ixers15a2a72LEpYe6L/uNbU=; b=hHpUb7IhKuRf4HpOsd66HdhhqGG9ByDDdG5fZIYdozGq3x3DvRt9rliu9xePzEBm3n dZqBhDp83W0PNK5mTWST9J/zr8mXvx190ECxvMreuz5xrnEU9mAa52OT18hWbPThCKui 6dauKiQc1ZH93AID3bv14Yp17B2O2RScfSjWigQtjaNU/8UBgnu5JE967HUchnY/EpxN B3x3bKF+co2n2Z3uTTKcm3TuyJWs8zrMY2IUmqatvQD/Y4BGIvyBungIxRR7usN8DWfT VRJcMTqs3YcCtwPxuBubwYH9nrap/dn0N/bPd31eOdpEcEiKbvXsfCPsTgdpSGYM2TRr SUaA== X-Gm-Message-State: AOAM530UYkuF981wEAw1AXC12C+rSCMF3eQEEhCSmag56b4/x75Tc1fG gUylnWE5aSGcNy6NN56yIOlNnQ== X-Google-Smtp-Source: ABdhPJzYiENYSNiuOdEtOqb6mTsIM2Md25FXsUrT86Aath8Xq6QDRiSnVJPMrjo6NPzl55Rt1Nzx/g== X-Received: by 2002:a05:6808:189b:: with SMTP id bi27mr4671294oib.211.1643815406099; Wed, 02 Feb 2022 07:23:26 -0800 (PST) Received: from localhost.localdomain (24-155-109-70.dyn.grandenetworks.net. [24.155.109.70]) by smtp.googlemail.com with ESMTPSA id q11sm9655814oti.3.2022.02.02.07.23.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 07:23:25 -0800 (PST) From: Jimmy Brisson To: Subject: [PATCH v1] an547: Correct typo that swaps ahb and apb peripherals Date: Wed, 2 Feb 2022 09:23:23 -0600 Message-Id: <20220202152323.2529767-1-jimmy.brisson@linaro.org> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::22f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=jimmy.brisson@linaro.org; helo=mail-oi1-x22f.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: Peter Maydell , "open list:MPS2" , "open list:All patches CC here" , Jimmy Brisson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Turns out that this manifests in being unable to configure the ethernet access permissions, as the IotKitPPC looks these up by name. With this fix, eth is configurable Signed-off-by: Jimmy Brisson --- hw/arm/mps2-tz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/arm/mps2-tz.c b/hw/arm/mps2-tz.c index f40e854dec..3c6456762a 100644 --- a/hw/arm/mps2-tz.c +++ b/hw/arm/mps2-tz.c @@ -1030,7 +1030,7 @@ static void mps2tz_common_init(MachineState *machine) }; const PPCInfo an547_ppcs[] = { { - .name = "apb_ppcexp0", + .name = "ahb_ppcexp0", .ports = { { "ssram-mpc", make_mpc, &mms->mpc[0], 0x57000000, 0x1000 }, { "qspi-mpc", make_mpc, &mms->mpc[1], 0x57001000, 0x1000 }, @@ -1072,7 +1072,7 @@ static void mps2tz_common_init(MachineState *machine) { "rtc", make_rtc, &mms->rtc, 0x4930b000, 0x1000 }, }, }, { - .name = "ahb_ppcexp0", + .name = "apb_ppcexp0", .ports = { { "gpio0", make_unimp_dev, &mms->gpio[0], 0x41100000, 0x1000 }, { "gpio1", make_unimp_dev, &mms->gpio[1], 0x41101000, 0x1000 }, -- 2.33.1