From patchwork Wed Jul 19 01:28:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Axtens X-Patchwork-Id: 9850245 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BCF6C602C8 for ; Wed, 19 Jul 2017 01:29:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABC24285BA for ; Wed, 19 Jul 2017 01:29:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D5CC285CD; Wed, 19 Jul 2017 01:29:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31381285BA for ; Wed, 19 Jul 2017 01:29:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752191AbdGSB34 (ORCPT ); Tue, 18 Jul 2017 21:29:56 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:36100 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751560AbdGSB3z (ORCPT ); Tue, 18 Jul 2017 21:29:55 -0400 Received: by mail-pg0-f66.google.com with SMTP id y129so4856383pgy.3 for ; Tue, 18 Jul 2017 18:29:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PNwllXDNCs6oYz9+PPS0l1xyE62Wtf9OU1ibrXasOxo=; b=OjUSTbHqCmoQy0gPLBBdYTEVOnjpkS9/991PYjyLymGqKGXjET1h/s3V3Nh7xawyM5 veR0aHwQKlq3OjlHjIz8J/6JqELno2HamthyrSw1edBplgEV5/XwxnsVkfGU4LG1QkAj 4qsisLLTr1UOXG/1a+/6JPU+7G+WlCVhv92uQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PNwllXDNCs6oYz9+PPS0l1xyE62Wtf9OU1ibrXasOxo=; b=eVh1Tzx6JB2NSwekBlxhhA1OPvD+bsJER4OZi/Nlw5d8b7naRB4Ka0zR4onDBTpfOk rMlF+7Iv/VeTOUdlLbGRFH2NvCM7h8b2VRFMYTTIdOjLucyhzTCdoSECYvOFsa1uAxvC ENltlr9HE9Ubl540hmjQjj/QEopSNZFNdPEQMBhEmhj2u7hjXWpOeuXubplyV0gXtbA1 b/ZSatpro1AksOBNjUljr9zXBBWoHQwCqjyT2Bhdn2RHmgqvx5XQwAp0/PGicHNLLtdG sClSk189n31i/98+K/4exlreLfLfU93a/2ArHuZqfZXyNwlfHzmg1aWAMFyde3zXz1fT cQ6w== X-Gm-Message-State: AIVw113UngzMyuHtwNlctI/1URgA+bShSzjR93OH7kFuFRG3orM6ruqa sS5aQpV/Z+MlnAqSwXEj8Q== X-Received: by 10.84.215.129 with SMTP id l1mr405054pli.275.1500427795257; Tue, 18 Jul 2017 18:29:55 -0700 (PDT) Received: from localhost.localdomain (203-59-51-51.dyn.iinet.net.au. [203.59.51.51]) by smtp.gmail.com with ESMTPSA id n90sm7582401pfk.105.2017.07.18.18.29.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 18:29:54 -0700 (PDT) From: Daniel Axtens To: linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Cc: benh@kernel.crashing.org, z.liuxinliang@hisilicon.com, zourongrong@gmail.com, catalin.marinas@arm.com, will.deacon@arm.com, gabriele.paoloni@huawei.com, helgass@kernel.org, airlied@linux.ie, daniel.vetter@intel.com, alex.williamson@redhat.com, Daniel Axtens Subject: [PATCH 4/4] arm64: allow non-legacy VGA devices to be default Date: Wed, 19 Jul 2017 11:28:39 +1000 Message-Id: <20170719012839.20124-7-dja@axtens.net> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170719012839.20124-1-dja@axtens.net> References: <20170719012839.20124-1-dja@axtens.net> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The VGA arbiter only marks a device as default if it can decode legacy I/O and memory ranges. This is often not the case on arm64, which doesn't use the legacy ranges. Enable the VGA arbiter to mark the first enabled VGA card as default. Signed-off-by: Daniel Axtens --- Tested on a D05 using the hibmc card. --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index dfd908630631..cefcbd442e4f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -28,6 +28,7 @@ config ARM64 select ARCH_SUPPORTS_NUMA_BALANCING select ARCH_WANT_COMPAT_IPC_PARSE_VERSION select ARCH_WANT_FRAME_POINTERS + select ARCH_WANT_VGA_ARB_FALLBACK select ARCH_HAS_UBSAN_SANITIZE_ALL select ARM_AMBA select ARM_ARCH_TIMER