From patchwork Tue May 22 00:30:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 917943 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-pci-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="YG0dxIjp"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40qc4V1Tdmz9s1b for ; Tue, 22 May 2018 10:30:33 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751645AbeEVAab (ORCPT ); Mon, 21 May 2018 20:30:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:37088 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751549AbeEVAab (ORCPT ); Mon, 21 May 2018 20:30:31 -0400 Received: from localhost (unknown [69.71.5.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 951D12086E; Tue, 22 May 2018 00:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526949030; bh=bZvSYCK5YNBw/vvTCZnG4whoorQczJvJmL+xcd0kbh4=; h=Subject:From:To:Cc:Date:From; b=YG0dxIjpK/dSTJdIpKg7b3NNSVrx4KvPjGGqtWOUJTEt3YyU/CArD5H5K3e+xVd7W YWaeGVP5aL0QZUP78yUudCa3POOf2+wneaeki+UxmPl+qJBuNGnR86BS7D4wWm+ztD uAhNVqSamYJ3jtYFYUDb+Ue/xDOnepaxME2uZvN0= Subject: [PATCH v1 0/4] sparc/PCI: VGA resource and other fixes From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: linux-kernel@vger.kernel.org, "David S. Miller" , Meelis Roos Date: Mon, 21 May 2018 19:30:29 -0500 Message-ID: <152694888798.59585.8779818482732387864.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.18 MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org The main thing here is the first patch, a legacy VGA framebuffer fix for issues reported by Meelis. The others are to converge the pci_enable_device() path for LEON and PCIC with other arches (including sparc64), and to convert some logging to use dev_printk() and make it more consistent with the PCI core. I propose to merge these via the PCI tree. --- Bjorn Helgaas (4): sparc/PCI: Request legacy VGA framebuffer only for VGA devices sparc32/PCI/LEON: Converge device enable path sparc32/PCI/PCIC: Converge device enable path sparc/PCI: Use dev_printk() when possible arch/sparc/kernel/leon_pci.c | 62 ++++++------------ arch/sparc/kernel/pci.c | 136 +++++++++++++++++++++++++--------------- arch/sparc/kernel/pci_common.c | 31 ++------- arch/sparc/kernel/pci_msi.c | 10 +-- arch/sparc/kernel/pcic.c | 86 ++++++++++++------------- 5 files changed, 159 insertions(+), 166 deletions(-)