From patchwork Mon Oct 28 12:10:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 177906 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3305383ill; Mon, 28 Oct 2019 05:13:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMPXGyo+oOtBwj2hspoXQnYhU/qqrXvvAfOXQ8FrYtCik15+TW3cR5htbeqaS9jByVb3kt X-Received: by 2002:aa7:d658:: with SMTP id v24mr19167647edr.301.1572264803755; Mon, 28 Oct 2019 05:13:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572264803; cv=none; d=google.com; s=arc-20160816; b=fa23ct9PGQJoKB0hurGB/yjj3pTN4+WnJtVvwfxPwRpqRYJ7nbzDdvehEHOdfq1aee eZLXMZhmVE0g6Rr9n0GEesnO80ssI6l5O7Q+O6pkKt/aoKmSUcDzgFMmOL1zplt9coKL AmqCJXX35sLbSY9LG/7G6Rx6aM28upSUY5noZKoBWxBRE3jEGuZqWsQnVt9gQwVnc4jo G6JeEKN4VDUgflD9OAz60nK3/IwI8W8eYaEkttj6yHOZ31ffXmb8hX9RN/Xpr5IC53qj rs3DTFVE4Lqj1d9ga1GcShRDxRJ2mktqoPpPrOSKIAIaZdjEd/7KY1hLn9NMWDtJQOQ2 h9gg== 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=r2vCf0ns+B3MoyXFTT7e8BezAj2n7tPkLa/YSuLRSbtjw96B5OuhCMlCqqBX1dvKN1 wsOvdV2xTM+eKzfL0QbF+lepjwimuZpaTYtMOnzgYm9Tms3BGguetmGV/OGh/d/3Ya39 Gf/45GeFtWLxQfGRoZfI1/Zu2UjjzL4Utplu5SAz7MVVI3q3metnmpg2oIV22A5ECzKD 0dEWYVLdbhFPK3DCHR1yu2NkFHXlhQ+ZrFs7uy9WZuL5m5OfTI5MlCTmzytFh1+vq5cj zQk4uP/cZ0VSpdrq/jFyyhIMK2QlUMKSNvgKCyb3Hot9gqbYPNLGSg+pQqJmvB2TmLut sZ5Q== 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 b50si7315256ede.28.2019.10.28.05.13.23; Mon, 28 Oct 2019 05:13:23 -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 S2388984AbfJ1MNV (ORCPT + 26 others); Mon, 28 Oct 2019 08:13:21 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:37108 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727085AbfJ1MNS (ORCPT ); Mon, 28 Oct 2019 08:13:18 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 236A86C4144E00DC386E; Mon, 28 Oct 2019 20:13:15 +0800 (CST) Received: from localhost.localdomain (10.69.192.58) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.439.0; Mon, 28 Oct 2019 20:13:06 +0800 From: John Garry To: CC: , , , , , John Garry Subject: [PATCH v2 4/5] bus: hisi_lpc: Expand build test coverage Date: Mon, 28 Oct 2019 20:10:04 +0800 Message-ID: <1572264605-172363-5-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1572264605-172363-1-git-send-email-john.garry@huawei.com> References: <1572264605-172363-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] 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.