Received: by 2002:a05:7412:a9a3:b0:f9:93eb:408e with SMTP id o35csp79976rdh; Wed, 20 Dec 2023 23:58:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGIvXR6JM/zx+pMMmqiX9OO1Jz9zGY9TiBdnwDlDunos4P5z2u53adyyfDN7AeGXRVCF6S2 X-Received: by 2002:a05:6870:9129:b0:203:4840:a945 with SMTP id o41-20020a056870912900b002034840a945mr1150386oae.47.1703145495007; Wed, 20 Dec 2023 23:58:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703145494; cv=none; d=google.com; s=arc-20160816; b=CYQRuJg3owjsXLIXynvcbizsTR4Gz7v5sBBC3+lJfGk+gKvlXCx1UqENByQtMf9S0u ml0Vt8l5VIwjUd3MxqNMlq2ShrdkdDH1LgDEn5JvECyOiitD93YfqcuOfvDLZcWIdHpc R0lvEzjkDcMYkL5ldo/9l1RCnZXIdHVFFIC8REZXmcxBUnitnCBwJX8vrUGk1TSblw02 dF9Nw6mQiP5sHnJYQ4yaiCzsH7BZncUbapUvNXXpoxNSMAWreLk+7WPXbOAU9c5tFkvv avFwbGQxLXzkcRNDQ5X1Lgkx0CrK+S16/MHvvK7csC7tBIceDO4mVP/b9dJjJptuG8Bj Z/Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=Eu7zR58/A5+I3jTzwSMEK0TkRVpJ1QTPYfi7nQg/PvU=; fh=go5l/YadXPDKX1vZHaMydfb5N4Brr4e+QN8YOJxkjnU=; b=mNpSxIrPITFAsI9qqCF2TYDLsbikK3KO3iQa/9M9h+he0PigAhkeV3/V6BNV5PLtYZ AkOLVU3JKf7rsjRrtmrOTz4SUl0S9KQNv8CxzWHPt0cS1BXGHDKz60NGeBMY6W86GqBh XxZHkhnZw6Ry9hf/ipt0jMU/MBL5XkNrceQTGxJyW37vsmORGEM1BIGDO33HzyhCck6y Me/rYGrKG6n21PJdPf+3zK026CVt7fZV6SKj8UDUzqo3sKsXZGizpFnHJ2F7sVbG8vrn fHTPTj5M95LuWurXSJ9X7z8RM2vqIf3M72y40xlLgvw2N3hIqInN1jd9veEd+q5l5a3p J0gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=QSZcROZe; spf=pass (google.com: domain of linux-kernel+bounces-7967-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7967-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id r15-20020a6560cf000000b005bd66bfc256si1153235pgv.869.2023.12.20.23.58.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 23:58:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7967-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=QSZcROZe; spf=pass (google.com: domain of linux-kernel+bounces-7967-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7967-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 3A2E8B22D24 for ; Thu, 21 Dec 2023 07:58:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD7E3156E1; Thu, 21 Dec 2023 07:58:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="QSZcROZe" X-Original-To: linux-kernel@vger.kernel.org Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CCDAA156CB; Thu, 21 Dec 2023 07:57:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id E9FB6C0005; Thu, 21 Dec 2023 07:57:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1703145476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Eu7zR58/A5+I3jTzwSMEK0TkRVpJ1QTPYfi7nQg/PvU=; b=QSZcROZeH5xz0kU7AXaeCSVNQDDY/yRKDMO84ECGwrv+GFwT6JcSGyk+j+ExUYYE45UKcO +m9M0bV36VLrUKgJwml5glXA4QQlpdMac06dm5t9dzyb2BU6Kw55z9Rvi+CCCrDtYIdePU ti2HesGllHP9yUVabUVkyWttW2BJD9QFGPcHiJJ+n4Aup2MotqcmgytldZs98Ms6+oayGR ZskP6bsS9dQm5lZez74JW5VcsigxhcHKVwMDN8YJxdsTuTsAkrh1B8vOvdNLX3yOShaVqR HOxjkFHq0TnHUzv1DmVEea9IPpBZxRl7k+Gg6qQ+M/IxVAUc/jmfSFVMFz67FA== From: Gregory CLEMENT To: Thomas Bogendoerfer Cc: Paul Burton , linux-mips@vger.kernel.org, Jiaxun Yang , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vladimir Kondratiev , Tawfik Bayouk , Alexandre Belloni , =?utf-8?Q?Th=C3=A9o?= Lebrun , Thomas Petazzoni Subject: Re: [PATCH v5 00/22] Add support for the Mobileye EyeQ5 SoC In-Reply-To: References: <20231212163459.1923041-1-gregory.clement@bootlin.com> <878r5vctdg.fsf@BL-laptop> Date: Thu, 21 Dec 2023 08:57:55 +0100 Message-ID: <87frzwasxo.fsf@BL-laptop> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: gregory.clement@bootlin.com Hello Thomas, Thanks for your fedback > On Fri, Dec 15, 2023 at 05:39:39PM +0100, Gregory CLEMENT wrote: >> Hello Thomas, >> >> > Hello, >> > >> > The EyeQ5 SoC from Mobileye is based on the MIPS I6500 architecture >> > and features multiple controllers such as the classic UART, I2C, SPI, >> > as well as CAN-FD, PCIe, Octal/Quad SPI Flash interface, Gigabit >> > Ethernet, MIPI CSI-2, and eMMC 5.1. It also includes a Hardware >> > Security Module, Functional Safety Hardware, and MJPEG encoder. >> > >> > One peculiarity of this SoC is that the physical address of the DDDR >> > exceeds 32 bits. Given that the architecture is 64 bits, this is not >> > an issue, but it requires some changes in how the mips64 is currently >> > managed during boot. >> > >> > In this fifth version, there aren't many changes, mostly just tweaking >> > commit messages based on Sergey's feedback and fixing up the code >> > style. But, the real reason for this series is a bit of a whoopsie on >> > my end. It turns out, despite what I confidently claimed in the last >> > round, some configuration tweaks were missing. All sorted now, though! >> > >> >> A few weeks ago, you were concerned about the introduction of the >> specific kconfig CONFIG_USE_XKPHYS to support EyeQ5, and you wanted us >> to set up a new platform instead. Since then, Jiaxun proposed a series >> that was merged here to provide more generic support. > > well, there is more to improve and stuff I don't like in Jaixun series. > For example misusing CONFIG_PHYSICAL_START to force a load address via config > (IMHO it's already a hack for CRASH_DUMP). > > As there is your series and Jiaxun series, where should I comment more > detailed ? I think you could start on Jiaxun series but the one merged in my series, because I already had a few fixes for it. > >> I had other issues in the initial series, and I think that now I've >> fixed all of them. So, I would like to know what your opinion is now >> about this series. >> >> Will you accept it, or do you still think that a new platform has to be >> set up? > > things have improved, but I'm still in favor to use a new platform. > And my main point stays. A "generic" kernel compiled for EyeQ5 will > just run on that platform, which doesn't sound generic to me. I do not oppose the addition of a new platform, even though, like Jiaxun, I would prefer to avoid duplicating code. The only thing preventing the use of the same kernel for EyeQ5 and other platforms is the starting address. Therefore, if it were possible to have a relocatable kernel, this issue would disappear. However, while waiting for your feedback on Jiaxun's part, I will attempt to add a new platform to assess exactly what the implications are. Gregory > > Thomas. > > -- > Crap can work. Given enough thrust pigs will fly, but it's not necessarily a > good idea. [ RFC1925, 2.3 ] -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com