[PATCH v2 4/5] ACPI: arm64: use the arch-specific ACPI _OSI method and ACPI blacklist

2015-02-03 Thread al . stone
From: Al Stone Set the defaults for the arm64 kernel so that the arch-specific _OSI method and blacklist are always used for ACPI. Signed-off-by: Al Stone --- arch/arm64/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 915aa16

[PATCH v2 2/5] ACPI: move _OSI support functions to allow arch-dependent implementation

2015-02-03 Thread al . stone
From: Al Stone Having moved the _OSI callback function needed by ACPICA from drivers/acpi/osl.c to drivers/acpi/osi.c, we now move all the remaining _OSI support functions to osi.c. This patch is much larger than I had wanted it to be; several of the functions that implemented acpi_osi* command

[PATCH v2 0/5] Start deprecating _OSI on new architectures

2015-02-03 Thread al . stone
From: Al Stone The use of the ACPI _OSI method in Linux has a long and sordid history. Instead of perpetuating past complications on new architectures, the consensus amongst those writing the ACPI specification and those using it seems to be to ultimately deprecate the use of _OSI. A change

[PATCH v2 3/5] ACPI: add arch-specific compilation for _OSI and the blacklist

2015-02-03 Thread al . stone
From: Al Stone Now that all of the _OSI functionality has been separated out, we can provide arch-specific functionality for it. This also allows us to do the same for the acpi_blacklisted() function. Whether arch-specific functions are used or not now depends on the config options

[PATCH v2 5/5] ACPI: arm64: use "Linux" as ACPI_OS_NAME for _OS on arm64

2015-02-03 Thread al . stone
From: Al Stone ACPI_OS_NAME is globally defined as "Microsoft Windows NT" for now. That doesn't make much sense in the ARM context, so set it to "Linux" when CONFIG_ARM64. If it is necessary to change the return value from \_OS_ (that is, return some value other than the def

Re: [Linaro-acpi] [PATCH v8 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-02-03 Thread Al Stone
on to explain why we need ACPI in ARM64 servers >>by Grant, and recommendations and prohibitions on the use of the numerous >>ACPI tables and objects by Al Stone. >> >> - Add two patches which is need to map acpi tables after >> acpi_gbl_permanent_mmap >

Re: [Linaro-acpi] [PATCH v8 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-02-03 Thread Al Stone
by Grant, and recommendations and prohibitions on the use of the numerous ACPI tables and objects by Al Stone. - Add two patches which is need to map acpi tables after acpi_gbl_permanent_mmap is set - Add another patch dt / chosen: Add linux,uefi-stub-generated-dtb property

[PATCH v2 1/5] ACPI: move acpi_os_handler() so it can be made arch-dependent later

2015-02-03 Thread al . stone
From: Al Stone al.st...@linaro.org In order to deprecate the use of _OSI for arm64 or other new architectures, we need to make the default handler something we can change for various platforms. This patch moves the definition of acpi_osi_handler() -- the function used by ACPICA as a callback

[PATCH v2 4/5] ACPI: arm64: use the arch-specific ACPI _OSI method and ACPI blacklist

2015-02-03 Thread al . stone
From: Al Stone al.st...@linaro.org Set the defaults for the arm64 kernel so that the arch-specific _OSI method and blacklist are always used for ACPI. Signed-off-by: Al Stone al.st...@linaro.org --- arch/arm64/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/Kconfig b

[PATCH v2 2/5] ACPI: move _OSI support functions to allow arch-dependent implementation

2015-02-03 Thread al . stone
From: Al Stone al.st...@linaro.org Having moved the _OSI callback function needed by ACPICA from drivers/acpi/osl.c to drivers/acpi/osi.c, we now move all the remaining _OSI support functions to osi.c. This patch is much larger than I had wanted it to be; several of the functions

Re: [PATCH v8 21/21] arm64: ACPI: additions of ACPI documentation for arm64

2015-02-03 Thread Al Stone
Much removed to cut down the size on this and to highlight a couple of specific sections pertinent to the ACPI on ARMv8 TODO List. On 02/02/2015 05:45 AM, Hanjun Guo wrote: From: Al Stone al.st...@linaro.org Two more documentation files are also being added: (1) A verbatim copy

[PATCH v2 3/5] ACPI: add arch-specific compilation for _OSI and the blacklist

2015-02-03 Thread al . stone
From: Al Stone al.st...@linaro.org Now that all of the _OSI functionality has been separated out, we can provide arch-specific functionality for it. This also allows us to do the same for the acpi_blacklisted() function. Whether arch-specific functions are used or not now depends on the config

[PATCH v2 5/5] ACPI: arm64: use Linux as ACPI_OS_NAME for _OS on arm64

2015-02-03 Thread al . stone
From: Al Stone al.st...@linaro.org ACPI_OS_NAME is globally defined as Microsoft Windows NT for now. That doesn't make much sense in the ARM context, so set it to Linux when CONFIG_ARM64. If it is necessary to change the return value from \_OS_ (that is, return some value other than the default

[PATCH v2 0/5] Start deprecating _OSI on new architectures

2015-02-03 Thread al . stone
From: Al Stone al.st...@linaro.org The use of the ACPI _OSI method in Linux has a long and sordid history. Instead of perpetuating past complications on new architectures, the consensus amongst those writing the ACPI specification and those using it seems to be to ultimately deprecate the use

Re: [PATCH 7/7] ACPI: use Linux as ACPI_OS_NAME for _OS on ARM64

2015-01-23 Thread Al Stone
arious object caches */ >> >> diff --git a/include/acpi/platform/aclinux.h >> b/include/acpi/platform/aclinux.h >> index 1ba7c19..a8a7ee3 100644 >> --- a/include/acpi/platform/aclinux.h >> +++ b/include/acpi/platform/aclinux.h >> @@ -69,6 +69,10 @@ >

Re: [PATCH 0/7] Start deprecating _OSI on new architectures

2015-01-23 Thread Al Stone
On 01/23/2015 08:43 AM, Rafael J. Wysocki wrote: > Hi Al, > > On Thursday, January 22, 2015 05:44:37 PM al.st...@linaro.org wrote: >> From: Al Stone >> >> The use of the ACPI _OSI method in Linux has a long and sordid history. >> Instead of perpetuating past c

Re: [PATCH 7/7] ACPI: use Linux as ACPI_OS_NAME for _OS on ARM64

2015-01-23 Thread Al Stone
it. -- ciao, al --- Al Stone Software Engineer Red Hat, Inc. a...@redhat.com --- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 0/7] Start deprecating _OSI on new architectures

2015-01-23 Thread Al Stone
On 01/23/2015 08:43 AM, Rafael J. Wysocki wrote: Hi Al, On Thursday, January 22, 2015 05:44:37 PM al.st...@linaro.org wrote: From: Al Stone al.st...@linaro.org The use of the ACPI _OSI method in Linux has a long and sordid history. Instead of perpetuating past complications on new

Re: [PATCH 1/7] ia64: ACPI: move kernel acpi files to a directory

2015-01-22 Thread Al Stone
On 01/22/2015 05:44 PM, al.st...@linaro.org wrote: > From: Al Stone > [snip] While I was assuming a couple more passes would be needed, I didn't expect quite so soon. My apologies, I thought I had corrected the From lines to say "Al Stone " but I had not. That will be fix

[PATCH 4/7] ia64: ACPI: create arch-dependent version of acpi_osi_handler()

2015-01-22 Thread al . stone
From: Al Stone In order to deprecate the use of _OSI for arm64 or other new architectures, we need to make the default handler something we can change for various platforms. This patch moves the definition of acpi_osi_handler() -- the function used by ACPICA as a callback for evaluating _OSI

[PATCH 5/7] arm64: ACPI: create arch-dependent version of acpi_osi_handler()

2015-01-22 Thread al . stone
From: Al Stone In order to deprecate the use of _OSI for arm64 or other new architectures, we need to make the default handler something we can change for various platforms. This patch moves the definition of acpi_osi_handler() -- the function used by ACPICA as a callback for evaluating _OSI

[PATCH 3/7] x86: ACPI: create arch-dependent version of acpi_osi_handler()

2015-01-22 Thread al . stone
From: Al Stone In order to deprecate the use of _OSI for arm64 or other new architectures, we need to make the default handler something we can change for various platforms. This patch moves the definition of acpi_osi_handler() -- the function used by ACPICA as a callback for evaluating _OSI

[PATCH 6/7] x86: ia64: arm64: ACPI: move _OSI support functions to arch-dependent locations

2015-01-22 Thread al . stone
From: Al Stone Having moved the _OSI callback function needed by ACPICA from drivers/acpi to arch-dependent locations, we now move all the remaining _OSI support functions to arch-dependent files. This patch is much larger than I had wanted it to be; several of the functions that implemented

[PATCH 7/7] ACPI: use Linux as ACPI_OS_NAME for _OS on ARM64

2015-01-22 Thread al . stone
From: Hanjun Guo ACPI_OS_NAME is globally defined as "Microsoft Windows NT" for now. That doesn't make much sense in the ARM context, so set it to "Linux" when CONFIG_ARM64. If it is necessary to change the return value from \_OS_ (that is, return some value other than the default in

[PATCH 2/7] arm64: ACPI: move kernel acpi files to a directory

2015-01-22 Thread al . stone
From: Al Stone In preparation for adding some additional arch-dependent ACPI files, move the existing ones to a directory to try to keep clutter down in the arch/arm64/kernel directory. There is no functional change. This patch only moves source files. Signed-off-by: Al Stone --- arch/arm64

[PATCH 0/7] Start deprecating _OSI on new architectures

2015-01-22 Thread al . stone
From: Al Stone The use of the ACPI _OSI method in Linux has a long and sordid history. Instead of perpetuating past complications on new architectures, the consensus amongst those writing the ACPI specification and those using it seems to be to ultimately deprecate the use of _OSI. I plan

[PATCH 1/7] ia64: ACPI: move kernel acpi files to a directory

2015-01-22 Thread al . stone
From: Al Stone In preparation for adding some additional arch-dependent ACPI files, move the existing ones to a directory to try to keep clutter down in the arch/ia64/kernel directory. There is no functional change. This patch only moves source files. Signed-off-by: Al Stone --- arch/ia64

[PATCH 4/7] ia64: ACPI: create arch-dependent version of acpi_osi_handler()

2015-01-22 Thread al . stone
From: Al Stone a...@redhat.com In order to deprecate the use of _OSI for arm64 or other new architectures, we need to make the default handler something we can change for various platforms. This patch moves the definition of acpi_osi_handler() -- the function used by ACPICA as a callback

[PATCH 3/7] x86: ACPI: create arch-dependent version of acpi_osi_handler()

2015-01-22 Thread al . stone
From: Al Stone a...@redhat.com In order to deprecate the use of _OSI for arm64 or other new architectures, we need to make the default handler something we can change for various platforms. This patch moves the definition of acpi_osi_handler() -- the function used by ACPICA as a callback

Re: [PATCH 1/7] ia64: ACPI: move kernel acpi files to a directory

2015-01-22 Thread Al Stone
On 01/22/2015 05:44 PM, al.st...@linaro.org wrote: From: Al Stone a...@redhat.com [snip] While I was assuming a couple more passes would be needed, I didn't expect quite so soon. My apologies, I thought I had corrected the From lines to say Al Stone al.st...@linaro.org but I had

[PATCH 0/7] Start deprecating _OSI on new architectures

2015-01-22 Thread al . stone
From: Al Stone al.st...@linaro.org The use of the ACPI _OSI method in Linux has a long and sordid history. Instead of perpetuating past complications on new architectures, the consensus amongst those writing the ACPI specification and those using it seems to be to ultimately deprecate the use

[PATCH 1/7] ia64: ACPI: move kernel acpi files to a directory

2015-01-22 Thread al . stone
From: Al Stone a...@redhat.com In preparation for adding some additional arch-dependent ACPI files, move the existing ones to a directory to try to keep clutter down in the arch/ia64/kernel directory. There is no functional change. This patch only moves source files. Signed-off-by: Al Stone

[PATCH 2/7] arm64: ACPI: move kernel acpi files to a directory

2015-01-22 Thread al . stone
From: Al Stone a...@redhat.com In preparation for adding some additional arch-dependent ACPI files, move the existing ones to a directory to try to keep clutter down in the arch/arm64/kernel directory. There is no functional change. This patch only moves source files. Signed-off-by: Al Stone

[PATCH 6/7] x86: ia64: arm64: ACPI: move _OSI support functions to arch-dependent locations

2015-01-22 Thread al . stone
From: Al Stone a...@redhat.com Having moved the _OSI callback function needed by ACPICA from drivers/acpi to arch-dependent locations, we now move all the remaining _OSI support functions to arch-dependent files. This patch is much larger than I had wanted it to be; several of the functions

[PATCH 5/7] arm64: ACPI: create arch-dependent version of acpi_osi_handler()

2015-01-22 Thread al . stone
From: Al Stone a...@redhat.com In order to deprecate the use of _OSI for arm64 or other new architectures, we need to make the default handler something we can change for various platforms. This patch moves the definition of acpi_osi_handler() -- the function used by ACPICA as a callback

[PATCH 7/7] ACPI: use Linux as ACPI_OS_NAME for _OS on ARM64

2015-01-22 Thread al . stone
From: Hanjun Guo hanjun@linaro.org ACPI_OS_NAME is globally defined as Microsoft Windows NT for now. That doesn't make much sense in the ARM context, so set it to Linux when CONFIG_ARM64. If it is necessary to change the return value from \_OS_ (that is, return some value other than the

Re: [Linaro-acpi] [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-16 Thread Al Stone
On 01/16/2015 08:17 AM, Al Stone wrote: > On 01/16/2015 03:20 AM, Catalin Marinas wrote: >> On Thu, Jan 15, 2015 at 09:31:53PM +, Al Stone wrote: >>> On 01/15/2015 11:23 AM, Catalin Marinas wrote: >>>> On Thu, Jan 15, 2015 at 04:26:20PM +, Grant Likely wro

Re: [Linaro-acpi] [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-16 Thread Al Stone
On 01/16/2015 03:20 AM, Catalin Marinas wrote: > On Thu, Jan 15, 2015 at 09:31:53PM +0000, Al Stone wrote: >> On 01/15/2015 11:23 AM, Catalin Marinas wrote: >>> On Thu, Jan 15, 2015 at 04:26:20PM +, Grant Likely wrote: >>>> On Wed, Jan 14, 2015

Re: [Linaro-acpi] [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-16 Thread Al Stone
On 01/16/2015 03:20 AM, Catalin Marinas wrote: On Thu, Jan 15, 2015 at 09:31:53PM +, Al Stone wrote: On 01/15/2015 11:23 AM, Catalin Marinas wrote: On Thu, Jan 15, 2015 at 04:26:20PM +, Grant Likely wrote: On Wed, Jan 14, 2015 at 3:04 PM, Hanjun Guo hanjun@linaro.org wrote

Re: [Linaro-acpi] [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-16 Thread Al Stone
On 01/16/2015 08:17 AM, Al Stone wrote: On 01/16/2015 03:20 AM, Catalin Marinas wrote: On Thu, Jan 15, 2015 at 09:31:53PM +, Al Stone wrote: On 01/15/2015 11:23 AM, Catalin Marinas wrote: On Thu, Jan 15, 2015 at 04:26:20PM +, Grant Likely wrote: On Wed, Jan 14, 2015 at 3:04 PM, Hanjun

Re: [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-15 Thread Al Stone
comments. One can also see what these patches will probably look like via one of the Fedora kernel trees [1]. [0] https://lkml.org/lkml/2014/9/15/1308 [1] https://git.fedorahosted.org/git/kernel-arm64 -- this is what I run on an AMD Seattle daily driver, btw, and is used in Fedora 21 as wel

Re: [Linaro-acpi] [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-15 Thread Al Stone
I for my end-users, I have to maintain both sets of firmware for some unknown time into the future. Is that what was meant? I'm not really trying to judge the position right this second, but I am trying to make sure I understand it. English is not really the most precise of languages and I wo

Re: [Linaro-acpi] [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-15 Thread Al Stone
precise of languages and I would prefer not to misinterpret. -- ciao, al --- Al Stone Software Engineer Linaro Enterprise Group al.st...@linaro.org --- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-15 Thread Al Stone
://lkml.org/lkml/2014/9/15/1308 [1] https://git.fedorahosted.org/git/kernel-arm64 -- this is what I run on an AMD Seattle daily driver, btw, and is used in Fedora 21 as well. -- ciao, al --- Al Stone Software Engineer Red Hat, Inc. a...@redhat.com

Re: [PATCH v13 02/12] of/pci: Add pci_register_io_range() and pci_pio_to_address()

2014-09-29 Thread Al Stone
ff --git a/include/linux/of_address.h b/include/linux/of_address.h > index fb7b722..f8cc7da 100644 > --- a/include/linux/of_address.h > +++ b/include/linux/of_address.h > @@ -55,7 +55,9 @@ extern void __iomem *of_iomap(struct device_node *device, > int index); > extern const __be32

Re: [PATCH v13 02/12] of/pci: Add pci_register_io_range() and pci_pio_to_address()

2014-09-29 Thread Al Stone
(unsigned long pio); extern int of_pci_range_parser_init(struct of_pci_range_parser *parser, struct device_node *node); -- ciao, al --- Al Stone Software Engineer Red Hat, Inc. a...@redhat.com

Re: [PATCH v4 18/18] Documentation: ACPI for ARM64

2014-09-22 Thread Al Stone
the specs can be freely used. As someone who is part of the ASWG, I'd personally be glad to help out however I can in this regard. I'm also curious as to what's being referred to as ACPI support code for large x86 vendors which is not part of the spec; I *think* I know what's being d

Re: [PATCH v4 18/18] Documentation: ACPI for ARM64

2014-09-22 Thread Al Stone
l the patch is updated, one can find the specs at the oh so very cleverly named URL: http://www.uefi.org/specifications -- ciao, al --- Al Stone Software Engineer Red Hat, Inc. a...@redhat.com --- -- To unsubscribe from this list: send

Re: [PATCH v4 18/18] Documentation: ACPI for ARM64

2014-09-22 Thread Al Stone
/specifications -- ciao, al --- Al Stone Software Engineer Red Hat, Inc. a...@redhat.com --- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v4 18/18] Documentation: ACPI for ARM64

2014-09-22 Thread Al Stone
know what's being described but a specific example would really help me understand better. Thanks. [0] http://www.uefi.org/join -- ciao, al --- Al Stone Software Engineer Red Hat, Inc. a...@redhat.com --- -- To unsubscribe from

Re: [RFC part1 PATCH 5/7] ARM64 / ACPI: Introduce arm_core.c and its related head file

2013-12-04 Thread Al Stone
, we can get ACPI tables from BIOS on ARM64 now. Signed-off-by: Al Stone Signed-off-by: Graeme Gregory Signed-off-by: Hanjun Guo --- arch/arm64/include/asm/acpi.h | 57 +++ arch/arm64/kernel/setup.c |8 ++ drivers/acpi/Makefile |2 + drivers/acpi/plat/Makefile

Re: [RFC part1 PATCH 5/7] ARM64 / ACPI: Introduce arm_core.c and its related head file

2013-12-04 Thread Al Stone
, we can get ACPI tables from BIOS on ARM64 now. Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acpi.h | 57 +++ arch/arm64/kernel/setup.c |8

<    1   2   3   4   5   6