Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1519186imu; Thu, 13 Dec 2018 17:14:15 -0800 (PST) X-Google-Smtp-Source: AFSGD/XADA8FMR144cVsQUz4vB3SZoBAEN5jEknZJMc4BjAihnzZBncA2MQa94LiCYFad4IUkLVr X-Received: by 2002:a63:9843:: with SMTP id l3mr841179pgo.413.1544750055710; Thu, 13 Dec 2018 17:14:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544750055; cv=none; d=google.com; s=arc-20160816; b=tgNq9fYmaO8zJTzY7mlAZYm9DjmYYAZKATYG2Bk9p2SrkvVg7JNZHLObv0OhSIyHDj zv89LVBXb0pwx1jwK+cnEOSUPvjuNR4JvGSOqVqzGt8rJD1Ycsi+Pf2X13in41t4Skt/ fPkgVYewXziLcR2mOXQIbdHBezXEZlTN8Wty6hdeG8S8H6QhUsNc6K5vgP5bYB6uOx5Y 6DNh/cSdeQfyvnb1yCnEXMT6Rzy2zVqMegXBHegWvTKR/XtiYLG9udNctKJWxQvZyU4b yujyOIvehSfxeZxZVTcHesZgRH3XmKcUClatTay2sIvodWdwypRe+16J2g3B+PgspioA OOrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MCz/DPWllEsAYilhdF6USxgmyYgReoyVknm8xAItdik=; b=SSzjv/ji+adBTTr97FHLqInl43CbKMwuhzxVg3jo7bilPDoj6h08RBTDXQcPQEJSZQ MIuDlm9NLmI8SfE58PYBTMoU1GVpGGps0gnSSsy9Bl3/z39rottR1Uhp91LIdkDV7mpB 3TYZzj/s4tiFL5xmetFw37+Cgl2sp2z0ePmorQBX3/uq6CrXmdq4+Mg5fjuDjbZe+2h/ YicWNsZbpr8QGe//Ythte3FLNdcHaqTYrOwqwqwsd+yzUc4kPr5nOAI/nIWfwQtUyPlN qgjRIJ+81pMLRjVzL3LnNRq3cEC7njZBOAT24O8DOYDc+T4k4ikZ9YBh/ufJjgjofhi6 hBmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=syBJRFhf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31si2865540plh.274.2018.12.13.17.14.00; Thu, 13 Dec 2018 17:14:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=syBJRFhf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728625AbeLNBNN (ORCPT + 99 others); Thu, 13 Dec 2018 20:13:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:53008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727654AbeLNBNM (ORCPT ); Thu, 13 Dec 2018 20:13:12 -0500 Received: from dragon (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B876A2086D; Fri, 14 Dec 2018 01:13:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544749992; bh=kWN4p+VyR38OOySBnD3pOw0g5JOZk1nwfMiBgOWd6w4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=syBJRFhf29yt6g88NnAumeFUqsGsJpnxduVywB5JZr7K92Qrs5Hj/rsyejPEQrY8F 66FC8ToVka+Ye9G3gyRySmqgFtWEiRidiRYPxbeqv2DXX2Z5A4DUH/IB+xBCg//EG3 RqhWy99glvoyXlCWPtgebjH8s3UDeTmhtkCqCbaA= Date: Fri, 14 Dec 2018 09:12:09 +0800 From: Shawn Guo To: Abel Vesa , Lucas Stach Cc: Stephen Boyd , Aisheng Dong , "linux-clk@vger.kernel.org" , Pengutronix Kernel Team , Olof Johansson , "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List , dl-linux-imx , Rob Herring , Will Deacon , Fabio Estevam Subject: Re: [PATCH 1/3] arm64: Remove CONFIG_SOC_IMX8MQ and use ARCH_MXC instead Message-ID: <20181214011207.GB13243@dragon> References: <1544707047-4417-1-git-send-email-abel.vesa@nxp.com> <1544707047-4417-2-git-send-email-abel.vesa@nxp.com> <1544711727.3137.32.camel@pengutronix.de> <20181213145149.6hyyhi6hxdzvikl4@fsr-ub1664-175> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181213145149.6hyyhi6hxdzvikl4@fsr-ub1664-175> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 13, 2018 at 02:51:50PM +0000, Abel Vesa wrote: ... > > > diff --git a/arch/arm64/Kconfig.platforms > > > b/arch/arm64/Kconfig.platforms > > > index 7e1545a..318dbb9 100644 > > > --- a/arch/arm64/Kconfig.platforms > > > +++ b/arch/arm64/Kconfig.platforms > > > @@ -148,14 +148,6 @@ config ARCH_MXC > > > ? ??This enables support for the ARMv8 based SoCs in the > > > ? ??NXP i.MX family. > > > ? > > > -config SOC_IMX8MQ > > > - bool "i.MX8MQ support" > > > - depends on ARCH_MXC > > > - select ARM64_ERRATUM_843419 > > > - select ARM64_ERRATUM_845719 > > > - help > > > - ??This enables support for the i.MX8MQ SoC. > > > - > > > > NACK on this one. Having a single place where stuff that is absolutely > > critical for proper SoC operation can be selected is very useful and > > avoids hard to debug issues due to slightly wrong configs in the long > > run. > > As mentioned in the cover letter, please ignore this patch set entirely. > The ARCH_MXC is actually used on arm32 too, so it won't work. > > I'm working on a patchset that will add the Kconfig into > drivers/clk/imx/ and in it will add CLK_IMX8MQ. That will > fix the clock dependency since the CLK_IMX8MQ will depend on > ARCH_MXC and ARM64. I believe the CLK_IMX8QXP will follow > the same pattern. > > As for the SOC_IMX8MQ, all the other vendors have one single > config for all the arm64 platforms. TBH, to control every SoC > independently it's a little bit of an overkill. Lucas, We are still waiting for further comments from Olof [1]. But it sounds like SoC specific option is not welcomed on ARM64. Shawn [1] https://patchwork.kernel.org/patch/10727453/#22378669