[PATCH] uapi: Fix linux/rds.h userspace compilation errors.

2018-08-24 Thread Vinson Lee
src_addr; ^~~~ /usr/include/linux/rds.h:246:18: error: field ‘dst_addr’ has incomplete type struct in6_addr dst_addr; ^~~~ Fixes: b7ff8b1036f0 ("rds: Extend RDS API for IPv6 support") Signed-off-by: Vinson Lee --- include/uapi/linux/rds.h | 1

[PATCH] uapi: Fix linux/rds.h userspace compilation errors.

2018-08-24 Thread Vinson Lee
src_addr; ^~~~ /usr/include/linux/rds.h:246:18: error: field ‘dst_addr’ has incomplete type struct in6_addr dst_addr; ^~~~ Fixes: b7ff8b1036f0 ("rds: Extend RDS API for IPv6 support") Signed-off-by: Vinson Lee --- include/uapi/linux/rds.h | 1

[PATCH] clk: uniphier: Fix build with gcc-4.4.

2016-12-02 Thread Vinson Lee
Signed-off-by: Vinson Lee <v...@freedesktop.org> --- drivers/clk/uniphier/clk-uniphier-mio.c | 4 ++-- drivers/clk/uniphier/clk-uniphier.h | 12 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/clk/uniphier/clk-uniphier-mio.c b/drivers/clk/uniphier/cl

[PATCH] clk: uniphier: Fix build with gcc-4.4.

2016-12-02 Thread Vinson Lee
Signed-off-by: Vinson Lee --- drivers/clk/uniphier/clk-uniphier-mio.c | 4 ++-- drivers/clk/uniphier/clk-uniphier.h | 12 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/clk/uniphier/clk-uniphier-mio.c b/drivers/clk/uniphier/clk-uniphier-mio.c index 4974d3

[tip:x86/vdso] x86/vdso: Use CONFIG_X86_X32_ABI to enable vdso prctl

2016-09-19 Thread tip-bot for Vinson Lee
Commit-ID: 6e68b08728ce3365c713f8663c6b05a79e2bbca1 Gitweb: http://git.kernel.org/tip/6e68b08728ce3365c713f8663c6b05a79e2bbca1 Author: Vinson Lee <v...@freedesktop.org> AuthorDate: Sat, 17 Sep 2016 00:51:53 + Committer: Thomas Gleixner <t...@linutronix.de> CommitDate:

[tip:x86/vdso] x86/vdso: Use CONFIG_X86_X32_ABI to enable vdso prctl

2016-09-19 Thread tip-bot for Vinson Lee
Commit-ID: 6e68b08728ce3365c713f8663c6b05a79e2bbca1 Gitweb: http://git.kernel.org/tip/6e68b08728ce3365c713f8663c6b05a79e2bbca1 Author: Vinson Lee AuthorDate: Sat, 17 Sep 2016 00:51:53 + Committer: Thomas Gleixner CommitDate: Tue, 20 Sep 2016 00:01:48 +0200 x86/vdso: Use

[PATCH] x86/vdso: Add ARCH_MAP_VDSO_X32 if CONFIG_X86_X32_ABI.

2016-09-16 Thread Vinson Lee
': (.text+0x27477): undefined reference to `vdso_image_x32' Fixes: 2eefd8789698 ("x86/arch_prctl/vdso: Add ARCH_MAP_VDSO_*") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- arch/x86/kernel/process_64.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a

[PATCH] x86/vdso: Add ARCH_MAP_VDSO_X32 if CONFIG_X86_X32_ABI.

2016-09-16 Thread Vinson Lee
': (.text+0x27477): undefined reference to `vdso_image_x32' Fixes: 2eefd8789698 ("x86/arch_prctl/vdso: Add ARCH_MAP_VDSO_*") Signed-off-by: Vinson Lee --- arch/x86/kernel/process_64.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/process_64.c

[tip:perf/core] perf config: Fix build with older toolchain.

2016-04-13 Thread tip-bot for Vinson Lee
Commit-ID: d8e28654f28de74951ab1b7e59d2bebb442972aa Gitweb: http://git.kernel.org/tip/d8e28654f28de74951ab1b7e59d2bebb442972aa Author: Vinson Lee <v...@freedesktop.org> AuthorDate: Mon, 4 Apr 2016 22:07:39 + Committer: Arnaldo Carvalho de Melo <a...@redhat.com> CommitDate

[tip:perf/core] perf config: Fix build with older toolchain.

2016-04-13 Thread tip-bot for Vinson Lee
Commit-ID: d8e28654f28de74951ab1b7e59d2bebb442972aa Gitweb: http://git.kernel.org/tip/d8e28654f28de74951ab1b7e59d2bebb442972aa Author: Vinson Lee AuthorDate: Mon, 4 Apr 2016 22:07:39 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 6 Apr 2016 10:44:28 -0300 perf config: Fix

[PATCH] perf config: Fix build with older toolchain.

2016-04-04 Thread Vinson Lee
onfig to perf_buildid_config") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- tools/perf/util/config.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/config.c b/tools/perf/util/config.c index 5c20d783423b..a3d80a05e7a2 100644 --- a

[PATCH] perf config: Fix build with older toolchain.

2016-04-04 Thread Vinson Lee
onfig to perf_buildid_config") Signed-off-by: Vinson Lee --- tools/perf/util/config.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/config.c b/tools/perf/util/config.c index 5c20d783423b..a3d80a05e7a2 100644 --- a/tools/perf/util/config.c +++ b/

Re: netpoll_send_skb_on_dev warning with bnx2

2015-10-07 Thread Vinson Lee
On Wed, Oct 7, 2015 at 7:38 AM, Neil Horman wrote: > On Tue, Oct 06, 2015 at 10:12:56PM -0700, Vinson Lee wrote: >> On Fri, Oct 2, 2015 at 6:10 AM, Neil Horman wrote: >> > On Thu, Oct 01, 2015 at 08:25:46PM -0700, Vinson Lee wrote: >> >> Hi. >> >> &

Re: netpoll_send_skb_on_dev warning with bnx2

2015-10-07 Thread Vinson Lee
On Wed, Oct 7, 2015 at 7:38 AM, Neil Horman <nhor...@redhat.com> wrote: > On Tue, Oct 06, 2015 at 10:12:56PM -0700, Vinson Lee wrote: >> On Fri, Oct 2, 2015 at 6:10 AM, Neil Horman <nhor...@redhat.com> wrote: >> > On Thu, Oct 01, 2015 at 08:25:46PM -0700, Vinson Lee

Re: netpoll_send_skb_on_dev warning with bnx2

2015-10-06 Thread Vinson Lee
On Fri, Oct 2, 2015 at 6:10 AM, Neil Horman wrote: > On Thu, Oct 01, 2015 at 08:25:46PM -0700, Vinson Lee wrote: >> Hi. >> >> I am seeing a netpoll_send_skb_on_dev warning with bnx2. It happens on >> Linux 4.1 and I am able to reproduce the warning with Linux 4.3-rc3. &

Re: netpoll_send_skb_on_dev warning with bnx2

2015-10-06 Thread Vinson Lee
On Fri, Oct 2, 2015 at 6:10 AM, Neil Horman <nhor...@redhat.com> wrote: > On Thu, Oct 01, 2015 at 08:25:46PM -0700, Vinson Lee wrote: >> Hi. >> >> I am seeing a netpoll_send_skb_on_dev warning with bnx2. It happens on >> Linux 4.1 and I am able to reprodu

netpoll_send_skb_on_dev warning with bnx2

2015-10-01 Thread Vinson Lee
Hi. I am seeing a netpoll_send_skb_on_dev warning with bnx2. It happens on Linux 4.1 and I am able to reproduce the warning with Linux 4.3-rc3. [ cut here ] WARNING: CPU: 11 PID: 3110 at net/core/netpoll.c:368 netpoll_send_skb_on_dev+0x183/0x201()

netpoll_send_skb_on_dev warning with bnx2

2015-10-01 Thread Vinson Lee
Hi. I am seeing a netpoll_send_skb_on_dev warning with bnx2. It happens on Linux 4.1 and I am able to reproduce the warning with Linux 4.3-rc3. [ cut here ] WARNING: CPU: 11 PID: 3110 at net/core/netpoll.c:368 netpoll_send_skb_on_dev+0x183/0x201()

GPF in do_raw_spin_lock on Linux 4.1

2015-09-30 Thread Vinson Lee
Hi. We've hit this GPF on several different machines on Linux 4.1. general protection fault: [#1] SMP Modules linked in: sch_htb cls_basic act_mirred cls_u32 veth sch_ingress netconsole configfs cpufreq_ondemand ipv6 dm_multipath scsi_dh video sbs sbshc hed acpi_pad acpi_ipmi sch_fq_codel

GPF in do_raw_spin_lock on Linux 4.1

2015-09-30 Thread Vinson Lee
Hi. We've hit this GPF on several different machines on Linux 4.1. general protection fault: [#1] SMP Modules linked in: sch_htb cls_basic act_mirred cls_u32 veth sch_ingress netconsole configfs cpufreq_ondemand ipv6 dm_multipath scsi_dh video sbs sbshc hed acpi_pad acpi_ipmi sch_fq_codel

Re: [tip:perf/core] tools: Add err.h with ERR_PTR PTR_ERR interface

2015-09-29 Thread Vinson Lee
On Mon, Sep 21, 2015 at 4:41 PM, Vinson Lee wrote: > On Wed, Sep 16, 2015 at 12:28 AM, tip-bot for Jiri Olsa > wrote: >> Commit-ID: 01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7 >> Gitweb: >> http://git.kernel.org/tip/01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7

Re: [tip:perf/core] tools: Add err.h with ERR_PTR PTR_ERR interface

2015-09-29 Thread Vinson Lee
On Mon, Sep 21, 2015 at 4:41 PM, Vinson Lee <v...@twopensource.com> wrote: > On Wed, Sep 16, 2015 at 12:28 AM, tip-bot for Jiri Olsa > <tip...@zytor.com> wrote: >> Commit-ID: 01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7 >> Gitweb:

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-25 Thread Vinson Lee
scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or > directory > #include > > Reported-by: Vinson Lee > Signed-off-by: David Howells > Acked-by: David Woodhouse > This squashed patch also builds for me on CentOS 5.11. Linux 4.2-rc2

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-25 Thread Vinson Lee
> > HOSTCC scripts/sign-file > scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or > directory > #include > > Reported-by: Vinson Lee <v...@twopensource.com> > Signed-off-by: David Howells <dhowe...@redhat.com> >

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-24 Thread Vinson Lee
On Thu, Sep 24, 2015 at 4:21 AM, David Howells wrote: > David Howells wrote: > >> Does this addition help? > > Rather, this. Seems I shouldn't pass PKCS7_STREAM. > > David > --- > commit 227ccb6a71bd9a04d1aaff08a52fcb5ae4149d1e > Author: David Howells > Date: Thu Sep 24 12:15:06 2015 +0100 >

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-24 Thread Vinson Lee
On Thu, Sep 24, 2015 at 4:21 AM, David Howells wrote: > David Howells wrote: > >> Does this addition help? > > Rather, this. Seems I shouldn't pass PKCS7_STREAM. > > David > --- > commit 227ccb6a71bd9a04d1aaff08a52fcb5ae4149d1e > Author: David Howells

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

2015-09-22 Thread Vinson Lee
On Tue, Sep 22, 2015 at 6:53 AM, Arnaldo Carvalho de Melo wrote: > Em Mon, Sep 21, 2015 at 05:20:03PM -0700, Vinson Lee escreveu: >> On Mon, Sep 14, 2015 at 11:59 PM, tip-bot for Jiri Olsa >> wrote: >> > Commit-ID: 60a1133a5b39738671eff1e4d77bedc1ee3fa528 >

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

2015-09-22 Thread Vinson Lee
On Tue, Sep 22, 2015 at 6:53 AM, Arnaldo Carvalho de Melo <a...@redhat.com> wrote: > Em Mon, Sep 21, 2015 at 05:20:03PM -0700, Vinson Lee escreveu: >> On Mon, Sep 14, 2015 at 11:59 PM, tip-bot for Jiri Olsa >> <tip...@zytor.com> wrote: >> > Commit-ID: 60a1

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

2015-09-21 Thread Vinson Lee
On Mon, Sep 14, 2015 at 11:59 PM, tip-bot for Jiri Olsa wrote: > Commit-ID: 60a1133a5b39738671eff1e4d77bedc1ee3fa528 > Gitweb: http://git.kernel.org/tip/60a1133a5b39738671eff1e4d77bedc1ee3fa528 > Author: Jiri Olsa > AuthorDate: Wed, 2 Sep 2015 09:56:44 +0200 > Committer: Arnaldo

Re: [tip:perf/core] tools: Add err.h with ERR_PTR PTR_ERR interface

2015-09-21 Thread Vinson Lee
On Wed, Sep 16, 2015 at 12:28 AM, tip-bot for Jiri Olsa wrote: > Commit-ID: 01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7 > Gitweb: http://git.kernel.org/tip/01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7 > Author: Jiri Olsa > AuthorDate: Mon, 7 Sep 2015 10:38:03 +0200 > Committer: Arnaldo

Re: [tip:perf/core] tools: Add err.h with ERR_PTR PTR_ERR interface

2015-09-21 Thread Vinson Lee
On Wed, Sep 16, 2015 at 12:28 AM, tip-bot for Jiri Olsa wrote: > Commit-ID: 01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7 > Gitweb: http://git.kernel.org/tip/01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7 > Author: Jiri Olsa > AuthorDate: Mon, 7 Sep 2015

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

2015-09-21 Thread Vinson Lee
On Mon, Sep 14, 2015 at 11:59 PM, tip-bot for Jiri Olsa wrote: > Commit-ID: 60a1133a5b39738671eff1e4d77bedc1ee3fa528 > Gitweb: http://git.kernel.org/tip/60a1133a5b39738671eff1e4d77bedc1ee3fa528 > Author: Jiri Olsa > AuthorDate: Wed, 2 Sep 2015

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-18 Thread Vinson Lee
On Wed, Sep 16, 2015 at 3:45 PM, David Howells wrote: > David Howells wrote: > >> Hmmm... Tricky. I'll have to think about it. I'm using PKCS7_NOCERTS with >> PKCS7_sign_add_signer() (or the CMS equivalents) to leave the cert list out >> of >> the message - but it's then necessary to

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-18 Thread Vinson Lee
On Wed, Sep 16, 2015 at 3:45 PM, David Howells wrote: > David Howells wrote: > >> Hmmm... Tricky. I'll have to think about it. I'm using PKCS7_NOCERTS with >> PKCS7_sign_add_signer() (or the CMS equivalents) to leave the cert list out >> of >> the

Linux 4.3-rc1 build error with older elfutils "util/symbol-elf.c:41:5: error: no previous prototype for ‘elf_getphdrnum’"

2015-09-16 Thread Vinson Lee
Hi. With Linux 4.3-rc1 I get a perf build error using toolchains with older elfutils. The following build error occurs on both CentOS 5.11 (elfutils 0.137) and Ubuntu 10.04.4 (elfutils 0.143). CC util/symbol-elf.o cc1: warnings being treated as errors util/symbol-elf.c:41: error: no

Linux 4.3-rc1 build error with older elfutils "util/symbol-elf.c:41:5: error: no previous prototype for ‘elf_getphdrnum’"

2015-09-16 Thread Vinson Lee
Hi. With Linux 4.3-rc1 I get a perf build error using toolchains with older elfutils. The following build error occurs on both CentOS 5.11 (elfutils 0.137) and Ubuntu 10.04.4 (elfutils 0.143). CC util/symbol-elf.o cc1: warnings being treated as errors util/symbol-elf.c:41: error: no

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-15 Thread Vinson Lee
ts/sign-file > scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or > directory > #include > > Reported-by: Vinson Lee > Signed-off-by: David Howells > Acked-by: David Woodhouse > This patch results in this build error on CentOS

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-15 Thread Vinson Lee
r gives the following error: > > HOSTCC scripts/sign-file > scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or > directory > #include > > Reported-by: Vinson Lee <v...@twopensource.com> > Signed-off-by: David Howells <dhowe

Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-11 Thread Vinson Lee
Hi. With the latest Linux 4.3-rc1, I am hitting this build error on CentOS 5.11. HOSTCC scripts/sign-file scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory #include ^ CentOS 5.11 toolchain has openssl-0.9.8e and does not have

Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-11 Thread Vinson Lee
Hi. With the latest Linux 4.3-rc1, I am hitting this build error on CentOS 5.11. HOSTCC scripts/sign-file scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory #include ^ CentOS 5.11 toolchain has openssl-0.9.8e and does not have

Linux 4.1 kernel warning in unregister_blkdev

2015-08-03 Thread Vinson Lee
Hi. I've hit this warning multiple times from running the Linux Test Project ltp_block_dev test case. ltp_block_dev: Test Case 7: unregister_blkdev() with major=0 [ cut here ] WARNING: CPU: 10 PID: 33952 at block/genhd.c:352 unregister_blkdev+0x67/0x9c() Modules linked

Linux 4.1 kernel warning in unregister_blkdev

2015-08-03 Thread Vinson Lee
Hi. I've hit this warning multiple times from running the Linux Test Project ltp_block_dev test case. ltp_block_dev: Test Case 7: unregister_blkdev() with major=0 [ cut here ] WARNING: CPU: 10 PID: 33952 at block/genhd.c:352 unregister_blkdev+0x67/0x9c() Modules linked

4.2-rc2 perf build error builtin-stat.c:346: error: declaration of ‘close’ shadows a global declaration

2015-07-07 Thread Vinson Lee
Hi. 4.2-rc1 commit 106a94a0f8c207ef4113ce7e32f34a00b3b174e7 "perf stat: Introduce read_counters function" introduced a build error with older toolchains. This is the build error on CentOS 6. CC builtin-stat.o cc1: warnings being treated as errors builtin-stat.c: In function

4.2-rc2 perf build error builtin-stat.c:346: error: declaration of ‘close’ shadows a global declaration

2015-07-07 Thread Vinson Lee
Hi. 4.2-rc1 commit 106a94a0f8c207ef4113ce7e32f34a00b3b174e7 perf stat: Introduce read_counters function introduced a build error with older toolchains. This is the build error on CentOS 6. CC builtin-stat.o cc1: warnings being treated as errors builtin-stat.c: In function

Linux 4.2 build error in net/netfilter/ipset/ip_set_hash_netnet.c

2015-07-05 Thread Vinson Lee
Hi. With the latest Linux 4.2-rc1, I am hitting this build error with GCC 4.4.7 on CentOS 6. CC net/netfilter/ipset/ip_set_hash_netnet.o net/netfilter/ipset/ip_set_hash_netnet.c: In function ‘hash_netnet4_uadt’: net/netfilter/ipset/ip_set_hash_netnet.c:163: error: unknown field ‘cidr’

Linux 4.2 build error in net/netfilter/ipset/ip_set_hash_netnet.c

2015-07-05 Thread Vinson Lee
Hi. With the latest Linux 4.2-rc1, I am hitting this build error with GCC 4.4.7 on CentOS 6. CC net/netfilter/ipset/ip_set_hash_netnet.o net/netfilter/ipset/ip_set_hash_netnet.c: In function ‘hash_netnet4_uadt’: net/netfilter/ipset/ip_set_hash_netnet.c:163: error: unknown field ‘cidr’

[PATCH v2] selftests/exec: Fix build on older distros.

2015-06-26 Thread Vinson Lee
From: Vinson Lee This patch fixes this build error on CentOS 5. execveat.c: In function ‘check_execveat_pathmax’: execveat.c:185: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function) execveat.c:185: error: (Each undeclared identifier is reported only once execveat.c:185: error

[PATCH v2] selftests/exec: Fix build on older distros.

2015-06-26 Thread Vinson Lee
From: Vinson Lee v...@twitter.com This patch fixes this build error on CentOS 5. execveat.c: In function ‘check_execveat_pathmax’: execveat.c:185: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function) execveat.c:185: error: (Each undeclared identifier is reported only once execveat.c

[PATCH] selftests/exec: Fix build on older distros.

2015-06-25 Thread Vinson Lee
From: Vinson Lee This patch fixes this build error on CentOS 5. execveat.c: In function ‘check_execveat_pathmax’: execveat.c:185: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function) execveat.c:185: error: (Each undeclared identifier is reported only once execveat.c:185: error

[PATCH] selftests/exec: Fix build on older distros.

2015-06-25 Thread Vinson Lee
From: Vinson Lee v...@twitter.com This patch fixes this build error on CentOS 5. execveat.c: In function ‘check_execveat_pathmax’: execveat.c:185: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function) execveat.c:185: error: (Each undeclared identifier is reported only once execveat.c

Re: [PATCH 1/2] KVM: MMU: fix SMAP virtualization

2015-06-08 Thread Vinson Lee
On Tue, May 26, 2015 at 7:53 PM, Xiao Guangrong wrote: > > > On 05/26/2015 10:48 PM, Paolo Bonzini wrote: >> >> >> >> On 26/05/2015 16:45, Edward Cree wrote: > > This breaks older compilers that can't initialize anon structures. > > How old ? Even gcc 3.1 says you can use unnamed

Re: [PATCH 1/2] KVM: MMU: fix SMAP virtualization

2015-06-08 Thread Vinson Lee
On Tue, May 26, 2015 at 7:53 PM, Xiao Guangrong guangrong.x...@linux.intel.com wrote: On 05/26/2015 10:48 PM, Paolo Bonzini wrote: On 26/05/2015 16:45, Edward Cree wrote: This breaks older compilers that can't initialize anon structures. How old ? Even gcc 3.1 says you can use unnamed

4.0-rc1 perf build error "builtin-kmem.c:322: error: declaration of ‘stat’ shadows a global declaration"

2015-04-23 Thread Vinson Lee
Hi. 4.0-rc1 commit 0d68bc92c48167130b61b449f08be27dc862dba2 "perf kmem: Analyze page allocator events also" introduced a build error with older toolchains. For example, this build errors occurs on CentOS 6. CC builtin-kmem.o cc1: warnings being treated as errors builtin-kmem.c: In

4.0-rc1 perf build error builtin-kmem.c:322: error: declaration of ‘stat’ shadows a global declaration

2015-04-23 Thread Vinson Lee
Hi. 4.0-rc1 commit 0d68bc92c48167130b61b449f08be27dc862dba2 perf kmem: Analyze page allocator events also introduced a build error with older toolchains. For example, this build errors occurs on CentOS 6. CC builtin-kmem.o cc1: warnings being treated as errors builtin-kmem.c: In

[tip:perf/core] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-03-24 Thread tip-bot for Vinson Lee
Commit-ID: e1e455f4f4d35850c30235747620d0d078fe9f64 Gitweb: http://git.kernel.org/tip/e1e455f4f4d35850c30235747620d0d078fe9f64 Author: Vinson Lee AuthorDate: Mon, 23 Mar 2015 12:09:16 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Mar 2015 12:08:07 -0300 perf tools

[tip:perf/core] perf tools: Work around lack of sched_getcpu in glibc 2.6.

2015-03-24 Thread tip-bot for Vinson Lee
Commit-ID: e1e455f4f4d35850c30235747620d0d078fe9f64 Gitweb: http://git.kernel.org/tip/e1e455f4f4d35850c30235747620d0d078fe9f64 Author: Vinson Lee v...@twitter.com AuthorDate: Mon, 23 Mar 2015 12:09:16 -0700 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 24 Mar 2015

[PATCH v3] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-03-23 Thread Vinson Lee
From: Vinson Lee This patch fixes this build error with glibc < 2.6. CC util/cloexec.o cc1: warnings being treated as errors util/cloexec.c: In function ‘perf_flag_probe’: util/cloexec.c:24: error: implicit declaration of function ‘sched_getcpu’ util/cloexec.c:24: error: nested ext

[PATCH v3] perf tools: Work around lack of sched_getcpu in glibc 2.6.

2015-03-23 Thread Vinson Lee
From: Vinson Lee v...@twitter.com This patch fixes this build error with glibc 2.6. CC util/cloexec.o cc1: warnings being treated as errors util/cloexec.c: In function ‘perf_flag_probe’: util/cloexec.c:24: error: implicit declaration of function ‘sched_getcpu’ util/cloexec.c:24: error

Re: [PATCH v2] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-03-20 Thread Vinson Lee
On Fri, Mar 20, 2015 at 6:03 AM, Arnaldo Carvalho de Melo wrote: > Em Thu, Mar 19, 2015 at 02:12:05PM -0700, Vinson Lee escreveu: >> On Thu, Mar 19, 2015 at 6:14 AM, Arnaldo Carvalho de Melo >> wrote: >> > Em Thu, Mar 19, 2015 at 11:13:04AM +0100, Jiri Olsa escreveu: &g

Re: [PATCH v2] perf tools: Work around lack of sched_getcpu in glibc 2.6.

2015-03-20 Thread Vinson Lee
On Fri, Mar 20, 2015 at 6:03 AM, Arnaldo Carvalho de Melo a...@kernel.org wrote: Em Thu, Mar 19, 2015 at 02:12:05PM -0700, Vinson Lee escreveu: On Thu, Mar 19, 2015 at 6:14 AM, Arnaldo Carvalho de Melo a...@kernel.org wrote: Em Thu, Mar 19, 2015 at 11:13:04AM +0100, Jiri Olsa escreveu

Re: [PATCH v2] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-03-19 Thread Vinson Lee
On Thu, Mar 19, 2015 at 6:14 AM, Arnaldo Carvalho de Melo wrote: > Em Thu, Mar 19, 2015 at 11:13:04AM +0100, Jiri Olsa escreveu: >> On Wed, Mar 18, 2015 at 04:11:52PM -0700, Vinson Lee wrote: >> > This patch fixes this build error with glibc < 2.6. > >

Re: [PATCH v2] perf tools: Work around lack of sched_getcpu in glibc 2.6.

2015-03-19 Thread Vinson Lee
On Thu, Mar 19, 2015 at 6:14 AM, Arnaldo Carvalho de Melo a...@kernel.org wrote: Em Thu, Mar 19, 2015 at 11:13:04AM +0100, Jiri Olsa escreveu: On Wed, Mar 18, 2015 at 04:11:52PM -0700, Vinson Lee wrote: This patch fixes this build error with glibc 2.6. +#ifdef __GLIBC_PREREQ

[PATCH v2] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-03-18 Thread Vinson Lee
From: Vinson Lee This patch fixes this build error with glibc < 2.6. CC util/cloexec.o cc1: warnings being treated as errors util/cloexec.c: In function ‘perf_flag_probe’: util/cloexec.c:24: error: implicit declaration of function ‘sched_getcpu’ util/cloexec.c:24: error: nested ext

[PATCH v2] perf tools: Work around lack of sched_getcpu in glibc 2.6.

2015-03-18 Thread Vinson Lee
From: Vinson Lee v...@twitter.com This patch fixes this build error with glibc 2.6. CC util/cloexec.o cc1: warnings being treated as errors util/cloexec.c: In function ‘perf_flag_probe’: util/cloexec.c:24: error: implicit declaration of function ‘sched_getcpu’ util/cloexec.c:24: error

Re: [PATCH] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-03-17 Thread Vinson Lee
On Mon, Feb 16, 2015 at 12:50 PM, Yann Droneaud wrote: > Hi, > > Le vendredi 13 février 2015 à 18:06 -0800, Vinson Lee a écrit : >> From: Vinson Lee >> >> This patch fixes this build error with glibc < 2.6. >> >> CC util/cloexec.o >&g

Re: [PATCH] perf tools: Work around lack of sched_getcpu in glibc 2.6.

2015-03-17 Thread Vinson Lee
On Mon, Feb 16, 2015 at 12:50 PM, Yann Droneaud ydrone...@opteya.com wrote: Hi, Le vendredi 13 février 2015 à 18:06 -0800, Vinson Lee a écrit : From: Vinson Lee v...@twitter.com This patch fixes this build error with glibc 2.6. CC util/cloexec.o cc1: warnings being treated

SYMTAB_SHNDX has bad sh_link build error

2015-02-25 Thread Vinson Lee
Hi. With Linux 4.0-rc1, I get this allyesconfig build error on CentOS 5. This build error occurs starting with Linux 3.15-rc1. + modpost_link vmlinux.o + ld -m elf_x86_64 -r -o vmlinux.o arch/x86/kernel/head_64.o arch/x86/kernel/he$ + make -f ./scripts/Makefile.modpost vmlinux.o

SYMTAB_SHNDX has bad sh_link build error

2015-02-25 Thread Vinson Lee
Hi. With Linux 4.0-rc1, I get this allyesconfig build error on CentOS 5. This build error occurs starting with Linux 3.15-rc1. + modpost_link vmlinux.o + ld -m elf_x86_64 -r -o vmlinux.o arch/x86/kernel/head_64.o arch/x86/kernel/he$ + make -f ./scripts/Makefile.modpost vmlinux.o

[tip:perf/core] perf symbols: Define STT_GNU_IFUNC for glibc 2.9 and older.

2015-02-18 Thread tip-bot for Vinson Lee
Commit-ID: 4e31050f482c02c822b150d71cf1ea5be7c9d6e4 Gitweb: http://git.kernel.org/tip/4e31050f482c02c822b150d71cf1ea5be7c9d6e4 Author: Vinson Lee AuthorDate: Mon, 9 Feb 2015 16:29:37 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 Feb 2015 12:37:32 -0300 perf symbols

[tip:perf/core] perf symbols: Define STT_GNU_IFUNC for glibc 2.9 and older.

2015-02-18 Thread tip-bot for Vinson Lee
Commit-ID: 4e31050f482c02c822b150d71cf1ea5be7c9d6e4 Gitweb: http://git.kernel.org/tip/4e31050f482c02c822b150d71cf1ea5be7c9d6e4 Author: Vinson Lee v...@twitter.com AuthorDate: Mon, 9 Feb 2015 16:29:37 -0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 11 Feb 2015

[PATCH] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-02-13 Thread Vinson Lee
From: Vinson Lee This patch fixes this build error with glibc < 2.6. CC util/cloexec.o cc1: warnings being treated as errors util/cloexec.c: In function ‘perf_flag_probe’: util/cloexec.c:24: error: implicit declaration of function ‘sched_getcpu’ util/cloexec.c:24: error: nested ext

[PATCH] perf tools: Work around lack of sched_getcpu in glibc 2.6.

2015-02-13 Thread Vinson Lee
From: Vinson Lee v...@twitter.com This patch fixes this build error with glibc 2.6. CC util/cloexec.o cc1: warnings being treated as errors util/cloexec.c: In function ‘perf_flag_probe’: util/cloexec.c:24: error: implicit declaration of function ‘sched_getcpu’ util/cloexec.c:24: error

[PATCH] perf symbols: Define STT_GNU_IFUNC for glibc 2.9 and older.

2015-02-09 Thread Vinson Lee
From: Vinson Lee The token STT_GNU_IFUNC is not available with glibc 2.9 and older. Define this token if it is not already defined. This patch fixes this build errors with older versions of glibc. CC util/symbol-elf.o util/symbol-elf.c: In function ‘elf_sym__is_function’: util/symbol

[PATCH] perf symbols: Define STT_GNU_IFUNC for glibc 2.9 and older.

2015-02-09 Thread Vinson Lee
From: Vinson Lee v...@twitter.com The token STT_GNU_IFUNC is not available with glibc 2.9 and older. Define this token if it is not already defined. This patch fixes this build errors with older versions of glibc. CC util/symbol-elf.o util/symbol-elf.c: In function ‘elf_sym__is_function

next-timestamp build failure with 3.19-rc2

2015-01-05 Thread Vinson Lee
Hi. I'm hitting the following build error with 3.19-rc2 on CentOS 5 with glibc-headers-2.5-123. HOSTCC Documentation/networking/timestamping/txtimestamp Documentation/networking/timestamping/txtimestamp.c:64:8: error: redefinition of ‘struct in6_pktinfo’ struct in6_pktinfo { ^ In

next-timestamp build failure with 3.19-rc2

2015-01-05 Thread Vinson Lee
Hi. I'm hitting the following build error with 3.19-rc2 on CentOS 5 with glibc-headers-2.5-123. HOSTCC Documentation/networking/timestamping/txtimestamp Documentation/networking/timestamping/txtimestamp.c:64:8: error: redefinition of ‘struct in6_pktinfo’ struct in6_pktinfo { ^ In

[PATCH] crypto: sha-mb - Add avx2_supported check.

2014-12-29 Thread Vinson Lee
From: Vinson Lee This patch fixes this allyesconfig target build error with older binutils. LD arch/x86/crypto/built-in.o ld: arch/x86/crypto/sha-mb/built-in.o: No such file: No such file or directory Cc: sta...@vger.kernel.org # 3.18+ Signed-off-by: Vinson Lee --- arch/x86/crypto

Re: [PATCH 3.13 106/162] KVM: x86: Fix far-jump to non-canonical check

2014-12-29 Thread Vinson Lee
On Thu, Nov 6, 2014 at 2:36 PM, Kamal Mostafa wrote: > 3.13.11.11 -stable review patch. If anyone has any objections, please let me > know. > > -- > > From: Nadav Amit > > commit 7e466f6cd5dbf3c7bd04a7e75d19475ac9f2 upstream. > > Commit d1442d85cc30 ("KVM: x86: Handle

Re: [PATCH 3.13 106/162] KVM: x86: Fix far-jump to non-canonical check

2014-12-29 Thread Vinson Lee
On Thu, Nov 6, 2014 at 2:36 PM, Kamal Mostafa ka...@canonical.com wrote: 3.13.11.11 -stable review patch. If anyone has any objections, please let me know. -- From: Nadav Amit na...@cs.technion.ac.il commit 7e466f6cd5dbf3c7bd04a7e75d19475ac9f2 upstream. Commit

[PATCH] crypto: sha-mb - Add avx2_supported check.

2014-12-29 Thread Vinson Lee
From: Vinson Lee v...@twitter.com This patch fixes this allyesconfig target build error with older binutils. LD arch/x86/crypto/built-in.o ld: arch/x86/crypto/sha-mb/built-in.o: No such file: No such file or directory Cc: sta...@vger.kernel.org # 3.18+ Signed-off-by: Vinson Lee v

Re: [PATCH] Increase maximum size of dmesg buffer to 16MB.

2014-12-12 Thread Vinson Lee
On Fri, Dec 12, 2014 at 2:45 PM, Luis R. Rodriguez wrote: > On Fri, Dec 12, 2014 at 02:38:26PM -0800, Vinson Lee wrote: >> From: Nate Stahl >> >> A full task stack dump of all tasks on a machine can generate more than >> 4MB of output to dmesg. Dumping this data t

[PATCH] Increase maximum size of dmesg buffer to 16MB.

2014-12-12 Thread Vinson Lee
buffer is sized large enough to hold the output. Set to 16MB which will hopefully be large enough to handle a dump from any of our servers at this time. Signed-off-by: Nate Stahl Signed-off-by: Vinson Lee --- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init

[PATCH] Increase maximum size of dmesg buffer to 16MB.

2014-12-12 Thread Vinson Lee
if the dmesg buffer is sized large enough to hold the output. Set to 16MB which will hopefully be large enough to handle a dump from any of our servers at this time. Signed-off-by: Nate Stahl st...@twitter.com Signed-off-by: Vinson Lee v...@twitter.com --- init/Kconfig | 2 +- 1 file changed, 1

Re: [PATCH] Increase maximum size of dmesg buffer to 16MB.

2014-12-12 Thread Vinson Lee
On Fri, Dec 12, 2014 at 2:45 PM, Luis R. Rodriguez mcg...@suse.com wrote: On Fri, Dec 12, 2014 at 02:38:26PM -0800, Vinson Lee wrote: From: Nate Stahl st...@twitter.com A full task stack dump of all tasks on a machine can generate more than 4MB of output to dmesg. Dumping this data

Re: x86 math_error warning in Linux kernel 3.10

2014-11-14 Thread Vinson Lee
On Fri, Nov 14, 2014 at 12:39 PM, Thomas Gleixner wrote: > On Fri, 14 Nov 2014, Borislav Petkov wrote: >> On Fri, Nov 14, 2014 at 12:19:16PM -0800, Vinson Lee wrote: >> > Hi. >> > >> > We hit this x86 math_error warning in Linux kernel 3.

x86 math_error warning in Linux kernel 3.10

2014-11-14 Thread Vinson Lee
Hi. We hit this x86 math_error warning in Linux kernel 3.10. [ cut here ] WARNING: at arch/x86/include/asm/fpu-internal.h:524 math_error+0xd1/0x219() Modules linked in: cls_basic act_mirred cls_u32 veth sch_ingress netconsole configfs ipv6 dm_multipath scsi_dh video sbs

x86 math_error warning in Linux kernel 3.10

2014-11-14 Thread Vinson Lee
Hi. We hit this x86 math_error warning in Linux kernel 3.10. [ cut here ] WARNING: at arch/x86/include/asm/fpu-internal.h:524 math_error+0xd1/0x219() Modules linked in: cls_basic act_mirred cls_u32 veth sch_ingress netconsole configfs ipv6 dm_multipath scsi_dh video sbs

Re: x86 math_error warning in Linux kernel 3.10

2014-11-14 Thread Vinson Lee
On Fri, Nov 14, 2014 at 12:39 PM, Thomas Gleixner t...@linutronix.de wrote: On Fri, 14 Nov 2014, Borislav Petkov wrote: On Fri, Nov 14, 2014 at 12:19:16PM -0800, Vinson Lee wrote: Hi. We hit this x86 math_error warning in Linux kernel 3.10. [ cut here

Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

2014-07-29 Thread Vinson Lee
On Tue, Jul 29, 2014 at 2:10 PM, Rafael J. Wysocki wrote: > On Tuesday, July 29, 2014 11:13:55 AM Vinson Lee wrote: >> On Tue, Jul 29, 2014 at 2:53 AM, William Dauchy wrote: >> > Hi Vinson, >> > >> > On Mon, Jul 28, 2014 at 9:11 PM, Vinson Lee wrote: >&

Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

2014-07-29 Thread Vinson Lee
On Tue, Jul 29, 2014 at 2:53 AM, William Dauchy wrote: > Hi Vinson, > > On Mon, Jul 28, 2014 at 9:11 PM, Vinson Lee wrote: >> The warning first happens with 3.14-rc1. The warning does not occur with >> 3.13.0. > > Hitting the same issue here with a similar trace

Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

2014-07-29 Thread Vinson Lee
On Tue, Jul 29, 2014 at 2:53 AM, William Dauchy wdau...@gmail.com wrote: Hi Vinson, On Mon, Jul 28, 2014 at 9:11 PM, Vinson Lee v...@twopensource.com wrote: The warning first happens with 3.14-rc1. The warning does not occur with 3.13.0. Hitting the same issue here with a similar trace

Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

2014-07-29 Thread Vinson Lee
On Tue, Jul 29, 2014 at 2:10 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, July 29, 2014 11:13:55 AM Vinson Lee wrote: On Tue, Jul 29, 2014 at 2:53 AM, William Dauchy wdau...@gmail.com wrote: Hi Vinson, On Mon, Jul 28, 2014 at 9:11 PM, Vinson Lee v...@twopensource.com wrote

Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

2014-07-28 Thread Vinson Lee
On Sun, Jul 27, 2014 at 2:01 AM, Vinson Lee wrote: > On Fri, Jul 25, 2014 at 4:15 PM, Vinson Lee wrote: >> On Thu, May 29, 2014 at 4:14 AM, Rafael J. Wysocki >> wrote: >>> On Thursday, May 29, 2014 10:41:43 AM Zdenek Kabelac wrote: >>>> Hi >>>>

Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

2014-07-28 Thread Vinson Lee
On Sun, Jul 27, 2014 at 2:01 AM, Vinson Lee v...@twopensource.com wrote: On Fri, Jul 25, 2014 at 4:15 PM, Vinson Lee v...@twopensource.com wrote: On Thu, May 29, 2014 at 4:14 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Thursday, May 29, 2014 10:41:43 AM Zdenek Kabelac wrote: Hi

Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

2014-07-27 Thread Vinson Lee
On Fri, Jul 25, 2014 at 4:15 PM, Vinson Lee wrote: > On Thu, May 29, 2014 at 4:14 AM, Rafael J. Wysocki wrote: >> On Thursday, May 29, 2014 10:41:43 AM Zdenek Kabelac wrote: >>> Hi >>> >>> >>> I've noticed this message in m

Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

2014-07-27 Thread Vinson Lee
On Fri, Jul 25, 2014 at 4:15 PM, Vinson Lee v...@twopensource.com wrote: On Thu, May 29, 2014 at 4:14 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Thursday, May 29, 2014 10:41:43 AM Zdenek Kabelac wrote: Hi I've noticed this message in my dmesg: (Possibly related to this commit

Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

2014-07-25 Thread Vinson Lee
On Thu, May 29, 2014 at 4:14 AM, Rafael J. Wysocki wrote: > On Thursday, May 29, 2014 10:41:43 AM Zdenek Kabelac wrote: >> Hi >> >> >> I've noticed this message in my dmesg: >> (Possibly related to this commit?: >> a8d22396302b7e4e5f0a594c1c1594388c29edaf) > > Well, does reverting that commit

Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

2014-07-25 Thread Vinson Lee
On Thu, May 29, 2014 at 4:14 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Thursday, May 29, 2014 10:41:43 AM Zdenek Kabelac wrote: Hi I've noticed this message in my dmesg: (Possibly related to this commit?: a8d22396302b7e4e5f0a594c1c1594388c29edaf) Well, does reverting that commit

perf intel_pmu_handle_irq warning

2014-06-02 Thread Vinson Lee
Hi. We've seen this perf-related warning with 3.10 on several different machines. When this warning occurs there are multiple instances of perf stat running. [ cut here ] WARNING: at arch/x86/kernel/cpu/perf_event_intel.c:1191 intel_pmu_handle_irq+0xc9/0x2cb()

perf intel_pmu_handle_irq warning

2014-06-02 Thread Vinson Lee
Hi. We've seen this perf-related warning with 3.10 on several different machines. When this warning occurs there are multiple instances of perf stat running. [ cut here ] WARNING: at arch/x86/kernel/cpu/perf_event_intel.c:1191 intel_pmu_handle_irq+0xc9/0x2cb()

  1   2   >