Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755890AbbHYSs7 (ORCPT ); Tue, 25 Aug 2015 14:48:59 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:58320 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751315AbbHYSs4 (ORCPT ); Tue, 25 Aug 2015 14:48:56 -0400 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Suravee Suthikulpanit , bhelgaas@google.com, rjw@rjwysocki.net, lenb@kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, hanjun.guo@linaro.org Subject: Re: [PATCH V2 0/4] PCI: ACPI: Setting up DMA coherency for PCI device from _CCA attribute Date: Tue, 25 Aug 2015 20:48:24 +0200 Message-ID: <240091906.Gl2z931jjW@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1440524009-5359-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1440524009-5359-1-git-send-email-Suravee.Suthikulpanit@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:0miPIjgtWqpLgcIFJFua+WbcBTvBpf8FaKTYOsKE01YBF/mOA0P V+KijOhykBckY9Tt8NdTzunFpWXznp2e1L6yCu8V8m8/1I9u11WvrYeRTYyg1wP7tsvN3aq uCfaZTcdpGlaF3WLXr7PQ24nck3NBTQHqqSsvVLTgrFKTJyJz+wFJAIjxEr6Zh0R5zL6f1c Wu4UR4BGCYzk2qg7g6ulQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:I3ldKBlteOM=:H5ikLzkn4/taZOO1GN9pDj L2MRhRRe0iZoG92voJwfQBSKSTdCMyfCbcg5lujYJV+1ujNeHItyllPzKgNpl3Q09rSCQALJh brSpYTuGG591n974xvFWpD3K6nW6kg7N0X14WBPz2LZMne+HUMmlPFgEf7kFlcZO+Sqybc3l+ IpHh43vPtiPgJ0OIvSHXk3RUoPQ+HQ7AGH/S5DRInwV4ySvki4tmftW1mqu6rS5IafWZCG//0 aW+whVJbcHsqUXBIwPqEgp1YK4+ZwT3z3YaEinDupfBtJGClyJU6p6CRdqXnAneV/geXlcquM dkIxO2ufxHP07D5cwUEP5DGr8QG1lykrieOXHjknddttDAzdJHX1fjH2tGQKJ6sIVhviItUq5 CRQpxldAZxm+OM4/DEbSfceoU7nrLoXz/rjFLlgHqF41WmccLVAufFuctTqQcuug6lJMsT7u+ 7Hbuq8tuUmHkgWNrJhYjYFZ3ksal2rllwUe8i6RyvpjhpGyVFD/QKTS2SV0A0AV4+VLtLnf9T xzp+YfBtadVhkjjSdKicGqi6p+3GEwRBcvbSX6mHkAxTSUMQNIEBcKaJVdqt9uXZpe/IfhKDi Nrp4duBWV+ZRQE1m3How5QnmDIRmrNEvv55iHtLGog2DyxfnmTPLtB2ysKveM0DzfdUBcLSMw FH5CHWoNtQ7Z2i+H2xAKqCQc10UetvcYh58vu3ahwpykWUel0WEvsJhJKi5WpqEuSo+H5e2sB 2YNNYZBjvk5Lftg9 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 990 Lines: 21 On Wednesday 26 August 2015 00:33:25 Suravee Suthikulpanit wrote: > This patch adds support to setup DMA coherency for PCI device using > the ACPI _CCA attribute. According to the ACPI spec, the _CCA attribute > is required for ARM64. Therefore, this patch is a pre-req for ACPI PCI > support for ARM64 which is currently in development. > > Also, this should not affect other architectures that does not define > CONFIG_ACPI_CCA_REQUIRED, since the default value is coherent. > We only support ACPI on SBSA compliant platforms, and SBSA mandates cache-coherent PCI, so I don't think this is actually needed, just use coherent all the time and do WARN_ON(!CCA) to catch people that try to incorrectly use ACPI on a non-SBSA platform. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/