From patchwork Tue Dec 10 21:49:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 1207295 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Gd1Uy1iJ"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47XYcm2dclz9sTJ for ; Wed, 11 Dec 2019 08:49:41 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=dy+toV5w/xqGpkxEZzWvma03oj7JkunRiLaebEx+7Rw=; b=Gd1 Uy1iJijXHbvMFVWjAZ7Yw8aS8DlvbY5dVsRWl5EHUlvQ1WmAVgEv8WkySW/2xvPF6f527bMFs3u+F nMiKorEfw+dbx1x274C4L7vrFcXR9dypK+VIUB7KFi6KHwI7xEa5+9cFDO1ss2FWjbXb+SssEUQO/ ZVlD5MmMTLz3Eg5v5e2d6kFtBIFrKnlH/4TkVpCJCRODWmanB7YUog1ePNvD4iscQ/deOZuh5aIm6 CfCBffaBI0ZSFU5GJLXmMfrrrJJJ1gwq23iCqYJ5X5YmtHjGmxbwiJsh+8Q3RiEEoEIaz+nfaKGyb QSGJVSjMVwFH3XxBoncV/OmpUetzxZQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ienNx-0002Xr-L8; Tue, 10 Dec 2019 21:49:37 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ienNu-0002Wd-Lc for linux-arm-kernel@lists.infradead.org; Tue, 10 Dec 2019 21:49:35 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E9FED1A0ADB; Tue, 10 Dec 2019 22:49:31 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id DDCC11A0208; Tue, 10 Dec 2019 22:49:31 +0100 (CET) Received: from fsr-ub1864-112.ea.freescale.net (fsr-ub1864-112.ea.freescale.net [10.171.82.98]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 86BBF20567; Tue, 10 Dec 2019 22:49:31 +0100 (CET) From: Leonard Crestez To: Shawn Guo , Anson Huang Subject: [PATCH 0/2] Fix imx6ull/6ulz boot crash Date: Tue, 10 Dec 2019 23:49:27 +0200 Message-Id: X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191210_134934_844422_E386AFA2 X-CRM114-Status: UNSURE ( 4.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [92.121.34.13 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dong Aisheng , Fabio Estevam , linux-imx@nxp.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org These chips currently crash on boot while attempting to read SOC serial number. Fix in two stages: * Fix ocotp lookup crash on failure * Fix ocotp lookup failure Leonard Crestez (2): ARM: imx: Fix boot crash if ocotp is not found ARM: imx: Fix ocotp_compat for 6ull/6ulz arch/arm/mach-imx/cpu.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)