From patchwork Thu Feb 13 03:04:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3641951 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 1EEAFBF13A for ; Thu, 13 Feb 2014 03:03:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5632D20145 for ; Thu, 13 Feb 2014 03:03:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 799B62015D for ; Thu, 13 Feb 2014 03:03:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753047AbaBMDDE (ORCPT ); Wed, 12 Feb 2014 22:03:04 -0500 Received: from mail-pd0-f177.google.com ([209.85.192.177]:39241 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753026AbaBMDDB (ORCPT ); Wed, 12 Feb 2014 22:03:01 -0500 Received: by mail-pd0-f177.google.com with SMTP id x10so9857190pdj.36 for ; Wed, 12 Feb 2014 19:03:00 -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=wdzSqG/PEFcRpdv3wIa3g/Vwe+qSqjFtaVxqywcdt2WQgwX/YYyvFLSGxuInW8kgG1 F4nRuNDllDy1xPUBICIPGpH0o5xnWJluW0B7J9Erl0mq6W6pENglZAg/uzTYPhACg81H B1dsk+GShWmdFLN7lMvsE9H4cjYJ/pvx15E56DvXXkcYR77FQdm7yMVjQhmPRzBD7zDm eGqsIiouXC4aNImn6kk2vP0NzzmWxe3dolDZq5cNZwx/K9CnoDx4DVjoyJDWj3LrXqUQ OTAeeSusYqixPpJMwtWn8fy7U0AlBAJX73Dc/8qYjuE37bQXwZn+MquRFL5rvzf4dXY1 AFhw== X-Received: by 10.66.129.169 with SMTP id nx9mr42962086pab.130.1392260580602; Wed, 12 Feb 2014 19:03:00 -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 ns7sm987405pbc.32.2014.02.12.19.02.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Feb 2014 19:02:59 -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: Thu, 13 Feb 2014 12:04:13 +0900 Message-Id: <20140213030413.10398.20246.sendpatchset@w520> In-Reply-To: <20140213030302.10398.37322.sendpatchset@w520> References: <20140213030302.10398.37322.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.4 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