From patchwork Tue Oct 1 16:04:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 174892 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp8755684ill; Tue, 1 Oct 2019 09:07:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhaFBnvJWv3ovZwn7VdQ6GjqlsTtJQN794JDsZgi1hCfLSFedRVlgvnHf2b4O0Z1jvcJFK X-Received: by 2002:a1c:cb83:: with SMTP id b125mr4617667wmg.43.1569946078303; Tue, 01 Oct 2019 09:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569946078; cv=none; d=google.com; s=arc-20160816; b=Pos3MOr5vT0n6jHQoCV4R2zcBSggG6tGHVVSAHWnQgDpJbQWout4Pg5VKmbeksLcHK Tc0K9m/1LYbuEZVjBvLMKkN21zrlJZssre3eQRRJV5HUijTwhCioUYMZat6WxPO4LD38 YiyP1BVFwF47cHeqva+PN8EpSvSi4wdAVk3RkpF73Tt0ehZLwtTTi4NXK2jBToWea/OX XvSWQkfL8RCrggUiPDmo7w0uuA8vDmbj+WaKoduC3g1VM4U0QF6xzeDDQWUjvLhCuC0r Gv9qsKVirzavfIDTZSRkVtcHlag5W0CPWJkLYOXyWiZOaJGFsa1Jh9i7cau9VdxBmHxG S3JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=p0999uxYXtLmPWOkGpoEI+ni8yBRTqeTlosg1y2QpKk=; b=JqcwSYv6IQn9fGMt3cK7eb/azQgIUdH2+oIs75M0YWnqU1W5PMSGAUeVBffftzFQyA yIeBlIRDh+lS+9QAkKWpdYeLzp+s2v84VScZUFs5PR29TmqqNsnHW4v8/XZZ8IT5WBlx BTFmGn55TcGsMaPAOWfdyMr9FkCAc2jsr2j8Lvlarpy66fw+zYSuZLbkFFgynOa+8jQV eYQ6iDFRnrpSEiMRHb0VFwDGxnzvTzGlNLpXKnt/pfm2hfELakEcZHpW2FIPTWJq6dzM j6ZyqLFPmq6id115GcySy3bc3PbivyeX0JSj+Cd/3O7v4VomcHc4AlH/3UFryhwXEy7a WsKg== ARC-Authentication-Results: i=1; mx.google.com; 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 l15si8694524ejz.74.2019.10.01.09.07.58; Tue, 01 Oct 2019 09:07:58 -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; 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 S2389831AbfJAQHv (ORCPT + 27 others); Tue, 1 Oct 2019 12:07:51 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:44562 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1733279AbfJAQHs (ORCPT ); Tue, 1 Oct 2019 12:07:48 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 70DFC3FA71A0965C69C2; Wed, 2 Oct 2019 00:07:45 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.439.0; Wed, 2 Oct 2019 00:07:15 +0800 From: John Garry To: CC: , , , , , John Garry Subject: [PATCH 3/3] bus: hisi_lpc: Expand build test coverage Date: Wed, 2 Oct 2019 00:04:27 +0800 Message-ID: <1569945867-82243-4-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1569945867-82243-1-git-send-email-john.garry@huawei.com> References: <1569945867-82243-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently the driver will only ever be built for ARM64 because it selects CONFIG_INDIRECT_PIO, which itself depends on ARM64. Expand build test coverage for the driver to other architectures by only selecting CONFIG_INDIRECT_PIO for ARM64, when we really want it. Signed-off-by: John Garry --- drivers/bus/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index 6b331061d34b..44cb4b6bea18 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -41,8 +41,8 @@ config MOXTET config HISILICON_LPC bool "Support for ISA I/O space on HiSilicon Hip06/7" - depends on ARM64 && (ARCH_HISI || COMPILE_TEST) - select INDIRECT_PIO + depends on (ARM64 && ARCH_HISI) || COMPILE_TEST + select INDIRECT_PIO if ARM64 help Driver to enable I/O access to devices attached to the Low Pin Count bus on the HiSilicon Hip06/7 SoC.