Re: [PATCH] target/i386: Export RFDS bit to guests

2024-03-19 Thread Pawan Gupta
On Wed, Mar 20, 2024 at 08:23:39AM +0800, Xiaoyao Li wrote: > On 3/19/2024 11:08 PM, Pawan Gupta wrote: > > On Tue, Mar 19, 2024 at 12:22:08PM +0800, Xiaoyao Li wrote: > > > On 3/13/2024 10:53 PM, Pawan Gupta wrote: > > > > Register File Data Sampling (RFDS) is a

Re: [PATCH] target/i386: Export RFDS bit to guests

2024-03-19 Thread Pawan Gupta
On Tue, Mar 19, 2024 at 12:22:08PM +0800, Xiaoyao Li wrote: > On 3/13/2024 10:53 PM, Pawan Gupta wrote: > > Register File Data Sampling (RFDS) is a CPU side-channel vulnerability > > that may expose stale register value. CPUs that set RFDS_NO bit in MSR > > IA32_ARCH_

Re: [PATCH] target/i386: Export RFDS bit to guests

2024-03-17 Thread Pawan Gupta
backgrounds: > https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/register-file-data-sampling.html) > > > Signed-off-by: Pawan Gupta > > --- > > target/i386/cpu.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2

[PATCH] target/i386: Export RFDS bit to guests

2024-03-13 Thread Pawan Gupta
to help mitigate RFDS. Make RFDS_CLEAR and RFDS_NO bits available to guests. Signed-off-by: Pawan Gupta --- target/i386/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 9a210d8d9290..693a5e0fb2ce 100644 --- a/target/i386

[PATCH v2] target/i386: Export GDS_NO bit to guests

2023-08-14 Thread Pawan Gupta
/camgffemg6tnq0n3+4ojagxc8j0oevy60khzekxcbs3lok9v...@mail.gmail.com/ Reported-by: Jack Wang Signed-off-by: Pawan Gupta Tested-by: Jack Wang Tested-by: Daniel Sneddon --- v2: Added commit tags v1: https://lore.kernel.org/qemu-devel/c373f3f92b542b738f296d44bb6a916a1cded7bd.1691774049.git.pawan.kumar.gu

[PATCH] target/i386: Export GDS_NO bit to guests

2023-08-11 Thread Pawan Gupta
Gather Data Sampling (GDS) is a side-channel attack using Gather instructions. Some Intel processors will set ARCH_CAP_GDS_NO bit in MSR IA32_ARCH_CAPABILITIES to report that they are not vulnerable to GDS. Make this bit available to guests. Signed-off-by: Pawan Gupta --- This is just compile

[PATCH] target/i386: Export MSR_ARCH_CAPABILITIES bits to guests

2023-06-23 Thread Pawan Gupta
. Signed-off-by: Pawan Gupta --- target/i386/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 1242bd541a53..66d6062aea7c 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -1049,10 +1049,10 @@ FeatureWordInfo

Bug#1035340: latest openjdk-8-jdk version 8u372-b07 is not available

2023-05-01 Thread pawan gupta
package: openjdk-8-jdk version: latest When I invoke `apt-get update && apt-get install openjdk-8-jdk` it is installing an older version of jdk-8 which is 8u362-b09. Jdk version 8u372-b07 is not getting installed while running the `apt-get install openjdk-8-jdk` even after running the `apt-get

Bug#1035340: latest openjdk-8-jdk version 8u372-b07 is not available

2023-05-01 Thread pawan gupta
package: openjdk-8-jdk version: latest When I invoke `apt-get update && apt-get install openjdk-8-jdk` it is installing an older version of jdk-8 which is 8u362-b09. Jdk version 8u372-b07 is not getting installed while running the `apt-get install openjdk-8-jdk` even after running the `apt-get

Re: [PATCH v3] x86/bugs: Explicitly clear speculative MSR bits

2023-01-11 Thread Pawan Gupta
t; the MSR bits are carried forward and not cleared at the boot of the new > > kernel. This might have some performance degradation that is hard to > > find. > > > > This problem does not happen if the machine is (hard) rebooted, because > > the bit will be cleare

Re: [PATCH v2] x86/bugs: Explicitly clear speculative MSR bits

2022-11-28 Thread Pawan Gupta
On Mon, Nov 28, 2022 at 03:02:21PM -0800, Pawan Gupta wrote: On Mon, Nov 28, 2022 at 11:40:19PM +0100, Borislav Petkov wrote: On Mon, Nov 28, 2022 at 02:03:58PM -0800, Pawan Gupta wrote: diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c index 3e3230cccaa7..cfc2ed2661fc

Re: [PATCH v2] x86/bugs: Explicitly clear speculative MSR bits

2022-11-28 Thread Pawan Gupta
On Mon, Nov 28, 2022 at 11:40:19PM +0100, Borislav Petkov wrote: On Mon, Nov 28, 2022 at 02:03:58PM -0800, Pawan Gupta wrote: diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c index 3e3230cccaa7..cfc2ed2661fc 100644 --- a/arch/x86/kernel/cpu/bugs.c +++ b/arch/x86/kernel/cpu

Re: [PATCH v2] x86/bugs: Explicitly clear speculative MSR bits

2022-11-28 Thread Pawan Gupta
. Just remove that sentence - the macro's function is kinda obvious from the diff itself. Suggested-by: Pawan Gupta Signed-off-by: Breno Leitao --- arch/x86/include/asm/msr-index.h | 3 +++ arch/x86/kernel/cpu/bugs.c | 9 - 2 files changed, 11 insertions(+), 1 deletion(-) diff

Re: [PATCH] x86/bugs: Explicitly clear speculative MSR bits

2022-11-21 Thread Pawan Gupta
if eventually some new mitigation show up. Suggested-by: Pawan Gupta Signed-off-by: Breno Leitao --- arch/x86/include/asm/msr-index.h | 3 +++ arch/x86/kernel/cpu/bugs.c | 10 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86

Re: [RFC PATCH] x86/bugs: Explicitly clear IBRS MSR bit

2022-11-18 Thread Pawan Gupta
On Fri, Nov 18, 2022 at 10:21:10AM -0800, Breno Leitao wrote: Currently x86_spec_ctrl_base is read at boot time, and SPEC_CTRL_IBRS bit is set if CONFIG_CPU_IBRS_ENTRY is enabled. There is no change in the bit if CONFIG_CPU_IBRS_ENTRY is not set. This is a problem when kexec-ing a kernel that

[Yahoo-eng-team] [Bug 1915513] [NEW] selected region from the available region listing is not being used which results into an error

2021-02-12 Thread Pawan Gupta
Public bug reported: I have multiple regions ( e.g. R1, R2) in my setup and I am providing those via "AVAILABLE_REGIONS" param in `local_settings` file. I have set "DEFAULT_SERVICE_REGIONS" param too with correct endpoints ( e.g. R2). Now while logging in I select `R2` from the Region dropdown,

[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 del

[Yahoo-eng-team] [Bug 1901701] [NEW] cloud-init is not able to configure IPv6 in Ubuntu 18.04

2020-10-27 Thread Pawan Gupta
Public bug reported: I am trying to create a Ubuntu 18.04 VM using Openstack solution, I want to assign IPv6 to the VM and I have disabled DHCP in the IPv6 subnet. It is noticed that cloud-init is able to read the network related information from the metadata url but not using it to assign it to

[Yahoo-eng-team] [Bug 1895025] [NEW] Vendor Data Script is not getting executed in the case of CentOS-7

2020-09-09 Thread Pawan Gupta
Public bug reported: I am trying to create a CentOS-7 VM and trying to push a simple script via Vendor Data, but I noticed, Cloud Init is able to copy the script but the script is not getting executed. Cloud Provider - Openstack Vendor Data Script - #!/bin/bash echo 'Hello World!' >

Re: Please give advise about my first patch attempt

2020-08-27 Thread Pawan Gupta
On Thu, Aug 27, 2020 at 10:49:51AM +0200, Thomas Schmitt wrote: > Hi, > > i am preparing my first patch. > May i ask for review and advise how to make it acceptable ? If you are not running it already you can catch common mistakes by running checkpatch script from the kernel source top directory

[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
is 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_VMX or

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

[PATCH] target/i386: Export TAA_NO bit to guests

2019-11-19 Thread Pawan Gupta
this bit available to guests. Signed-off-by: Pawan Gupta --- target/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index a624163ac2cd..af84b04951cf 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -1205,7 +1205,7 @@ static

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

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

[Yahoo-eng-team] [Bug 1781536] [NEW] Install and configure in keystone

2018-07-13 Thread Pawan Gupta
Public bug reported: I noticed that on page https://docs.openstack.org/keystone/queens/install/keystone-install- rdo.html#install-and-configure-components, which is for installing and configuring keystone, under Finalize the installation section, step 2, this value export

[Wikimedia Education] re

2015-04-21 Thread Pawan Gupta
thanks ___ Education mailing list Education@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/education

[web2py] Admin is disabled because insecure channel error Hosting web2py app on Amazon EC2 Linux server

2014-04-20 Thread Pawan Gupta
Hi Everyone We are having serious problem with our website 911india.com. We have hosted it on Amazon EC2 server and there is a ticket that is issued which redirects us to the admin interface that shows Admin is disabled because insecure channel I tried searching on the website but nothing

[PECL-DEV] VCS Account Request: pawangel55

2014-03-24 Thread Pawan Gupta
For learning purpose. Sponsor: - -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PECL-DEV] PECL Account Request: pawangel55

2014-03-24 Thread Pawan Gupta
Requested from: 115.112.154.158 Username: pawangel55 Real Name:Pawan Gupta Email:pawa...@cisinlabs.com (show address) Need php.net Account: yes Purpose: For learning purpose. Sponsor: - To handle: http://pecl.php.net/admin/?acreq=pawangel55 More info: I#039;m a php

[web2py] [Errno 21] Is a directory error while implementing Multiupload

2014-02-05 Thread Pawan Gupta
Hi I am a newbie to web2py and I'm just learning. I am trying to implement Multiupload in my code as suggested on this thread https://groups.google.com/forum/#!topic/web2py/XpnUb2_MaRc I am getting an error *[Errno 21] is a directory* while specifying the upload directory in my db.py model. I

[flexcoders] MyEclipse 6.0 with Flex 3 Plugin

2010-05-17 Thread pawan gupta
on the net. so , please help me out , and tell me how to config, find and install the flex 3 plugin to myeclipse 6.0 and how to deploy the flex 3 application on the Jboss 5.0.GA , with Best Regards Pawan Gupta

[gmx-users] how to calculate binding free energy and electrostatics potential for ligand-protein complex

2010-02-10 Thread pawan gupta
hello How can we calculate binding free energy and electrostatics potential for ligand-protein complex? which parameter is required in mdrun input file for that? I tried online manual but did not get output. It is appriciable if any body have idea Thanks in advance Regards Pawan Gupta

[Mongrel] Very basic question about REXML

2007-07-14 Thread Pawan Gupta
] = 93 titles // here I like to put text value in titles array. end end Thanks, Pawan Gupta - Blog : http://www.xanga.com/pawan79

[LARTC] marking packets problem: iptables

2003-07-23 Thread pawan gupta
Hi all, I've set up iptables to mark all the packets coming from a particular host on my network. But I'm not sure whether my packets are getting marked or not. Does iptables provides any way to the packets which are getting marked (or any other way which makes sure that the packets are getting

[LARTC] Problen in cbq , fw

2003-07-16 Thread pawan gupta
Hi, In my LAN Iam trying to make following setup: - All the traffic generated by 10.0.2.1 should go to 10.0.2.11, If the destination of this traffic is internet than it should be placed on its interface eth1. Outgoing traffic on eth1 should be shaped.For this I am using fw filters and cbq.

[LARTC] what is wrong with this configuration?

2003-07-14 Thread pawan gupta
In my LAN Iam trying to make following setup: - All the traffic generated by 10.0.2.1 should go to 10.0.2.11, If the destination of this traffic is internet than it should be placed on its interface eth1. Outgoing traffic on eth1 should be shaped.For this I am using fw filters and cbq.