[linux-yocto] [PATCH 1/2] cpu: add generic support for CPU feature based module

2014-07-17 Thread jianchuan.wang
From: Jianchuan Wang jianchuan.w...@windriver.com commit 67bad2fdb754dbef14596c0b5d28b3a12c8dfe84 upstream cpu: add generic support for CPU feature based module autoloading This patch adds support for advertising optional CPU features over udev using the modalias, and for declaring

[linux-yocto] [PATCH 2/2] x86: align x86 arch with generic CPU modalias handling

2014-07-17 Thread jianchuan.wang
From: Jianchuan Wang jianchuan.w...@windriver.com commit 2b9c1f03278ab7cd421f14ce24dee39091ecb064 upstream x86: align x86 arch with generic CPU modalias handling The x86 CPU feature modalias handling existed before it was reimplemented generically. This patch aligns the x86

[linux-yocto] [PATCH 1/2] cpu: add generic support for CPU feature based module autoloading

2014-07-17 Thread jianchuan.wang
From: Jianchuan Wang jianchuan.w...@windriver.com commit 67bad2fdb754dbef14596c0b5d28b3a12c8dfe84 upstream cpu: add generic support for CPU feature based module autoloading This patch adds support for advertising optional CPU features over udev using the modalias, and for

[linux-yocto] [PATCH 2/2] x86: align x86 arch with generic CPU modalias handling

2014-07-17 Thread jianchuan.wang
From: Jianchuan Wang jianchuan.w...@windriver.com commit 2b9c1f03278ab7cd421f14ce24dee39091ecb064 upstream x86: align x86 arch with generic CPU modalias handling The x86 CPU feature modalias handling existed before it was reimplemented generically. This patch aligns the x86 handling so that it

[linux-yocto] [PATCH 07/13] x86, vdso: __vdso_clock_gettime() cleanup

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit ce39c64028a075d14af32bfb8336bfe1370c0443 upstream This patch is a small code cleanup for the __vdso_clock_gettime() function. It removes the unneeded return values from do_monotonic_coarse() and do_realtime_coarse() and add a fallback label for

[linux-yocto] [PATCH 01/13] x86, vdso: Remove compat vdso support

2014-07-31 Thread jianchuan.wang
From: Andy Lutomirski l...@amacapital.net commit b0b49f2673f011cad7deeabf7a683b388c351278 upstream The compat vDSO is a complicated hack that's needed to maintain compatibility with a small range of glibc versions. This removes it and replaces it with a much simpler hack: a config option to

[linux-yocto] [PATCH 02/13] x86_32, mm: Remove user bit from identity map PDE

2014-07-31 Thread jianchuan.wang
From: Andy Lutomirski l...@amacapital.net commit 7dda038756704b3562187b29c81f86de935148c6 upstream The only reason that the user bit was set was to support userspace access to the compat vDSO in the fixmap. The compat vDSO is gone, so the user bit can be removed. Signed-off-by: Andy

[linux-yocto] [PATCH 04/13] x86, vdso: Make vsyscall_gtod_data handling x86 generic

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit d2312e3379d581d2c3603357a0181046448e1de3 upstream This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new

[linux-yocto] [PATCH 09/13] x86, vdso: Cleanup __vdso_gettimeofday()

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit 0df1ea2b7955d3cb311a549c44ed482452b859ff upstream This patch cleans up the __vdso_gettimeofday() function a little. It kicks out an unneeded ret local variable and makes the code faster if only the timezone is needed (an admittedly rare case.)

[linux-yocto] [PATCH 08/13] x86, vdso: Replace VVAR(vsyscall_gtod_data) by gtod macro

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit af8c93d8d9809c3cf71cae2c398069399e64efa3 upstream There a currently more than 30 users of the gtod macro, so replace the last VVAR(vsyscall_gtod_data) by gtod macro. Reviewed-by: Andy Lutomirski l...@amacapital.net Signed-off-by: Stefani Seibold

[linux-yocto] [PATCH] vdso: Delete CONFIG_COMPAT_VDSO after removing compat vdso

2014-07-31 Thread jianchuan.wang
From: Jianchuan Wang jianchuan.w...@windriver.com --- meta/cfg/kernel-cache/features/vdso/vdso.cfg |1 + meta/cfg/kernel-cache/features/vdso/vdso.scc |1 + 2 files changed, 2 insertions(+) create mode 100644 meta/cfg/kernel-cache/features/vdso/vdso.cfg create mode 100644

[linux-yocto] [PATCH 10/13] x86, vdso: Introduce VVAR marco for vdso32

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit ef721987aef0cc0abba08c88810f2155f76b0b1f upstream This patch revamps the vvar.h for introduce the VVAR macro for vdso32. Reviewed-by: Andy Lutomirski l...@amacapital.net Signed-off-by: Stefani Seibold stef...@seibold.net Link:

[linux-yocto] [PATCH 06/13] x86, vdso: Revamp vclock_gettime.c

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit 411f790cd7e91fac0db80d3cf789cb6deeac298e upstream This intermediate patch revamps the vclock_gettime.c by moving some functions around. It is only for spliting purpose, to make whole the 32 bit vdso timer patch easier to review. Reviewed-by: Andy

[linux-yocto] [PATCH 03/13] x86, vdso, xen: Remove stray reference to FIX_VDSO

2014-07-31 Thread jianchuan.wang
From: H. Peter Anvin h...@linux.intel.com commit 1f2cbcf648962cdcf511d234cb39745baa9f5d07 upstream Checkin b0b49f2673f0 x86, vdso: Remove compat vdso support ... removed the VDSO from the fixmap, and thus FIX_VDSO; remove a stray reference in Xen. Found by Fengguang Wu's test robot.

[linux-yocto] [PATCH 1/5] gre: add x-netns support

2014-08-26 Thread jianchuan.wang
From: Nicolas Dichtel nicolas.dich...@6wind.com commit b57708add31494175be741ed3fd24023b50c3423 upstream This patch allows to switch the netns when packet is encapsulated or decapsulated. In other word, the encapsulated packet is received in a netns, where the lookup is done to find the tunnel.

[linux-yocto] [PATCH] GRE: enable gre feature.

2014-08-26 Thread jianchuan.wang
From: Jianchuan Wang jianchuan.w...@windriver.com Signed-off-by: Jianchuan Wang jianchuan.w...@windriver.com --- meta/cfg/kernel-cache/features/gre/gre-enable.scc | 1 + meta/cfg/kernel-cache/features/gre/gre.cfg| 6 ++ 2 files changed, 7 insertions(+) create mode 100644

[linux-yocto] [PATCH 4/5] net: Generalize checksum_init functions

2014-08-26 Thread jianchuan.wang
From: Tom Herbert therb...@google.com commit 76ba0aae673075c77a8b775e9133c8e8b1a44563 upstream Create a general __skb_checksum_validate function (actually a macro) to subsume the various checksum_init functions. This function can either init the checksum, or do the full validation (logically

[linux-yocto] [PATCH 3/5] ip6gre: add x-netns support

2014-08-26 Thread jianchuan.wang
From: Nicolas Dichtel nicolas.dich...@6wind.com commit 22f08069e8b415b827e910ad75ed55eeadc4a877 upstream This patch allows to switch the netns when packet is encapsulated or decapsulated. In other word, the encapsulated packet is received in a netns, where the lookup is done to find the tunnel.

[linux-yocto] [PATCH 4/4] vxlan: use dev-needed_headroom instead of dev-hard_header_len

2014-08-26 Thread jianchuan.wang
From: Cong Wang cw...@twopensource.com commit 2853af6a2ea1a8ed09b09dd4fb578e7f435e8d34 upstream vxlan: use dev-needed_headroom instead of dev-hard_header_len When we mirror packets from a vxlan tunnel to other device, the mirror device should see the same packets (that is, without outer

[linux-yocto] [PATCH] vxlan: Enable vxlan support

2014-08-26 Thread jianchuan.wang
From: Jianchuan Wang jianchuan.w...@windriver.com vxlan: Enable vxlan support Signed-off-by: Jianchuan Wang jianchuan.w...@windriver.com --- meta/cfg/kernel-cache/features/vxlan/vxlan-enable.scc | 4 meta/cfg/kernel-cache/features/vxlan/vxlan.cfg| 1 + 2 files changed, 5

[linux-yocto] [PATCH 3/4] vxlan: add x-netns support

2014-08-26 Thread jianchuan.wang
From: Nicolas Dichtel nicolas.dich...@6wind.com commit f01ec1c017dead42092997a2b8684fcab4cbf126 upstream vxlan: add x-netns support This patch allows to switch the netns when packet is encapsulated or decapsulated. The vxlan socket is openned into the i/o netns, ie into the netns where

[linux-yocto] [PATCH 1/4] vxlan: remove unused port variable in vxlan_udp_encap_recv()

2014-08-26 Thread jianchuan.wang
From: Pablo Neira Ayuso pa...@gnumonks.org commit 86c3f0f8307ac18f3ad3109e1969c62b8fbed5df upstream vxlan: remove unused port variable in vxlan_udp_encap_recv() Signed-off-by: Pablo Neira Ayuso pa...@gnumonks.org Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Jianchuan Wang

[linux-yocto] [PATCH 3/3] block, bfq: add Early Queue Merge (EQM) to BFQ-v7r5 for 3.14.0

2014-08-26 Thread jianchuan.wang
From: Mauro Andreolini mauro.andreol...@unimore.it Original patch taken from: http://algo.ing.unimo.it/people/paolo/disk_sched/patches/3.14.0-v7r5 A set of processes may happen to perform interleaved reads, i.e.,requests whose union would give rise to a sequential read pattern.

[linux-yocto] [PATCH 1/3] block: cgroups, kconfig, build bits for BFQ-v7r5-3.14

2014-08-26 Thread jianchuan.wang
From: Paolo Valente paolo.vale...@unimore.it Original patch taken from: http://algo.ing.unimo.it/people/paolo/disk_sched/patches/3.14.0-v7r5 Update Kconfig.iosched and do the related Makefile changes to include kernel configuration options for BFQ. Also add the bfqio controller to the

[linux-yocto] [PATCH] BFQ: Support Budget Fair Queueing (BFQ) Storage-I/O Scheduler

2014-08-26 Thread jianchuan.wang
From: Jianchuan Wang jianchuan.w...@windriver.com BFQ: Support Budget Fair Queueing (BFQ) Storage-I/O Scheduler Signed-off-by: Jianchuan Wang jianchuan.w...@windriver.com --- meta/cfg/kernel-cache/features/bfq/bfq-enable.scc | 1 + meta/cfg/kernel-cache/features/bfq/bfq.cfg| 2 ++ 2

[linux-yocto] [PATCH] BFQ: Support Budget Fair Queueing (BFQ) Storage-I/O Scheduler

2014-08-27 Thread jianchuan.wang
From: Jianchuan Wang jianchuan.w...@windriver.com BFQ: Support Budget Fair Queueing (BFQ) Storage-I/O Scheduler Signed-off-by: Jianchuan Wang jianchuan.w...@windriver.com --- meta/cfg/kernel-cache/features/bfq/bfq-enable.scc | 1 + meta/cfg/kernel-cache/features/bfq/bfq.cfg| 2 ++ 2

[linux-yocto] [PATCH 3/3] block, bfq: add Early Queue Merge (EQM) to BFQ-v7r5 for 3.14.0

2014-08-27 Thread jianchuan.wang
From: Mauro Andreolini mauro.andreol...@unimore.it Original patch taken from: http://algo.ing.unimo.it/people/paolo/disk_sched/patches/3.14.0-v7r5 A set of processes may happen to perform interleaved reads, i.e.,requests whose union would give rise to a sequential read pattern.

[linux-yocto] [PATCH 1/3] block: cgroups, kconfig, build bits for BFQ-v7r5-3.14

2014-08-27 Thread jianchuan.wang
From: Paolo Valente paolo.vale...@unimore.it Original patch taken from: http://algo.ing.unimo.it/people/paolo/disk_sched/patches/3.14.0-v7r5 Update Kconfig.iosched and do the related Makefile changes to include kernel configuration options for BFQ. Also add the bfqio controller to the

[linux-yocto] [PATCH] cryptodev: add Kbuild hooks

2015-11-04 Thread jianchuan.wang
From: Jianchuan Wang Hook cryptodev-linux into the kernel build as a tristate option. Signed-off-by: Bruce Ashfield Signed-off-by: Jianchuan Wang --- crypto/Kconfig | 8 crypto/Makefile | 1 +

[linux-yocto] [PATCH] nf_tables: Add nf_tables feature

2015-10-07 Thread jianchuan.wang
From: Jianchuan Wang Add a nf_tables feature that turns on the kernel options required to support nf_tables. Signed-off-by: Jianchuan Wang --- features/nf_tables/nf_tables.cfg | 24

[linux-yocto] [linux-yocto-4.10][PATCH 0/4] For CVE-2017-1000380, CVE-2017-7541 and CVE-2017-10911

2017-08-16 Thread jianchuan.wang
Hi, Bruce, This series of patches are for CVE, including CVE-2017-1000380, CVE-2017-7541 and CVE-2017-10911. Arend van Spriel (1): brcmfmac: fix possible buffer overflow in brcmf_cfg80211_mgmt_tx() Ari Kauppi (1): nfsd: fix undefined behavior in nfsd4_layout_verify J. Bruce Fields (1):

[linux-yocto] [PATCH 4/4] nfsd: encoders mustn't use unitialized values in error cases

2017-08-16 Thread jianchuan.wang
From: "J. Bruce Fields" commit: f961e3f2acae94b727380c0b74e2d3954d0edf79 upstream In error cases, lgp->lg_layout_type may be out of bounds; so we shouldn't be using it until after the check of nfserr. This was seen to crash nfsd threads when the server receives a LAYOUTGET

[linux-yocto] [PATCH 3/4] nfsd: fix undefined behavior in nfsd4_layout_verify

2017-08-16 Thread jianchuan.wang
From: Ari Kauppi commit: b550a32e60a4941994b437a8d662432a486235a5 upstream UBSAN: Undefined behaviour in fs/nfsd/nfs4proc.c:1262:34 shift exponent 128 is too large for 32-bit type 'int' Depending on compiler+architecture, this may cause the check for layout_type to

[linux-yocto] [PATCH 1/4] brcmfmac: fix possible buffer overflow in brcmf_cfg80211_mgmt_tx()

2017-08-16 Thread jianchuan.wang
From: Arend van Spriel commit 8f44c9a41386729fea410e688959ddaa9d51be7c upstream The lower level nl80211 code in cfg80211 ensures that "len" is between 25 and NL80211_ATTR_FRAME (2304). We subtract DOT11_MGMT_HDR_LEN (24) from "len" so thats's max of 2280.

[linux-yocto] [PATCH 3/4] ACPICA: Namespace: fix operand cache leak

2017-08-17 Thread jianchuan.wang
From: Seunghun Han commit 3b2d69114fefa474fca542e51119036dceb4aa6f upstream ACPICA commit a23325b2e583556eae88ed3f764e457786bf4df6 I found some ACPI operand cache leaks in ACPI early abort cases. Boot log of ACPI operand cache leak is as follows: >[0.174332] ACPI:

[linux-yocto] [PATCH 4/4] drm/vmwgfx: limit the number of mip levels in vmw_gb_surface_define_ioctl()

2017-08-17 Thread jianchuan.wang
From: Vladis Dronov commit: ee9c4e681ec4f58e42a83cb0c22a0289ade1aacf upstream The 'req->mip_levels' parameter in vmw_gb_surface_define_ioctl() is a user-controlled 'uint32_t' value which is used as a loop count limit. This can lead to a kernel lockup and DoS. Add check for

[linux-yocto] [linux-yocto-4.10][PATCH 0/4] For CVE-2017-8890, CVE-2017-1000363, CVE-2017-11472, CVE-2017-7346

2017-08-17 Thread jianchuan.wang
This series of patches are for CVE, including CVE-2017-8890, CVE-2017-1000363,CVE-2017-11472,CVE-2017-7346 Eric Dumazet (1): dccp/tcp: do not inherit mc_list from parent Seunghun Han (1): ACPICA: Namespace: fix operand cache leak Vladis Dronov (1): drm/vmwgfx: limit the number of mip

[linux-yocto] [PATCH 1/4] dccp/tcp: do not inherit mc_list from parent

2017-08-17 Thread jianchuan.wang
From: Eric Dumazet commit 657831ffc38e30092a2d5f03d385d710eb88b09a upstream syzkaller found a way to trigger double frees from ip_mc_drop_socket() It turns out that leave a copy of parent mc_list at accept() time, which is very bad. Very similar to commit 8b485ce69876

[linux-yocto] [PATCH 2/4] char: lp: fix possible integer overflow in lp_setup()

2017-08-17 Thread jianchuan.wang
From: Willy Tarreau commit 3e21f4af170bebf47c187c1ff8bf155583c9f3b1 upstream The lp_setup() code doesn't apply any bounds checking when passing "lp=none", and only in this case, resulting in an overflow of the parport_nr[] array. All versions in Git history are affected.

[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang Add basic meta data for bpf. Signed-off-by: Jianchuan Wang --- features/bpf/bpf.cfg | 4 features/bpf/bpf.scc | 4 2 files changed, 8 insertions(+) create mode 100644 features/bpf/bpf.cfg create mode

[linux-yocto] [kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang Add basic meta data for bpf. Signed-off-by: Jianchuan Wang --- features/bpf/bpf.cfg | 4 features/bpf/bpf.scc | 4 2 files changed, 8 insertions(+) create mode 100644 features/bpf/bpf.cfg create mode

[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] kexec/kdump: Add config fragments

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang Signed-off-by: Jianchuan Wang --- features/kexec/kexec-enable.scc | 4 features/kexec/kexec.cfg| 1 + 2 files changed, 5 insertions(+) create mode 100644 features/kexec/kexec-enable.scc create mode

[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] kdump: add config fragments

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang Signed-off-by: Jianchuan Wang --- features/kdump/kdump-enable.scc | 4 features/kdump/kdump.cfg| 1 + 2 files changed, 5 insertions(+) create mode 100644 features/kdump/kdump-enable.scc create mode

[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] sysrq: add sysrq kernel config

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang Add basic meta data for sysrq Signed-off-by: Jianchuan Wang --- features/sysrq/sysrq.cfg | 2 ++ features/sysrq/sysrq.scc | 1 + 2 files changed, 3 insertions(+) create mode 100644 features/sysrq/sysrq.cfg