Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64

2016-04-07 Thread Andrew Pinski
On Thu, Apr 7, 2016 at 5:18 AM, Adam Borowski wrote: > On Wed, 6 Apr 2016, Geert Uytterhoeven wrote: >> On Wed, Apr 6, 2016 at 12:08 AM, Yury Norov >> wrote: >>> v6: >>> - time_t, __kenel_off_t and other types turned to be 32-bit >>>for

Re: [PATCH v5 30/46] regulator: pwm: retrieve correct voltage

2016-04-07 Thread Boris Brezillon
Hi Mark, On Wed, 30 Mar 2016 14:24:10 -0700 Mark Brown wrote: > On Wed, Mar 30, 2016 at 10:03:53PM +0200, Boris Brezillon wrote: > > The continuous PWM voltage regulator is caching the voltage value in > > the ->volt_uV field. While most of the time this value should reflect

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

2016-04-07 Thread Al Stone
On 03/28/2016 06:06 PM, 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 that had not yet been

[PATCH v2] ARM: kexec: fix crashkernel= handling

2016-04-07 Thread Russell King
When the kernel crashkernel parameter is specified with just a size, we are supposed to allocate a region from RAM to store the crashkernel. However, ARM merely reserves physical address zero with no checking that there is even RAM there. Fix this by lifting similar code from x86, importing it to

[PATCH V2 04/20] mfd: as3711: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Guennadi Liakhovetski --- Changes from V1: - Convert

[PATCH V2 06/20] mfd: bcm590xx: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Matt Porter --- Changes from V1: - Convert mfd to MFD. -

[PATCH V2 05/20] mfd: atmel-hlcdc: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Boris Brezillon Acked-by: Boris Brezillon

[PATCH V2 03/20] mfd: act8945a: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Wenyou Yang CC: Krzysztof Kozlowski

[PATCH V2 07/20] mfd: hi6421-pmic: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Guodong Xu --- Changes from V1: - Convert mfd to MFD. -

[PATCH V2 01/20] mfd: Add resource managed apis for mfd_add_devices

2016-04-07 Thread Laxman Dewangan
Add resource managed API devm_mfd_add_devices() for the mfd_add_devices(). This helps in reducing code in error path as it is not required to call mfd_remove_devices() explicitly to remove all child-devices. In some cases, it also helps not to implement .remove() callback which get called during

[PATCH V2 13/20] mfd: rn5t618: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and remove the call of mfd_remove_devices() from .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Beniamino Galvani ---

[PATCH V2 19/20] mfd: tps65910: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and remove the call of mfd_remove_devices() from .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Tony Lindgren --- Changes

[PATCH V2 16/20] mfd: stw481x: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Linus Walleij Acked-by: Linus Walleij

[PATCH V2 10/20] mfd: mt6397: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: John Crispin CC: Javier Martinez Canillas

[PATCH V2 14/20] mfd: rt5033: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Ingi Kim CC: Javier Martinez Canillas

[PATCH V2 17/20] mfd: tps6507x: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Todd Fischer --- Changes from V1: - Convert mfd to

[PATCH V2 18/20] mfd: tps65217: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Tony Lindgren --- Changes from V1: - Convert mfd to MFD. -

[PATCH V2 20/20] mfd: wm8400: Use devm_mfd_add_devices() for mfd_device registration

2016-04-07 Thread Laxman Dewangan
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. Signed-off-by: Laxman Dewangan CC: Mark Brown CC: patc...@opensource.wolfsonmicro.com

[PATCH V2 00/20] mfd: Add devm_ apis for mfd_add_devices and mfd_release_devices

2016-04-07 Thread Laxman Dewangan
This series add devm_ version of the APIs mfd_add_devices() and mfd_release_devices() and get rid of call for mfd_release_devices() some places and also remove the need of .remove callbacks as this is not needed. Changes from V1: - Remove devm_mfd_remove_devices() as it is not required. -

Re: [PATCH] arm64: erratum: Workaround for Kryo reserved system register read

2016-04-07 Thread Marc Zyngier
HI Naveen, On 07/04/16 16:54, Naveen Kaje wrote: > The ARMv8.0 architecture reserves several system register > encodings for future use. These encodings should behave > as read-only and always return zero on a read. The Kryo core > errantly causes an instruction abort upon an AArch64 > read

Re: [PATCH v9 2/4] tpm: Proxy driver for supporting multiple emulated TPMs

2016-04-07 Thread Stefan Berger
On 04/07/2016 08:35 AM, Jarkko Sakkinen wrote: On Tue, Mar 29, 2016 at 02:19:12PM -0400, Stefan Berger wrote: This patch implements a proxy driver for supporting multiple emulated TPMs in a system. The driver implements a device /dev/vtpmx that is used to created a client device pair /dev/tpmX

Re: [RFC v5 7/7] vfio-pci: Allow to mmap MSI-X table if interrupt remapping is supported

2016-04-07 Thread Eric Auger
Hi Yongji, On 04/07/2016 01:38 PM, Yongji Xie wrote: > On 2016/4/6 22:45, Alex Williamson wrote: >> On Tue, 5 Apr 2016 21:46:44 +0800 >> Yongji Xie wrote: >> >>> This patch enables mmapping MSI-X tables if >>> hardware supports interrupt remapping which >>> can ensure

Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64

2016-04-07 Thread Adam Borowski
On Wed, 6 Apr 2016, Geert Uytterhoeven wrote: > On Wed, Apr 6, 2016 at 12:08 AM, Yury Norov wrote: >> v6: >> - time_t, __kenel_off_t and other types turned to be 32-bit >>for compatibility reasons (after v5 discussion); Introducing a new arch today with y2038

Re: [PATCH v9 4/4] tpm: Add documentation for the tpm_vtpm device driver

2016-04-07 Thread Jarkko Sakkinen
On Tue, Mar 29, 2016 at 02:19:14PM -0400, Stefan Berger wrote: > Add documentation for the tpm_vtpm device driver that implements > support for providing TPM functionality to Linux containers. > > Parts of this documentation were recycled from the Xen vTPM > device driver documentation. > >

Re: [PATCH v9 2/4] tpm: Proxy driver for supporting multiple emulated TPMs

2016-04-07 Thread Jarkko Sakkinen
On Tue, Mar 29, 2016 at 02:19:12PM -0400, Stefan Berger wrote: > This patch implements a proxy driver for supporting multiple emulated TPMs > in a system. > > The driver implements a device /dev/vtpmx that is used to created > a client device pair /dev/tpmX (e.g., /dev/tpm10) and a server side

Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64

2016-04-07 Thread Geert Uytterhoeven
On Wed, Apr 6, 2016 at 2:29 PM, Yury Norov wrote: >> We're already closer to the (future) y2038 than to the (past) introduction of >> LP64... > > This is not about Y2038 at all. In fact, current version doesn't fix > Y2038 problem, as we decided finally. Indeed. So

Re: [PATCH 01/20] mfd: Add devm_ apis for mfd_add_devices and mfd_release_devices

2016-04-07 Thread Laxman Dewangan
On Thursday 07 April 2016 05:12 PM, Lee Jones wrote: On Thu, 07 Apr 2016, Laxman Dewangan wrote: + * Normally this function will not need to be called and the resource + * management code will ensure that the resource is freed. Then what is the purpose of providing it? Do you have a user?

Re: [PATCHv2 6/7] ARM: socfpga: Enable Arria10 OCRAM ECC on startup

2016-04-07 Thread Borislav Petkov
On Wed, Apr 06, 2016 at 07:36:49PM -0500, Thor Thayer wrote: > Yes, nothing else changes. The rest was OK. Thanks! Cool. The two remaining applied and pushed out. Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- To unsubscribe from this list: send the line

Re: [PATCH 01/20] mfd: Add devm_ apis for mfd_add_devices and mfd_release_devices

2016-04-07 Thread Laxman Dewangan
Hi Lee, Thanks for review. I will send another patch with incorporating your comments. On Thursday 07 April 2016 04:14 PM, Lee Jones wrote: On Tue, 05 Apr 2016, Laxman Dewangan wrote: + if (!ret) { + *ptr = dev; + devres_add(dev, ptr); + } else { +

Re: [PATCH 01/20] mfd: Add devm_ apis for mfd_add_devices and mfd_release_devices

2016-04-07 Thread Lee Jones
On Tue, 05 Apr 2016, Laxman Dewangan wrote: > Add device managed APIs devm_mfd_add_devices() and > devm_mfd_remove_devices() for the APIs mfd_add_devices() > and mfd_remove_devices(). Nit: Line wrap after "devm_mfd_remove_devices()" instead. > This helps in reducing code in error path and

Re: [PATCH 0/2] memory_hotplug: introduce config and command line options to set the default onlining policy

2016-04-07 Thread Vitaly Kuznetsov
Andrew Morton writes: > On Wed, 6 Apr 2016 15:45:10 +0200 Vitaly Kuznetsov > wrote: > >> This patchset continues the work I started with: >> >> commit 31bc3858ea3ebcc3157b3f5f0e624c5962f5a7a6 >> Author: Vitaly Kuznetsov >>