Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp303963pxa; Wed, 12 Aug 2020 02:23:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwheA/vj352qqTGcPy8EtNVJml941eNDp57S4mk9DGD/uX5fCQgl16qfhR4Hp0LmMW1f1QR X-Received: by 2002:a17:906:6a84:: with SMTP id p4mr31269927ejr.374.1597224216862; Wed, 12 Aug 2020 02:23:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597224216; cv=none; d=google.com; s=arc-20160816; b=XdlCT3HHH+JlXSur6yfs89TSa9ale3r+1amB6LZt7/l1FTrsK3btZ3iHiLw489KXH5 19OPTVtFFI4Vt4EjJnLAEkNxD2zub9v+3egHlPoRqkCKNNIaNnCAZwI/8gNzfdjAs9jZ SxZE+A74HIDZjQCwMY6Xyx7iML2iJDvC0ZsV1AD21ow310rgBxgY49DqL+0s2+VmD6++ pKoH7l6VZI+YFFCs64ehZjaGRL3lJF7/XoL1kJp/HAdBzIwQCmeu6vw87Mz31prJblob /p4neb6j3l/okbWL4wQQResmSEqFA0VrQ+Zi5R95WZg40QFbxTHZxDCUosTmJFqmBChb HuYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date :dkim-signature; bh=DU8hiVooevw2svajRRMAqZzXiDDtBuJEq9PAFVAh+/U=; b=jrWmq1TKPmZceMX0dbaPsu809rzp+Ar8sCtMieKWvdi86ec4wRd18p9RFP4X6tn++t ywkWj9V9/CjLolHsXbmTND/LTgTLy3Fi5w+CnEpHJNNpC6Vv6ysdG8hNYa+dFCGZxzq5 BLEw/hrbpyDcLJR9KjlnaYp9TDTsF5ReATctFwWGr9YVf3oXccptTndMUzoDYfcle1c2 Ugqlqc5donjgLp6HDALFLnw9KYwxZf4GE9Aygk55AgKMVBwrm0PMpf1nerk4Kny20xfo aFt7S5utoxN/mi/ewEgnTakF7rPA1t8GeYq0hVfpNPwj5OT24rnkNKjPWtyGEgtSikxA XUqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=E4ui8yfU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x22si793954ejc.278.2020.08.12.02.23.14; Wed, 12 Aug 2020 02:23:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=E4ui8yfU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726962AbgHLJVe (ORCPT + 99 others); Wed, 12 Aug 2020 05:21:34 -0400 Received: from crapouillou.net ([89.234.176.41]:37216 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726255AbgHLJVd (ORCPT ); Wed, 12 Aug 2020 05:21:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1597224091; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DU8hiVooevw2svajRRMAqZzXiDDtBuJEq9PAFVAh+/U=; b=E4ui8yfUidBOt46tCJhPDUvRQG+qVa6jrj9BROIV00BiEjXqezkJ9UCgRj6Y99t+MVqDvH +aqd6OM3sNA/4AlItZgKq0MlE6UYEXdd6IMAyQG0wzFZruGN62v0p5NqG+E/fYohjLjXkL uQeBHw517SmDBjPPtc6poEM6+JpABls= Date: Wed, 12 Aug 2020 11:21:21 +0200 From: Paul Cercueil Subject: Re: [PATCH v2 07/13] MIPS: generic: Support booting with built-in or appended DTB To: Sergei Shtylyov Cc: Thomas Bogendoerfer , Paul Burton , Krzysztof Kozlowski , =?UTF-8?b?5ZGo55Cw5p2w?= , od@zcrc.me, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Message-Id: In-Reply-To: <1380509b-6479-3f1b-9e5b-7eb14f7ab158@gmail.com> References: <20200812001510.460382-1-paul@crapouillou.net> <20200812001510.460382-8-paul@crapouillou.net> <1380509b-6479-3f1b-9e5b-7eb14f7ab158@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le mer. 12 ao=FBt 2020 =E0 12:15, Sergei Shtylyov=20 a =E9crit : > Hello! >=20 > On 12.08.2020 3:15, Paul Cercueil wrote: >=20 >> The plat_get_fdt() checked that the kernel was booted using UHI=20 >> before >> reading the 'fw_passed_dtb' variable. However, this variable is also=20 >> set >> when the kernel has been appended, or when it has been built into the >=20 > s/kernel/DT/? Ooops :) >=20 >> kernel. >>=20 >> Support these usecases by removing the UHI check. >>=20 >> Signed-off-by: Paul Cercueil > [...] >=20 > MBR, Sergei