Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6809605rdb; Fri, 15 Dec 2023 08:52:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEA2utO+HG8CHCQgjqjsg12WSjlF706U0gFiRwx5dt59BcCIIlr7+RMmGY5eUFaUCvwd4Yu X-Received: by 2002:a19:8c06:0:b0:50c:15:568c with SMTP id o6-20020a198c06000000b0050c0015568cmr5629178lfd.30.1702659155220; Fri, 15 Dec 2023 08:52:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702659155; cv=none; d=google.com; s=arc-20160816; b=h2ZEshPR3iFf4N9ubOZZlN0LIkcgyvCrebVCHM9kiyjULv73Gkc/lXSv7JhTgzKZQf F8yWPOCxvoY2qDHFd3QyMWTD3lYPABwAExw1oQUaTkUOi8h10ln9qdgYrAEr3G8q6IHg 28uuc/ZS8ssja0GDhTx0m8yEPtRM2HL5wbn63/eKFZzA5bf5YIYeacn5+dstIMJgl83V iFXnAsa29c36R5vHYvXiLvYDGBt0HTagsDvakU0mW40z6O8+uPYdr4Ev72K5CQJR0Y7Y x2ELrx7h9PnCj9TKjJNCgaBprOtzwnyzxNzYwiASATs4nOBqBNwNzgPwbokzoD28VInz WoRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=sfWZH/svifhxC7W4M7gZ14WX8XvsD6qw/uDPo8WcvAQ=; fh=p/xhiBqAwsHXDyTc3hP04CoEfkCym971UaHgGylQlPw=; b=y9K0maoA28RkACqnHIfq+p+0Jf2szfNQxO5HbmQc/Gmc81lo1f0kEtuvOE06Kr6AWb yPRmoDtFvFLm500Da/2rsipLtDDYjS0EYyRLMssj6Y3gte1BgxdxINd2M3Vb1DJJabdZ vg/9BeeW6GPvZfdw8dPqPnYNys/Sqq9jDBvRb5+PpVvxNTnIKSPpzOvOTdkTt8vFUqiv hy56dhHENbE+to3TItWSOfmrry0Z0eioTE9OOXUqXI/wgShAe/B7kIFWXn1zskrgtT7v w5CqvjbumLWK96J9nypmRn22yAkIHzd0JIRQv9/sCpJvoiKHGF5uu536GZBJ+odcB9JA GFHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=f1wzshh3; spf=pass (google.com: domain of linux-kernel+bounces-1333-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e19-20020a056402191300b0054f64f4a602si6876133edz.404.2023.12.15.08.52.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 08:52:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1333-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=f1wzshh3; spf=pass (google.com: domain of linux-kernel+bounces-1333-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1333-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EF51D1F23B17 for ; Fri, 15 Dec 2023 16:52:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDE3E3EA70; Fri, 15 Dec 2023 16:52:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="f1wzshh3" 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 6BF0A3EA69; Fri, 15 Dec 2023 16:52:23 +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 D76ABC0004; Fri, 15 Dec 2023 16:52:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1702659140; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sfWZH/svifhxC7W4M7gZ14WX8XvsD6qw/uDPo8WcvAQ=; b=f1wzshh3cKH6bWa+OECXGVN61sYa1O4bSH5bKlfhN2DLchVmrRyZ9TCV2Ge7cXO2YcVn4s zi9u3uP5Lr58adQe7Ay09wXGgTv3n6X1NFdjE5esgUIEpQJ3d5suPvZ3WyERoX+23s7WCv GWVYN0zkuVcJEjlybJMiu62WrktEjrMy8VR9ehQTivFZ7M3Hn8Wfeaor9Qyf1D81kVx2LY einWNqxjEAsTso6z8YVnIpQYFzNJ5sUQh1GPYEdKVgzz9c7KU1jxfO4yiGHDjuo52jZ83I tNoBH9IRoHiK/gct1bYClQ5xeRVAQSiMK2bFKa17VCSNoziUU0CBvSSyIXjYbQ== From: Gregory CLEMENT To: Jiaxun Yang , "paulburton@kernel.org" , Thomas Bogendoerfer , "linux-mips@vger.kernel.org" , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vladimir Kondratiev , Tawfik Bayouk , Alexandre Belloni , =?utf-8?Q?Th=C3=A9o?= Lebrun , Thomas Petazzoni Subject: Re: [PATCH v5 21/22] MIPS: generic: Add support for Mobileye EyeQ5 In-Reply-To: <6b747f3b-f0d7-4e40-a331-8d2323e4874c@app.fastmail.com> References: <20231212163459.1923041-1-gregory.clement@bootlin.com> <20231212163459.1923041-22-gregory.clement@bootlin.com> <6b747f3b-f0d7-4e40-a331-8d2323e4874c@app.fastmail.com> Date: Fri, 15 Dec 2023 17:52:19 +0100 Message-ID: <875y0zcssc.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: gregory.clement@bootlin.com "Jiaxun Yang" writes: > =E5=9C=A82023=E5=B9=B412=E6=9C=8812=E6=97=A5=E5=8D=81=E4=BA=8C=E6=9C=88 = =E4=B8=8B=E5=8D=884:34=EF=BC=8CGregory CLEMENT=E5=86=99=E9=81=93=EF=BC=9A >> Introduce support for the MIPS based Mobileye EyeQ5 SoCs. >> >> Signed-off-by: Gregory CLEMENT >> --- >> arch/mips/configs/generic/board-eyeq5.config | 42 ++++++++++++++++++++ >> arch/mips/generic/Kconfig | 15 +++++++ >> arch/mips/generic/Platform | 2 + >> arch/mips/generic/board-epm5.its.S | 24 +++++++++++ >> 4 files changed, 83 insertions(+) >> create mode 100644 arch/mips/configs/generic/board-eyeq5.config >> create mode 100644 arch/mips/generic/board-epm5.its.S >> >> diff --git a/arch/mips/configs/generic/board-eyeq5.config=20 >> b/arch/mips/configs/generic/board-eyeq5.config >> new file mode 100644 >> index 0000000000000..d94e408145389 >> --- /dev/null >> +++ b/arch/mips/configs/generic/board-eyeq5.config >> @@ -0,0 +1,42 @@ >> +CONFIG_HIGH_RES_TIMERS=3Dy >> +CONFIG_TASKSTATS=3Dy >> +CONFIG_FIT_IMAGE_FDT_EPM5=3Dy >> +CONFIG_BOARD_EYEQ5=3Dy >> +CONFIG_PHYSICAL_START=3D0xa800000808000000 > > ^ I still think by doing this you are risking overriding starting address > for all other generic systems. make 32r6_defconfig will load config files > of all boards. I think at a point you mentioned a way to remove the eyeq5 config board from the 32r6_defconfig. It would be indeed a good solution. > > Perhaps just provide an eqm5_defconfig will work better? So you mean a defconfig in direclty in arch/mips/configs/ and not anymore in arch/mips/configs/generic ? Gregory > > Thanks. > --=20 > - Jiaxun --=20 Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com