Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1678716pxm; Fri, 4 Mar 2022 01:06:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzw3AvxXECto7nfGszR5LnTavM7yJ8iM50Y+LVTPFbXhvF5/GSzlhyXDYfhT55HX5AgA/dX X-Received: by 2002:a17:907:970e:b0:6da:9224:7fb3 with SMTP id jg14-20020a170907970e00b006da92247fb3mr5534455ejc.502.1646384801713; Fri, 04 Mar 2022 01:06:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646384801; cv=none; d=google.com; s=arc-20160816; b=M2Z1xlC2aCps1J+s+CeW/eHXXoybsrKB3hATGlSzDi/j/8Hc8DjTjBQGsdNllYiwpz bYBw26k1mSpKoAO3TWG5ggoV+5OH9nBS7htbEJt5fXPyZ0OIHrg4/3MDJmcURPuuDD0b jhMXr7tARLZMXlk4PIGYyiYJXugOkrKZEH1WJ1LT2vLaNLur9CfWwM1dARcHF2SZawsH lwmyLsULjIHyQvrjqQCG2pfocXGbNyo8OQw49pPFnVFWmYG6uj//2Radmb5Cva3nyCAH 5rAGddzovwi9wrmkf4f9Qp2g4hkiOde5DLf5qeHH6RDtYxgXMbVJmxmjUKn3rMsj9MRt fteQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=u6Y6uJ8R73Jrm3hoWX8P4p+LZyXTNfrJUtFnT1XqWdM=; b=UfBksdO9SxIfiWd6hO4KDG5FoN+Y2mJUG/DpEGjTkEuaomWZBE+UnMgXZaK43P2Ast 9vp3j2pO+ezUMerzxiegoosETTDWo5m2IlfjMihv+tX/yGsx4xVbMYaai/nQHlxidvxi weAGwIpoQyS/clitmvWvJ2OumymxDBUOK6rtBSuX6Gs3lDhoaPqXUQqfmprQ++bED3cO Q70zm+67IxVXUpSmnfeFOBs5fcVy6tStTVOjoAH4H8QIBzT4dIXVNXPxKdUUldagPCD9 GmvM8TL10DHAnf8Ty9g0441KY2tYeZLkO5wUR8J2znbRydTWg55T4jaR/R0kGoqJ0cpI 8YUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x19-20020a05640226d300b00415bf22f4fesi3115805edd.497.2022.03.04.01.06.19; Fri, 04 Mar 2022 01:06:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238586AbiCDG6D (ORCPT + 99 others); Fri, 4 Mar 2022 01:58:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234866AbiCDG6A (ORCPT ); Fri, 4 Mar 2022 01:58:00 -0500 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F0FE418DAB9; Thu, 3 Mar 2022 22:57:01 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 9549480E1; Fri, 4 Mar 2022 06:55:47 +0000 (UTC) Date: Fri, 4 Mar 2022 08:56:59 +0200 From: Tony Lindgren To: Adam Ford Cc: Linux-OMAP , "Andrew F . Davis" , Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Nishanth Menon , Peter Ujfalusi , Roger Quadros , Suman Anna , Tero Kristo , Linux Kernel Mailing List , arm-soc , =?utf-8?B?QW5kcsOp?= Hentschel , "H . Nikolaus Schaller" Subject: Re: [PATCH 6/7] bus: ti-sysc: Implement SoC revision handling Message-ID: References: <20200221195256.54016-1-tony@atomide.com> <20200221195256.54016-7-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, * Adam Ford [220302 14:37]: > I apologize for digging up an old thread, but I finally managed to get > my hands on an OMAP3503. It seems like older kernels do not boot at > all or hang somewhere in the boot process. I am still seeing a > difference in behavior between OMAP3503 and OMAP3530, where 3505 > throws a bunch of splat and a kernel panic, while the 3530 appears to > boot happily. > > Using the latest 5.17-rc6, I had to remove some IVA and SGX references > from omap_l3_smx.h to get the 3503 to stop crashing on boot. OK interesting, I did not know those registers are not accessible on 3503. > Do you have any ideas how we can make the omap3_l3_app_bases and > omap3_l3_debug_bases more cleanly remove the IVA and SGX references > if/when OMAP3503 is detected? I assume the same algorithm would have > to detect a AM3703 as well. I'm trying to get my hands on an AM3703 > to see if there is similar behavior as what I'm seeing on the > OMAP3503. As there are possibly multiple omap3 variants used on the same boards, we need to rely on the runtime detection of the SoC. So yeah soc_device_attribute is the way to go here. I don't recall any similar issues booting 3703 but it's been a while so worth testing for sure. Regards, Tony