Re: [PATCH v2 1/2] sched/wait: introduce wait_event_freezable_hrtimeout

2019-02-10 Thread Ingo Molnar
ondition)) > \ > __ret = __wait_event_hrtimeout(wq, condition, timeout, > \ > -TASK_INTERRUPTIBLE); > \ > +TASK_INTERRUPTIBLE, > \ > +

Re: [PATCH v10 0/9] Hyper-V: paravirtualized remote TLB flushing and hypercall improvements

2017-08-10 Thread Ingo Molnar
a > > different tree > > (and it actually belongs to x86 if I got Ingo's comment right). > > - Add in missing void return type in PATCH1 [Colin King, Ingo Molnar, Greg > > KH] > > - A few minor fixes in what is now PATCH7: add pr_fmt, tiny style fix in > &

Re: [PATCH v10 0/9] Hyper-V: paravirtualized remote TLB flushing and hypercall improvements

2017-08-31 Thread Ingo Molnar
t; (and it actually belongs to x86 if I got Ingo's comment right). > > - Add in missing void return type in PATCH1 [Colin King, Ingo Molnar, Greg > > KH] > > - A few minor fixes in what is now PATCH7: add pr_fmt, tiny style fix in > > hyperv_flush_tlb_others(

Re: [PATCH v10 0/9] Hyper-V: paravirtualized remote TLB flushing and hypercall improvements

2017-08-31 Thread Ingo Molnar
* Vitaly Kuznetsov wrote: > Ingo Molnar writes: > > > * Vitaly Kuznetsov wrote: > > > >> > Changes since v9: > >> > - Rebase to 4.13-rc3. > >> > - Drop PATCH1 as it was already taken by Greg to char-misc tree. > >> > There&

Re: [PATCH 1/1] x86/hyper-V: Allocate the IDT entry early in boot

2017-09-13 Thread Ingo Molnar
* KY Srinivasan wrote: > > > > -Original Message- > > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > > Sent: Saturday, September 9, 2017 4:04 AM > > To: KY Srinivasan > > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- > > ker...@vger.kernel.org; de...@linuxdriverproj

Re: [PATCH] hv: hide unused label

2017-03-01 Thread Ingo Molnar
* Arnd Bergmann wrote: > This new 32-bit warning just showed up: > > arch/x86/hyperv/hv_init.c: In function 'hyperv_init': > arch/x86/hyperv/hv_init.c:167:1: error: label 'register_msr_cs' defined but > not used [-Werror=unused-label] > > The easiest solution is to move the label up into the

Re: [PATCH 1/1] X86/Hyper-V:: Fix the circular dependency in IPI enlightenment.

2018-07-04 Thread Ingo Molnar
* k...@linuxonhyperv.com wrote: > From: "K. Y. Srinivasan" > > The IPI hypercalls depend on being able to map the Linux notion of CPU ID > to the hypervisor's notion of the CPU ID. The array hv_vp_index[] provides > this mapping. Code for populating this array depends on the IPI functionality.

Re: [PATCH 1/1] X86/Hyper-V:: Fix the circular dependency in IPI enlightenment.

2018-07-05 Thread Ingo Molnar
* KY Srinivasan wrote: > > > > -Original Message- > > From: Ingo Molnar On Behalf Of Ingo Molnar > > Sent: Wednesday, July 4, 2018 9:11 AM > > To: KY Srinivasan > > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- > > ker...@vger.k

Re: [PATCH 1/1] X86/Hyper-V:: Fix the circular dependency in IPI enlightenment.

2018-07-05 Thread Ingo Molnar
* KY Srinivasan wrote: > > > > -Original Message- > > From: Ingo Molnar On Behalf Of Ingo Molnar > > Sent: Thursday, July 5, 2018 8:38 AM > > To: KY Srinivasan > > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- > > ker...@vger.k

Re: [PATCH 1/1] X86/Hyper-V:: Fix the circular dependency in IPI enlightenment.

2018-07-06 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Fri, 6 Jul 2018, Ingo Molnar wrote: > > * KY Srinivasan wrote: > > > I am confused. The label ipi_mask_done was introduced in this patch > > > (the patch under question fixes a circular dependency in this

Re: [RFC][PATCH] x86: remove vmalloc.h from asm/io.h

2015-05-29 Thread Ingo Molnar
hide places where vmalloc() et al are added to files > but the include of vmalloc.h is forgotten. Good idea. Acked-by: Ingo Molnar > Based in Linus' tree of today. > > There are probably more places that need vmalloc.h included, but this passes > 64 > bit and 32 bit al

Re: [PATCH 0/6] Intel Secure Guard Extensions

2016-04-27 Thread Ingo Molnar
* Andy Lutomirski wrote: > > What new syscalls would be needed for ssh to get all this support? > > This patchset or similar, plus some user code and an enclave to use. > > Sadly, on current CPUs, you also need Intel to bless the enclave. It looks > like > new CPUs might relax that requirem

Re: [PATCH v6 17/22] x86/olpc/xo1/sci: Use newly added power_supply_put API

2015-03-12 Thread Ingo Molnar
; > @@ -71,7 +71,7 @@ static void ac_status_changed(void) > > if (psy) { > power_supply_changed(psy); > - put_device(&psy->dev); > + power_supply_put(psy); > } > } Acked-by: Ingo Molnar Thanks,

Re: [PATCH v6 18/22] x86/olpc/xo15/sci: Use newly added power_supply_put API

2015-03-12 Thread Ingo Molnar
; > @@ -93,7 +93,7 @@ static void ac_status_changed(void) > > if (psy) { > power_supply_changed(psy); > - put_device(&psy->dev); > + power_supply_put(psy); > } > } Acked-by: Ingo Molnar Thanks,

Re: [PATCH 1/1] X86: hyperv: Enable MSR based APIC access

2015-03-16 Thread Ingo Molnar
* K. Y. Srinivasan wrote: > If the hypervisor supports MSR based access to the APIC registers > (EOI, TPR and ICR), implement the MSR based access. > > Signed-off-by: K. Y. Srinivasan > --- > arch/x86/include/uapi/asm/hyperv.h |5 +++ > arch/x86/kernel/cpu/mshyperv.c | 69 > +++

Re: [PATCH V2 1/1] X86: hyperv: Enable MSR based APIC access

2015-03-25 Thread Ingo Molnar
* K. Y. Srinivasan wrote: > If the hypervisor supports MSR based access to the APIC registers > (EOI, TPR and ICR), implement the MSR based access. > > Signed-off-by: K. Y. Srinivasan > --- > Changes from V1: Addressed comments from Ingo Molnar > You didn't a