Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752125AbbLUWnr (ORCPT ); Mon, 21 Dec 2015 17:43:47 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:57287 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751566AbbLUWno (ORCPT ); Mon, 21 Dec 2015 17:43:44 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH V2 22/23] pci, acpi: Match PCI config space accessors against platfrom specific quirks. Date: Mon, 21 Dec 2015 23:42:18 +0100 User-Agent: KMail/1.12.2 (Linux/3.19.0-27-generic; KDE/4.3.2; x86_64; ; ) Cc: David Daney , "catalin.marinas@arm.com" , Gabriele Paoloni , "linaro-acpi@lists.linaro.org" , "linux-pci@vger.kernel.org" , "will.deacon@arm.com" , "okaya@codeaurora.org" , Wangyijing , "Lorenzo.Pieralisi@arm.com" , Tomasz Nowicki , "linux-acpi@vger.kernel.org" , "robert.richter@caviumnetworks.com" , "msalter@redhat.com" , "jcm@redhat.com" , "Stefano.Stabellini@eu.citrix.com" , "Liviu.Dudau@arm.com" , "bhelgaas@google.com" , "tglx@linutronix.de" , "mw@semihalf.com" , "jchandra@broadcom.com" , "rjw@rjwysocki.net" , "linux-kernel@vger.kernel.org" , "hanjun.guo@linaro.org" , "Suravee.Suthikulpanit@amd.com" , "jiang.liu@linux.intel.com" References: <1450278993-12664-1-git-send-email-tn@semihalf.com> <201512211510.32029.arnd@arndb.de> <5678370B.1030102@caviumnetworks.com> In-Reply-To: <5678370B.1030102@caviumnetworks.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201512212342.18960.arnd@arndb.de> X-Provags-ID: V03:K0:WuuX2yuMAywo4XeWd6TMNzzf0ieKYqTrlkL2ruETzOGEjmxXXEM u+58WTdMKjvN9hxSLXALsqBs6PqwlKKsKRS/7NIA4G8AjMfs1YSypPL3chbf5IVHsZcCJCk B6gyv2FyCPzRAY1iEpUEsoHu3DFh5WsraLUwVfhSiLoU576mEo+Rpj2aDmuJtbbvIyaewAI m+EKVQYz/ITnE9KNVqFYA== X-UI-Out-Filterresults: notjunk:1;V01:K0:mWpBK/WqwMI=:qW24HRkFO0DGM9VoLtg8mT dSvnbyQdxWWyEnDObrWj+k1Lxt/cBRSfcRi2YXd/VCkukT0Nld/+zDCUc+NWbHV8IAd9wbDHI BMtsFHDDL0720z7uvOvsloJAz7OXUifBQLRWtxN3x9KQ9SbS1fyDbkv3maZ5RFyPEHWzEI7Gw 2P83V5gXhxBy+v0/pXfw2sEK9KqtlWg6U/+x8ohl3/hUSGQZXrAbrmLaKpSstsXpISSiHToH7 xltk/j/bhe2vB7HPMfzcWpijTQxK1kzUOs1WSPSuTBqic6NWZIAshcWxWQuvmIMXc+cNPi1s2 fJIarU+lkw0peuppETPzE8kIvNhvlBEM+ea+oV+nQSkGJxVvaJX3djzFn3AYE5K/0Evc7/AOX BdedXScBIS9FAJR0x0EECTDvksRg80e479Lnx5V2T/oS7mbpaVKaOEaT3BPt1F+6jDxWIVDJV cgXLXYpxwbNRdURzfG6LafNbp9sxBE12oX30ttdVkG6rZkjlXppt1G9N36ckyWHxcqdPQdXMa ksC0KbUvfvo920RjnySN8zX8j2OCU9dS/ewe0II5XV1iHxzvVRaMia1wtZyPO6MtjmCVrM/Ue pjkUbmzW1lpUP4EEzcvAXXU0J8TpjsCInwsLHl50t5vSq10N9WEdSfoV90WGN2AsIYDnoYsap /UXHBdkAL6KHCvT9ODl5zGMnadfcNLdLuSPDjgepBAKPa4mWFYDOHch8AJkVlJ3+F48jsBFro NJFBYgbQcteIrGB/ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 969 Lines: 22 On Monday 21 December 2015, David Daney wrote: > On 12/21/2015 06:10 AM, Arnd Bergmann wrote: > > On Monday 21 December 2015, Gabriele Paoloni wrote: > > > or require the BIOS to work around the hardware > > quirks differently (e.g. by trapping config space access through secure > > firmware, or going through an AML method to be defined). > > Some systems don't seem to have this capability. For example, in ARMv8 > (A.K.A. arm64), I haven't been able to figure out how to trap these > accesses to EL3 for emulation. The specification is 5700 pages long > though, so perhaps I missed that bit. How about using AML then? This would be similar to what CHRP used with RTAS calls to do PCI config space access. 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/