Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3198513imu; Fri, 23 Nov 2018 23:55:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/V1L8htRx0hfV4hktcl/8EkDcBjtTCf1JS/p0n7XdohrC4vh1OVQTI/n6OXT22j6p32er6+ X-Received: by 2002:a63:26c1:: with SMTP id m184mr16058362pgm.367.1543046126453; Fri, 23 Nov 2018 23:55:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543046126; cv=none; d=google.com; s=arc-20160816; b=WxXyVZhQyFZgOvMjaTsTwCiDmX1qJTXPE4HR5G2oQmbDcrxRCNQjseGgSsRoPKSbQV Zgv/8bsqWu66GS/H/ekkkqNBrqjXPyr01l5zKyRrQGL6ZBRUqZoaM+M6ch/bCjNWBkQr +3+ZA9kIxTEadF/eMgyN2CN26fMQBwyqmTH+H0dOspYeDHRbGioWjw/mPRHbE/E782bP W9FIBKTDrqPHfDQQ39XtUsou2QJD91TE9cpQWg9vUMiIQWjuG762ljykDZgm1z6ihmFL v1WqB8NNpH7rZERWxV7MJpRzxlCv3OgwdgB3+Mwmvxo/YrKiR1FbNpabawRftDcbZTnK cV4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=rOnl2xHenEB34XvFlsbt4tdAlicrEGa19eMCQMOc4l8=; b=LMQp96JtRi8zPuL9JpXoCMYFydLRYDKnUhKgp/ipA46WfYEouBMoQIWZcguEBoW6Gy XgjELhniBLyWsFtrWtdgXnYUdtUZbPRoiXOCDpslf7+p2Ei8wAbZN5Bn5sn+C5sBYx40 lUKssP90eIp+OaV2vIuXy3V8tGUW/YgPXP5dwQD01uLZRN/s1SfyvC2EE5uxFjYQ8xoH g16JFgAi9cO9tc+dLpZ0hJ60tJoDtwm/R0zlQspfhPiIQDblJ8jl5H4cv10B8d+eziHs 14Uu8QYHWqKbyo4zSQ/T0bkwZIjLzJWM+q575csfdyWSebiTYyMdMuUn1C6t6X9HzMFi 8Qow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="uxXKKh//"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cb2si36796087plb.298.2018.11.23.23.55.12; Fri, 23 Nov 2018 23:55:26 -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=@nifty.com header.s=dec2015msa header.b="uxXKKh//"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439521AbeKWNUc (ORCPT + 99 others); Fri, 23 Nov 2018 08:20:32 -0500 Received: from conssluserg-05.nifty.com ([210.131.2.90]:19399 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727343AbeKWNUc (ORCPT ); Fri, 23 Nov 2018 08:20:32 -0500 Received: from mail-ua1-f51.google.com (mail-ua1-f51.google.com [209.85.222.51]) (authenticated) by conssluserg-05.nifty.com with ESMTP id wAN2c8vF016514; Fri, 23 Nov 2018 11:38:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com wAN2c8vF016514 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1542940689; bh=rOnl2xHenEB34XvFlsbt4tdAlicrEGa19eMCQMOc4l8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=uxXKKh//SYurRRN136VEZoWFvNIZmdy2tKDqWlbIS+ldFVkpUvP5Uk37hGHdRsnxg sdoiIoBK5fwQMm1FziauTF4tca5++E0iHi8ZOuHq44MOBvm/27nkC1RBwOvkm6IrM3 FMKKQktvfHqPCH9wIhMUGATWJbB3nh5ti4c7qRr2E5SQMWJRuAgOz0V6ewKxPt6awL yL5AbJhHV2x/SjH1ZhTFZz9H/ktPen1zUA6ket/yRCZPs3ZB0sHmR9Oc7QkHn4vLL5 FcutKg8jPKgC4yj5woBeoW6yl0jgZprlCcYq6MYgXfT/v/bSRjFE9RrWq7EckstGeP sSaI4uOnOLZfw== X-Nifty-SrcIP: [209.85.222.51] Received: by mail-ua1-f51.google.com with SMTP id u19so3665490uae.4; Thu, 22 Nov 2018 18:38:08 -0800 (PST) X-Gm-Message-State: AA+aEWYPSDH3FPTj7Z9jaSi3WWt6WQN+ALTr1kg+SMgFqnILMErcD02U 3cM8yTWAt3EnJA7fhxlq8Yv2ub+KPPj69wKEMt8= X-Received: by 2002:ab0:6705:: with SMTP id q5mr5908002uam.89.1542940687691; Thu, 22 Nov 2018 18:38:07 -0800 (PST) MIME-Version: 1.0 References: <20181115190538.17016-1-hch@lst.de> <20181115190538.17016-4-hch@lst.de> <20181119210141.nissqr6zaldt23xg@pburton-laptop> <20181119210538.p6xhyxf3s2diyv2v@pburton-laptop> In-Reply-To: <20181119210538.p6xhyxf3s2diyv2v@pburton-laptop> From: Masahiro Yamada Date: Fri, 23 Nov 2018 11:37:32 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/9] MIPS: remove the HT_PCI config option To: Paul Burton Cc: Christoph Hellwig , mporter@kernel.crashing.org, Alex Bounine , Dominik Brodowski , Linux Kbuild mailing list , linux-arm-kernel , linux-pci@vger.kernel.org, linux-arch , Linux Kernel Mailing List , linuxppc-dev , linux-alpha@vger.kernel.org, Linux-MIPS Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 20, 2018 at 6:07 AM Paul Burton wrote: > > On Mon, Nov 19, 2018 at 01:01:41PM -0800, Paul Burton wrote: > > On Thu, Nov 15, 2018 at 08:05:31PM +0100, Christoph Hellwig wrote: > > > This option is always selected from LOONGSON_MACH3X. Switch to just > > > seleting PCI from that option and definining LOONGSON_PCIIO_BASE based > > > on CONFIG_LOONGSON_MACH3X. > > > > > > Signed-off-by: Christoph Hellwig > > > --- > > > arch/mips/Kconfig | 11 ----------- > > > arch/mips/include/asm/mach-loongson64/loongson.h | 2 +- > > > arch/mips/loongson64/Kconfig | 2 +- > > > 3 files changed, 2 insertions(+), 13 deletions(-) > > > > > > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > > > index 8272ea4c7264..7d28c9dd75d0 100644 > > > --- a/arch/mips/Kconfig > > > +++ b/arch/mips/Kconfig > > > @@ -3040,17 +3040,6 @@ config PCI > > > your box. Other bus systems are ISA, EISA, or VESA. If you have PCI, > > > say Y, otherwise N. > > > > > > -config HT_PCI > > > - bool "Support for HT-linked PCI" > > > - default y > > > - depends on CPU_LOONGSON3 > > > - select PCI > > > - select PCI_DOMAINS > > > - help > > > - Loongson family machines use Hyper-Transport bus for inter-core > > > - connection and device connection. The PCI bus is a subordinate > > > - linked at HT. Choose Y for Loongson-3 based machines. > > > - > > > config PCI_DOMAINS > > > bool > > > > > > diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig > > > index c865b4b9b775..781a5156ab21 100644 > > > --- a/arch/mips/loongson64/Kconfig > > > +++ b/arch/mips/loongson64/Kconfig > > > @@ -76,7 +76,7 @@ config LOONGSON_MACH3X > > > select CPU_HAS_WB > > > select HW_HAS_PCI > > > select ISA > > > - select HT_PCI > > > + select PCI > > > select I8259 > > > select IRQ_MIPS_CPU > > > select NR_CPUS_DEFAULT_4 > > > > Should this also select PCI_DOMAINS to preserve the existing behavior? > > > > If not, could you explain why in the commit message? > > Ah, I see - PCI already selects PCI_DOMAINS. I think it would have been > worth mentioning OK, I added "PCI already selects PCI_DOMAINS" in the commit description. > but I don't mind if you don't think it a big enough > deal to respin the patch, so: > > Acked-by: Paul Burton > > Thanks, > Paul -- Best Regards Masahiro Yamada