From patchwork Tue Feb 18 02:11:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3666621 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C59D6BF13A for ; Tue, 18 Feb 2014 02:11:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E7DC6201D3 for ; Tue, 18 Feb 2014 02:11:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 00578201C7 for ; Tue, 18 Feb 2014 02:11:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754385AbaBRCKj (ORCPT ); Mon, 17 Feb 2014 21:10:39 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:46782 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754369AbaBRCKh (ORCPT ); Mon, 17 Feb 2014 21:10:37 -0500 Received: by mail-pa0-f47.google.com with SMTP id kp14so16054931pab.20 for ; Mon, 17 Feb 2014 18:10:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=ydub5TmmiVzqYKB/+ZlA8RpUYubgNZ0uASoFLVujcLw=; b=kJZmtULqE28vCHMp3CDAkLnSieS6QZp1OSaACsPkrUBHMzKQFMu2juOXDcYBKYLraY F+EqRqvOsxAiThFnxLUzI1y9f08qTt+A2vV09eht5SS+Dz62I7/q51LGbsnTwMFFlpbj +g3RpwAL6QB+fJcuXUXtZyHzaXHqDzqWxmW64BEY6T8H0ZQ6yrlNyLTXApSuUWJlDZV5 e9Re8KEjGV5AQWoGBev/jUzIM5w3zGZoZWlxyD2xO0rYsdjfq/9ToDGxfOdFZbMvkIDg 93XzrmawqyPA8dKWN25GX0fSt0hey/3GAHXcEsKacBcoCjAPR9QBxyEqoXJtRr1fwW5E mkeg== X-Received: by 10.68.163.197 with SMTP id yk5mr29968027pbb.57.1392689436912; Mon, 17 Feb 2014 18:10:36 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id qw8sm50293193pbb.27.2014.02.17.18.10.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Feb 2014 18:10:35 -0800 (PST) From: Magnus Damm To: linux-pci@vger.kernel.org Cc: horms@verge.net.au, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, valentine.barshak@cogentembedded.com, ben.dooks@codethink.co.uk, geert@linux-m68k.org, bhelgaas@google.com, Magnus Damm Date: Tue, 18 Feb 2014 11:11:51 +0900 Message-Id: <20140218021151.14164.51263.sendpatchset@w520> In-Reply-To: <20140218021041.14164.56411.sendpatchset@w520> References: <20140218021041.14164.56411.sendpatchset@w520> Subject: [PATCH 07/08] PCI: rcar: Enable BOUNCE in case of HIGHMEM Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Select BOUNCE in case of HIGHMEM to enable bounce buffers in the block layer. Without this patch the DMABOUNCE code will error out due to lack of HIGHMEM support, and without DMABOUNCE there will be silent errors. Signed-off-by: Magnus Damm --- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0009/drivers/pci/host/Kconfig +++ work/drivers/pci/host/Kconfig 2014-02-04 16:11:27.000000000 +0900 @@ -30,6 +30,7 @@ config PCI_RCAR_GEN2 depends on ARM && (ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST) select GENERIC_ALLOCATOR select DMABOUNCE + select BOUNCE if HIGHMEM help Say Y here if you want internal PCI support on R-Car Gen2 SoC. There are 3 internal PCI controllers available with a single