[PATCH] pinctrl: core: Fix unused variable build warnings

2020-11-23 Thread Pawan Gupta
only used inside #ifdef CONFIG_GPIOLIB, fix the build warnings by wrapping the definition inside the config. Fixes: f1b206cf7c57 ("pinctrl: core: print gpio in pins debugfs file") Signed-off-by: Pawan Gupta --- drivers/pinctrl/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 delet

[tip: x86/urgent] x86/bugs/multihit: Fix mitigation reporting when VMX is not in use

2020-08-06 Thread tip-bot2 for Pawan Gupta
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: f29dfa53cc8ae6ad93bae619bcc0bf45cab344f7 Gitweb: https://git.kernel.org/tip/f29dfa53cc8ae6ad93bae619bcc0bf45cab344f7 Author:Pawan Gupta AuthorDate:Thu, 16 Jul 2020 12:23:59 -07:00 Committer

[tip: x86/urgent] x86/bugs/multihit: Fix mitigation reporting when VMX is not in use

2020-08-06 Thread tip-bot2 for Pawan Gupta
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 31dccf7df081364045bff196bdc060ddda97f2e9 Gitweb: https://git.kernel.org/tip/31dccf7df081364045bff196bdc060ddda97f2e9 Author:Pawan Gupta AuthorDate:Thu, 16 Jul 2020 12:23:59 -07:00 Committer

[PATCH v2] x86/bugs/multihit: Fix mitigation reporting when VMX is not in use

2020-07-16 Thread Pawan Gupta
disabled or unsupported in the hardware. Change the mitigation reporting for these cases. Fixes: b8e8c8303ff2 ("kvm: mmu: ITLB_MULTIHIT mitigation") Reported-by: Nelson Dsouza Co-developed-by: Sean Christopherson Signed-off-by: Sean Christopherson Signed-off-by: Pawan Gupta Reviewed-by:

Re: [PATCH] x86/bugs/multihit: Fix mitigation reporting when KVM is not in use

2020-07-15 Thread Pawan Gupta
On Tue, Jul 14, 2020 at 05:51:30PM -0700, Sean Christopherson wrote: > On Tue, Jul 14, 2020 at 02:20:59PM -0700, Dave Hansen wrote: > > On 7/14/20 2:04 PM, Pawan Gupta wrote: > > >> I see three inputs and four possible states (sorry for the ugly table, > > >

Re: [PATCH] x86/bugs/multihit: Fix mitigation reporting when KVM is not in use

2020-07-14 Thread Pawan Gupta
On Tue, Jul 14, 2020 at 12:54:26PM -0700, Dave Hansen wrote: > On 7/14/20 12:17 PM, Pawan Gupta wrote: > > On Tue, Jul 14, 2020 at 07:57:53AM -0700, Dave Hansen wrote: > >> Let's stick to things which are at least static per reboot. Checking > >> for X86_FEATURE_VM

Re: [PATCH] x86/bugs/multihit: Fix mitigation reporting when KVM is not in use

2020-07-14 Thread Pawan Gupta
On Tue, Jul 14, 2020 at 07:57:53AM -0700, Dave Hansen wrote: > Let's stick to things which are at least static per reboot. Checking > for X86_FEATURE_VMX or even CONFIG_KVM_INTEL seems like a good stopping > point. "Could this kernel run a naughty guest?" If so, report > "Vulnerable". It's the

[PATCH] x86/bugs/multihit: Fix mitigation reporting when KVM is not in use

2020-07-13 Thread Pawan Gupta
IHIT mitigation") Signed-off-by: Pawan Gupta Reviewed-by: Tony Luck --- .../admin-guide/hw-vuln/multihit.rst | 5 +++- arch/x86/include/asm/processor.h | 6 + arch/x86/kernel/cpu/bugs.c| 24 +-- arch/x86/kvm/mmu/mmu.c

Re: [RFC PATCH v3 13/16] sched: Add core wide task selection and scheduling.

2019-06-07 Thread Pawan Gupta
On Wed, May 29, 2019 at 08:36:49PM +, Vineeth Remanan Pillai wrote: > From: Peter Zijlstra > > Instead of only selecting a local task, select a task for all SMT > siblings for every reschedule on the core (irrespective which logical > CPU does the reschedule). > > NOTE: there is still potent

Re: [RFC][PATCH 00/16] sched: Core scheduling

2019-03-12 Thread Pawan Gupta
Hi, With core scheduling LTP reports 2 new failures related to cgroups(memcg_stat_rss and memcg_move_charge_at_immigrate). I will try to debug it. Also "perf sched map" indicates there might be a small window when 2 processes in different cgroups run together on one core. In below case B0 and