Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp27730rdb; Thu, 21 Dec 2023 01:35:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHc17OtCEg/SUg3M3MS4+x4G8XyoTwoKTvWrqyLWcjxXSnRjI/J0o3ZXMTgKfVdXcztEpJ1 X-Received: by 2002:a05:6e02:1b8f:b0:35f:b126:374e with SMTP id h15-20020a056e021b8f00b0035fb126374emr7482532ili.107.1703151346281; Thu, 21 Dec 2023 01:35:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703151346; cv=none; d=google.com; s=arc-20160816; b=tZ2JQKeCJ9sU/GyIYtT0k9KwDCXg6Nz+97LDG/FXyrp/kKxymzN3GWkni8jGrTuaio hMD4DykMh25ML3eivw5mcdjF0GRBbdrEASzxoxaQzEMJikabKo2fuXefDOOiRFkOXGLb IGpnfjZidcusPDzvcb7AP0TBW1/ufothuKJvvNyibXY1wBC1+j9x8YGiv/RuUu6YUC0M 4A5RFRkmWKDgrKH3INJ0qE+jyBkMSMwjY9MSxuy77FMx5CrU/Up9wgdNx/C+Xb9a3iX+ cY4dxPYivmvfIG6MuNQ+Swd1L0eIBwgygZ2lcwswojudfFZ0WJVze/HHuIrldRVogio2 jqtQ== 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=wHNg0+IPAbNxP2IwWFqfBhWUeZ9oQWypKm/SCO/8EJo=; fh=go5l/YadXPDKX1vZHaMydfb5N4Brr4e+QN8YOJxkjnU=; b=uBGgVqd1e9yJoWx2dZV7ObcEQlv4fOKAFcqMbNAtiwXWMwCZlv2vEGhF/jmih1DyV6 EWZcbZe+C12mQ+PSyZVECsYzXfBeI/6nMWdTNymFjTza45LfX2pDUcCXoIDlT9+KEHTe CBKckBD1ItdnRiXS3a4c+iA3cApGLBGRC3uj1xuxNT623FCRZzLOS+0/g2DEtPijnFeO uZNeP0sBGFtr+mwrS3f6gtRF/5qJ/Gw16x+4zPzeBgGB9dr05Z+EHTUJ366Phc8VayMO Qzu0fQ+KImkmAXaf/3bqibNpABeuESm/4Cu+ax6BDCmd/MQKnYRZY3Cx/EWJws7+2JKl B7OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=OfzQ+ypJ; spf=pass (google.com: domain of linux-kernel+bounces-8097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8097-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i31-20020a63541f000000b005cd7bb0c68asi1347775pgb.177.2023.12.21.01.35.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 01:35:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=OfzQ+ypJ; spf=pass (google.com: domain of linux-kernel+bounces-8097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8097-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 17709B211F2 for ; Thu, 21 Dec 2023 09:24:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61C584C605; Thu, 21 Dec 2023 09:14:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="OfzQ+ypJ" X-Original-To: linux-kernel@vger.kernel.org Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 2BCEF4C3DD; Thu, 21 Dec 2023 09:14:01 +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 D18CB60005; Thu, 21 Dec 2023 09:13:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1703150034; 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=wHNg0+IPAbNxP2IwWFqfBhWUeZ9oQWypKm/SCO/8EJo=; b=OfzQ+ypJt2+Ay8YJbRhwHqyhv7uq4kuuvyHx6hjUc2/VSJyTKS4Dy+t6AmTtUHva92dnpI yn0KQyk0tBbOipnmbLwVRnGmmKlsIH5qJzAI4qOLwt8J815Y+icUTnOYGWJetMw52bsVI0 KmZM8dbdxjMhmrKS9+2+WGJqGDuYG4J/mrjAv7dkSzg0yksW0JTloyzXCahc68NdfJNfeV bRYAlgqYRp4pvUEHcA87OI3J7NzXl4+7OVBSzhJVRxblO9+vTHfp/3T0tNRH+5h/DHdYR2 Tus15f+qcHrC//oAMXrc37KAZ2qjr9FgJlt2ZcBftfaRV82bK89yjvZBeomxvw== 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: <87frzwasxo.fsf@BL-laptop> References: <20231212163459.1923041-1-gregory.clement@bootlin.com> <878r5vctdg.fsf@BL-laptop> <87frzwasxo.fsf@BL-laptop> Date: Thu, 21 Dec 2023 10:13:53 +0100 Message-ID: <87cyuzc3zi.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 Gregory CLEMENT writes: [...] >>> >>> 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. This sentence was not very clear, let me rephrase it: I recommend starting the review with Jiaxun's series, specifically examining the code that has been incorporated into my series. This is important as I have already made several modifications to his original code >> >>> 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. Is it possible for you to apply the first patch of this series, which is only a fix? This would enable me to have a slightly shorter series. Additionally, it would facilitate dividing the entire series into two parts: the first part for XKPHYS support and the second part for EyeQ5 support. Gregory -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com