Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1370711ybi; Thu, 30 May 2019 16:36:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqznmlS0Z7awqcMN27RQRc4LGY3UQJND6nG8vBSp7qZDQn8jagehp4MoqySSdqYWTdwbOw5h X-Received: by 2002:a62:38d3:: with SMTP id f202mr6328438pfa.41.1559259365968; Thu, 30 May 2019 16:36:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559259365; cv=none; d=google.com; s=arc-20160816; b=w7jDJWU5D6DQu+TTTR5FxTdQiePmTZadPVXnLWuHqI4pxuoKb3TJlpcAmKAe2lTD4c Llo6jdXVt8+tGsXNkG2gwtqliCd3TSE1IuMpcNOWBfmeFfLnRyy22A+RMm6XyijVWOlt RJ74l5I2/IgjVToVvsH2E1r6L5CzfBAYQWEQ4dl+hZ1UEfTHNoZnCC+dQZW14R28gqu0 uoWRwPIW9GIF5wRHG4t6Q294VbBIlsjLfGUJVKyQKko0lSiXUAuDg5wx7/dK0QtaFQi3 DNxBRNmLbYtCvHzhoRCUx02GbtTO2Qb9bPvtVNJk9+Bs5OvcJnkOR7VwjHx85VgEBgY7 U9NA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Hz3TUVy+fk7QzxStO7gYvUeaWeWPlTOz3axkOG534dE=; b=TkWzZwW3szP1sbbghRLdhYKLrbtUpZNquZTwomtmt7We8KZ4FxYy1oPyIXJmGoQEUQ wZYAIy3KPH60T9RS2PLlB28IKIWIjpMep+GxcJirf8mULb6hat2PnNNoLaRVD7hHzFme qXKLVVz8fX1YRJXYL5+PJAhyMUrLrlvgjODvXG/tkWJKtwnzGvxV3BGquy0gfcLvnb+S jHS8hhOl4OuseBpJsKePHpmQTrLAwHJCUu90rnd7x/A0nhQVzZ20airMEz4jvRmPPUbG H8NwcLofviW0OrxRZUk+RwAp/QxxFf8uX2eX2FwIKqW6fxDL2xjPOpUGgw2jiG7MU8Xh 3TsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=g803IyKm; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y26si4176313pga.168.2019.05.30.16.35.47; Thu, 30 May 2019 16:36:05 -0700 (PDT) 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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=g803IyKm; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726498AbfE3Xee (ORCPT + 99 others); Thu, 30 May 2019 19:34:34 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:50764 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbfE3Xee (ORCPT ); Thu, 30 May 2019 19:34:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Hz3TUVy+fk7QzxStO7gYvUeaWeWPlTOz3axkOG534dE=; b=g803IyKm/XCD6t3YsBtwE8rEE j/thrRuF9f8ZHHnpNh/TarPKtCum7k3InzE+013q9567uwQylEqGn37vRHeT3g7F9qFMaJIZbuMcM HOSDmJnT8wrOm27JeNAS2D3nk5OsHDaku302gd2MMaREbkwRVWm6z7glIXn20QyfIy5WFACfEYFm0 H9RaEi2NfBNdrV5S15lLx13lcyYBFmq66e4XDQdHsvFZgmB9R7wrllofDc12c7L38f+X+ugELMGau cHcDmdagjJ2jIqQsFKWiECT4Yx9h0+CLes44vyhY/ArRX+qFaa3LRzRNcfm5AnDhIivVUQnZdYKYD qu6DNfcDQ==; Received: from shell.armlinux.org.uk ([2002:4e20:1eda:1:5054:ff:fe00:4ec]:38386) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1hWUZ3-0005ia-VJ; Fri, 31 May 2019 00:34:30 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.89) (envelope-from ) id 1hWUZ1-0005nP-UE; Fri, 31 May 2019 00:34:27 +0100 Date: Fri, 31 May 2019 00:34:27 +0100 From: Russell King - ARM Linux admin To: Florian Fainelli Cc: marc.zyngier@arm.com, Catalin Marinas , Will Deacon , open list , Shaokun Zhang , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 0/2] arm64: smp: Include smp_plat.h from smp.h Message-ID: <20190530233427.qbaa76ukbzuuic22@shell.armlinux.org.uk> References: <20190530230518.4334-1-f.fainelli@gmail.com> <20190530231735.n7so5mhec72xjmhm@shell.armlinux.org.uk> <43c5568f-b230-0ed2-e810-7870703b54f0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43c5568f-b230-0ed2-e810-7870703b54f0@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 30, 2019 at 04:20:37PM -0700, Florian Fainelli wrote: > On 5/30/19 4:17 PM, Russell King - ARM Linux admin wrote: > > On Thu, May 30, 2019 at 04:14:28PM -0700, Florian Fainelli wrote: > >> On 5/30/19 4:05 PM, Florian Fainelli wrote: > >>> Hi ARM64 maintainers, > >>> > >>> This patch series aims at enabling irq-bcm7038-l1.c on > >>> ARM64/ARCH_BRCMSTB, this driver makes use of cpu_logical_map[] and in > >>> order to avoid adding a CONFIG_ARM64 conditional inclusion of > >>> smp_plat.h, instead smp.h includes smp_plat.h, which is in turn included > >>> by linux/smp.h. > >>> > >>> If you like the approach, I would suggest to carry that through the > >>> Broadcom ARM64 SoC pull request for 5.3. > >> > >> ARM (32-bit) needs the same thing kind of thing so a conditional include > >> may be appropriate after all... > > > > The whole idea of the smp_plat.h vs smp.h separation is to avoid > > including lots of arch-private stuff in the rest of the kernel > > build, thereby exposing arch-private stuff to the world. I'm be > > opposed to that. > > I was on the fence, sent it just in case, but ended up doing this: > > https://lore.kernel.org/patchwork/patch/1082410/ > > will take patch #2 through the Broadcom ARM64 SoC tree once this patch > above gets accepted. Well, there's another alternative: we move just what is required from smp_plat.h to smp.h. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up