From patchwork Wed Feb 5 06:53:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3584691 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A67E09F3EA for ; Wed, 5 Feb 2014 06:53:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D0FDE201BA for ; Wed, 5 Feb 2014 06:53:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 623582018B for ; Wed, 5 Feb 2014 06:53:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932249AbaBEGxA (ORCPT ); Wed, 5 Feb 2014 01:53:00 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:60884 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932240AbaBEGwZ (ORCPT ); Wed, 5 Feb 2014 01:52:25 -0500 Received: by mail-pa0-f45.google.com with SMTP id lf10so9525472pab.18 for ; Tue, 04 Feb 2014 22:52:24 -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=wQnngQW0w8zv7CcvzzOeNsYb9Fk09oVHjxr3R4Sv+Fbpt8qT0LdSHdTgDIqYTYoiQW Iq/9wOwMtD6mL32ghrlZUFaYvpdrzyfzZzVDy+Vu8TMDXBj1XlnfZkv9bCEPwMtipS5V CNt5imgF1q0+Ag5lauJCyBjq1sdZWBGlTJaJs6B+p6pVZ2mQRKH+XAmKGO+YypdcJbER ZFirDMzKvQfsb7cVIRsqSyM1hCfjxp2pNr5YfBk1di2qsG/fkEXcM8ht+dfMiF9+wUGs V/F+AELSvRKOngsC1DnIHsIir4CdHATaZ5/gaHvnFC2yaMzFxVP6LJfCQpXNRVvOus82 7nhA== X-Received: by 10.66.66.234 with SMTP id i10mr48580907pat.127.1391583144775; Tue, 04 Feb 2014 22:52:24 -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 oa3sm73028064pbb.15.2014.02.04.22.52.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Feb 2014 22:52:23 -0800 (PST) From: Magnus Damm To: linux-pci@vger.kernel.org Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, valentine.barshak@cogentembedded.com, horms@verge.net.au, bhelgaas@google.com, Magnus Damm , ben.dooks@codethink.co.uk Date: Wed, 05 Feb 2014 15:53:34 +0900 Message-Id: <20140205065334.29445.56887.sendpatchset@w520> In-Reply-To: <20140205065243.29445.76593.sendpatchset@w520> References: <20140205065243.29445.76593.sendpatchset@w520> Subject: [PATCH 04/04] 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