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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A159C433DB for ; Tue, 9 Mar 2021 20:58:08 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E89D06522E for ; Tue, 9 Mar 2021 20:58:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E89D06522E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qEtxAkqR/8wdolVmGbksYsOb4CP5Qy1ZI7yicbjk1Jg=; b=JzIH745371KV0R+JCv6mnEbAY BSp12sSI5YexPNWOP4k1zjRAt2kjGaR6MgCO3pXoGMMs2MkH0A71JvhMqA+F2d+XYjfL/dKlShb+9 qrQANcmZnL0x8dlwBpGGifNPF5hDmV3e8OuKCWr5IRrkQRQLhpuLQXsocw3Yi/pUpoVZ3JIPJ74qj u/sVmUo8ZX6jhSi3QnUI1JVjyFZN9XID+fG1rLAi6QRmhZY22sAxWPrffpCaXPf4Rwcv5R7/W5fOL KdzwBDHfet4t9/YIjsp2lKesjy19Glgo8rzczWv6YsxHISi8Wqb/+v49Vv7F1vmOb+jKO0HOMv9X8 pChBccidw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJjPD-005OcB-Mg; Tue, 09 Mar 2021 20:56:40 +0000 Received: from mail-wm1-f49.google.com ([209.85.128.49]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJjP8-005Oau-5F for linux-arm-kernel@lists.infradead.org; Tue, 09 Mar 2021 20:56:35 +0000 Received: by mail-wm1-f49.google.com with SMTP id y124-20020a1c32820000b029010c93864955so8115335wmy.5 for ; Tue, 09 Mar 2021 12:56:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JFD+knxhbgjWL3eI/xavMNJfjLYJTwVKvjMVSZz9+6g=; b=NExiKoXcxE1MQkpGDs0IL8Zw1se6Ef4bovB4NG2OBFM3X1h2g0OQgLsWVxTPYR4v2j bIl82Ljnl9lqseZIvVGFQHgHNosW8i8dbi1tTfnbIUk+B3c56799LtLWmx7IsPKuhdS0 CMtBUAJ/snkDCkmCzFikdZ4tv0v32E8YD/TMFwOj82cp9Aga3xpDSz8P96elYI8ZZZyZ 6kMGjpdj6LOnECNeO2h6lmcwalPiuYC40zO4QlhMQsAWTBPraFmOMPlRqXh/2ENM5/f0 mkq+czeKLuhZSyM7rFdb/Vk37aRxhoZpkb+nRTUmCscWOjAKN1HScwrsu/DvxJruYmy7 nsKw== X-Gm-Message-State: AOAM532oEBMd1EjVUK4faPWGAfxXQccn9DwKgIfPAfNU5c/e3kYmVBB9 EEW0aEy7TmrdjvtbEW6kQ/Y= X-Google-Smtp-Source: ABdhPJxNHh2Fj3Pxn1keVzJYAksuucsgzc3xGcO6rLV4pNx2sU2Y3jMmK8jBHUSODlQMS+vapZb6Dg== X-Received: by 2002:a1c:9d51:: with SMTP id g78mr6226198wme.5.1615323392396; Tue, 09 Mar 2021 12:56:32 -0800 (PST) Received: from [192.168.1.116] (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id s3sm25072658wrt.93.2021.03.09.12.56.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Mar 2021 12:56:31 -0800 (PST) Subject: Re: [PATCH] arm64: dts: imx8mq: remove SoC ID compatible To: Martin Kepplinger , alice.guo@oss.nxp.com Cc: devicetree@vger.kernel.org, festevam@gmail.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org References: <20210104091544.13972-4-alice.guo@oss.nxp.com> <20210309134251.2583679-1-martin.kepplinger@puri.sm> From: Krzysztof Kozlowski Message-ID: Date: Tue, 9 Mar 2021 21:56:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210309134251.2583679-1-martin.kepplinger@puri.sm> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210309_205634_266485_866C117C X-CRM114-Status: GOOD ( 19.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 09/03/2021 14:42, Martin Kepplinger wrote: > this reverts commit ce58459d8c7f4174e7b8a8ea903dd949631334a3 for imx8mq. > > this is most likely not the real fix but works around the problem I have > (with v5.12-rc2) I want to report: > > [ 0.766925] SoC revision 0x21 > [ 0.770286] imx8_soc_info soc@0: SoC revision via nvmem read failed: -517 > > This leads to the system not booting up. > > This change makes use of the old way of reading soc_revision and thus > works around the problem. > > What could be missing for the nvmem way to work here? Should it work > in any case? I assume so if you add the compatible to imx8mq.dtsi. But > if it would work, why keep the ocotp reads? Hi, Thanks for the report. 517 is deferred probe, so this could mean that efuse/ocotp did not come up yet. However soc_id driver should handle it and re-try after some try, shouldn't it? Unless there is a bug inside (your change basically disables soc_id driver). Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel