Re: [PATCHv3 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-15 Thread Eduardo Valentin
; > should > > allow the host to get the guest to use qspinlock, without, the guest will > > fallback > > to tas when PV_UNHALT == 0. > > I agree that a flag can be useful for certains setups. Cool! > -- All the best, Eduardo Valentin -- To unsubscribe f

Re: [PATCHv3 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-09 Thread Eduardo Valentin
Hello, On Wed, Nov 08, 2017 at 06:36:52PM +0100, Radim Krčmář wrote: > 2017-11-06 12:26-0800, Eduardo Valentin: > > Currently, the existing qspinlock implementation will fallback to > > test-and-set if the hypervisor has not set the PV_UNHALT flag. > > > > This pat

Re: [PATCHv3 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-08 Thread Eduardo Valentin
Paolo, On Tue, Nov 07, 2017 at 01:43:15PM +0100, Paolo Bonzini wrote: > On 07/11/2017 13:39, Eduardo Valentin wrote: > >> is this still needed after Waiman's patch to adaptively switch between > >> tas and pvqspinlock? > > Can you please point me to it ? Is it alr

Re: [PATCHv3 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-07 Thread Eduardo Valentin
On Tue, Nov 07, 2017 at 01:23:56PM +0100, Paolo Bonzini wrote: > On 06/11/2017 21:26, Eduardo Valentin wrote: > > Currently, the existing qspinlock implementation will fallback to > > test-and-set if the hypervisor has not set the PV_UNHALT flag. > > > > This patch giv

[PATCHv3 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-06 Thread Eduardo Valentin
ar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: Peter Zijlstra Cc: Waiman Long Cc: k...@vger.kernel.org Cc: linux-doc@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: Jan H. Schoenherr Cc: Anthony Liguori Suggested-by: Matt Wilson Signed-off-by: Eduardo Valentin --- V3: - When

Re: [PATCHv2 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-03 Thread Eduardo Valentin
On Fri, Nov 03, 2017 at 11:09:53AM +0100, Paolo Bonzini wrote: > On 02/11/2017 19:43, Eduardo Valentin wrote: > > On Thu, Nov 02, 2017 at 07:24:16PM +0100, Paolo Bonzini wrote: > >> On 02/11/2017 19:08, Eduardo Valentin wrote: > >>> On Thu, Nov 02, 2017 at 06:56:4

Re: [PATCHv2 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-02 Thread Eduardo Valentin
On Thu, Nov 02, 2017 at 07:24:16PM +0100, Paolo Bonzini wrote: > On 02/11/2017 19:08, Eduardo Valentin wrote: > > On Thu, Nov 02, 2017 at 06:56:46PM +0100, Paolo Bonzini wrote: > >> On 02/11/2017 18:45, Eduardo Valentin wrote: > >>> Currently, the existing qspinlock i

Re: [PATCHv2 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-02 Thread Eduardo Valentin
Longman, On Thu, Nov 02, 2017 at 02:12:13PM -0400, Waiman Long wrote: > On 11/02/2017 02:08 PM, Eduardo Valentin wrote: > > On Thu, Nov 02, 2017 at 06:56:46PM +0100, Paolo Bonzini wrote: > >> On 02/11/2017 18:45, Eduardo Valentin wrote: > >>> Currently, the existing

Re: [PATCHv2 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-02 Thread Eduardo Valentin
On Thu, Nov 02, 2017 at 06:56:46PM +0100, Paolo Bonzini wrote: > On 02/11/2017 18:45, Eduardo Valentin wrote: > > Currently, the existing qspinlock implementation will fallback to > > test-and-set if the hypervisor has not set the PV_UNHALT flag. > > > > This patch giv

[PATCHv2 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-02 Thread Eduardo Valentin
ar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: Peter Zijlstra Cc: Waiman Long Cc: k...@vger.kernel.org Cc: linux-doc@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: Jan H. Schoenherr Cc: Anthony Liguori Suggested-by: Matt Wilson Signed-off-by: Eduardo Valentin --- V2: - rebase

Re: [PATCH 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-10-31 Thread Eduardo Valentin
Hello Radim, On Tue, Oct 24, 2017 at 01:18:59PM +0200, Radim Krčmář wrote: > 2017-10-23 17:44-0700, Eduardo Valentin: > > Currently, the existing qspinlock implementation will fallback to > > test-and-set if the hypervisor has not set the PV_UNHALT flag. > > Where have

Re: [PATCH 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-10-24 Thread Eduardo Valentin
Hey Waiman, On Tue, Oct 24, 2017 at 12:07:04PM -0400, Waiman Long wrote: > On 10/24/2017 11:37 AM, Eduardo Valentin wrote: > > Hello Peter, > > On Tue, Oct 24, 2017 at 10:13:45AM +0200, Peter Zijlstra wrote: > >> On Mon, Oct 23, 2017 at 05:44:27PM -0700, Eduardo Valent

Re: [PATCH 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-10-24 Thread Eduardo Valentin
Hello Peter, On Tue, Oct 24, 2017 at 10:13:45AM +0200, Peter Zijlstra wrote: > On Mon, Oct 23, 2017 at 05:44:27PM -0700, Eduardo Valentin wrote: > > @@ -46,6 +48,8 @@ static inline bool virt_spin_lock(struct qspinlock *lock) > > if (!static_cpu_has(X86_FEA

[PATCH 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-10-23 Thread Eduardo Valentin
olnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: Peter Zijlstra Cc: Waiman Long Cc: k...@vger.kernel.org Cc: linux-doc@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: Jan H. Schoenherr Cc: Anthony Liguori Suggested-by: Matt Wilson Signed-off-by: Eduardo Valentin --- D

[PATCH 1/1] Documentation: update kernel enforcement support list

2017-10-17 Thread Eduardo Valentin
Adding myself to the list as I missed the window to be in the original patch. Cc: Jonathan Corbet Cc: Bart Van Assche Cc: Namhyung Kim Cc: Olof Johansson Cc: Juergen Gross Cc: Javier Martinez Canillas Signed-off-by: Eduardo Valentin --- Documentation/process/kernel-enforcement

Re: [xfstests PATCH v3 1/5] generic: add a writeback error handling test

2017-05-31 Thread Eduardo Valentin
ted by 999 > +Format and mount > +Test passed! > diff --git a/tests/generic/group b/tests/generic/group > index 438c299030f2..39f7b14657f1 100644 > --- a/tests/generic/group > +++ b/tests/generic/group > @@ -440,3 +440,4 @@ > 435 auto encrypt > 436 auto quick rw > 437 a

Re: [PATCH v5 1/5] thermal: Add support for hardware-tracked trip points

2016-07-01 Thread Eduardo Valentin
t; This patch is based on an earlier version from Mikko Perttunen > > > > > > Signed-off-by: Sascha Hauer > > Signed-off-by: Caesar Wang > > Cc: Zhang Rui > > Cc: Eduardo Valentin > > Cc: linux...@vger.kernel.org > > > > --- > >

Re: [PATCH v2 0/5] Thermal: Support for hardware-tracked trip points

2016-05-23 Thread Eduardo Valentin
On Mon, May 23, 2016 at 03:32:39PM +0800, Caesar Wang wrote: > Hello Eduardo & 'Zhang Rui' > > Do we have the chance to merge this series patches for next kernel? > I had picked them up in my github, and tested for a period of time with > rockchip inside kernel. > > Let me know if someone have so

Re: [PATCH] Syntactic and factual errors in the API document

2016-03-31 Thread Eduardo Valentin
On Thu, Mar 31, 2016 at 12:43:22AM -0600, Jonathan Corbet wrote: > On Tue, 22 Mar 2016 12:37:25 + > Andy Champ wrote: > > > There are several places where the English in the document is syntactically > > invalid, or unclear. There are also one or two factual errors. > > I went to apply this

Re: [PATCH] Syntactic and factual errors in the API document

2016-03-28 Thread Eduardo Valentin
On Tue, Mar 22, 2016 at 09:00:32AM -0700, Eduardo Valentin wrote: > Hello Andy, > > On Tue, Mar 22, 2016 at 12:37:25PM +, Andy Champ wrote: > > There are several places where the English in the document is syntactically > > invalid, or unclear. There are also one or two

Re: [PATCH] Syntactic and factual errors in the API document

2016-03-22 Thread Eduardo Valentin
mentation/thermal/sysfs-api.txt). Also, I will get this patch only after the merge window is finished and my current pending patches queue has been sent and merged. BR, Eduardo Valentin -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord.

Re: [PATCH V2 0/6] thermal: add devm_ version of thermal_zone register and driver for max77620

2016-03-09 Thread Eduardo Valentin
On Wed, Mar 09, 2016 at 06:40:04PM +0530, Laxman Dewangan wrote: > The series add the devm_ version of thermal_zone_of_sensor_register/ > unregister, interface details, and use this in new thermal driver > for max77620. > > The header file for max77620 is part of MFD patch > https://lkml.org

Re: [PATCH V2 3/6] thermal: Add devm_thermal_zone_of_sensor_register() in managed devices list

2016-03-09 Thread Eduardo Valentin
On Wed, Mar 09, 2016 at 06:40:07PM +0530, Laxman Dewangan wrote: > The interface thermal_zone_of_sensor_register() and > thermal_zone_of_sensor_unregister() gained their devm_ > wrappers. Add these APIs in the list of managed devices. > > Signed-off-by: Laxman Dewangan Ac

Re: [PATCH V2 6/6] thermal: Add DT binding doc for thermal of PMIC max77620

2016-03-09 Thread Eduardo Valentin
On Wed, Mar 09, 2016 at 06:40:10PM +0530, Laxman Dewangan wrote: > Maxim Semiconductor MAX77620 supports alarm interrupts when > its die temperature crosses 120C and 140C. These threshold > temperatures are not configurable. > > Add DT binding document to details out the DT property related > to M

Re: [PATCH V2 5/6] thermal: max77620: Add thermal driver for reporting junction temp

2016-03-09 Thread Eduardo Valentin
On Wed, Mar 09, 2016 at 06:40:09PM +0530, Laxman Dewangan wrote: > Maxim Semiconductor Max77620 supports alarm interrupts when > its die temperature crosses 120C and 140C. These threshold > temperatures are not configurable. > > Add thermal driver to register PMIC die temperature as thermal > zone

Re: [PATCH V2 0/6] thermal: add devm_ version of thermal_zone register and driver for max77620

2016-03-09 Thread Eduardo Valentin
Laxman, On Wed, Mar 09, 2016 at 06:40:04PM +0530, Laxman Dewangan wrote: > The series add the devm_ version of thermal_zone_of_sensor_register/ > unregister, interface details, and use this in new thermal driver > for max77620. > > The header file for max77620 is part of MFD patch > https:

Re: [PATCH 1/3] thermal: of-thermal: Add devm version of thermal_zone_of_sensor_register

2016-03-08 Thread Eduardo Valentin
Hello Laxman, Minor as follows. Can you please run ./scripts/checkpatch.pl --strict on this and remove the warnings, errors, checks? On Fri, Mar 04, 2016 at 07:10:08PM +0530, Laxman Dewangan wrote: > Add resource managed version of thermal_zone_of_sensor_register() and > thermal_zone_of_sensor_

Re: [PATCH 3/3] thermal: max77620: Add thermal driver for reporting junction temp

2016-03-08 Thread Eduardo Valentin
Hello Laxman, Thanks for working on this. Impressed how simplified these drivers are becoming. I really liked you added the so waited devm_ helpers. Very minor comments as follows (now that you will send a new version anyway). On Fri, Mar 04, 2016 at 07:10:10PM +0530, Laxman Dewangan wrote: > Ma