Re: [PATCH v2 1/2] acpi, spcr: Make SPCR avialable to other architectures

2017-12-13 Thread Lorenzo Pieralisi
[+Mark, Graeme] In $SUBJECT, s/avialable/available On Mon, Dec 11, 2017 at 10:50:58AM -0500, Prarit Bhargava wrote: > Other architectures can use SPCR to setup an early console or console > but the current code is ARM64 specific. I see nothing ARM64 specific in current code (apart from some ACPI

Re: [PATCH v2 1/2] acpi, spcr: Make SPCR avialable to other architectures

2017-12-14 Thread Lorenzo Pieralisi
On Wed, Dec 13, 2017 at 03:11:33PM -0600, Timur Tabi wrote: > On 12/13/2017 06:45 AM, Lorenzo Pieralisi wrote: > >>+/* > >>+ * Erratum 44 for QDF2432v1 and QDF2400v1 SoCs describes the BUSY bit as > >>+ * occasionally getting stuck as 1. To avoid the potential for a

Re: [PATCH v2 1/2] acpi, spcr: Make SPCR avialable to other architectures

2017-12-14 Thread Lorenzo Pieralisi
On Thu, Dec 14, 2017 at 08:08:08AM -0600, Timur Tabi wrote: > On 12/14/17 4:30 AM, Lorenzo Pieralisi wrote: > >>I didn't want to put any ACPI code in amba-pl011.c, so putting it in spcr.c > >>made the most sense. I agree the global variable is ugly. If you have a >

Re: [PATCH] cpuidle: Add 'above' and 'below' idle state metrics

2018-12-07 Thread Lorenzo Pieralisi
On Fri, Dec 07, 2018 at 12:57:00PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > Subject: [PATCH] cpuidle: Add 'above' and 'below' idle state metrics > > Add two new metrics for CPU idle states, "above" and "below", to count > the number of times the given state had been asked for (

Re: [PATCH] tools/pci: Change pcitest compiling process

2018-10-03 Thread Lorenzo Pieralisi
On Thu, Aug 23, 2018 at 01:55:15PM +0200, Gustavo Pimentel wrote: > Change tool compiling process in order to be build using the same > mechanism used in other linux tools (e.g. iio, perf, etc). This will > allow in future the buildroot tool to build and integrate this tool in > a more expeditious

[RFC PATCH] arm: kernel: pci: remove pci=firmware command line parameter handling

2016-02-29 Thread Lorenzo Pieralisi
mmand line parameter handling from ARM code and the related kernel parameters documentation section. Signed-off-by: Lorenzo Pieralisi Cc: Arnd Bergmann Cc: Lennert Buytenhek Cc: Jonathan Corbet Cc: Bjorn Helgaas Cc: Rob Herring Cc: Russell King --- Documentation/kernel-parameters.txt | 5 -

Re: [RFC PATCH] arm: kernel: pci: remove pci=firmware command line parameter handling

2016-03-01 Thread Lorenzo Pieralisi
On Mon, Feb 29, 2016 at 04:56:53PM -0600, Bjorn Helgaas wrote: > On Mon, Feb 29, 2016 at 05:43:20PM +0000, Lorenzo Pieralisi wrote: > > According to kernel documentation, the pci=firmware command line > > parameter is only meant to be used on IXP2000 ARM platforms to prevent >

Re: [RFC PATCH] arm: kernel: pci: remove pci=firmware command line parameter handling

2016-03-01 Thread Lorenzo Pieralisi
On Mon, Feb 29, 2016 at 07:42:58PM +0200, Lennert Buytenhek wrote: > On Mon, Feb 29, 2016 at 05:43:20PM +0000, Lorenzo Pieralisi wrote: > > > According to kernel documentation, the pci=firmware command line > > parameter is only meant to be used on IXP2000 ARM platforms to prev

Re: [RFC PATCH] arm: kernel: pci: remove pci=firmware command line parameter handling

2016-03-03 Thread Lorenzo Pieralisi
On Thu, Mar 03, 2016 at 12:31:42AM +0200, Lennert Buytenhek wrote: > On Tue, Mar 01, 2016 at 09:58:33AM +0000, Lorenzo Pieralisi wrote: > > > > > According to kernel documentation, the pci=firmware command line > > > > parameter is only meant to be used on IX

Re: [PATCH v3] ARM64: ACPI: Update documentation for latest specification version

2016-04-15 Thread Lorenzo Pieralisi
Hi Al, On Mon, Mar 28, 2016 at 06:06:42PM -0600, Al Stone wrote: > The ACPI 6.1 specification was recently released at the end of January > 2016, but the arm64 kernel documentation for the use of ACPI was written > for the 5.1 version of the spec. There were significant additions to the > spec th

Re: [PATCH v3] ARM64: ACPI: Update documentation for latest specification version

2016-04-15 Thread Lorenzo Pieralisi
On Fri, Apr 15, 2016 at 10:41:02AM -0600, Al Stone wrote: > On 04/15/2016 08:37 AM, Lorenzo Pieralisi wrote: > > Hi Al, > > > > On Mon, Mar 28, 2016 at 06:06:42PM -0600, Al Stone wrote: > >> The ACPI 6.1 specification was recently released at the end of January &

Re: [PATCH v3] ARM64: ACPI: Update documentation for latest specification version

2016-04-18 Thread Lorenzo Pieralisi
On Fri, Apr 15, 2016 at 11:54:08AM -0600, Al Stone wrote: [...] > > Understood, the point I wanted to make is that adding a list of methods > > in acpi_object_usage.txt ("Use as needed") is not necessarily additional > > information, you can add a pointer at ACPI specs (for that specific > > purp

Re: [PATCH v4] ARM64: ACPI: Update documentation for latest specification version

2016-04-19 Thread Lorenzo Pieralisi
Table), section 5.2.6, specifically Table 5-31. > > +-- If booting without a console= kernel parameter is > + supported, the SPCR (Serial Port Console Redirection table), > + section 5.2.6, specifically Table 5-31. > + > +-- If virtualization is supported, th

Re: [PATCH v6 6/6] arm64: Use SYSTEM_OFF2 PSCI call to power off for hibernate

2024-11-04 Thread Lorenzo Pieralisi
On Mon, Nov 04, 2024 at 02:54:12PM +0100, Ard Biesheuvel wrote: > On Fri, 1 Nov 2024 at 18:49, Lorenzo Pieralisi wrote: > > > > [+Ard, Sami, for EFI] > > > > On Thu, Oct 31, 2024 at 06:55:43PM +0100, Lorenzo Pieralisi wrote: > > > On Sat, Oct 19, 2024 at 06:

Re: [PATCH v6 6/6] arm64: Use SYSTEM_OFF2 PSCI call to power off for hibernate

2024-10-31 Thread Lorenzo Pieralisi
On Sat, Oct 19, 2024 at 06:15:47PM +0100, David Woodhouse wrote: [...] > +#ifdef CONFIG_HIBERNATION > +static int psci_sys_hibernate(struct sys_off_data *data) > +{ > + /* > + * Zero is an acceptable alternative to PSCI_1_3_OFF_TYPE_HIBERNATE_OFF > + * and is supported by hypervisor

Re: [PATCH v6 6/6] arm64: Use SYSTEM_OFF2 PSCI call to power off for hibernate

2024-11-01 Thread Lorenzo Pieralisi
[+Ard, Sami, for EFI] On Thu, Oct 31, 2024 at 06:55:43PM +0100, Lorenzo Pieralisi wrote: > On Sat, Oct 19, 2024 at 06:15:47PM +0100, David Woodhouse wrote: > > [...] > > > +#ifdef CONFIG_HIBERNATION > > +static int psci_sys_hibernate(struct sys_off_data *data) > >