Hello Greg,
#Forgot to add --compose
Following up on our discussion during the review of
kernel 4.4.138-stable, I have backported a few
patches that remove the remaining FPU lazy mode deadcode
from 4.4.y and 4.9.y. To avoid confusion I will send the
explanation on separate e-mails:
Patches for 4.4.y:
[PATCH 1/4] KVM: x86: remove eager_fpu field of struct kvm_vcpu_arch
- This is a git cherry-pick of
5a5fbdc0e3f1 ("KVM: x86: remove eager_fpu field of struct kvm_vcpu_arch").
It applies cleanly and is required for the next patch not to cause conflicts
on arch/x86/kvm/cpuid.c
[PATCH 2/4] x86/fpu: Remove use_eager_fpu()
- The main conflict ocurred on fpu/core.c because commit
bf15a8cf8d14 ("x86/fpu/xstate: Rename 'xstate_size' to 'fpu_kernel_xstate_size', to distinguish it from 'fpu_user_xstate_size'")
is not on 4.4.y. That commit renames xstate_size to fpu_kernel_xstate_size
but it also has its conflicts so I decided just to fix the conflict manually/
[PATCH 3/4] x86/fpu: Remove struct fpu::counter
- caused one conflict because 4.4.y does not have commit
d1898b733619 ("x86/fpu: Add tracepoints to dump FPU state at key points")
I fixed it manually.
[PATCH 4/4] x86/fpu: Finish excising 'eagerfpu'
- caused a small conflict because 'nopku' is not in 4.4.y
- sorry my editor might have removed a couple of trailing spaces
automatically to Documentation/kernel-paramters.txt
- cause one conflict in these files because they didn't exist
arch/x86/include/asm/cpufeatures.h
arch/x86/mm/pkeys.c
tools/arch/x86/include/asm/cpufeatures.h
- Instead I removed the X86_FEATURE_EAGER_FPU definition from arch/x86/include/asm/cpufeature.h
Best regards,
Daniel Sangorrin
PS: Used git send-email --to stable(a)vger.kernel.org --cc-cmd="./scripts/get_maintainer.pl --norolestats" 2197a44..HEAD
but it doesn't seem to work sorry...humm
Hi Ingo,
Please consider pulling,
- Arnaldo
Test results at the end of this message, as usual.
The following changes since commit 57d6a7938a8fc6cee8420b40ca244220b41721f5:
perf/core: Move the inline keyword at the beginning of the function declaration (2018-06-22 11:07:47 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-4.18-20180625
for you to fetch changes up to 92ead7ee30c80f8852d28735cbcb9d79bc85f715:
perf tools: Fix crash caused by accessing feat_ops[HEADER_LAST_FEATURE] (2018-06-25 11:59:37 -0300)
----------------------------------------------------------------
perf/urgent fixes:
perf bench: (Jiri Olsa):
. Fix NUMA report output code handling of less than 1s runtimes.
perf script: (Ravi Bangoria)
. Add missing output fields in a 'perf script -h' hint.
. Fix crash because of missing evsel->priv.
. Fix crash caused by accessing feat_ops[HEADER_LAST_FEATURE], which
is just a end of features header marker.
perf stat: (Thomas Richter)
. Remove duplicate event counting
perf test:
. Wire parsing error handling in 'parse events' test (Jiri Olsa)
. Fix 'session topology' test on s/390 (Thomas Richter)
eBPF: (Yonghong Song)
. Fix a clang 7.0 compilation error when building perf linking
with libclang
intel-pt: (Adrian Hunter)
. Fix packet decoding of CYC packets.
Copies of kernel files: (Arnaldo Carvalho de Melo)
. Synchronize drm/drm.h UAPI
. Update x86's syscall_64.tbl, adding support for 'io_pgetevents' and 'rseq'
in 'perf trace'.
. Update powerpc uapi/asm/unistd.h, adding support for the 'rseq' syscall.
. Update if_link.h and bpf.h, no effect on tool features.
PowerPC: (Sandipan Das)
. Fix crash if callchain is empty.
s/390: (Thomas Richter)
. Support random socked_id assignment in the perf header.
. Support s390 random socket_id assignment in perf.data file.
. Make PMU alias definitions taken from sysfs and JSON files comparable
by normalizing them wrt spaces and newlines.
Signed-off-by: Arnaldo Carvalho de Melo <acme(a)redhat.com>
----------------------------------------------------------------
Adrian Hunter (1):
perf intel-pt: Fix packet decoding of CYC packets
Arnaldo Carvalho de Melo (5):
tools headers uapi: Synchronize drm/drm.h
perf tools: Update x86's syscall_64.tbl, adding 'io_pgetevents' and 'rseq'
tools include powerpc: Update arch/powerpc/include/uapi/asm/unistd.h copy to get 'rseq' syscall
tools include uapi: Update if_link.h to pick IFLA_{BRPORT_ISOLATED,VXLAN_TTL_INHERIT}
tools include uapi: Synchronize bpf.h with the kernel
Jiri Olsa (3):
perf tests: Add event parsing error handling to parse events test
perf tests: Add valid callback for parse-events test
perf bench: Fix numa report output code
Ravi Bangoria (3):
perf script: Add missing output fields in a hint
perf script: Fix crash because of missing evsel->priv
perf tools: Fix crash caused by accessing feat_ops[HEADER_LAST_FEATURE]
Sandipan Das (1):
perf report powerpc: Fix crash if callchain is empty
Thomas Richter (5):
perf record: Support s390 random socket_id assignment
perf test session topology: Fix test on s390
perf alias: Remove trailing newline when reading sysfs files
perf alias: Rebuild alias expression string to make it comparable
perf stat: Remove duplicate event counting
Yonghong Song (1):
perf tools: Fix a clang 7.0 compilation error
tools/arch/powerpc/include/uapi/asm/unistd.h | 1 +
tools/include/uapi/drm/drm.h | 7 ++
tools/include/uapi/linux/bpf.h | 2 +-
tools/include/uapi/linux/if_link.h | 2 +
tools/perf/arch/powerpc/util/skip-callchain-idx.c | 2 +-
tools/perf/arch/x86/entry/syscalls/syscall_64.tbl | 2 +
tools/perf/bench/numa.c | 5 +-
tools/perf/builtin-annotate.c | 11 ++-
tools/perf/builtin-report.c | 3 +-
tools/perf/builtin-script.c | 30 ++++++-
tools/perf/tests/parse-events.c | 25 ++++--
tools/perf/tests/topology.c | 1 +
tools/perf/util/c++/clang.cpp | 11 ++-
tools/perf/util/header.c | 12 ++-
.../util/intel-pt-decoder/intel-pt-pkt-decoder.c | 2 +-
tools/perf/util/pmu.c | 99 +++++++++++++++++++++-
16 files changed, 194 insertions(+), 21 deletions(-)
Test results:
The first ones are container (docker) based builds of tools/perf with
and without libelf support. Where clang is available, it is also used
to build perf with/without libelf, and building with LIBCLANGLLVM=1
(built-in clang) with gcc and clang when clang and its devel libraries
are installed.
The objtool and samples/bpf/ builds are disabled now that I'm switching from
using the sources in a local volume to fetching them from a http server to
build it inside the container, to make it easier to build in a container cluster.
Those will come back later.
Several are cross builds, the ones with -x-ARCH and the android one, and those
may not have all the features built, due to lack of multi-arch devel packages,
available and being used so far on just a few, like
debian:experimental-x-{arm64,mipsel}.
The 'perf test' one will perform a variety of tests exercising
tools/perf/util/, tools/lib/{bpf,traceevent,etc}, as well as run perf commands
with a variety of command line event specifications to then intercept the
sys_perf_event syscall to check that the perf_event_attr fields are set up as
expected, among a variety of other unit tests.
Then there is the 'make -C tools/perf build-test' ones, that build tools/perf/
with a variety of feature sets, exercising the build with an incomplete set of
features as well as with a complete one. It is planned to have it run on each
of the containers mentioned above, using some container orchestration
infrastructure. Get in contact if interested in helping having this in place.
# dm
1 alpine:3.4 : Ok gcc (Alpine 5.3.0) 5.3.0
2 alpine:3.5 : Ok gcc (Alpine 6.2.1) 6.2.1 20160822
3 alpine:3.6 : Ok gcc (Alpine 6.3.0) 6.3.0
4 alpine:3.7 : Ok gcc (Alpine 6.4.0) 6.4.0
5 alpine:edge : Ok gcc (Alpine 6.4.0) 6.4.0
6 amazonlinux:1 : Ok gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)
7 amazonlinux:2 : Ok gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
8 android-ndk:r12b-arm : Ok arm-linux-androideabi-gcc (GCC) 4.9.x 20150123 (prerelease)
9 android-ndk:r15c-arm : Ok arm-linux-androideabi-gcc (GCC) 4.9.x 20150123 (prerelease)
10 centos:5 : Ok gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55)
11 centos:6 : Ok gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
12 centos:7 : Ok gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)
13 debian:7 : Ok gcc (Debian 4.7.2-5) 4.7.2
14 debian:8 : Ok gcc (Debian 4.9.2-10+deb8u1) 4.9.2
15 debian:9 : Ok gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
16 debian:experimental : Ok gcc (Debian 7.3.0-19) 7.3.0
17 debian:experimental-x-arm64 : Ok aarch64-linux-gnu-gcc (Debian 7.3.0-19) 7.3.0
18 debian:experimental-x-mips : Ok mips-linux-gnu-gcc (Debian 7.3.0-19) 7.3.0
19 debian:experimental-x-mips64 : Ok mips64-linux-gnuabi64-gcc (Debian 7.3.0-18) 7.3.0
20 debian:experimental-x-mipsel : Ok mipsel-linux-gnu-gcc (Debian 7.3.0-19) 7.3.0
21 fedora:20 : Ok gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7)
22 fedora:21 : Ok gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)
23 fedora:22 : Ok gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
24 fedora:23 : Ok gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
<stopped due to a power outage>
# git log --oneline -1
92ead7ee30c8 (HEAD -> perf/urgent) perf tools: Fix crash caused by accessing feat_ops[HEADER_LAST_FEATURE]
# perf version
perf version 4.17.g92ead7
# uname -a
Linux jouet 4.17.0-rc5 #21 SMP Mon May 14 15:35:35 -03 2018 x86_64 x86_64 x86_64 GNU/Linux
# perf test
1: vmlinux symtab matches kallsyms : Ok
2: Detect openat syscall event : Ok
3: Detect openat syscall event on all cpus : Ok
4: Read samples using the mmap interface : Ok
5: Test data source output : Ok
6: Parse event definition strings : Ok
7: Simple expression parser : Ok
8: PERF_RECORD_* events & perf_sample fields : Ok
9: Parse perf pmu format : Ok
10: DSO data read : Ok
11: DSO data cache : Ok
12: DSO data reopen : Ok
13: Roundtrip evsel->name : Ok
14: Parse sched tracepoints fields : Ok
15: syscalls:sys_enter_openat event fields : Ok
16: Setup struct perf_event_attr : Ok
17: Match and link multiple hists : Ok
18: 'import perf' in python : Ok
19: Breakpoint overflow signal handler : Ok
20: Breakpoint overflow sampling : Ok
21: Breakpoint accounting : Ok
22: Number of exit events of a simple workload : Ok
23: Software clock events period values : Ok
24: Object code reading : Ok
25: Sample parsing : Ok
26: Use a dummy software event to keep tracking : Ok
27: Parse with no sample_id_all bit set : Ok
28: Filter hist entries : Ok
29: Lookup mmap thread : Ok
30: Share thread mg : Ok
31: Sort output of hist entries : Ok
32: Cumulate child hist entries : Ok
33: Track with sched_switch : Ok
34: Filter fds with revents mask in a fdarray : Ok
35: Add fd to a fdarray, making it autogrow : Ok
36: kmod_path__parse : Ok
37: Thread map : Ok
38: LLVM search and compile :
38.1: Basic BPF llvm compile : Ok
38.2: kbuild searching : Ok
38.3: Compile source for BPF prologue generation : Ok
38.4: Compile source for BPF relocation : Ok
39: Session topology : Ok
40: BPF filter :
40.1: Basic BPF filtering : Ok
40.2: BPF pinning : Ok
40.3: BPF prologue generation : Ok
40.4: BPF relocation checker : Ok
41: Synthesize thread map : Ok
42: Remove thread map : Ok
43: Synthesize cpu map : Ok
44: Synthesize stat config : Ok
45: Synthesize stat : Ok
46: Synthesize stat round : Ok
47: Synthesize attr update : Ok
48: Event times : Ok
49: Read backward ring buffer : Ok
50: Print cpu map : Ok
51: Probe SDT events : Ok
52: is_printable_array : Ok
53: Print bitmap : Ok
54: perf hooks : Ok
55: builtin clang support : Skip (not compiled in)
56: unit_number__scnprintf : Ok
57: mem2node : Ok
58: x86 rdpmc : Ok
59: Convert perf time to TSC : Ok
60: DWARF unwind : Ok
61: x86 instruction decoder - new instructions : Ok
62: Use vfs_getname probe to get syscall args filenames : Ok
63: Check open filename arg using perf trace + vfs_getname: Ok
64: probe libc's inet_pton & backtrace it with ping : Ok
65: Add vfs_getname probe to get syscall args filenames : Ok
#
$ make -C tools/perf build-test
make: Entering directory '/home/acme/git/perf/tools/perf'
- tarpkg: ./tests/perf-targz-src-pkg .
make_install_prefix_O: make install prefix=/tmp/krava
make_install_O: make install
make_clean_all_O: make clean all
make_no_libnuma_O: make NO_LIBNUMA=1
make_perf_o_O: make perf.o
make_no_libdw_dwarf_unwind_O: make NO_LIBDW_DWARF_UNWIND=1
make_no_libelf_O: make NO_LIBELF=1
make_no_demangle_O: make NO_DEMANGLE=1
make_no_libbionic_O: make NO_LIBBIONIC=1
make_with_babeltrace_O: make LIBBABELTRACE=1
make_pure_O: make
make_no_scripts_O: make NO_LIBPYTHON=1 NO_LIBPERL=1
make_util_map_o_O: make util/map.o
make_util_pmu_bison_o_O: make util/pmu-bison.o
make_install_bin_O: make install-bin
make_install_prefix_slash_O: make install prefix=/tmp/krava/
make_no_ui_O: make NO_NEWT=1 NO_SLANG=1 NO_GTK2=1
make_doc_O: make doc
make_minimal_O: make NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1 NO_DEMANGLE=1 NO_LIBELF=1 NO_LIBUNWIND=1 NO_BACKTRACE=1 NO_LIBNUMA=1 NO_LIBAUDIT=1 NO_LIBBIONIC=1 NO_LIBDW_DWARF_UNWIND=1 NO_AUXTRACE=1 NO_LIBBPF=1 NO_LIBCRYPTO=1 NO_SDT=1 NO_JVMTI=1
make_tags_O: make tags
make_static_O: make LDFLAGS=-static
make_no_slang_O: make NO_SLANG=1
make_no_libbpf_O: make NO_LIBBPF=1
make_no_libperl_O: make NO_LIBPERL=1
make_debug_O: make DEBUG=1
make_no_libunwind_O: make NO_LIBUNWIND=1
make_no_libaudit_O: make NO_LIBAUDIT=1
make_no_newt_O: make NO_NEWT=1
make_no_libpython_O: make NO_LIBPYTHON=1
make_no_backtrace_O: make NO_BACKTRACE=1
make_help_O: make help
make_with_clangllvm_O: make LIBCLANGLLVM=1
make_no_gtk2_O: make NO_GTK2=1
make_no_auxtrace_O: make NO_AUXTRACE=1
OK
make: Leaving directory '/home/acme/git/perf/tools/perf'
$
Hello Greg,
Following up on our discussion during the review of
kernel 4.4.138-stable, I have backported a few
patches that remove the remaining FPU lazy mode deadcode
from 4.4.y and 4.9.y. To avoid confusion I will send the
explanation on separate e-mails:
Patches for 4.9.y:
[PATCH 1/4] x86/fpu: Remove use_eager_fpu()
-> I only had to solve a small conflict caused by the fact that
commit b22cbe404a9c ("x86/fpu: Fix invalid FPU ptrace state after execve()")
had been applied before (it was supposed to come after)
[PATCH 2/4] x86/fpu: Remove struct fpu::counter
-> This is just a git cherry-pick of 3913cc350757 ("x86/fpu: Remove struct fpu::counter")
which applies cleanly on 4.9.y. You can cherry-pick it instead of applying my patch.
[PATCH 3/4] Revert "perf: sync up x86/.../cpufeatures.h"
-> Sorry to revert your patch ;). This was just for the next patch to apply cleanly.
[PATCH 4/4] x86/fpu: Finish excising 'eagerfpu'
-> Again you can use a cherry pick of e63650840e8b ("x86/fpu: Finish excising 'eagerfpu'")
instead of applying my patch.
Tested on x86_64 only with:
- ./runltp -f math (all tests pass)
- IEEE 754 tests (no regressions seen)
Ref: http://www.math.utah.edu/~beebe/software/ieee/
[Note] I could not prepare a x86 32-bit machine to test no387
[Note] If someone knows better about testing the FPU please let me know.
Best regards,
Daniel Sangorrin
PS: Using git send-email --cc-cmd="scripts/get_maintainer.pl" for the first time. Apologies if this is not the right method.
I'm announcing the release of the 4.9.110 kernel.
All users of the 4.9 kernel series must upgrade.
The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/devicetree/bindings/net/dsa/b53.txt | 1
Makefile | 2 -
drivers/ata/libata-core.c | 3 -
drivers/ata/libata-zpodd.c | 4 +-
drivers/atm/zatm.c | 4 +-
drivers/base/core.c | 14 +++++++-
drivers/cpufreq/cpufreq.c | 2 +
drivers/hid/intel-ish-hid/ipc/pci-ish.c | 22 ++++---------
drivers/net/bonding/bond_options.c | 1
drivers/net/dsa/b53/b53_common.c | 13 +++++++
drivers/net/dsa/b53/b53_mdio.c | 5 ++-
drivers/net/dsa/b53/b53_priv.h | 1
drivers/net/ethernet/natsemi/sonic.c | 2 -
drivers/net/usb/qmi_wwan.c | 1
drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 10 +++---
drivers/platform/x86/asus-wmi.c | 23 +++++++-------
drivers/usb/musb/musb_host.c | 5 ++-
drivers/usb/musb/musb_host.h | 7 +++-
drivers/usb/musb/musb_virthub.c | 25 +++++++++------
drivers/vhost/vhost.c | 3 +
drivers/w1/masters/mxc_w1.c | 20 +++++++-----
fs/binfmt_misc.c | 12 +++++--
fs/btrfs/ioctl.c | 18 ++++++-----
fs/btrfs/scrub.c | 2 -
fs/cifs/smb2pdu.c | 1
fs/ext4/indirect.c | 14 ++++++--
fs/ext4/inode.c | 36 +++++++++++-----------
fs/ext4/resize.c | 2 -
fs/orangefs/namei.c | 7 ++++
net/bridge/netfilter/ebtables.c | 3 +
net/ipv4/tcp_input.c | 2 -
net/ipv4/tcp_ipv4.c | 4 ++
net/ipv6/route.c | 3 -
net/ipv6/tcp_ipv6.c | 4 ++
net/ipv6/xfrm6_policy.c | 2 -
net/netfilter/ipvs/ip_vs_ctl.c | 21 +++++++++---
net/sched/act_simple.c | 15 +++------
sound/pci/hda/hda_controller.c | 4 +-
sound/pci/hda/patch_conexant.c | 2 +
sound/pci/hda/patch_realtek.c | 8 ++++
tools/objtool/.gitignore | 2 -
41 files changed, 211 insertions(+), 119 deletions(-)
Bo Chen (1):
ALSA: hda - Handle kzalloc() failure in snd_hda_attach_pcm_stream()
Colin Ian King (1):
libata: zpodd: make arrays cdb static, reduces object code size
Damien Thébault (1):
net: dsa: b53: Add BCM5389 support
Dan Carpenter (1):
libata: zpodd: small read overflow in eject_tray()
Daniel Glöckner (1):
usb: musb: fix remote wakeup racing with suspend
Davide Caratti (1):
net/sched: act_simple: fix parsing of TCA_DEF_DATA
Dennis Wassenberg (2):
ALSA: hda: add dock and led support for HP EliteBook 830 G5
ALSA: hda: add dock and led support for HP ProBook 640 G4
Eric Dumazet (2):
xfrm6: avoid potential infinite loop in _decode_session6()
tcp: do not overshoot window_clamp in tcp_rcv_space_adjust()
Even Xu (1):
HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation
Finn Thain (1):
net/sonic: Use dma_mapping_error()
Frank van der Linden (1):
tcp: verify the checksum of the first data segment in a new connection
Greg Kroah-Hartman (2):
objtool: update .gitignore file
Linux 4.9.110
Hans de Goede (1):
libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk
Hao Wei Tee (1):
iwlwifi: pcie: compare with number of IRQs requested for, not number of CPUs
Ivan Bornyakov (1):
atm: zatm: fix memcmp casting
Jan Kara (2):
ext4: fix hole length detection in ext4_ind_map_blocks()
ext4: fix fencepost error in check for inode count overflow during resize
Josh Hill (1):
net: qmi_wwan: Add Netgear Aircard 779S
João Paulo Rechi Vita (1):
platform/x86: asus-wmi: Fix NULL pointer dereference
Julian Anastasov (2):
ipvs: fix buffer overflow with sync daemon and service
ipv6: allow PMTU exceptions to local routes
Kailang Yang (1):
ALSA: hda/realtek - New codec support for ALC257
Liu Bo (1):
Btrfs: make raid6 rebuild retry more
Lukas Czerner (1):
ext4: update mtime in ext4_punch_hole even if no blocks are released
Martin Brandenburg (1):
orangefs: set i_size on new symlink
Michael S. Tsirkin (1):
vhost: fix info leak due to uninitialized memory
Omar Sandoval (2):
Btrfs: fix clone vs chattr NODATASUM race
Btrfs: fix memory and mount leak in btrfs_ioctl_rm_dev_v2()
Paolo Abeni (1):
netfilter: ebtables: handle string from userspace with care
Qu Wenruo (1):
btrfs: scrub: Don't use inode pages for device replace
Sasha Levin (1):
Revert "Btrfs: fix scrub to repair raid6 corruption"
Stefan Potyra (1):
w1: mxc_w1: Enable clock before calling clk_get_rate() on it
Steve French (1):
smb3: on reconnect set PreviousSessionId field
Tao Wang (1):
cpufreq: Fix new policy initialization during limits updates via sysfs
Tetsuo Handa (1):
driver core: Don't ignore class_dir_create_and_add() failure.
Thadeu Lima de Souza Cascardo (1):
fs/binfmt_misc.c: do not allow offset overflow
Xiangning Yu (1):
bonding: re-evaluate force_primary when the primary slave name changes
I'm announcing the release of the 4.14.52 kernel.
All users of the 4.14 kernel series must upgrade.
The updated 4.14.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/x86/kernel/cpu/intel_rdt.c | 2
arch/x86/kernel/cpu/mcheck/mce-inject.c | 2
block/blk-mq.c | 3
drivers/ata/libata-core.c | 3
drivers/ata/libata-zpodd.c | 2
drivers/base/core.c | 14 ++
drivers/block/nbd.c | 17 ++
drivers/cpufreq/cpufreq.c | 2
drivers/cpufreq/cpufreq_governor.c | 12 --
drivers/hid/intel-ish-hid/ipc/pci-ish.c | 22 +--
drivers/hid/wacom_sys.c | 8 +
drivers/net/bonding/bond_options.c | 1
drivers/net/hyperv/netvsc_drv.c | 4
drivers/net/tap.c | 5
drivers/net/tun.c | 3
drivers/net/usb/cdc_ncm.c | 4
drivers/net/virtio_net.c | 3
drivers/net/wireless/intel/iwlwifi/fw/paging.c | 49 ++++++--
drivers/vhost/vhost.c | 3
drivers/w1/masters/mxc_w1.c | 20 ++-
fs/binfmt_misc.c | 12 +-
fs/btrfs/inode.c | 4
fs/btrfs/ioctl.c | 18 +--
fs/btrfs/scrub.c | 2
fs/cifs/cifsacl.h | 14 ++
fs/cifs/smb2ops.c | 68 +++++++----
fs/cifs/smb2pdu.c | 4
fs/ext4/indirect.c | 14 +-
fs/ext4/inline.c | 6 +
fs/ext4/inode.c | 46 ++++---
fs/ext4/resize.c | 2
fs/ext4/xattr.c | 2
fs/nfs/nfs4_fs.h | 2
fs/nfs/nfs4proc.c | 148 +++++++++++++++++--------
fs/orangefs/inode.c | 7 +
fs/orangefs/namei.c | 7 +
include/linux/virtio_net.h | 11 -
include/net/transp_v6.h | 11 +
include/net/udp.h | 5
mm/backing-dev.c | 18 ++-
mm/page_alloc.c | 1
net/dsa/tag_trailer.c | 3
net/ipv4/tcp_ipv4.c | 4
net/ipv4/udp.c | 2
net/ipv4/udp_diag.c | 2
net/ipv6/datagram.c | 6 -
net/ipv6/route.c | 3
net/ipv6/tcp_ipv6.c | 4
net/ipv6/udp.c | 3
net/packet/af_packet.c | 4
net/sched/act_simple.c | 15 +-
net/socket.c | 18 ++-
net/tls/tls_sw.c | 26 ++--
sound/pci/hda/hda_controller.c | 4
sound/pci/hda/patch_conexant.c | 3
sound/pci/hda/patch_realtek.c | 6 -
57 files changed, 472 insertions(+), 214 deletions(-)
Bjørn Mork (1):
cdc_ncm: avoid padding beyond end of skb
Bo Chen (1):
ALSA: hda - Handle kzalloc() failure in snd_hda_attach_pcm_stream()
Chen Yu (1):
cpufreq: governors: Fix long idle detection logic in load calculation
Cong Wang (1):
socket: close race condition between sock_close() and sockfs_setattr()
Dan Carpenter (1):
libata: zpodd: small read overflow in eject_tray()
Daniel Borkmann (1):
tls: fix use-after-free in tls_push_record
Davide Caratti (1):
net/sched: act_simple: fix parsing of TCA_DEF_DATA
Dennis Wassenberg (2):
ALSA: hda: add dock and led support for HP EliteBook 830 G5
ALSA: hda: add dock and led support for HP ProBook 640 G4
Dexuan Cui (1):
hv_netvsc: Fix a network regression after ifdown/ifup
Even Xu (1):
HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation
Frank van der Linden (1):
tcp: verify the checksum of the first data segment in a new connection
Greg Kroah-Hartman (1):
Linux 4.14.52
Hans de Goede (1):
libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk
Hui Wang (1):
ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs
Jan Kara (2):
ext4: fix hole length detection in ext4_ind_map_blocks()
ext4: fix fencepost error in check for inode count overflow during resize
Jason Gerecke (1):
HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro large
Josef Bacik (3):
nbd: fix nbd device deletion
nbd: update size when connected
nbd: use bd_set_size when updating disk size
Julian Anastasov (1):
ipv6: allow PMTU exceptions to local routes
Luca Coelho (1):
iwlwifi: fw: harden page loading code
Lukas Czerner (1):
ext4: update mtime in ext4_punch_hole even if no blocks are released
Mark Syms (1):
CIFS: 511c54a2f69195b28afb9dd119f03787b1625bb4 adds a check for session expiry
Martin Brandenburg (2):
orangefs: set i_size on new symlink
orangefs: report attributes_mask and attributes for statx
Michael S. Tsirkin (1):
vhost: fix info leak due to uninitialized memory
Omar Sandoval (2):
Btrfs: fix clone vs chattr NODATASUM race
Btrfs: fix memory and mount leak in btrfs_ioctl_rm_dev_v2()
Paolo Abeni (1):
udp: fix rx queue len reported by diag and proc interface
Qu Wenruo (1):
btrfs: scrub: Don't use inode pages for device replace
Roman Pen (1):
blk-mq: reinit q->tag_set_list entry only after grace period
Shirish Pargaonkar (1):
cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class
Stefan Potyra (1):
w1: mxc_w1: Enable clock before calling clk_get_rate() on it
Steve French (2):
smb3: fix various xid leaks
smb3: on reconnect set PreviousSessionId field
Su Yue (1):
btrfs: return error value if create_io_em failed in cow_file_range
Takashi Iwai (1):
ALSA: hda/conexant - Add fixup for HP Z2 G4 workstation
Tao Wang (1):
cpufreq: Fix new policy initialization during limits updates via sysfs
Tejun Heo (1):
bdi: Move cgroup bdi_writeback to a dedicated low concurrency workqueue
Tetsuo Handa (1):
driver core: Don't ignore class_dir_create_and_add() failure.
Thadeu Lima de Souza Cascardo (1):
fs/binfmt_misc.c: do not allow offset overflow
Theodore Ts'o (3):
ext4: do not allow external inodes for inline data
ext4: bubble errors from ext4_find_inline_data_nolock() up to ext4_iget()
ext4: correctly handle a zero-length xattr with a non-zero e_value_offs
Tony Luck (2):
x86/MCE: Fix stack out-of-bounds write in mce-inject.c: Flags_read()
x86/intel_rdt: Enable CMT and MBM on new Skylake stepping
Trond Myklebust (1):
NFSv4.1: Fix up replays of interrupted requests
Vlastimil Babka (1):
mm, page_alloc: do not break __GFP_THISNODE by zonelist reset
Willem de Bruijn (1):
net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlan
Xiangning Yu (1):
bonding: re-evaluate force_primary when the primary slave name changes
Zhouyang Jia (1):
net: dsa: add error handling for pskb_trim_rcsum
---------------------
Note, this is the LAST 4.16.y kernel release. This branch is now
end-of-life. Please move to the 4.17.y kernel now.
---------------------
I'm announcing the release of the 4.16.18 kernel.
All users of the 4.16 kernel series must upgrade.
The updated 4.16.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.16.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/x86/include/asm/apic.h | 2
arch/x86/include/asm/trace/irq_vectors.h | 2
arch/x86/kernel/apic/io_apic.c | 2
arch/x86/kernel/apic/vector.c | 18 +++++-
arch/x86/kernel/cpu/intel_rdt.c | 2
arch/x86/kernel/cpu/mcheck/mce-inject.c | 2
arch/x86/platform/uv/uv_irq.c | 7 --
block/blk-mq.c | 3 -
drivers/ata/libata-core.c | 3 -
drivers/ata/libata-zpodd.c | 2
drivers/base/core.c | 14 ++++-
drivers/block/nbd.c | 17 +++++-
drivers/cpufreq/cpufreq.c | 2
drivers/cpufreq/cpufreq_governor.c | 12 +---
drivers/cpufreq/ti-cpufreq.c | 2
drivers/hid/intel-ish-hid/ipc/pci-ish.c | 22 ++------
drivers/hid/wacom_sys.c | 8 ++
drivers/iommu/amd_iommu.c | 2
drivers/iommu/intel_irq_remapping.c | 2
drivers/iommu/irq_remapping.c | 5 -
drivers/iommu/irq_remapping.h | 2
drivers/net/bonding/bond_options.c | 1
drivers/net/hyperv/netvsc_drv.c | 4 +
drivers/net/phy/dp83848.c | 35 ++++++++++--
drivers/net/tap.c | 5 +
drivers/net/tun.c | 3 -
drivers/net/usb/cdc_ncm.c | 4 -
drivers/net/virtio_net.c | 3 -
drivers/net/wireless/intel/iwlwifi/fw/paging.c | 49 +++++++++++++++---
drivers/nvme/host/pci.c | 11 +++-
drivers/vhost/vhost.c | 3 +
drivers/w1/masters/mxc_w1.c | 20 ++++---
fs/binfmt_misc.c | 12 +++-
fs/btrfs/inode.c | 4 +
fs/btrfs/ioctl.c | 18 ++++--
fs/btrfs/scrub.c | 2
fs/cifs/cifsacl.h | 14 +++++
fs/cifs/smb2ops.c | 68 +++++++++++++++++--------
fs/cifs/smb2pdu.c | 4 -
fs/ext4/indirect.c | 14 +++--
fs/ext4/inline.c | 6 ++
fs/ext4/inode.c | 46 +++++++++-------
fs/ext4/resize.c | 2
fs/ext4/xattr.c | 2
fs/orangefs/inode.c | 7 ++
fs/orangefs/namei.c | 7 ++
include/linux/irq.h | 7 ++
include/linux/virtio_net.h | 11 +---
include/net/transp_v6.h | 11 +++-
include/net/udp.h | 5 +
kernel/irq/manage.c | 37 ++++++++++++-
kernel/irq/migration.c | 31 +++++++----
mm/backing-dev.c | 18 ++++++
mm/page_alloc.c | 1
net/dsa/tag_trailer.c | 3 -
net/ipv4/tcp_ipv4.c | 4 +
net/ipv4/udp.c | 2
net/ipv4/udp_diag.c | 2
net/ipv6/datagram.c | 6 +-
net/ipv6/route.c | 3 -
net/ipv6/tcp_ipv6.c | 4 +
net/ipv6/udp.c | 3 -
net/packet/af_packet.c | 4 -
net/sched/act_simple.c | 15 ++---
net/socket.c | 18 +++++-
net/tls/tls_sw.c | 26 ++++-----
sound/pci/hda/hda_controller.c | 4 +
sound/pci/hda/patch_conexant.c | 3 +
sound/pci/hda/patch_realtek.c | 6 +-
sound/usb/quirks-table.h | 5 +
71 files changed, 497 insertions(+), 209 deletions(-)
Alvaro Gamez Machado (1):
net: phy: dp83822: use BMCR_ANENABLE instead of BMSR_ANEGCAPABLE for DP83620
Bjørn Mork (1):
cdc_ncm: avoid padding beyond end of skb
Bo Chen (1):
ALSA: hda - Handle kzalloc() failure in snd_hda_attach_pcm_stream()
Chen Yu (1):
cpufreq: governors: Fix long idle detection logic in load calculation
Cong Wang (1):
socket: close race condition between sock_close() and sockfs_setattr()
Dan Carpenter (1):
libata: zpodd: small read overflow in eject_tray()
Daniel Borkmann (1):
tls: fix use-after-free in tls_push_record
Davide Caratti (1):
net/sched: act_simple: fix parsing of TCA_DEF_DATA
Dennis Wassenberg (2):
ALSA: hda: add dock and led support for HP EliteBook 830 G5
ALSA: hda: add dock and led support for HP ProBook 640 G4
Dexuan Cui (1):
hv_netvsc: Fix a network regression after ifdown/ifup
Dou Liyang (1):
x86/vector: Fix the args of vector_alloc tracepoint
Even Xu (1):
HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation
Frank van der Linden (1):
tcp: verify the checksum of the first data segment in a new connection
Greg Kroah-Hartman (1):
Linux 4.16.18
Hans de Goede (1):
libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk
Hui Wang (1):
ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs
Jan Kara (2):
ext4: fix hole length detection in ext4_ind_map_blocks()
ext4: fix fencepost error in check for inode count overflow during resize
Jason Gerecke (1):
HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro large
Josef Bacik (3):
nbd: fix nbd device deletion
nbd: update size when connected
nbd: use bd_set_size when updating disk size
Julian Anastasov (1):
ipv6: allow PMTU exceptions to local routes
Keith Busch (1):
nvme/pci: Sync controller reset for AER slot_reset
Luca Coelho (1):
iwlwifi: fw: harden page loading code
Lukas Czerner (1):
ext4: update mtime in ext4_punch_hole even if no blocks are released
Mark Syms (1):
CIFS: 511c54a2f69195b28afb9dd119f03787b1625bb4 adds a check for session expiry
Martin Brandenburg (2):
orangefs: set i_size on new symlink
orangefs: report attributes_mask and attributes for statx
Michael S. Tsirkin (1):
vhost: fix info leak due to uninitialized memory
Omar Sandoval (2):
Btrfs: fix clone vs chattr NODATASUM race
Btrfs: fix memory and mount leak in btrfs_ioctl_rm_dev_v2()
Paolo Abeni (1):
udp: fix rx queue len reported by diag and proc interface
Qu Wenruo (1):
btrfs: scrub: Don't use inode pages for device replace
Roman Pen (1):
blk-mq: reinit q->tag_set_list entry only after grace period
Shirish Pargaonkar (1):
cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class
Stefan Potyra (1):
w1: mxc_w1: Enable clock before calling clk_get_rate() on it
Steve French (2):
smb3: fix various xid leaks
smb3: on reconnect set PreviousSessionId field
Su Yue (1):
btrfs: return error value if create_io_em failed in cow_file_range
Suman Anna (1):
cpufreq: ti-cpufreq: Fix an incorrect error return value
Takashi Iwai (2):
ALSA: usb-audio: Disable the quirk for Nura headset
ALSA: hda/conexant - Add fixup for HP Z2 G4 workstation
Tao Wang (1):
cpufreq: Fix new policy initialization during limits updates via sysfs
Tejun Heo (1):
bdi: Move cgroup bdi_writeback to a dedicated low concurrency workqueue
Tetsuo Handa (1):
driver core: Don't ignore class_dir_create_and_add() failure.
Thadeu Lima de Souza Cascardo (1):
fs/binfmt_misc.c: do not allow offset overflow
Theodore Ts'o (3):
ext4: do not allow external inodes for inline data
ext4: bubble errors from ext4_find_inline_data_nolock() up to ext4_iget()
ext4: correctly handle a zero-length xattr with a non-zero e_value_offs
Thomas Gleixner (8):
x86/apic/vector: Prevent hlist corruption and leaks
x86/apic: Provide apic_ack_irq()
x86/ioapic: Use apic_ack_irq()
x86/platform/uv: Use apic_ack_irq()
irq_remapping: Use apic_ack_irq()
genirq/generic_pending: Do not lose pending affinity update
genirq/affinity: Defer affinity setting if irq chip is busy
genirq/migration: Avoid out of line call if pending is not set
Tony Luck (2):
x86/MCE: Fix stack out-of-bounds write in mce-inject.c: Flags_read()
x86/intel_rdt: Enable CMT and MBM on new Skylake stepping
Vlastimil Babka (1):
mm, page_alloc: do not break __GFP_THISNODE by zonelist reset
Willem de Bruijn (1):
net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlan
Xiangning Yu (1):
bonding: re-evaluate force_primary when the primary slave name changes
Zhouyang Jia (1):
net: dsa: add error handling for pskb_trim_rcsum
I'm announcing the release of the 4.17.3 kernel.
All users of the 4.17 kernel series must upgrade.
The updated 4.17.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.17.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/um/drivers/vector_transports.c | 3
arch/x86/include/asm/apic.h | 2
arch/x86/include/asm/trace/irq_vectors.h | 2
arch/x86/kernel/apic/io_apic.c | 2
arch/x86/kernel/apic/vector.c | 18 ++++-
arch/x86/kernel/cpu/intel_rdt.c | 2
arch/x86/kernel/cpu/mcheck/mce-inject.c | 2
arch/x86/platform/uv/uv_irq.c | 7 -
block/blk-mq.c | 3
drivers/acpi/acpica/psloop.c | 51 +++++++++++++-
drivers/acpi/acpica/psobject.c | 30 ++++++++
drivers/acpi/acpica/uterror.c | 10 +-
drivers/ata/libata-core.c | 3
drivers/ata/libata-zpodd.c | 2
drivers/base/core.c | 14 +++
drivers/block/nbd.c | 17 ++++
drivers/cpufreq/cpufreq.c | 2
drivers/cpufreq/cpufreq_governor.c | 12 +--
drivers/cpufreq/ti-cpufreq.c | 2
drivers/hid/intel-ish-hid/ipc/pci-ish.c | 22 +-----
drivers/hid/wacom_sys.c | 8 ++
drivers/iommu/amd_iommu.c | 2
drivers/iommu/intel_irq_remapping.c | 2
drivers/iommu/irq_remapping.c | 5 -
drivers/iommu/irq_remapping.h | 2
drivers/media/rc/rc-main.c | 4 -
drivers/media/usb/uvc/uvc_ctrl.c | 17 ++--
drivers/net/bonding/bond_options.c | 1
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c | 11 +--
drivers/net/hyperv/netvsc_drv.c | 4 -
drivers/net/phy/dp83848.c | 35 ++++++++-
drivers/net/tap.c | 5 +
drivers/net/tun.c | 3
drivers/net/usb/cdc_ncm.c | 4 -
drivers/net/virtio_net.c | 3
drivers/net/wireless/intel/iwlwifi/fw/paging.c | 49 +++++++++++--
drivers/nvme/host/pci.c | 11 ++-
drivers/vhost/vhost.c | 3
drivers/w1/masters/mxc_w1.c | 20 +++--
fs/binfmt_misc.c | 12 ++-
fs/btrfs/inode.c | 4 -
fs/btrfs/ioctl.c | 18 +++--
fs/btrfs/scrub.c | 2
fs/btrfs/super.c | 3
fs/cifs/cifsacl.h | 14 +++
fs/cifs/smb2ops.c | 68 +++++++++++++------
fs/cifs/smb2pdu.c | 4 -
fs/ext4/indirect.c | 14 ++-
fs/ext4/inline.c | 6 +
fs/ext4/inode.c | 46 ++++++------
fs/ext4/resize.c | 2
fs/ext4/xattr.c | 2
fs/orangefs/inode.c | 7 +
fs/orangefs/namei.c | 7 +
include/linux/irq.h | 7 +
include/linux/virtio_net.h | 11 +--
include/net/transp_v6.h | 11 ++-
include/net/udp.h | 5 +
kernel/irq/manage.c | 37 +++++++++-
kernel/irq/migration.c | 31 +++++---
mm/backing-dev.c | 18 ++++-
mm/page_alloc.c | 1
net/dsa/tag_trailer.c | 3
net/ipv4/tcp_ipv4.c | 4 +
net/ipv4/udp.c | 2
net/ipv4/udp_diag.c | 2
net/ipv6/datagram.c | 6 -
net/ipv6/route.c | 3
net/ipv6/tcp_ipv6.c | 4 +
net/ipv6/udp.c | 3
net/packet/af_packet.c | 4 -
net/sched/act_simple.c | 15 +---
net/socket.c | 18 ++++-
net/tls/tls_sw.c | 32 +++++---
sound/pci/hda/hda_controller.c | 4 -
sound/pci/hda/patch_conexant.c | 3
sound/pci/hda/patch_realtek.c | 6 +
sound/usb/quirks-table.h | 5 +
79 files changed, 608 insertions(+), 233 deletions(-)
Alvaro Gamez Machado (1):
net: phy: dp83822: use BMCR_ANENABLE instead of BMSR_ANEGCAPABLE for DP83620
Bjørn Mork (1):
cdc_ncm: avoid padding beyond end of skb
Bo Chen (1):
ALSA: hda - Handle kzalloc() failure in snd_hda_attach_pcm_stream()
Chen Yu (1):
cpufreq: governors: Fix long idle detection logic in load calculation
Colin Ian King (1):
net: aquantia: fix unsigned numvecs comparison with less than zero
Cong Wang (1):
socket: close race condition between sock_close() and sockfs_setattr()
Dan Carpenter (1):
libata: zpodd: small read overflow in eject_tray()
Daniel Borkmann (2):
tls: fix use-after-free in tls_push_record
tls: fix waitall behavior in tls_sw_recvmsg
Davide Caratti (1):
net/sched: act_simple: fix parsing of TCA_DEF_DATA
Dennis Wassenberg (2):
ALSA: hda: add dock and led support for HP EliteBook 830 G5
ALSA: hda: add dock and led support for HP ProBook 640 G4
Dexuan Cui (1):
hv_netvsc: Fix a network regression after ifdown/ifup
Dou Liyang (1):
x86/vector: Fix the args of vector_alloc tracepoint
Erik Schmauss (1):
ACPICA: AML parser: attempt to continue loading table after error
Even Xu (1):
HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation
Frank van der Linden (1):
tcp: verify the checksum of the first data segment in a new connection
Greg Kroah-Hartman (1):
Linux 4.17.3
Hans de Goede (1):
libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk
Hui Wang (1):
ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs
Jan Kara (2):
ext4: fix hole length detection in ext4_ind_map_blocks()
ext4: fix fencepost error in check for inode count overflow during resize
Jason Gerecke (1):
HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro large
Josef Bacik (3):
nbd: fix nbd device deletion
nbd: update size when connected
nbd: use bd_set_size when updating disk size
Julian Anastasov (1):
ipv6: allow PMTU exceptions to local routes
Keith Busch (1):
nvme/pci: Sync controller reset for AER slot_reset
Kieran Bingham (1):
media: uvcvideo: Prevent setting unavailable flags
Luca Coelho (1):
iwlwifi: fw: harden page loading code
Lukas Czerner (1):
ext4: update mtime in ext4_punch_hole even if no blocks are released
Mark Syms (1):
CIFS: 511c54a2f69195b28afb9dd119f03787b1625bb4 adds a check for session expiry
Martin Brandenburg (2):
orangefs: set i_size on new symlink
orangefs: report attributes_mask and attributes for statx
Michael S. Tsirkin (1):
vhost: fix info leak due to uninitialized memory
Omar Sandoval (3):
Btrfs: allow empty subvol= again
Btrfs: fix clone vs chattr NODATASUM race
Btrfs: fix memory and mount leak in btrfs_ioctl_rm_dev_v2()
Paolo Abeni (1):
udp: fix rx queue len reported by diag and proc interface
Qu Wenruo (1):
btrfs: scrub: Don't use inode pages for device replace
Roman Pen (1):
blk-mq: reinit q->tag_set_list entry only after grace period
Sean Young (1):
media: rc: ensure input/lirc device can be opened after register
Shirish Pargaonkar (1):
cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class
Stefan Potyra (1):
w1: mxc_w1: Enable clock before calling clk_get_rate() on it
Steve French (2):
smb3: fix various xid leaks
smb3: on reconnect set PreviousSessionId field
Su Yue (1):
btrfs: return error value if create_io_em failed in cow_file_range
Suman Anna (1):
cpufreq: ti-cpufreq: Fix an incorrect error return value
Takashi Iwai (2):
ALSA: usb-audio: Disable the quirk for Nura headset
ALSA: hda/conexant - Add fixup for HP Z2 G4 workstation
Tao Wang (1):
cpufreq: Fix new policy initialization during limits updates via sysfs
Tejun Heo (1):
bdi: Move cgroup bdi_writeback to a dedicated low concurrency workqueue
Tetsuo Handa (1):
driver core: Don't ignore class_dir_create_and_add() failure.
Thadeu Lima de Souza Cascardo (1):
fs/binfmt_misc.c: do not allow offset overflow
Theodore Ts'o (3):
ext4: do not allow external inodes for inline data
ext4: bubble errors from ext4_find_inline_data_nolock() up to ext4_iget()
ext4: correctly handle a zero-length xattr with a non-zero e_value_offs
Thomas Gleixner (8):
x86/apic/vector: Prevent hlist corruption and leaks
x86/apic: Provide apic_ack_irq()
x86/ioapic: Use apic_ack_irq()
x86/platform/uv: Use apic_ack_irq()
irq_remapping: Use apic_ack_irq()
genirq/generic_pending: Do not lose pending affinity update
genirq/affinity: Defer affinity setting if irq chip is busy
genirq/migration: Avoid out of line call if pending is not set
Tony Luck (2):
x86/MCE: Fix stack out-of-bounds write in mce-inject.c: Flags_read()
x86/intel_rdt: Enable CMT and MBM on new Skylake stepping
Vlastimil Babka (1):
mm, page_alloc: do not break __GFP_THISNODE by zonelist reset
Willem de Bruijn (1):
net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlan
Xiangning Yu (1):
bonding: re-evaluate force_primary when the primary slave name changes
Zhouyang Jia (1):
net: dsa: add error handling for pskb_trim_rcsum
This is the start of the stable review cycle for the 4.17.3 release.
There are 70 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Tue Jun 26 14:27:20 UTC 2018.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.17.3-rc1…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.17.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.17.3-rc1
Vlastimil Babka <vbabka(a)suse.cz>
mm, page_alloc: do not break __GFP_THISNODE by zonelist reset
Thadeu Lima de Souza Cascardo <cascardo(a)canonical.com>
fs/binfmt_misc.c: do not allow offset overflow
Michael S. Tsirkin <mst(a)redhat.com>
vhost: fix info leak due to uninitialized memory
Jason Gerecke <killertofu(a)gmail.com>
HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro large
Even Xu <even.xu(a)intel.com>
HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation
Martin Brandenburg <martin(a)omnibond.com>
orangefs: report attributes_mask and attributes for statx
Martin Brandenburg <martin(a)omnibond.com>
orangefs: set i_size on new symlink
Luca Coelho <luciano.coelho(a)intel.com>
iwlwifi: fw: harden page loading code
Sean Young <sean(a)mess.org>
media: rc: ensure input/lirc device can be opened after register
Kieran Bingham <kieran.bingham(a)ideasonboard.com>
media: uvcvideo: Prevent setting unavailable flags
Tony Luck <tony.luck(a)intel.com>
x86/intel_rdt: Enable CMT and MBM on new Skylake stepping
Thomas Gleixner <tglx(a)linutronix.de>
genirq/migration: Avoid out of line call if pending is not set
Thomas Gleixner <tglx(a)linutronix.de>
genirq/affinity: Defer affinity setting if irq chip is busy
Thomas Gleixner <tglx(a)linutronix.de>
genirq/generic_pending: Do not lose pending affinity update
Thomas Gleixner <tglx(a)linutronix.de>
irq_remapping: Use apic_ack_irq()
Thomas Gleixner <tglx(a)linutronix.de>
x86/platform/uv: Use apic_ack_irq()
Thomas Gleixner <tglx(a)linutronix.de>
x86/ioapic: Use apic_ack_irq()
Thomas Gleixner <tglx(a)linutronix.de>
x86/apic: Provide apic_ack_irq()
Thomas Gleixner <tglx(a)linutronix.de>
x86/apic/vector: Prevent hlist corruption and leaks
Dou Liyang <douly.fnst(a)cn.fujitsu.com>
x86/vector: Fix the args of vector_alloc tracepoint
Stefan Potyra <Stefan.Potyra(a)elektrobit.com>
w1: mxc_w1: Enable clock before calling clk_get_rate() on it
Keith Busch <keith.busch(a)intel.com>
nvme/pci: Sync controller reset for AER slot_reset
Hans de Goede <hdegoede(a)redhat.com>
libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk
Dan Carpenter <dan.carpenter(a)oracle.com>
libata: zpodd: small read overflow in eject_tray()
Chen Yu <yu.c.chen(a)intel.com>
cpufreq: governors: Fix long idle detection logic in load calculation
Suman Anna <s-anna(a)ti.com>
cpufreq: ti-cpufreq: Fix an incorrect error return value
Tao Wang <kevin.wangtao(a)hisilicon.com>
cpufreq: Fix new policy initialization during limits updates via sysfs
Tejun Heo <tj(a)kernel.org>
bdi: Move cgroup bdi_writeback to a dedicated low concurrency workqueue
Roman Pen <roman.penyaev(a)profitbricks.com>
blk-mq: reinit q->tag_set_list entry only after grace period
Josef Bacik <jbacik(a)fb.com>
nbd: use bd_set_size when updating disk size
Josef Bacik <jbacik(a)fb.com>
nbd: update size when connected
Josef Bacik <jbacik(a)fb.com>
nbd: fix nbd device deletion
Shirish Pargaonkar <shirishpargaonkar(a)gmail.com>
cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class
Mark Syms <mark.syms(a)citrix.com>
CIFS: 511c54a2f69195b28afb9dd119f03787b1625bb4 adds a check for session expiry
Steve French <stfrench(a)microsoft.com>
smb3: on reconnect set PreviousSessionId field
Steve French <stfrench(a)microsoft.com>
smb3: fix various xid leaks
Tony Luck <tony.luck(a)intel.com>
x86/MCE: Fix stack out-of-bounds write in mce-inject.c: Flags_read()
Dennis Wassenberg <dennis.wassenberg(a)secunet.com>
ALSA: hda: add dock and led support for HP ProBook 640 G4
Dennis Wassenberg <dennis.wassenberg(a)secunet.com>
ALSA: hda: add dock and led support for HP EliteBook 830 G5
Bo Chen <chenbo(a)pdx.edu>
ALSA: hda - Handle kzalloc() failure in snd_hda_attach_pcm_stream()
Takashi Iwai <tiwai(a)suse.de>
ALSA: hda/conexant - Add fixup for HP Z2 G4 workstation
Hui Wang <hui.wang(a)canonical.com>
ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs
Takashi Iwai <tiwai(a)suse.de>
ALSA: usb-audio: Disable the quirk for Nura headset
Qu Wenruo <wqu(a)suse.com>
btrfs: scrub: Don't use inode pages for device replace
Su Yue <suy.fnst(a)cn.fujitsu.com>
btrfs: return error value if create_io_em failed in cow_file_range
Omar Sandoval <osandov(a)fb.com>
Btrfs: fix memory and mount leak in btrfs_ioctl_rm_dev_v2()
Omar Sandoval <osandov(a)fb.com>
Btrfs: fix clone vs chattr NODATASUM race
Omar Sandoval <osandov(a)fb.com>
Btrfs: allow empty subvol= again
Tetsuo Handa <penguin-kernel(a)I-love.SAKURA.ne.jp>
driver core: Don't ignore class_dir_create_and_add() failure.
Jan Kara <jack(a)suse.cz>
ext4: fix fencepost error in check for inode count overflow during resize
Theodore Ts'o <tytso(a)mit.edu>
ext4: correctly handle a zero-length xattr with a non-zero e_value_offs
Theodore Ts'o <tytso(a)mit.edu>
ext4: bubble errors from ext4_find_inline_data_nolock() up to ext4_iget()
Theodore Ts'o <tytso(a)mit.edu>
ext4: do not allow external inodes for inline data
Lukas Czerner <lczerner(a)redhat.com>
ext4: update mtime in ext4_punch_hole even if no blocks are released
Jan Kara <jack(a)suse.cz>
ext4: fix hole length detection in ext4_ind_map_blocks()
Erik Schmauss <erik.schmauss(a)intel.com>
ACPICA: AML parser: attempt to continue loading table after error
Dexuan Cui <decui(a)microsoft.com>
hv_netvsc: Fix a network regression after ifdown/ifup
Willem de Bruijn <willemb(a)google.com>
net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlan
Paolo Abeni <pabeni(a)redhat.com>
udp: fix rx queue len reported by diag and proc interface
Cong Wang <xiyou.wangcong(a)gmail.com>
socket: close race condition between sock_close() and sockfs_setattr()
Daniel Borkmann <daniel(a)iogearbox.net>
tls: fix waitall behavior in tls_sw_recvmsg
Daniel Borkmann <daniel(a)iogearbox.net>
tls: fix use-after-free in tls_push_record
Frank van der Linden <fllinden(a)amazon.com>
tcp: verify the checksum of the first data segment in a new connection
Davide Caratti <dcaratti(a)redhat.com>
net/sched: act_simple: fix parsing of TCA_DEF_DATA
Alvaro Gamez Machado <alvaro.gamez(a)hazent.com>
net: phy: dp83822: use BMCR_ANENABLE instead of BMSR_ANEGCAPABLE for DP83620
Zhouyang Jia <jiazhouyang09(a)gmail.com>
net: dsa: add error handling for pskb_trim_rcsum
Julian Anastasov <ja(a)ssi.bg>
ipv6: allow PMTU exceptions to local routes
Bjørn Mork <bjorn(a)mork.no>
cdc_ncm: avoid padding beyond end of skb
Xiangning Yu <yuxiangning(a)gmail.com>
bonding: re-evaluate force_primary when the primary slave name changes
Colin Ian King <colin.king(a)canonical.com>
net: aquantia: fix unsigned numvecs comparison with less than zero
-------------
Diffstat:
Makefile | 4 +-
arch/um/drivers/vector_transports.c | 3 +-
arch/x86/include/asm/apic.h | 2 +
arch/x86/include/asm/trace/irq_vectors.h | 2 +-
arch/x86/kernel/apic/io_apic.c | 2 +-
arch/x86/kernel/apic/vector.c | 18 +++++-
arch/x86/kernel/cpu/intel_rdt.c | 2 +
arch/x86/kernel/cpu/mcheck/mce-inject.c | 2 +-
arch/x86/platform/uv/uv_irq.c | 7 +--
block/blk-mq.c | 3 +-
drivers/acpi/acpica/psloop.c | 51 +++++++++++++++-
drivers/acpi/acpica/psobject.c | 30 ++++++++++
drivers/acpi/acpica/uterror.c | 10 ++--
drivers/ata/libata-core.c | 3 -
drivers/ata/libata-zpodd.c | 2 +-
drivers/base/core.c | 14 ++++-
drivers/block/nbd.c | 17 +++++-
drivers/cpufreq/cpufreq.c | 2 +
drivers/cpufreq/cpufreq_governor.c | 12 ++--
drivers/cpufreq/ti-cpufreq.c | 2 +-
drivers/hid/intel-ish-hid/ipc/pci-ish.c | 22 +++----
drivers/hid/wacom_sys.c | 8 +++
drivers/iommu/amd_iommu.c | 2 +-
drivers/iommu/intel_irq_remapping.c | 2 +-
drivers/iommu/irq_remapping.c | 5 --
drivers/iommu/irq_remapping.h | 2 -
drivers/media/rc/rc-main.c | 4 +-
drivers/media/usb/uvc/uvc_ctrl.c | 17 +++---
drivers/net/bonding/bond_options.c | 1 +
.../net/ethernet/aquantia/atlantic/aq_pci_func.c | 11 ++--
drivers/net/hyperv/netvsc_drv.c | 4 +-
drivers/net/phy/dp83848.c | 35 +++++++++--
drivers/net/tap.c | 5 +-
drivers/net/tun.c | 3 +-
drivers/net/usb/cdc_ncm.c | 4 +-
drivers/net/virtio_net.c | 3 +-
drivers/net/wireless/intel/iwlwifi/fw/paging.c | 49 +++++++++++++---
drivers/nvme/host/pci.c | 11 +++-
drivers/vhost/vhost.c | 3 +
drivers/w1/masters/mxc_w1.c | 20 ++++---
fs/binfmt_misc.c | 12 +++-
fs/btrfs/inode.c | 4 +-
fs/btrfs/ioctl.c | 18 +++---
fs/btrfs/scrub.c | 2 +-
fs/btrfs/super.c | 3 +
fs/cifs/cifsacl.h | 14 +++++
fs/cifs/smb2ops.c | 68 +++++++++++++++-------
fs/cifs/smb2pdu.c | 4 +-
fs/ext4/indirect.c | 14 +++--
fs/ext4/inline.c | 6 ++
fs/ext4/inode.c | 46 ++++++++-------
fs/ext4/resize.c | 2 +-
fs/ext4/xattr.c | 2 +-
fs/orangefs/inode.c | 7 +++
fs/orangefs/namei.c | 7 +++
include/linux/irq.h | 7 ++-
include/linux/virtio_net.h | 11 ++--
include/net/transp_v6.h | 11 +++-
include/net/udp.h | 5 ++
kernel/irq/manage.c | 37 +++++++++++-
kernel/irq/migration.c | 31 ++++++----
mm/backing-dev.c | 18 +++++-
mm/page_alloc.c | 1 -
net/dsa/tag_trailer.c | 3 +-
net/ipv4/tcp_ipv4.c | 4 ++
net/ipv4/udp.c | 2 +-
net/ipv4/udp_diag.c | 2 +-
net/ipv6/datagram.c | 6 +-
net/ipv6/route.c | 3 -
net/ipv6/tcp_ipv6.c | 4 ++
net/ipv6/udp.c | 3 +-
net/packet/af_packet.c | 4 +-
net/sched/act_simple.c | 15 ++---
net/socket.c | 18 +++++-
net/tls/tls_sw.c | 32 +++++-----
sound/pci/hda/hda_controller.c | 4 +-
sound/pci/hda/patch_conexant.c | 3 +
sound/pci/hda/patch_realtek.c | 6 +-
sound/usb/quirks-table.h | 5 ++
79 files changed, 609 insertions(+), 234 deletions(-)
This is a note to let you know that I've just added the patch titled
iio: mma8452: Fix ignoring MMA8452_INT_DRDY
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From b02ec67a8e38875cdc5f9214be885022f11c0017 Mon Sep 17 00:00:00 2001
From: Leonard Crestez <leonard.crestez(a)nxp.com>
Date: Thu, 7 Jun 2018 21:52:50 +0300
Subject: iio: mma8452: Fix ignoring MMA8452_INT_DRDY
Interrupts are ignored if no event bit is set in the status status
register and this breaks the buffer interface. No data is shown when
running "iio_generic_buffer -n mma8451 -a" and interrupt counts go
crazy.
Fix by not returning IRQ_NONE if DRDY is set.
Fixes: 605f72de137a ("iio: accel: mma8452: improvements to handle
multiple events")
Signed-off-by: Leonard Crestez <leonard.crestez(a)nxp.com>
cc: <Stable(a)vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
---
drivers/iio/accel/mma8452.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c
index 7e3d82cff3d5..c149c9c360fc 100644
--- a/drivers/iio/accel/mma8452.c
+++ b/drivers/iio/accel/mma8452.c
@@ -1053,7 +1053,7 @@ static irqreturn_t mma8452_interrupt(int irq, void *p)
if (src < 0)
return IRQ_NONE;
- if (!(src & data->chip_info->enabled_events))
+ if (!(src & (data->chip_info->enabled_events | MMA8452_INT_DRDY)))
return IRQ_NONE;
if (src & MMA8452_INT_DRDY) {
--
2.18.0
Every function that returns COMPST_ERROR must set wqe->status to
another value than IB_WC_SUCCESS before returning COMPST_ERROR. Fix
the only code path for which this is not yet the case.
Signed-off-by: Bart Van Assche <bart.vanassche(a)wdc.com>
Cc: Zhu Yanjun <yanjun.zhu(a)oracle.com>
Cc: Jianchao Wang <jianchao.w.wang(a)oracle.com>
Cc: Yuval Shaia <yuval.shaia(a)oracle.com>
Cc: <stable(a)vger.kernel.org>
---
drivers/infiniband/sw/rxe/rxe_comp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/infiniband/sw/rxe/rxe_comp.c b/drivers/infiniband/sw/rxe/rxe_comp.c
index 98d470d1f3fc..5bc62c0cc802 100644
--- a/drivers/infiniband/sw/rxe/rxe_comp.c
+++ b/drivers/infiniband/sw/rxe/rxe_comp.c
@@ -276,6 +276,9 @@ static inline enum comp_state check_ack(struct rxe_qp *qp,
case IB_OPCODE_RC_RDMA_READ_RESPONSE_MIDDLE:
if (wqe->wr.opcode != IB_WR_RDMA_READ &&
wqe->wr.opcode != IB_WR_RDMA_READ_WITH_INV) {
+ pr_err("%s: opcode wr %d <> pkt %d\n", __func__,
+ wqe->wr.opcode, pkt->opcode);
+ wqe->status = IB_WC_FATAL_ERR;
return COMPST_ERROR;
}
reset_retry_counters(qp);
--
2.17.1
From: Fabio Estevam <fabio.estevam(a)nxp.com>
Russell King reported:
"When removing and reloading the etnaviv module, the following splat
occurs:
sysfs: cannot create duplicate filename '/devices/platform/etnaviv'
CPU: 0 PID: 1471 Comm: modprobe Not tainted 4.17.0+ #1608
Hardware name: Marvell Dove (Cubox)
Backtrace:
[<c00157d4>] (dump_backtrace) from [<c0015b8c>] (show_stack+0x18/0x1c)
r6:ef033e38 r5:ee07b340 r4:edb9d000 r3:00000000
[<c0015b74>] (show_stack) from [<c0620784>] (dump_stack+0x20/0x28)
[<c0620764>] (dump_stack) from [<c01bcd24>] (sysfs_warn_dup+0x5c/0x70)
[<c01bccc8>] (sysfs_warn_dup) from [<c01bce14>] (sysfs_create_dir_ns+0x90/0x98)
..."
Commit 246774d17fc0 ("drm/etnaviv: remove the need for a gpu-subsystem
DT node") introduced DRM registration via
platform_device_register_simple(), but missed to call
platform_device_unregister() inside etnaviv_exit().
Fix the problem by calling platform_device_unregister() inside
etnaviv_exit(). While at it, also rearrange the function calls
in the exit path to make them happen in the opposite order of
registration.
Tested on a imx6-sabresd board.
Cc: <stable(a)vger.kernel.org>
Fixes: 246774d17fc0 ("drm/etnaviv: remove the need for a gpu-subsystem DT node")
Reported-by: Russell King <linux(a)armlinux.org.uk>
Signed-off-by: Fabio Estevam <fabio.estevam(a)nxp.com>
---
Changes since v1:
- Make the exit path symmetrical to the init path by calling
platform_device_unregister() inside for_each_compatible_node()
drivers/gpu/drm/etnaviv/etnaviv_drv.c | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c b/drivers/gpu/drm/etnaviv/etnaviv_drv.c
index e5013a9..626ad8b 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_drv.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_drv.c
@@ -631,6 +631,8 @@ static struct platform_driver etnaviv_platform_driver = {
},
};
+static struct platform_device *etnaviv_drm;
+
static int __init etnaviv_init(void)
{
int ret;
@@ -654,7 +656,8 @@ static int __init etnaviv_init(void)
if (!of_device_is_available(np))
continue;
- platform_device_register_simple("etnaviv", -1, NULL, 0);
+ etnaviv_drm = platform_device_register_simple("etnaviv", -1,
+ NULL, 0);
of_node_put(np);
break;
}
@@ -665,8 +668,19 @@ module_init(etnaviv_init);
static void __exit etnaviv_exit(void)
{
- platform_driver_unregister(&etnaviv_gpu_driver);
+ struct device_node *np;
+
+ for_each_compatible_node(np, NULL, "vivante,gc") {
+ if (!of_device_is_available(np))
+ continue;
+
+ platform_device_unregister(etnaviv_drm);
+ of_node_put(np);
+ break;
+ }
+
platform_driver_unregister(&etnaviv_platform_driver);
+ platform_driver_unregister(&etnaviv_gpu_driver);
}
module_exit(etnaviv_exit);
--
2.7.4
----------------
NOTE: This will be the last 4.16.y release. After this release, this
tree will be end-of-life. You should have moved to the 4.17.y tree by
now.
----------------
This is the start of the stable review cycle for the 4.16.18 release.
There are 64 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Tue Jun 26 14:27:22 UTC 2018.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.16.18-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.16.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.16.18-rc1
Vlastimil Babka <vbabka(a)suse.cz>
mm, page_alloc: do not break __GFP_THISNODE by zonelist reset
Thadeu Lima de Souza Cascardo <cascardo(a)canonical.com>
fs/binfmt_misc.c: do not allow offset overflow
Michael S. Tsirkin <mst(a)redhat.com>
vhost: fix info leak due to uninitialized memory
Jason Gerecke <killertofu(a)gmail.com>
HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro large
Even Xu <even.xu(a)intel.com>
HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation
Martin Brandenburg <martin(a)omnibond.com>
orangefs: report attributes_mask and attributes for statx
Martin Brandenburg <martin(a)omnibond.com>
orangefs: set i_size on new symlink
Luca Coelho <luciano.coelho(a)intel.com>
iwlwifi: fw: harden page loading code
Tony Luck <tony.luck(a)intel.com>
x86/intel_rdt: Enable CMT and MBM on new Skylake stepping
Thomas Gleixner <tglx(a)linutronix.de>
genirq/migration: Avoid out of line call if pending is not set
Thomas Gleixner <tglx(a)linutronix.de>
genirq/affinity: Defer affinity setting if irq chip is busy
Thomas Gleixner <tglx(a)linutronix.de>
genirq/generic_pending: Do not lose pending affinity update
Thomas Gleixner <tglx(a)linutronix.de>
irq_remapping: Use apic_ack_irq()
Thomas Gleixner <tglx(a)linutronix.de>
x86/platform/uv: Use apic_ack_irq()
Thomas Gleixner <tglx(a)linutronix.de>
x86/ioapic: Use apic_ack_irq()
Thomas Gleixner <tglx(a)linutronix.de>
x86/apic: Provide apic_ack_irq()
Thomas Gleixner <tglx(a)linutronix.de>
x86/apic/vector: Prevent hlist corruption and leaks
Dou Liyang <douly.fnst(a)cn.fujitsu.com>
x86/vector: Fix the args of vector_alloc tracepoint
Stefan Potyra <Stefan.Potyra(a)elektrobit.com>
w1: mxc_w1: Enable clock before calling clk_get_rate() on it
Keith Busch <keith.busch(a)intel.com>
nvme/pci: Sync controller reset for AER slot_reset
Hans de Goede <hdegoede(a)redhat.com>
libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk
Dan Carpenter <dan.carpenter(a)oracle.com>
libata: zpodd: small read overflow in eject_tray()
Chen Yu <yu.c.chen(a)intel.com>
cpufreq: governors: Fix long idle detection logic in load calculation
Suman Anna <s-anna(a)ti.com>
cpufreq: ti-cpufreq: Fix an incorrect error return value
Tao Wang <kevin.wangtao(a)hisilicon.com>
cpufreq: Fix new policy initialization during limits updates via sysfs
Tejun Heo <tj(a)kernel.org>
bdi: Move cgroup bdi_writeback to a dedicated low concurrency workqueue
Roman Pen <roman.penyaev(a)profitbricks.com>
blk-mq: reinit q->tag_set_list entry only after grace period
Josef Bacik <jbacik(a)fb.com>
nbd: use bd_set_size when updating disk size
Josef Bacik <jbacik(a)fb.com>
nbd: update size when connected
Josef Bacik <jbacik(a)fb.com>
nbd: fix nbd device deletion
Shirish Pargaonkar <shirishpargaonkar(a)gmail.com>
cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class
Mark Syms <mark.syms(a)citrix.com>
CIFS: 511c54a2f69195b28afb9dd119f03787b1625bb4 adds a check for session expiry
Steve French <stfrench(a)microsoft.com>
smb3: on reconnect set PreviousSessionId field
Steve French <stfrench(a)microsoft.com>
smb3: fix various xid leaks
Tony Luck <tony.luck(a)intel.com>
x86/MCE: Fix stack out-of-bounds write in mce-inject.c: Flags_read()
Dennis Wassenberg <dennis.wassenberg(a)secunet.com>
ALSA: hda: add dock and led support for HP ProBook 640 G4
Dennis Wassenberg <dennis.wassenberg(a)secunet.com>
ALSA: hda: add dock and led support for HP EliteBook 830 G5
Bo Chen <chenbo(a)pdx.edu>
ALSA: hda - Handle kzalloc() failure in snd_hda_attach_pcm_stream()
Takashi Iwai <tiwai(a)suse.de>
ALSA: hda/conexant - Add fixup for HP Z2 G4 workstation
Hui Wang <hui.wang(a)canonical.com>
ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs
Takashi Iwai <tiwai(a)suse.de>
ALSA: usb-audio: Disable the quirk for Nura headset
Qu Wenruo <wqu(a)suse.com>
btrfs: scrub: Don't use inode pages for device replace
Su Yue <suy.fnst(a)cn.fujitsu.com>
btrfs: return error value if create_io_em failed in cow_file_range
Omar Sandoval <osandov(a)fb.com>
Btrfs: fix memory and mount leak in btrfs_ioctl_rm_dev_v2()
Omar Sandoval <osandov(a)fb.com>
Btrfs: fix clone vs chattr NODATASUM race
Tetsuo Handa <penguin-kernel(a)I-love.SAKURA.ne.jp>
driver core: Don't ignore class_dir_create_and_add() failure.
Jan Kara <jack(a)suse.cz>
ext4: fix fencepost error in check for inode count overflow during resize
Theodore Ts'o <tytso(a)mit.edu>
ext4: correctly handle a zero-length xattr with a non-zero e_value_offs
Theodore Ts'o <tytso(a)mit.edu>
ext4: bubble errors from ext4_find_inline_data_nolock() up to ext4_iget()
Theodore Ts'o <tytso(a)mit.edu>
ext4: do not allow external inodes for inline data
Lukas Czerner <lczerner(a)redhat.com>
ext4: update mtime in ext4_punch_hole even if no blocks are released
Jan Kara <jack(a)suse.cz>
ext4: fix hole length detection in ext4_ind_map_blocks()
Daniel Borkmann <daniel(a)iogearbox.net>
tls: fix use-after-free in tls_push_record
Dexuan Cui <decui(a)microsoft.com>
hv_netvsc: Fix a network regression after ifdown/ifup
Willem de Bruijn <willemb(a)google.com>
net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlan
Paolo Abeni <pabeni(a)redhat.com>
udp: fix rx queue len reported by diag and proc interface
Cong Wang <xiyou.wangcong(a)gmail.com>
socket: close race condition between sock_close() and sockfs_setattr()
Frank van der Linden <fllinden(a)amazon.com>
tcp: verify the checksum of the first data segment in a new connection
Davide Caratti <dcaratti(a)redhat.com>
net/sched: act_simple: fix parsing of TCA_DEF_DATA
Alvaro Gamez Machado <alvaro.gamez(a)hazent.com>
net: phy: dp83822: use BMCR_ANENABLE instead of BMSR_ANEGCAPABLE for DP83620
Zhouyang Jia <jiazhouyang09(a)gmail.com>
net: dsa: add error handling for pskb_trim_rcsum
Julian Anastasov <ja(a)ssi.bg>
ipv6: allow PMTU exceptions to local routes
Bjørn Mork <bjorn(a)mork.no>
cdc_ncm: avoid padding beyond end of skb
Xiangning Yu <yuxiangning(a)gmail.com>
bonding: re-evaluate force_primary when the primary slave name changes
-------------
Diffstat:
Makefile | 4 +-
arch/x86/include/asm/apic.h | 2 +
arch/x86/include/asm/trace/irq_vectors.h | 2 +-
arch/x86/kernel/apic/io_apic.c | 2 +-
arch/x86/kernel/apic/vector.c | 18 ++++++-
arch/x86/kernel/cpu/intel_rdt.c | 2 +
arch/x86/kernel/cpu/mcheck/mce-inject.c | 2 +-
arch/x86/platform/uv/uv_irq.c | 7 +--
block/blk-mq.c | 3 +-
drivers/ata/libata-core.c | 3 --
drivers/ata/libata-zpodd.c | 2 +-
drivers/base/core.c | 14 +++++-
drivers/block/nbd.c | 17 ++++++-
drivers/cpufreq/cpufreq.c | 2 +
drivers/cpufreq/cpufreq_governor.c | 12 ++---
drivers/cpufreq/ti-cpufreq.c | 2 +-
drivers/hid/intel-ish-hid/ipc/pci-ish.c | 22 +++------
drivers/hid/wacom_sys.c | 8 +++
drivers/iommu/amd_iommu.c | 2 +-
drivers/iommu/intel_irq_remapping.c | 2 +-
drivers/iommu/irq_remapping.c | 5 --
drivers/iommu/irq_remapping.h | 2 -
drivers/net/bonding/bond_options.c | 1 +
drivers/net/hyperv/netvsc_drv.c | 4 +-
drivers/net/phy/dp83848.c | 35 ++++++++++---
drivers/net/tap.c | 5 +-
drivers/net/tun.c | 3 +-
drivers/net/usb/cdc_ncm.c | 4 +-
drivers/net/virtio_net.c | 3 +-
drivers/net/wireless/intel/iwlwifi/fw/paging.c | 49 ++++++++++++++++---
drivers/nvme/host/pci.c | 11 ++++-
drivers/vhost/vhost.c | 3 ++
drivers/w1/masters/mxc_w1.c | 20 +++++---
fs/binfmt_misc.c | 12 +++--
fs/btrfs/inode.c | 4 +-
fs/btrfs/ioctl.c | 18 ++++---
fs/btrfs/scrub.c | 2 +-
fs/cifs/cifsacl.h | 14 ++++++
fs/cifs/smb2ops.c | 68 ++++++++++++++++++--------
fs/cifs/smb2pdu.c | 4 +-
fs/ext4/indirect.c | 14 ++++--
fs/ext4/inline.c | 6 +++
fs/ext4/inode.c | 46 +++++++++--------
fs/ext4/resize.c | 2 +-
fs/ext4/xattr.c | 2 +-
fs/orangefs/inode.c | 7 +++
fs/orangefs/namei.c | 7 +++
include/linux/irq.h | 7 ++-
include/linux/virtio_net.h | 11 ++---
include/net/transp_v6.h | 11 ++++-
include/net/udp.h | 5 ++
kernel/irq/manage.c | 37 +++++++++++++-
kernel/irq/migration.c | 31 +++++++-----
mm/backing-dev.c | 18 ++++++-
mm/page_alloc.c | 1 -
net/dsa/tag_trailer.c | 3 +-
net/ipv4/tcp_ipv4.c | 4 ++
net/ipv4/udp.c | 2 +-
net/ipv4/udp_diag.c | 2 +-
net/ipv6/datagram.c | 6 +--
net/ipv6/route.c | 3 --
net/ipv6/tcp_ipv6.c | 4 ++
net/ipv6/udp.c | 3 +-
net/packet/af_packet.c | 4 +-
net/sched/act_simple.c | 15 +++---
net/socket.c | 18 +++++--
net/tls/tls_sw.c | 26 +++++-----
sound/pci/hda/hda_controller.c | 4 +-
sound/pci/hda/patch_conexant.c | 3 ++
sound/pci/hda/patch_realtek.c | 6 ++-
sound/usb/quirks-table.h | 5 ++
71 files changed, 498 insertions(+), 210 deletions(-)
This is the start of the stable review cycle for the 4.14.52 release.
There are 52 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Tue Jun 26 14:27:24 UTC 2018.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.52-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.14.52-rc1
Vlastimil Babka <vbabka(a)suse.cz>
mm, page_alloc: do not break __GFP_THISNODE by zonelist reset
Thadeu Lima de Souza Cascardo <cascardo(a)canonical.com>
fs/binfmt_misc.c: do not allow offset overflow
Michael S. Tsirkin <mst(a)redhat.com>
vhost: fix info leak due to uninitialized memory
Jason Gerecke <killertofu(a)gmail.com>
HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro large
Even Xu <even.xu(a)intel.com>
HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation
Martin Brandenburg <martin(a)omnibond.com>
orangefs: report attributes_mask and attributes for statx
Martin Brandenburg <martin(a)omnibond.com>
orangefs: set i_size on new symlink
Luca Coelho <luciano.coelho(a)intel.com>
iwlwifi: fw: harden page loading code
Tony Luck <tony.luck(a)intel.com>
x86/intel_rdt: Enable CMT and MBM on new Skylake stepping
Stefan Potyra <Stefan.Potyra(a)elektrobit.com>
w1: mxc_w1: Enable clock before calling clk_get_rate() on it
Hans de Goede <hdegoede(a)redhat.com>
libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk
Dan Carpenter <dan.carpenter(a)oracle.com>
libata: zpodd: small read overflow in eject_tray()
Chen Yu <yu.c.chen(a)intel.com>
cpufreq: governors: Fix long idle detection logic in load calculation
Tao Wang <kevin.wangtao(a)hisilicon.com>
cpufreq: Fix new policy initialization during limits updates via sysfs
Tejun Heo <tj(a)kernel.org>
bdi: Move cgroup bdi_writeback to a dedicated low concurrency workqueue
Roman Pen <roman.penyaev(a)profitbricks.com>
blk-mq: reinit q->tag_set_list entry only after grace period
Josef Bacik <jbacik(a)fb.com>
nbd: use bd_set_size when updating disk size
Josef Bacik <jbacik(a)fb.com>
nbd: update size when connected
Josef Bacik <jbacik(a)fb.com>
nbd: fix nbd device deletion
Shirish Pargaonkar <shirishpargaonkar(a)gmail.com>
cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class
Mark Syms <mark.syms(a)citrix.com>
CIFS: 511c54a2f69195b28afb9dd119f03787b1625bb4 adds a check for session expiry
Steve French <stfrench(a)microsoft.com>
smb3: on reconnect set PreviousSessionId field
Steve French <stfrench(a)microsoft.com>
smb3: fix various xid leaks
Tony Luck <tony.luck(a)intel.com>
x86/MCE: Fix stack out-of-bounds write in mce-inject.c: Flags_read()
Dennis Wassenberg <dennis.wassenberg(a)secunet.com>
ALSA: hda: add dock and led support for HP ProBook 640 G4
Dennis Wassenberg <dennis.wassenberg(a)secunet.com>
ALSA: hda: add dock and led support for HP EliteBook 830 G5
Bo Chen <chenbo(a)pdx.edu>
ALSA: hda - Handle kzalloc() failure in snd_hda_attach_pcm_stream()
Takashi Iwai <tiwai(a)suse.de>
ALSA: hda/conexant - Add fixup for HP Z2 G4 workstation
Hui Wang <hui.wang(a)canonical.com>
ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs
Qu Wenruo <wqu(a)suse.com>
btrfs: scrub: Don't use inode pages for device replace
Su Yue <suy.fnst(a)cn.fujitsu.com>
btrfs: return error value if create_io_em failed in cow_file_range
Omar Sandoval <osandov(a)fb.com>
Btrfs: fix memory and mount leak in btrfs_ioctl_rm_dev_v2()
Omar Sandoval <osandov(a)fb.com>
Btrfs: fix clone vs chattr NODATASUM race
Tetsuo Handa <penguin-kernel(a)I-love.SAKURA.ne.jp>
driver core: Don't ignore class_dir_create_and_add() failure.
Jan Kara <jack(a)suse.cz>
ext4: fix fencepost error in check for inode count overflow during resize
Theodore Ts'o <tytso(a)mit.edu>
ext4: correctly handle a zero-length xattr with a non-zero e_value_offs
Theodore Ts'o <tytso(a)mit.edu>
ext4: bubble errors from ext4_find_inline_data_nolock() up to ext4_iget()
Theodore Ts'o <tytso(a)mit.edu>
ext4: do not allow external inodes for inline data
Lukas Czerner <lczerner(a)redhat.com>
ext4: update mtime in ext4_punch_hole even if no blocks are released
Jan Kara <jack(a)suse.cz>
ext4: fix hole length detection in ext4_ind_map_blocks()
Trond Myklebust <trond.myklebust(a)primarydata.com>
NFSv4.1: Fix up replays of interrupted requests
Daniel Borkmann <daniel(a)iogearbox.net>
tls: fix use-after-free in tls_push_record
Dexuan Cui <decui(a)microsoft.com>
hv_netvsc: Fix a network regression after ifdown/ifup
Willem de Bruijn <willemb(a)google.com>
net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlan
Paolo Abeni <pabeni(a)redhat.com>
udp: fix rx queue len reported by diag and proc interface
Cong Wang <xiyou.wangcong(a)gmail.com>
socket: close race condition between sock_close() and sockfs_setattr()
Frank van der Linden <fllinden(a)amazon.com>
tcp: verify the checksum of the first data segment in a new connection
Davide Caratti <dcaratti(a)redhat.com>
net/sched: act_simple: fix parsing of TCA_DEF_DATA
Zhouyang Jia <jiazhouyang09(a)gmail.com>
net: dsa: add error handling for pskb_trim_rcsum
Julian Anastasov <ja(a)ssi.bg>
ipv6: allow PMTU exceptions to local routes
Bjørn Mork <bjorn(a)mork.no>
cdc_ncm: avoid padding beyond end of skb
Xiangning Yu <yuxiangning(a)gmail.com>
bonding: re-evaluate force_primary when the primary slave name changes
-------------
Diffstat:
Makefile | 4 +-
arch/x86/kernel/cpu/intel_rdt.c | 2 +
arch/x86/kernel/cpu/mcheck/mce-inject.c | 2 +-
block/blk-mq.c | 3 +-
drivers/ata/libata-core.c | 3 -
drivers/ata/libata-zpodd.c | 2 +-
drivers/base/core.c | 14 ++-
drivers/block/nbd.c | 17 ++-
drivers/cpufreq/cpufreq.c | 2 +
drivers/cpufreq/cpufreq_governor.c | 12 +-
drivers/hid/intel-ish-hid/ipc/pci-ish.c | 22 ++--
drivers/hid/wacom_sys.c | 8 ++
drivers/net/bonding/bond_options.c | 1 +
drivers/net/hyperv/netvsc_drv.c | 4 +-
drivers/net/tap.c | 5 +-
drivers/net/tun.c | 3 +-
drivers/net/usb/cdc_ncm.c | 4 +-
drivers/net/virtio_net.c | 3 +-
drivers/net/wireless/intel/iwlwifi/fw/paging.c | 49 ++++++--
drivers/vhost/vhost.c | 3 +
drivers/w1/masters/mxc_w1.c | 20 ++--
fs/binfmt_misc.c | 12 +-
fs/btrfs/inode.c | 4 +-
fs/btrfs/ioctl.c | 18 +--
fs/btrfs/scrub.c | 2 +-
fs/cifs/cifsacl.h | 14 +++
fs/cifs/smb2ops.c | 68 ++++++++----
fs/cifs/smb2pdu.c | 4 +-
fs/ext4/indirect.c | 14 ++-
fs/ext4/inline.c | 6 +
fs/ext4/inode.c | 46 ++++----
fs/ext4/resize.c | 2 +-
fs/ext4/xattr.c | 2 +-
fs/nfs/nfs4_fs.h | 2 +-
fs/nfs/nfs4proc.c | 148 +++++++++++++++++--------
fs/orangefs/inode.c | 7 ++
fs/orangefs/namei.c | 7 ++
include/linux/virtio_net.h | 11 +-
include/net/transp_v6.h | 11 +-
include/net/udp.h | 5 +
mm/backing-dev.c | 18 ++-
mm/page_alloc.c | 1 -
net/dsa/tag_trailer.c | 3 +-
net/ipv4/tcp_ipv4.c | 4 +
net/ipv4/udp.c | 2 +-
net/ipv4/udp_diag.c | 2 +-
net/ipv6/datagram.c | 6 +-
net/ipv6/route.c | 3 -
net/ipv6/tcp_ipv6.c | 4 +
net/ipv6/udp.c | 3 +-
net/packet/af_packet.c | 4 +-
net/sched/act_simple.c | 15 +--
net/socket.c | 18 ++-
net/tls/tls_sw.c | 26 ++---
sound/pci/hda/hda_controller.c | 4 +-
sound/pci/hda/patch_conexant.c | 3 +
sound/pci/hda/patch_realtek.c | 6 +-
57 files changed, 473 insertions(+), 215 deletions(-)
This is the start of the stable review cycle for the 4.9.110 release.
There are 39 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Tue Jun 26 15:23:25 UTC 2018.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.110-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.9.110-rc1
Thadeu Lima de Souza Cascardo <cascardo(a)canonical.com>
fs/binfmt_misc.c: do not allow offset overflow
Michael S. Tsirkin <mst(a)redhat.com>
vhost: fix info leak due to uninitialized memory
Even Xu <even.xu(a)intel.com>
HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation
Martin Brandenburg <martin(a)omnibond.com>
orangefs: set i_size on new symlink
Stefan Potyra <Stefan.Potyra(a)elektrobit.com>
w1: mxc_w1: Enable clock before calling clk_get_rate() on it
Hans de Goede <hdegoede(a)redhat.com>
libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk
Dan Carpenter <dan.carpenter(a)oracle.com>
libata: zpodd: small read overflow in eject_tray()
Colin Ian King <colin.king(a)canonical.com>
libata: zpodd: make arrays cdb static, reduces object code size
Tao Wang <kevin.wangtao(a)hisilicon.com>
cpufreq: Fix new policy initialization during limits updates via sysfs
Steve French <stfrench(a)microsoft.com>
smb3: on reconnect set PreviousSessionId field
Dennis Wassenberg <dennis.wassenberg(a)secunet.com>
ALSA: hda: add dock and led support for HP ProBook 640 G4
Dennis Wassenberg <dennis.wassenberg(a)secunet.com>
ALSA: hda: add dock and led support for HP EliteBook 830 G5
Bo Chen <chenbo(a)pdx.edu>
ALSA: hda - Handle kzalloc() failure in snd_hda_attach_pcm_stream()
Qu Wenruo <wqu(a)suse.com>
btrfs: scrub: Don't use inode pages for device replace
Omar Sandoval <osandov(a)fb.com>
Btrfs: fix memory and mount leak in btrfs_ioctl_rm_dev_v2()
Omar Sandoval <osandov(a)fb.com>
Btrfs: fix clone vs chattr NODATASUM race
Tetsuo Handa <penguin-kernel(a)I-love.SAKURA.ne.jp>
driver core: Don't ignore class_dir_create_and_add() failure.
Jan Kara <jack(a)suse.cz>
ext4: fix fencepost error in check for inode count overflow during resize
Lukas Czerner <lczerner(a)redhat.com>
ext4: update mtime in ext4_punch_hole even if no blocks are released
Jan Kara <jack(a)suse.cz>
ext4: fix hole length detection in ext4_ind_map_blocks()
Kailang Yang <kailang(a)realtek.com>
ALSA: hda/realtek - New codec support for ALC257
Frank van der Linden <fllinden(a)amazon.com>
tcp: verify the checksum of the first data segment in a new connection
Davide Caratti <dcaratti(a)redhat.com>
net/sched: act_simple: fix parsing of TCA_DEF_DATA
Julian Anastasov <ja(a)ssi.bg>
ipv6: allow PMTU exceptions to local routes
Xiangning Yu <yuxiangning(a)gmail.com>
bonding: re-evaluate force_primary when the primary slave name changes
Daniel Glöckner <dg(a)emlix.com>
usb: musb: fix remote wakeup racing with suspend
Liu Bo <bo.li.liu(a)oracle.com>
Btrfs: make raid6 rebuild retry more
Eric Dumazet <edumazet(a)google.com>
tcp: do not overshoot window_clamp in tcp_rcv_space_adjust()
Sasha Levin <Alexander.Levin(a)microsoft.com>
Revert "Btrfs: fix scrub to repair raid6 corruption"
Damien Thébault <damien.thebault(a)vitec.com>
net: dsa: b53: Add BCM5389 support
Finn Thain <fthain(a)telegraphics.com.au>
net/sonic: Use dma_mapping_error()
João Paulo Rechi Vita <jprvita(a)gmail.com>
platform/x86: asus-wmi: Fix NULL pointer dereference
Josh Hill <josh(a)joshuajhill.com>
net: qmi_wwan: Add Netgear Aircard 779S
Ivan Bornyakov <brnkv.i1(a)gmail.com>
atm: zatm: fix memcmp casting
Hao Wei Tee <angelsl(a)in04.sg>
iwlwifi: pcie: compare with number of IRQs requested for, not number of CPUs
Julian Anastasov <ja(a)ssi.bg>
ipvs: fix buffer overflow with sync daemon and service
Paolo Abeni <pabeni(a)redhat.com>
netfilter: ebtables: handle string from userspace with care
Eric Dumazet <edumazet(a)google.com>
xfrm6: avoid potential infinite loop in _decode_session6()
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
objtool: update .gitignore file
-------------
Diffstat:
Documentation/devicetree/bindings/net/dsa/b53.txt | 1 +
Makefile | 4 +--
drivers/ata/libata-core.c | 3 --
drivers/ata/libata-zpodd.c | 4 +--
drivers/atm/zatm.c | 4 +--
drivers/base/core.c | 14 +++++++--
drivers/cpufreq/cpufreq.c | 2 ++
drivers/hid/intel-ish-hid/ipc/pci-ish.c | 22 +++++---------
drivers/net/bonding/bond_options.c | 1 +
drivers/net/dsa/b53/b53_common.c | 13 ++++++++
drivers/net/dsa/b53/b53_mdio.c | 5 +++-
drivers/net/dsa/b53/b53_priv.h | 1 +
drivers/net/ethernet/natsemi/sonic.c | 2 +-
drivers/net/usb/qmi_wwan.c | 1 +
drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 10 +++----
drivers/platform/x86/asus-wmi.c | 23 ++++++++-------
drivers/usb/musb/musb_host.c | 5 +++-
drivers/usb/musb/musb_host.h | 7 +++--
drivers/usb/musb/musb_virthub.c | 25 +++++++++-------
drivers/vhost/vhost.c | 3 ++
drivers/w1/masters/mxc_w1.c | 20 ++++++++-----
fs/binfmt_misc.c | 12 ++++++--
fs/btrfs/ioctl.c | 18 +++++++-----
fs/btrfs/scrub.c | 2 +-
fs/cifs/smb2pdu.c | 1 +
fs/ext4/indirect.c | 14 ++++++---
fs/ext4/inode.c | 36 +++++++++++------------
fs/ext4/resize.c | 2 +-
fs/orangefs/namei.c | 7 +++++
net/bridge/netfilter/ebtables.c | 3 +-
net/ipv4/tcp_input.c | 2 +-
net/ipv4/tcp_ipv4.c | 4 +++
net/ipv6/route.c | 3 --
net/ipv6/tcp_ipv6.c | 4 +++
net/ipv6/xfrm6_policy.c | 2 +-
net/netfilter/ipvs/ip_vs_ctl.c | 21 +++++++++----
net/sched/act_simple.c | 15 ++++------
sound/pci/hda/hda_controller.c | 4 ++-
sound/pci/hda/patch_conexant.c | 2 ++
sound/pci/hda/patch_realtek.c | 8 +++++
tools/objtool/.gitignore | 2 +-
41 files changed, 212 insertions(+), 120 deletions(-)
This is a note to let you know that I've just added the patch titled
staging: android: ion: Return an ERR_PTR in ion_map_kernel
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 0a2bc00341dcfcc793c0dbf4f8d43adf60458b05 Mon Sep 17 00:00:00 2001
From: Laura Abbott <labbott(a)redhat.com>
Date: Mon, 11 Jun 2018 11:06:53 -0700
Subject: staging: android: ion: Return an ERR_PTR in ion_map_kernel
The expected return value from ion_map_kernel is an ERR_PTR. The error
path for a vmalloc failure currently just returns NULL, triggering
a warning in ion_buffer_kmap_get. Encode the vmalloc failure as an ERR_PTR.
Reported-by: syzbot+55b1d9f811650de944c6(a)syzkaller.appspotmail.com
Signed-off-by: Laura Abbott <labbott(a)redhat.com>
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/staging/android/ion/ion_heap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/android/ion/ion_heap.c b/drivers/staging/android/ion/ion_heap.c
index e8c440329708..31db510018a9 100644
--- a/drivers/staging/android/ion/ion_heap.c
+++ b/drivers/staging/android/ion/ion_heap.c
@@ -30,7 +30,7 @@ void *ion_heap_map_kernel(struct ion_heap *heap,
struct page **tmp = pages;
if (!pages)
- return NULL;
+ return ERR_PTR(-ENOMEM);
if (buffer->flags & ION_FLAG_CACHED)
pgprot = PAGE_KERNEL;
--
2.18.0
This is a note to let you know that I've just added the patch titled
usb: typec: tcpm: fix logbuffer index is wrong if _tcpm_log is
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From d5a4f93511b7000183c0d528739b824752139f79 Mon Sep 17 00:00:00 2001
From: Peter Chen <peter.chen(a)nxp.com>
Date: Tue, 12 Jun 2018 09:53:01 +0800
Subject: usb: typec: tcpm: fix logbuffer index is wrong if _tcpm_log is
re-entered
The port->logbuffer_head may be wrong if the two processes enters
_tcpm_log at the mostly same time. The 2nd process enters _tcpm_log
before the 1st process update the index, then the 2nd process will
not allocate logbuffer, when the 2nd process tries to use log buffer,
the index has already updated by the 1st process, so it will get
NULL pointer for updated logbuffer, the error message like below:
tcpci 0-0050: Log buffer index 6 is NULL
Cc: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Cc: Guenter Roeck <linux(a)roeck-us.net>
Cc: Jun Li <jun.li(a)nxp.com>
Signed-off-by: Peter Chen <peter.chen(a)nxp.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Cc: stable <stable(a)vger.kernel.org>
Reviewed-by: Guenter Roeck <linux(a)roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/usb/typec/tcpm.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/typec/tcpm.c b/drivers/usb/typec/tcpm.c
index 0dfd755020f4..d961f1ec0e08 100644
--- a/drivers/usb/typec/tcpm.c
+++ b/drivers/usb/typec/tcpm.c
@@ -418,17 +418,18 @@ static void _tcpm_log(struct tcpm_port *port, const char *fmt, va_list args)
u64 ts_nsec = local_clock();
unsigned long rem_nsec;
+ mutex_lock(&port->logbuffer_lock);
if (!port->logbuffer[port->logbuffer_head]) {
port->logbuffer[port->logbuffer_head] =
kzalloc(LOG_BUFFER_ENTRY_SIZE, GFP_KERNEL);
- if (!port->logbuffer[port->logbuffer_head])
+ if (!port->logbuffer[port->logbuffer_head]) {
+ mutex_unlock(&port->logbuffer_lock);
return;
+ }
}
vsnprintf(tmpbuffer, sizeof(tmpbuffer), fmt, args);
- mutex_lock(&port->logbuffer_lock);
-
if (tcpm_log_full(port)) {
port->logbuffer_head = max(port->logbuffer_head - 1, 0);
strcpy(tmpbuffer, "overflow");
--
2.18.0
This is a note to let you know that I've just added the patch titled
usb: cdc_acm: Add quirk for Uniden UBC125 scanner
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 4a762569a2722b8a48066c7bacf0e1dc67d17fa1 Mon Sep 17 00:00:00 2001
From: Houston Yaroschoff <hstn(a)4ever3.net>
Date: Mon, 11 Jun 2018 12:39:09 +0200
Subject: usb: cdc_acm: Add quirk for Uniden UBC125 scanner
Uniden UBC125 radio scanner has USB interface which fails to work
with cdc_acm driver:
usb 1-1.5: new full-speed USB device number 4 using xhci_hcd
cdc_acm 1-1.5:1.0: Zero length descriptor references
cdc_acm: probe of 1-1.5:1.0 failed with error -22
Adding the NO_UNION_NORMAL quirk for the device fixes the issue:
usb 1-4: new full-speed USB device number 15 using xhci_hcd
usb 1-4: New USB device found, idVendor=1965, idProduct=0018
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: UBC125XLT
usb 1-4: Manufacturer: Uniden Corp.
usb 1-4: SerialNumber: 0001
cdc_acm 1-4:1.0: ttyACM0: USB ACM device
`lsusb -v` of the device:
Bus 001 Device 015: ID 1965:0018 Uniden Corporation
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1965 Uniden Corporation
idProduct 0x0018
bcdDevice 0.01
iManufacturer 1 Uniden Corp.
iProduct 2 UBC125XLT
iSerial 3 0001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 48
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 0 None
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
Signed-off-by: Houston Yaroschoff <hstn(a)4ever3.net>
Cc: stable <stable(a)vger.kernel.org>
Acked-by: Oliver Neukum <oneukum(a)suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/usb/class/cdc-acm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 7b366a6c0b49..998b32d0167e 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1758,6 +1758,9 @@ static const struct usb_device_id acm_ids[] = {
{ USB_DEVICE(0x11ca, 0x0201), /* VeriFone Mx870 Gadget Serial */
.driver_info = SINGLE_RX_URB,
},
+ { USB_DEVICE(0x1965, 0x0018), /* Uniden UBC125XLT */
+ .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
+ },
{ USB_DEVICE(0x22b8, 0x7000), /* Motorola Q Phone */
.driver_info = NO_UNION_NORMAL, /* has no union descriptor */
},
--
2.18.0
This is a note to let you know that I've just added the patch titled
usb: typec: ucsi: Fix for incorrect status data issue
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 68816e16b4789f2d05e77b6dcb77564cf5d6a8d8 Mon Sep 17 00:00:00 2001
From: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Date: Thu, 21 Jun 2018 16:43:19 +0300
Subject: usb: typec: ucsi: Fix for incorrect status data issue
According to UCSI Specification, Connector Change Event only
means a change in the Connector Status and Operation Mode
fields of the STATUS data structure. So any other change
should create another event.
Unfortunately on some platforms the firmware acting as PPM
(platform policy manager - usually embedded controller
firmware) still does not report any other status changes if
there is a connector change event. So if the connector power
or data role was changed when a device was plugged to the
connector, the driver does not get any indication about
that. The port will show wrong roles if that happens.
To fix the issue, always checking the data and power role
together with a connector change event.
Fixes: c1b0bc2dabfa ("usb: typec: Add support for UCSI interface")
Signed-off-by: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/usb/typec/ucsi/ucsi.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c
index bd5cca5632b3..8d0a6fe748bd 100644
--- a/drivers/usb/typec/ucsi/ucsi.c
+++ b/drivers/usb/typec/ucsi/ucsi.c
@@ -350,6 +350,19 @@ static void ucsi_connector_change(struct work_struct *work)
}
if (con->status.change & UCSI_CONSTAT_CONNECT_CHANGE) {
+ typec_set_pwr_role(con->port, con->status.pwr_dir);
+
+ switch (con->status.partner_type) {
+ case UCSI_CONSTAT_PARTNER_TYPE_UFP:
+ typec_set_data_role(con->port, TYPEC_HOST);
+ break;
+ case UCSI_CONSTAT_PARTNER_TYPE_DFP:
+ typec_set_data_role(con->port, TYPEC_DEVICE);
+ break;
+ default:
+ break;
+ }
+
if (con->status.connected)
ucsi_register_partner(con);
else
--
2.18.0