Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1157581 > unrolled thread
| Started by | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| First post | 2015-06-03 15:00 +0200 |
| Last post | 2015-06-03 19:00 +0200 |
| Articles | 20 on this page of 38 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 4.0 000/148] 4.0.5-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 021/148] mfd: da9052: Fix broken regulator probe Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 061/148] ASoC: wm8994: correct BCLK DIV 348 to 384 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 026/148] hwmon: (ntc_thermistor) Ensure iio channel is of type IIO_VOLTAGE Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 048/148] module: Call module notifier on failure after complete_formation() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 053/148] ALSA: hda/realtek - ALC292 dock fix for Thinkpad L450 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 046/148] lib: Fix strnlen_user() to not touch memory after specified maximum Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 065/148] staging: vt6655: device_free_tx_buf use only ieee80211_tx_status_irqsafe Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 008/148] KVM: MMU: fix CR4.SMEP=1, CR0.WP=0 with shadow pages Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 033/148] iio: adc: cc10001: Fix incorrect use of power-up/power-down register Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 034/148] iio: adc: cc10001: Add delay before setting START bit Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 040/148] hwmon: (tmp401) Do not auto-detect chip on I2C address 0x37 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 049/148] ALSA: usb-audio: Add quirk for MS LifeCam Studio Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 009/148] KVM: MMU: fix smap permission check Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 023/148] Revert "libceph: clear r_req_lru_item in __unregister_linger_request()" Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 050/148] ALSA: hda - Add Conexant codecs CX20721, CX20722, CX20723 and CX20724 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 045/148] brcmfmac: avoid null pointer access when brcmf_msgbuf_get_pktid() fails Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 035/148] iio: adc: cc10001: Fix regulator_get_voltage() return value check Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 060/148] ASoC: wm8960: fix "RINPUT3" audio route error Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 022/148] libceph: request a new osdmap if lingering request maps to no osd Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 025/148] xen/events: dont bind non-percpu VIRQs with percpu chip Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 004/148] iommu/arm-smmu: Fix sign-extension of upstream bus addresses at stage 1 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 057/148] ASoC: mc13783: Fix wrong mask value used in mc13xxx_reg_rmw() calls Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 024/148] Btrfs: fix racy system chunk allocation when setting block group ro Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 051/148] ALSA: hda - Add headphone quirk for Lifebook E752 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 007/148] x86/fpu: Disable XSAVES* support for now Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 064/148] staging: vt6656: use ieee80211_tx_info to select packet type. Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 056/148] ALSA: hda - Fix noise on AMD radeon 290x controller Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 003/148] iommu/amd: Fix bug in put_pasid_state_wait Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 032/148] iio: adc: cc10001: Fix the channel number mapping Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:00 +0200
[PATCH 4.0 015/148] omfs: fix sign confusion for bitmap loop counter Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:10 +0200
[PATCH 4.0 018/148] lguest: fix out-by-one error in address checking. Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:10 +0200
[PATCH 4.0 002/148] fs_pin: Allow for the possibility that m_list or s_list go unused. Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:10 +0200
[PATCH 4.0 016/148] xfs: xfs_attr_inactive leaves inconsistent attr fork state behind Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:10 +0200
[PATCH 4.0 014/148] fs, omfs: add NULL terminator in the end up the token list Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:10 +0200
[PATCH 4.0 017/148] xfs: xfs_iozero can return positive errno Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:10 +0200
[PATCH 4.0 019/148] ovl: dont remove non-empty opaque directory Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-03 15:10 +0200
Re: [PATCH 4.0 000/148] 4.0.5-stable review Shuah Khan <shuahkh@osg.samsung.com> - 2015-06-03 19:00 +0200
Page 1 of 2 [1] 2 Next page →
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 000/148] 4.0.5-stable review |
| Message-ID | <pxfOh-E4-3@gated-at.bofh.it> |
This is the start of the stable review cycle for the 4.0.5 release.
There are 148 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 Fri Jun 5 11:41:24 UTC 2015.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.0.5-rc1.gz
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Linux 4.0.5-rc1
Andrew Morton <akpm@linux-foundation.org>
fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings
NeilBrown <neilb@suse.de>
md: fix race when unfreezing sync_action
Naidu Tellapati <naidu.tellapati@imgtec.com>
pwm: img: Impose upper and lower timebase steps value
Kevin Cernekee <cernekee@chromium.org>
UBI: block: Add missing cache flushes
Vineet Gupta <vgupta@synopsys.com>
ARC: unbork !LLSC build
Wei Yongjun <yongjun_wei@trendmicro.com.cn>
power/reset: at91: fix return value check in at91_reset_platform_probe()
Sasha Levin <sasha.levin@oracle.com>
vfs: read file_handle only once in handle_to_path
Oded Gabbay <oded.gabbay@gmail.com>
drm/amdkfd: Don't report local memory size
Junichi Nomura <j-nomura@ce.jp.nec.com>
dm: fix reload failure of 0 path multipath mapping on blk-mq devices
Joe Thornber <ejt@redhat.com>
dm: fix casting bug in dm_merge_bvec()
Christian König <christian.koenig@amd.com>
drm/radeon: partially revert "fix VM_CONTEXT*_PAGE_TABLE_END_ADDR handling"
Alex Deucher <alexander.deucher@amd.com>
Revert "drm/radeon: only mark audio as connected if the monitor supports it (v3)"
Alex Deucher <alexander.deucher@amd.com>
drm/radeon/audio: make sure connector is valid in hotplug case
Alex Deucher <alexander.deucher@amd.com>
drm/radeon: don't share plls if monitors differ in audio support
Daniel Vetter <daniel.vetter@ffwll.ch>
drm/plane-helper: Adapt cursor hack to transitional helpers
Alex Deucher <alexander.deucher@amd.com>
drm/radeon: retry dcpd fetch
Christian König <christian.koenig@amd.com>
drm/radeon: fix VM_CONTEXT*_PAGE_TABLE_END_ADDR handling
Alex Deucher <alexander.deucher@amd.com>
drm/radeon: add new bonaire pci id
Liad Kaufman <liad.kaufman@intel.com>
iwlwifi: pcie: prevent using unmapped memory in fw monitor
Haim Dreyfuss <haim.dreyfuss@intel.com>
iwlwifi: mvm: Free fw_status after use to avoid memory leak
Luciano Coelho <luciano.coelho@intel.com>
iwlwifi: mvm: clean net-detect info if device was reset during suspend
Rafael J. Wysocki <rafael.j.wysocki@intel.com>
ACPI / init: Fix the ordering of acpi_reserve_resources()
Mark Hounschell <dmarkh@cfl.rr.com>
sd: Disable support for 256 byte/sector disks
K. Y. Srinivasan <kys@microsoft.com>
storvsc: Set the SRB flags correctly when no data transfer is needed
Benjamin Tissoires <benjamin.tissoires@redhat.com>
Input: elantech - fix semi-mt protocol for v3 HW
Larry Finger <Larry.Finger@lwfinger.net>
rtlwifi: rtl8192cu: Fix kernel deadlock
Paul Burton <paul.burton@imgtec.com>
MIPS: fix FP mode selection in lieu of .MIPS.abiflags data
Benjamin Tissoires <benjamin.tissoires@redhat.com>
Revert "HID: logitech-hidpp: support combo keyboard touchpad TK820"
Eric Work <work.eric@gmail.com>
md/raid0: fix restore to sector variable in raid0_make_request
NeilBrown <neilb@suse.de>
md/raid5: don't record new size if resize_stripes fails.
Nadav Haklai <nadavh@marvell.com>
thermal: armada: Update Armada 380 thermal sensor coefficients
Jean Delvare <jdelvare@suse.de>
firmware: dmi_scan: Fix ordering of product_uuid
Scott Mayhew <smayhew@redhat.com>
svcrpc: fix potential GSSX_ACCEPT_SEC_CONTEXT decoding failures
Christoph Hellwig <hch@lst.de>
nfsd: fix the check for confirmed openowner in nfs4_preprocess_stateid_op
Christoph Hellwig <hch@lst.de>
nfsd/blocklayout: pretend we can send deviceid notifications
Mel Gorman <mgorman@suse.de>
mm, numa: really disable NUMA balancing by default on single node machines
Andi Kleen <ak@linux.intel.com>
tools/vm: fix page-flags build
Vladimir Davydov <vdavydov@parallels.com>
kernfs: do not account ino_ida allocations to memcg
Vladimir Davydov <vdavydov@parallels.com>
gfp: add __GFP_NOACCOUNT
Helge Deller <deller@gmx.de>
parisc,metag: Fix crashes due to stack randomization on stack-grows-upwards architectures
Russell King <rmk+kernel@arm.linux.org.uk>
ARM: fix missing syscall trace exit
Inki Dae <inki.dae@samsung.com>
ARM: dts: set display clock correctly for exynos4412-trats2
Shawn Guo <shawn.guo@linaro.org>
ARM: dts: fix imx27 dtb build rule
Philippe Reynes <tremyfr@gmail.com>
ARM: dts: imx27: only map 4 Kbyte for fec registers
Krzysztof Kozlowski <k.kozlowski@samsung.com>
ARM: EXYNOS: Fix dereference of ERR_PTR returned by of_genpd_get_from_provider
Mark Rutland <mark.rutland@arm.com>
ARM: 8356/1: mm: handle non-pmd-aligned end of RAM
Shaohua Li <shli@fb.com>
sched: always use blk_schedule_flush_plug in io_schedule_out
Thomas Gleixner <tglx@linutronix.de>
sched: Handle priority boosted tasks proper in setscheduler()
Martin Schwidefsky <schwidefsky@de.ibm.com>
s390/mm: correct return value of pmd_pfn
Johannes Berg <johannes.berg@intel.com>
mac80211: don't use napi_gro_receive() outside NAPI context
Janusz Dziedzic <janusz.dziedzic@tieto.com>
mac80211: move WEP tailroom size check
Harald Freudenberger <freude@linux.vnet.ibm.com>
crypto: s390/ghash - Fix incorrect ghash icv buffer handling.
Michael Brunner <mibru@gmx.de>
gpio: gpio-kempld: Fix get_direction return value
Ard Biesheuvel <ard.biesheuvel@linaro.org>
ARM: 8325/1: exynos: move resume code to .text section
Scott Branden <sbranden@broadcom.com>
rt2x00: add new rt2800usb device DWA 130
Xi Wang <xi.wang@gmail.com>
arm64: bpf: fix signedness bug in loading 64-bit immediate
Martin K. Petersen <martin.petersen@oracle.com>
libata: Blacklist queued TRIM on all Samsung 800-series
Gabriele Mazzotta <gabriele.mzt@gmail.com>
libata: Ignore spurious PHY event on LPM policy change
Gabriele Mazzotta <gabriele.mzt@gmail.com>
libata: Add helper to determine when PHY events should be ignored
Dan Williams <dan.j.williams@intel.com>
ahci: avoton port-disable reset-quirk
Darrick J. Wong <darrick.wong@oracle.com>
jbd2: fix r_count overflows leading to buffer overflow in journal recovery
Eryu Guan <guaneryu@gmail.com>
ext4: check for zero length extent explicitly
Lukas Czerner <lczerner@redhat.com>
ext4: fix NULL pointer dereference when journal restart fails
Theodore Ts'o <tytso@mit.edu>
ext4: fix lazytime optimization
Peter Hurley <peter@hurleysoftware.com>
pty: Fix input race when closing
Pan Xinhui <xinhuix.pan@intel.com>
tty/n_gsm.c: fix a memory leak when gsmtty is removed
Ludovic Desroches <ludovic.desroches@atmel.com>
mmc: atmel-mci: fix bad variable type for clkdiv
Anton Blanchard <anton@samba.org>
powerpc: Align TOC to 256 bytes
Daniel Axtens <dja@axtens.net>
powerpc/mce: fix off by one errors in mce event handling
Krzysztof Opasiak <k.opasiak@samsung.com>
usb: gadget: configfs: Fix interfaces array NULL-termination
Hans de Goede <hdegoede@redhat.com>
usb-storage: Add NO_WP_DETECT quirk for Lacie 059f:0651 devices
Mark Edwards <sonofaforester@gmail.com>
USB: cp210x: add ID for KCF Technologies PRN device
Jason A. Donenfeld <Jason@zx2c4.com>
USB: pl2303: Remove support for Samsung I330
Jason A. Donenfeld <Jason@zx2c4.com>
USB: visor: Match I330 phone more precisely
Joe Lawrence <joe.lawrence@stratus.com>
xhci: gracefully handle xhci_irq dead device
Mathias Nyman <mathias.nyman@linux.intel.com>
xhci: Solve full event ring by increasing TRBS_PER_SEGMENT to 256
Mathias Nyman <mathias.nyman@linux.intel.com>
xhci: fix isoc endpoint dequeue from advancing too far on transaction error
Andy Grover <agrover@redhat.com>
target/pscsi: Don't leak scsi_host if hba is VIRTUAL_HOST
Stephane Eranian <eranian@google.com>
perf/x86/rapl: Enable Broadwell-U RAPL support
Malcolm Priestley <tvboxspy@gmail.com>
staging: vt6655: lock MACvWriteBSSIDAddress.
Malcolm Priestley <tvboxspy@gmail.com>
staging: vt6655: vnt_tx_packet Correct TX order of OWNED_BY_NIC
Malcolm Priestley <tvboxspy@gmail.com>
staging: vt6655: Fix 80211 control and management status reporting.
Malcolm Priestley <tvboxspy@gmail.com>
staging: vt6655: implement IEEE80211_TX_STAT_NOACK_TRANSMITTED
Malcolm Priestley <tvboxspy@gmail.com>
staging: vt6655: device_free_tx_buf use only ieee80211_tx_status_irqsafe
Malcolm Priestley <tvboxspy@gmail.com>
staging: vt6656: use ieee80211_tx_info to select packet type.
Sławomir Demeszko <s.demeszko@wireless-instruments.com>
staging: gdm724x: Correction of variable usage after applying ALIGN()
Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
RDMA/core: Fix for parsing netlink string attribute
Zidan Wang <zidan.wang@freescale.com>
ASoC: wm8994: correct BCLK DIV 348 to 384
Zidan Wang <zidan.wang@freescale.com>
ASoC: wm8960: fix "RINPUT3" audio route error
Koro Chen <koro.chen@mediatek.com>
ASoC: dapm: Modify widget stream name according to prefix
Vasily Khoruzhick <anarsoul@gmail.com>
ASoC: uda1380: Avoid accessing i2c bus when codec is disabled
Axel Lin <axel.lin@ingics.com>
ASoC: mc13783: Fix wrong mask value used in mc13xxx_reg_rmw() calls
Takashi Iwai <tiwai@suse.de>
ALSA: hda - Fix noise on AMD radeon 290x controller
Takashi Iwai <tiwai@suse.de>
Revert "ALSA: hda - Add mute-LED mode control to Thinkpad"
Vittorio G (VittGam) <linuxbugs@vittgam.net>
ALSA: usb-audio: Add quirk for MS LifeCam HD-3000
Ansgar Hegerfeld <linux@hegerfeld.org>
ALSA: hda/realtek - ALC292 dock fix for Thinkpad L450
David Henningsson <david.henningsson@canonical.com>
ALSA: hda - Add headset mic quirk for Dell Inspiron 5548
Takashi Iwai <tiwai@suse.de>
ALSA: hda - Add headphone quirk for Lifebook E752
David Henningsson <david.henningsson@canonical.com>
ALSA: hda - Add Conexant codecs CX20721, CX20722, CX20723 and CX20724
Takashi Iwai <tiwai@suse.de>
ALSA: usb-audio: Add quirk for MS LifeCam Studio
Steven Rostedt <rostedt@goodmis.org>
module: Call module notifier on failure after complete_formation()
Al Viro <viro@zeniv.linux.org.uk>
d_walk() might skip too much
Jan Kara <jack@suse.cz>
lib: Fix strnlen_user() to not touch memory after specified maximum
Arend van Spriel <arend@broadcom.com>
brcmfmac: avoid null pointer access when brcmf_msgbuf_get_pktid() fails
Dong Aisheng <aisheng.dong@freescale.com>
clk: add missing lock when call clk_core_enable in clk_set_parent
Javier Martinez Canillas <javier.martinez@collabora.co.uk>
clk: exynos5420: Restore GATE_BUS_TOP on suspend
Guenter Roeck <linux@roeck-us.net>
hwmon: (nct6683) Add missing sysfs attribute initialization
Guenter Roeck <linux@roeck-us.net>
hwmon: (nct6775) Add missing sysfs attribute initialization
Guenter Roeck <linux@roeck-us.net>
hwmon: (tmp401) Do not auto-detect chip on I2C address 0x37
Thomas Betker <thomas.betker@rohde-schwarz.com>
iio: adc: xilinx: Fix VREFN sign
Thomas Betker <thomas.betker@rohde-schwarz.com>
iio: adc: xilinx: Fix VREFP scale
Thomas Betker <thomas.betker@rohde-schwarz.com>
iio: adc: xilinx: Fix "vccaux" channel .address
Thomas Betker <thomas.betker@rohde-schwarz.com>
iio: adc: xilinx: Fix register addresses
Naidu Tellapati <naidu.tellapati@imgtec.com>
iio: adc: cc10001: Fix regulator_get_voltage() return value check
Naidu Tellapati <naidu.tellapati@imgtec.com>
iio: adc: cc10001: Add delay before setting START bit
Naidu Tellapati <naidu.tellapati@imgtec.com>
iio: adc: cc10001: Fix incorrect use of power-up/power-down register
Naidu Tellapati <naidu.tellapati@imgtec.com>
iio: adc: cc10001: Fix the channel number mapping
Ivan T. Ivanov <ivan.ivanov@linaro.org>
iio: adc: spmi-vadc: Fix overflow in output value normalization
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
iio: pressure: hid-sensor-press: Fix modifier
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
iio: light: hid-sensor-prox: Fix modifier
Alban Bedel <alban.bedel@avionic-design.de>
iio:st_sensors: Fix oops when probing SPI devices
Jacob Pan <jacob.jun.pan@linux.intel.com>
iio/axp288_adc: add missing channel info mask
Chris Lesiak <chris.lesiak@licor.com>
hwmon: (ntc_thermistor) Ensure iio channel is of type IIO_VOLTAGE
David Vrabel <david.vrabel@citrix.com>
xen/events: don't bind non-percpu VIRQs with percpu chip
Filipe Manana <fdmanana@suse.com>
Btrfs: fix racy system chunk allocation when setting block group ro
Ilya Dryomov <idryomov@gmail.com>
Revert "libceph: clear r_req_lru_item in __unregister_linger_request()"
Ilya Dryomov <idryomov@gmail.com>
libceph: request a new osdmap if lingering request maps to no osd
Johan Hovold <johan@kernel.org>
mfd: da9052: Fix broken regulator probe
Miklos Szeredi <mszeredi@suse.cz>
ovl: mount read-only if workdir can't be created
Miklos Szeredi <mszeredi@suse.cz>
ovl: don't remove non-empty opaque directory
Rusty Russell <rusty@rustcorp.com.au>
lguest: fix out-by-one error in address checking.
Dave Chinner <dchinner@redhat.com>
xfs: xfs_iozero can return positive errno
Dave Chinner <dchinner@redhat.com>
xfs: xfs_attr_inactive leaves inconsistent attr fork state behind
Bob Copeland <me@bobcopeland.com>
omfs: fix sign confusion for bitmap loop counter
Sasha Levin <sasha.levin@oracle.com>
fs, omfs: add NULL terminator in the end up the token list
John Stultz <john.stultz@linaro.org>
ktime: Fix ktime_divns to do signed division
Liang Li <liang.z.li@intel.com>
kvm/fpu: Enable eager restore kvm FPU for MPX
Xiao Guangrong <guangrong.xiao@linux.intel.com>
KVM: MMU: fix SMAP virtualization
Andrea Arcangeli <aarcange@redhat.com>
kvm: fix crash in kvm_vcpu_reload_apic_access_page
Xiao Guangrong <guangrong.xiao@linux.intel.com>
KVM: MMU: fix smap permission check
Paolo Bonzini <pbonzini@redhat.com>
KVM: MMU: fix CR4.SMEP=1, CR0.WP=0 with shadow pages
Ingo Molnar <mingo@kernel.org>
x86/fpu: Disable XSAVES* support for now
Borislav Petkov <bp@suse.de>
x86/mce: Fix MCE severity messages
Paolo Bonzini <pbonzini@redhat.com>
Revert "KVM: x86: drop fpu_activate hook"
Will Deacon <will.deacon@arm.com>
iommu/arm-smmu: Fix sign-extension of upstream bus addresses at stage 1
Oded Gabbay <oded.gabbay@amd.com>
iommu/amd: Fix bug in put_pasid_state_wait
Eric W. Biederman <ebiederm@xmission.com>
fs_pin: Allow for the possibility that m_list or s_list go unused.
Eric W. Biederman <ebiederm@xmission.com>
mnt: Fail collect_mounts when applied to unmounted mounts
-------------
Diffstat:
Documentation/hwmon/tmp401 | 2 +-
Documentation/serial/tty.txt | 3 +
Documentation/virtual/kvm/mmu.txt | 18 +++-
Makefile | 4 +-
arch/arc/include/asm/atomic.h | 2 +-
arch/arm/boot/dts/Makefile | 2 +-
arch/arm/boot/dts/exynos4412-trats2.dts | 2 +-
arch/arm/boot/dts/imx27.dtsi | 2 +-
arch/arm/kernel/entry-common.S | 4 +-
arch/arm/mach-exynos/pm_domains.c | 4 +-
arch/arm/mach-exynos/sleep.S | 31 +++----
arch/arm/mm/mmu.c | 20 ++---
arch/arm64/net/bpf_jit_comp.c | 2 +-
arch/mips/kernel/elf.c | 32 +++----
arch/parisc/include/asm/elf.h | 4 +
arch/parisc/kernel/sys_parisc.c | 3 +
arch/powerpc/kernel/mce.c | 4 +-
arch/powerpc/kernel/vmlinux.lds.S | 1 +
arch/s390/crypto/ghash_s390.c | 25 +++---
arch/s390/include/asm/pgtable.h | 2 +-
arch/x86/include/asm/kvm_host.h | 3 +
arch/x86/kernel/cpu/mcheck/mce.c | 7 +-
arch/x86/kernel/cpu/perf_event_intel_rapl.c | 1 +
arch/x86/kernel/i387.c | 15 ++++
arch/x86/kvm/cpuid.c | 4 +
arch/x86/kvm/cpuid.h | 8 ++
arch/x86/kvm/mmu.c | 16 +++-
arch/x86/kvm/mmu.h | 4 +-
arch/x86/kvm/paging_tmpl.h | 7 ++
arch/x86/kvm/svm.c | 1 +
arch/x86/kvm/vmx.c | 1 +
arch/x86/kvm/x86.c | 26 ++++--
drivers/acpi/osl.c | 6 +-
drivers/ata/ahci.c | 103 +++++++++++++++++++++--
drivers/ata/libahci.c | 3 +-
drivers/ata/libata-core.c | 34 +++++++-
drivers/ata/libata-eh.c | 3 +
drivers/clk/clk.c | 8 ++
drivers/clk/samsung/clk-exynos5420.c | 1 +
drivers/firmware/dmi_scan.c | 7 +-
drivers/gpio/gpio-kempld.c | 2 +-
drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 2 +-
drivers/gpu/drm/drm_plane_helper.c | 3 +
drivers/gpu/drm/radeon/atombios_crtc.c | 4 +-
drivers/gpu/drm/radeon/atombios_dp.c | 20 +++--
drivers/gpu/drm/radeon/cik.c | 2 +-
drivers/gpu/drm/radeon/evergreen_hdmi.c | 5 +-
drivers/gpu/drm/radeon/ni.c | 3 +-
drivers/gpu/drm/radeon/radeon_audio.c | 27 +++---
drivers/gpu/drm/radeon/radeon_connectors.c | 8 +-
drivers/gpu/drm/radeon/si.c | 2 +-
drivers/hid/hid-logitech-hidpp.c | 20 -----
drivers/hwmon/nct6683.c | 2 +
drivers/hwmon/nct6775.c | 2 +
drivers/hwmon/ntc_thermistor.c | 9 ++
drivers/hwmon/tmp401.c | 2 +-
drivers/iio/accel/st_accel_core.c | 1 +
drivers/iio/adc/axp288_adc.c | 12 +--
drivers/iio/adc/cc10001_adc.c | 60 +++++++------
drivers/iio/adc/qcom-spmi-vadc.c | 7 +-
drivers/iio/adc/xilinx-xadc-core.c | 5 +-
drivers/iio/adc/xilinx-xadc.h | 6 +-
drivers/iio/common/st_sensors/st_sensors_core.c | 2 -
drivers/iio/gyro/st_gyro_core.c | 1 +
drivers/iio/light/hid-sensor-prox.c | 2 -
drivers/iio/magnetometer/st_magn_core.c | 1 +
drivers/iio/pressure/hid-sensor-press.c | 2 -
drivers/iio/pressure/st_pressure_core.c | 1 +
drivers/infiniband/core/iwpm_msg.c | 2 +-
drivers/input/mouse/elantech.c | 2 +-
drivers/iommu/amd_iommu_v2.c | 1 +
drivers/iommu/arm-smmu.c | 30 +------
drivers/lguest/core.c | 2 +-
drivers/md/dm-table.c | 16 ++--
drivers/md/dm.c | 17 ++--
drivers/md/md.c | 14 +--
drivers/md/raid0.c | 4 +-
drivers/md/raid5.c | 3 +-
drivers/mfd/da9052-core.c | 8 +-
drivers/mmc/host/atmel-mci.c | 9 +-
drivers/mtd/ubi/block.c | 2 +
drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c | 12 ++-
drivers/net/wireless/iwlwifi/mvm/d3.c | 13 +--
drivers/net/wireless/iwlwifi/pcie/trans.c | 11 +--
drivers/net/wireless/rt2x00/rt2800usb.c | 1 +
drivers/net/wireless/rtlwifi/usb.c | 2 +-
drivers/power/reset/at91-reset.c | 4 +-
drivers/pwm/pwm-img.c | 76 ++++++++++++++---
drivers/regulator/da9052-regulator.c | 5 +-
drivers/scsi/sd.c | 19 ++---
drivers/scsi/storvsc_drv.c | 3 +-
drivers/staging/gdm724x/gdm_mux.c | 16 ++--
drivers/staging/vt6655/device_main.c | 40 +++++----
drivers/staging/vt6656/rxtx.c | 14 ++-
drivers/target/target_core_pscsi.c | 3 +
drivers/target/target_core_pscsi.h | 1 +
drivers/thermal/armada_thermal.c | 6 +-
drivers/tty/hvc/hvc_xen.c | 2 +-
drivers/tty/n_gsm.c | 5 +-
drivers/tty/n_hdlc.c | 4 +-
drivers/tty/n_tty.c | 22 ++++-
drivers/tty/pty.c | 5 +-
drivers/tty/tty_buffer.c | 41 ++++++---
drivers/usb/gadget/configfs.c | 1 +
drivers/usb/host/xhci-ring.c | 7 +-
drivers/usb/host/xhci.h | 2 +-
drivers/usb/serial/cp210x.c | 1 +
drivers/usb/serial/pl2303.c | 1 -
drivers/usb/serial/pl2303.h | 4 -
drivers/usb/serial/visor.c | 2 +-
drivers/usb/storage/unusual_devs.h | 7 ++
drivers/xen/events/events_base.c | 12 ++-
fs/binfmt_elf.c | 2 +-
fs/btrfs/extent-tree.c | 2 +
fs/btrfs/volumes.c | 1 +
fs/dcache.c | 8 +-
fs/exec.c | 3 +
fs/ext4/ext4_jbd2.c | 6 ++
fs/ext4/extents.c | 2 +-
fs/ext4/inode.c | 2 +-
fs/fhandle.c | 5 +-
fs/fs_pin.c | 4 +-
fs/jbd2/recovery.c | 10 ++-
fs/jbd2/revoke.c | 18 ++--
fs/jbd2/transaction.c | 25 ++++--
fs/kernfs/dir.c | 9 +-
fs/namespace.c | 7 +-
fs/nfsd/blocklayout.c | 11 +++
fs/nfsd/nfs4state.c | 21 ++---
fs/omfs/inode.c | 6 +-
fs/overlayfs/copy_up.c | 3 +
fs/overlayfs/dir.c | 33 ++++++--
fs/overlayfs/super.c | 10 +--
fs/xfs/libxfs/xfs_attr_leaf.c | 8 +-
fs/xfs/libxfs/xfs_attr_leaf.h | 2 +-
fs/xfs/xfs_attr_inactive.c | 83 ++++++++++--------
fs/xfs/xfs_file.c | 2 +-
fs/xfs/xfs_inode.c | 12 +--
include/drm/drm_pciids.h | 1 +
include/linux/fs_pin.h | 2 +
include/linux/gfp.h | 2 +
include/linux/ktime.h | 27 ++++--
include/linux/libata.h | 10 +++
include/linux/memcontrol.h | 4 +
include/linux/sched/rt.h | 7 +-
include/linux/tty.h | 2 +-
include/xen/events.h | 2 +-
kernel/locking/rtmutex.c | 12 +--
kernel/module.c | 3 +
kernel/sched/core.c | 31 ++++---
kernel/time/hrtimer.c | 14 +--
lib/strnlen_user.c | 3 +-
mm/kmemleak.c | 3 +-
mm/mempolicy.c | 2 +-
net/ceph/osd_client.c | 33 +++++---
net/mac80211/ieee80211_i.h | 3 +
net/mac80211/rx.c | 5 +-
net/mac80211/wep.c | 6 +-
net/sunrpc/auth_gss/gss_rpc_xdr.c | 23 +++--
sound/pci/hda/hda_intel.c | 2 +
sound/pci/hda/patch_conexant.c | 12 +++
sound/pci/hda/patch_realtek.c | 9 ++
sound/pci/hda/thinkpad_helper.c | 1 -
sound/soc/codecs/mc13783.c | 4 +-
sound/soc/codecs/uda1380.c | 2 +-
sound/soc/codecs/wm8960.c | 2 +-
sound/soc/codecs/wm8994.c | 2 +-
sound/soc/soc-dapm.c | 11 ++-
sound/usb/quirks.c | 2 +
tools/vm/Makefile | 2 +-
170 files changed, 1068 insertions(+), 561 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 021/148] mfd: da9052: Fix broken regulator probe |
| Message-ID | <pxgqZ-1sR-5@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Johan Hovold <johan@kernel.org>
commit e0c21530fa91f119bfca19640a67380c6b14f12a upstream.
Fix broken probe of da9052 regulators, which since commit b3f6c73db732
("mfd: da9052-core: Fix platform-device id collision") use a
non-deterministic platform-device id to retrieve static regulator
information. Fortunately, adequate error handling was in place so probe
would simply fail with an error message.
Update the mfd-cell ids to be zero-based and use those to identify the
cells when probing the regulator devices.
Fixes: b3f6c73db732 ("mfd: da9052-core: Fix platform-device id collision")
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/mfd/da9052-core.c | 8 ++++----
drivers/regulator/da9052-regulator.c | 5 +++--
2 files changed, 7 insertions(+), 6 deletions(-)
--- a/drivers/mfd/da9052-core.c
+++ b/drivers/mfd/da9052-core.c
@@ -433,6 +433,10 @@ EXPORT_SYMBOL_GPL(da9052_adc_read_temp);
static const struct mfd_cell da9052_subdev_info[] = {
{
.name = "da9052-regulator",
+ .id = 0,
+ },
+ {
+ .name = "da9052-regulator",
.id = 1,
},
{
@@ -484,10 +488,6 @@ static const struct mfd_cell da9052_subd
.id = 13,
},
{
- .name = "da9052-regulator",
- .id = 14,
- },
- {
.name = "da9052-onkey",
},
{
--- a/drivers/regulator/da9052-regulator.c
+++ b/drivers/regulator/da9052-regulator.c
@@ -394,6 +394,7 @@ static inline struct da9052_regulator_in
static int da9052_regulator_probe(struct platform_device *pdev)
{
+ const struct mfd_cell *cell = mfd_get_cell(pdev);
struct regulator_config config = { };
struct da9052_regulator *regulator;
struct da9052 *da9052;
@@ -409,7 +410,7 @@ static int da9052_regulator_probe(struct
regulator->da9052 = da9052;
regulator->info = find_regulator_info(regulator->da9052->chip_id,
- pdev->id);
+ cell->id);
if (regulator->info == NULL) {
dev_err(&pdev->dev, "invalid regulator ID specified\n");
return -EINVAL;
@@ -419,7 +420,7 @@ static int da9052_regulator_probe(struct
config.driver_data = regulator;
config.regmap = da9052->regmap;
if (pdata && pdata->regulators) {
- config.init_data = pdata->regulators[pdev->id];
+ config.init_data = pdata->regulators[cell->id];
} else {
#ifdef CONFIG_OF
struct device_node *nproot = da9052->dev->of_node;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 061/148] ASoC: wm8994: correct BCLK DIV 348 to 384 |
| Message-ID | <pxgr0-1sR-7@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Zidan Wang <zidan.wang@freescale.com>
commit 17fc2e0a3db11889e942c5ab15a1fcb876638f25 upstream.
According to the RM of wm8958, BCLK DIV 348 doesn't exist, correct it
to 384.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
sound/soc/codecs/wm8994.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -2754,7 +2754,7 @@ static struct {
};
static int fs_ratios[] = {
- 64, 128, 192, 256, 348, 512, 768, 1024, 1408, 1536
+ 64, 128, 192, 256, 384, 512, 768, 1024, 1408, 1536
};
static int bclk_divs[] = {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 026/148] hwmon: (ntc_thermistor) Ensure iio channel is of type IIO_VOLTAGE |
| Message-ID | <pxgr0-1sR-13@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chris Lesiak <chris.lesiak@licor.com>
commit adba657533bdd255f7b78bc8a324091f46b294cd upstream.
When configured via device tree, the associated iio device needs to be
measuring voltage for the conversion to resistance to be correct.
Return -EINVAL if that is not the case.
Signed-off-by: Chris Lesiak <chris.lesiak@licor.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/hwmon/ntc_thermistor.c | 9 +++++++++
1 file changed, 9 insertions(+)
--- a/drivers/hwmon/ntc_thermistor.c
+++ b/drivers/hwmon/ntc_thermistor.c
@@ -239,8 +239,10 @@ static struct ntc_thermistor_platform_da
ntc_thermistor_parse_dt(struct platform_device *pdev)
{
struct iio_channel *chan;
+ enum iio_chan_type type;
struct device_node *np = pdev->dev.of_node;
struct ntc_thermistor_platform_data *pdata;
+ int ret;
if (!np)
return NULL;
@@ -253,6 +255,13 @@ ntc_thermistor_parse_dt(struct platform_
if (IS_ERR(chan))
return ERR_CAST(chan);
+ ret = iio_get_channel_type(chan, &type);
+ if (ret < 0)
+ return ERR_PTR(ret);
+
+ if (type != IIO_VOLTAGE)
+ return ERR_PTR(-EINVAL);
+
if (of_property_read_u32(np, "pullup-uv", &pdata->pullup_uv))
return ERR_PTR(-ENODEV);
if (of_property_read_u32(np, "pullup-ohm", &pdata->pullup_ohm))
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 048/148] module: Call module notifier on failure after complete_formation() |
| Message-ID | <pxgr0-1sR-17@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Steven Rostedt <rostedt@goodmis.org> commit 37815bf866ab6722a47550f8d25ad3f1a16a680c upstream. The module notifier call chain for MODULE_STATE_COMING was moved up before the parsing of args, into the complete_formation() call. But if the module failed to load after that, the notifier call chain for MODULE_STATE_GOING was never called and that prevented the users of those call chains from cleaning up anything that was allocated. Link: http://lkml.kernel.org/r/554C52B9.9060700@gmail.com Reported-by: Pontus Fuchs <pontus.fuchs@gmail.com> Fixes: 4982223e51e8 "module: set nx before marking module MODULE_STATE_COMING" Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- kernel/module.c | 3 +++ 1 file changed, 3 insertions(+) --- a/kernel/module.c +++ b/kernel/module.c @@ -3366,6 +3366,9 @@ static int load_module(struct load_info module_bug_cleanup(mod); mutex_unlock(&module_mutex); + blocking_notifier_call_chain(&module_notify_list, + MODULE_STATE_GOING, mod); + /* we can't deallocate the module until we clear memory protection */ unset_module_init_ro_nx(mod); unset_module_core_ro_nx(mod); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 053/148] ALSA: hda/realtek - ALC292 dock fix for Thinkpad L450 |
| Message-ID | <pxgr0-1sR-21@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ansgar Hegerfeld <linux@hegerfeld.org> commit 09ea997677cd44ebe7f42573119aaf46b775c683 upstream. The Lenovo ThinkPad L450 requires the ALC292_FIXUP_TPT440_DOCK fix in order to get sound output on the docking stations audio port. This patch was tested using a ThinkPad L450 (20DSS00B00) using kernel 4.0.3 and a ThinkPad Pro Dock. Signed-off-by: Ansgar Hegerfeld <linux@hegerfeld.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5057,6 +5057,7 @@ static const struct snd_pci_quirk alc269 SND_PCI_QUIRK(0x17aa, 0x5026, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), SND_PCI_QUIRK(0x17aa, 0x5034, "Thinkpad T450", ALC292_FIXUP_TPT440_DOCK), SND_PCI_QUIRK(0x17aa, 0x5036, "Thinkpad T450s", ALC292_FIXUP_TPT440_DOCK), + SND_PCI_QUIRK(0x17aa, 0x503c, "Thinkpad L450", ALC292_FIXUP_TPT440_DOCK), SND_PCI_QUIRK(0x17aa, 0x5109, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), SND_PCI_QUIRK(0x17aa, 0x3bf8, "Quanta FL1", ALC269_FIXUP_PCM_44K), SND_PCI_QUIRK(0x17aa, 0x9e54, "LENOVO NB", ALC269_FIXUP_LENOVO_EAPD), -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 046/148] lib: Fix strnlen_user() to not touch memory after specified maximum |
| Message-ID | <pxgr0-1sR-25@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jan Kara <jack@suse.cz> commit f18c34e483ff6b1d9866472221e4015b3a4698e4 upstream. If the specified maximum length of the string is a multiple of unsigned long, we would load one long behind the specified maximum. If that happens to be in a next page, we can hit a page fault although we were not expected to. Fix the off-by-one bug in the test whether we are at the end of the specified range. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- lib/strnlen_user.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/lib/strnlen_user.c +++ b/lib/strnlen_user.c @@ -57,7 +57,8 @@ static inline long do_strnlen_user(const return res + find_zero(data) + 1 - align; } res += sizeof(unsigned long); - if (unlikely(max < sizeof(unsigned long))) + /* We already handled 'unsigned long' bytes. Did we do it all ? */ + if (unlikely(max <= sizeof(unsigned long))) break; max -= sizeof(unsigned long); if (unlikely(__get_user(c,(unsigned long __user *)(src+res)))) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 065/148] staging: vt6655: device_free_tx_buf use only ieee80211_tx_status_irqsafe |
| Message-ID | <pxgr0-1sR-27@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Malcolm Priestley <tvboxspy@gmail.com> commit 3fa0917beb29d886550fcf61a6378563d1ce9684 upstream. TD_FLAGS_NETIF_SKB is only for data. Fixes issue of ack frames not being reported. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- drivers/staging/vt6655/device_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -988,10 +988,8 @@ static void device_free_tx_buf(struct vn PCI_DMA_TODEVICE); } - if (pTDInfo->byFlags & TD_FLAGS_NETIF_SKB) + if (skb) ieee80211_tx_status_irqsafe(pDevice->hw, skb); - else - dev_kfree_skb_irq(skb); pTDInfo->skb_dma = 0; pTDInfo->skb = NULL; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 008/148] KVM: MMU: fix CR4.SMEP=1, CR0.WP=0 with shadow pages |
| Message-ID | <pxgr0-1sR-29@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Paolo Bonzini <pbonzini@redhat.com>
commit 898761158be7682082955e3efa4ad24725305fc7 upstream.
smep_andnot_wp is initialized in kvm_init_shadow_mmu and shadow pages
should not be reused for different values of it. Thus, it has to be
added to the mask in kvm_mmu_pte_write.
Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/x86/kvm/mmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -4238,7 +4238,7 @@ void kvm_mmu_pte_write(struct kvm_vcpu *
++vcpu->kvm->stat.mmu_pte_write;
kvm_mmu_audit(vcpu, AUDIT_PRE_PTE_WRITE);
- mask.cr0_wp = mask.cr4_pae = mask.nxe = 1;
+ mask.cr0_wp = mask.cr4_pae = mask.nxe = mask.smep_andnot_wp = 1;
for_each_gfn_indirect_valid_sp(vcpu->kvm, sp, gfn) {
if (detect_write_misaligned(sp, gpa, bytes) ||
detect_write_flooding(sp)) {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 033/148] iio: adc: cc10001: Fix incorrect use of power-up/power-down register |
| Message-ID | <pxgr1-1sR-31@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Naidu Tellapati <naidu.tellapati@imgtec.com>
commit 713276ea88a295a79aa6633ba639ed47692a8de4 upstream.
At present we are incorrectly setting the register to 0x1 to power up
the ADC. Since it is an active high power down register, we need to set
the register to 0x0 to actually power up. Conversely, writing 0x1 to the
register powers it down.
This commit adds a couple of helpers to make the code clearer and then
use them to do the power-up/power-down properly.
Fixes: 1664f6a5b0c8 ("iio: adc: Cosmic Circuits 10001 ADC driver")
Signed-off-by: Naidu Tellapati <naidu.tellapati@imgtec.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/iio/adc/cc10001_adc.c | 33 +++++++++++++++++++--------------
1 file changed, 19 insertions(+), 14 deletions(-)
--- a/drivers/iio/adc/cc10001_adc.c
+++ b/drivers/iio/adc/cc10001_adc.c
@@ -35,8 +35,9 @@
#define CC10001_ADC_EOC_SET BIT(0)
#define CC10001_ADC_CHSEL_SAMPLED 0x0c
-#define CC10001_ADC_POWER_UP 0x10
-#define CC10001_ADC_POWER_UP_SET BIT(0)
+#define CC10001_ADC_POWER_DOWN 0x10
+#define CC10001_ADC_POWER_DOWN_SET BIT(0)
+
#define CC10001_ADC_DEBUG 0x14
#define CC10001_ADC_DATA_COUNT 0x20
@@ -78,6 +79,18 @@ static inline u32 cc10001_adc_read_reg(s
return readl(adc_dev->reg_base + reg);
}
+static void cc10001_adc_power_up(struct cc10001_adc_device *adc_dev)
+{
+ cc10001_adc_write_reg(adc_dev, CC10001_ADC_POWER_DOWN, 0);
+ ndelay(adc_dev->start_delay_ns);
+}
+
+static void cc10001_adc_power_down(struct cc10001_adc_device *adc_dev)
+{
+ cc10001_adc_write_reg(adc_dev, CC10001_ADC_POWER_DOWN,
+ CC10001_ADC_POWER_DOWN_SET);
+}
+
static void cc10001_adc_start(struct cc10001_adc_device *adc_dev,
unsigned int channel)
{
@@ -139,11 +152,7 @@ static irqreturn_t cc10001_adc_trigger_h
mutex_lock(&adc_dev->lock);
- cc10001_adc_write_reg(adc_dev, CC10001_ADC_POWER_UP,
- CC10001_ADC_POWER_UP_SET);
-
- /* Wait for 8 (6+2) clock cycles before activating START */
- ndelay(adc_dev->start_delay_ns);
+ cc10001_adc_power_up(adc_dev);
/* Calculate delay step for eoc and sampled data */
delay_ns = adc_dev->eoc_delay_ns / CC10001_MAX_POLL_COUNT;
@@ -167,7 +176,7 @@ static irqreturn_t cc10001_adc_trigger_h
}
done:
- cc10001_adc_write_reg(adc_dev, CC10001_ADC_POWER_UP, 0);
+ cc10001_adc_power_down(adc_dev);
mutex_unlock(&adc_dev->lock);
@@ -186,11 +195,7 @@ static u16 cc10001_adc_read_raw_voltage(
unsigned int delay_ns;
u16 val;
- cc10001_adc_write_reg(adc_dev, CC10001_ADC_POWER_UP,
- CC10001_ADC_POWER_UP_SET);
-
- /* Wait for 8 (6+2) clock cycles before activating START */
- ndelay(adc_dev->start_delay_ns);
+ cc10001_adc_power_up(adc_dev);
/* Calculate delay step for eoc and sampled data */
delay_ns = adc_dev->eoc_delay_ns / CC10001_MAX_POLL_COUNT;
@@ -199,7 +204,7 @@ static u16 cc10001_adc_read_raw_voltage(
val = cc10001_adc_poll_done(indio_dev, chan->channel, delay_ns);
- cc10001_adc_write_reg(adc_dev, CC10001_ADC_POWER_UP, 0);
+ cc10001_adc_power_down(adc_dev);
return val;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 034/148] iio: adc: cc10001: Add delay before setting START bit |
| Message-ID | <pxgr1-1sR-35@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Naidu Tellapati <naidu.tellapati@imgtec.com>
commit f29b212edb9e253cafcb4a2ab7842a890989f1a5 upstream.
According to hardware team there should be some delay after
setting channel number, start mode and before setting START.
Add a one microsecond delay for this purpose.
Fixes: 1664f6a5b0c8 ("iio: adc: Cosmic Circuits 10001 ADC driver")
Signed-off-by: Naidu Tellapati <naidu.tellapati@imgtec.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/iio/adc/cc10001_adc.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/iio/adc/cc10001_adc.c
+++ b/drivers/iio/adc/cc10001_adc.c
@@ -100,6 +100,7 @@ static void cc10001_adc_start(struct cc1
val = (channel & CC10001_ADC_CH_MASK) | CC10001_ADC_MODE_SINGLE_CONV;
cc10001_adc_write_reg(adc_dev, CC10001_ADC_CONFIG, val);
+ udelay(1);
val = cc10001_adc_read_reg(adc_dev, CC10001_ADC_CONFIG);
val = val | CC10001_ADC_START_CONV;
cc10001_adc_write_reg(adc_dev, CC10001_ADC_CONFIG, val);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 040/148] hwmon: (tmp401) Do not auto-detect chip on I2C address 0x37 |
| Message-ID | <pxgr2-1sR-43@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Guenter Roeck <linux@roeck-us.net>
commit 9aecac04d8d89e730ae362a748113b19c06a9d39 upstream.
I2C address 0x37 may be used by EEPROMs, which can result in false
positives. Do not attempt to detect a chip at this address.
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
Documentation/hwmon/tmp401 | 2 +-
drivers/hwmon/tmp401.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/Documentation/hwmon/tmp401
+++ b/Documentation/hwmon/tmp401
@@ -20,7 +20,7 @@ Supported chips:
Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp432.html
* Texas Instruments TMP435
Prefix: 'tmp435'
- Addresses scanned: I2C 0x37, 0x48 - 0x4f
+ Addresses scanned: I2C 0x48 - 0x4f
Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp435.html
Authors:
--- a/drivers/hwmon/tmp401.c
+++ b/drivers/hwmon/tmp401.c
@@ -44,7 +44,7 @@
#include <linux/sysfs.h>
/* Addresses to scan */
-static const unsigned short normal_i2c[] = { 0x37, 0x48, 0x49, 0x4a, 0x4c, 0x4d,
+static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4c, 0x4d,
0x4e, 0x4f, I2C_CLIENT_END };
enum chips { tmp401, tmp411, tmp431, tmp432, tmp435 };
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 049/148] ALSA: usb-audio: Add quirk for MS LifeCam Studio |
| Message-ID | <pxgr2-1sR-41@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Takashi Iwai <tiwai@suse.de>
commit fa94b0d72511add5822dc4124f2a3eae66b8863f upstream.
Microsoft LifeCam Studio (045e:0772) needs a similar quirk for
suppressing the wrong sample rate inquiry.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=98481
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
sound/usb/quirks.c | 1 +
1 file changed, 1 insertion(+)
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1117,6 +1117,7 @@ bool snd_usb_get_sample_rate_quirk(struc
switch (chip->usb_id) {
case USB_ID(0x045E, 0x075D): /* MS Lifecam Cinema */
case USB_ID(0x045E, 0x076D): /* MS Lifecam HD-5000 */
+ case USB_ID(0x045E, 0x0772): /* MS Lifecam Studio */
case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
return true;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 009/148] KVM: MMU: fix smap permission check |
| Message-ID | <pxgr2-1sR-55@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Xiao Guangrong <guangrong.xiao@linux.intel.com> commit 7cbeed9bce7580479bb97457dad220cb3594b875 upstream. Current permission check assumes that RSVD bit in PFEC is always zero, however, it is not true since MMIO #PF will use it to quickly identify MMIO access Fix it by clearing the bit if walking guest page table is needed Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- arch/x86/kvm/mmu.h | 2 ++ arch/x86/kvm/paging_tmpl.h | 7 +++++++ 2 files changed, 9 insertions(+) --- a/arch/x86/kvm/mmu.h +++ b/arch/x86/kvm/mmu.h @@ -166,6 +166,8 @@ static inline bool permission_fault(stru int index = (pfec >> 1) + (smap >> (X86_EFLAGS_AC_BIT - PFERR_RSVD_BIT + 1)); + WARN_ON(pfec & PFERR_RSVD_MASK); + return (mmu->permissions[index] >> pte_access) & 1; } --- a/arch/x86/kvm/paging_tmpl.h +++ b/arch/x86/kvm/paging_tmpl.h @@ -718,6 +718,13 @@ static int FNAME(page_fault)(struct kvm_ mmu_is_nested(vcpu)); if (likely(r != RET_MMIO_PF_INVALID)) return r; + + /* + * page fault with PFEC.RSVD = 1 is caused by shadow + * page fault, should not be used to walk guest page + * table. + */ + error_code &= ~PFERR_RSVD_MASK; }; r = mmu_topup_memory_caches(vcpu); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 023/148] Revert "libceph: clear r_req_lru_item in __unregister_linger_request()" |
| Message-ID | <pxgr2-1sR-49@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ilya Dryomov <idryomov@gmail.com>
commit 521a04d06a729e5971cdee7f84080387ed320527 upstream.
This reverts commit ba9d114ec5578e6e99a4dfa37ff8ae688040fd64.
.. which introduced a regression that prevented all lingering requests
requeued in kick_requests() from ever being sent to the OSDs, resulting
in a lot of missed notifies. In retrospect it's pretty obvious that
r_req_lru_item item in the case of lingering requests can be used not
only for notarget, but also for unsent linkage due to how tightly
actual map and enqueue operations are coupled in __map_request().
The assertion that was being silenced is taken care of in the previous
("libceph: request a new osdmap if lingering request maps to no osd")
commit: by always kicking homeless lingering requests we ensure that
none of them ends up on the notarget list outside of the critical
section guarded by request_mutex.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
net/ceph/osd_client.c | 2 --
1 file changed, 2 deletions(-)
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -1306,8 +1306,6 @@ static void __unregister_linger_request(
if (list_empty(&req->r_osd_item))
req->r_osd = NULL;
}
-
- list_del_init(&req->r_req_lru_item); /* can be on notarget */
ceph_osdc_put_request(req);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 050/148] ALSA: hda - Add Conexant codecs CX20721, CX20722, CX20723 and CX20724 |
| Message-ID | <pxgr2-1sR-53@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: David Henningsson <david.henningsson@canonical.com>
commit 6ffc0898b29a2811a6c0569c5dd9b581980110df upstream.
This patch adds support for Conexant HD Audio codecs
CX20721, CX20722, CX20723 and CX20724.
BugLink: https://bugs.launchpad.net/bugs/1454656
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
sound/pci/hda/patch_conexant.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -973,6 +973,14 @@ static const struct hda_codec_preset snd
.patch = patch_conexant_auto },
{ .id = 0x14f150b9, .name = "CX20665",
.patch = patch_conexant_auto },
+ { .id = 0x14f150f1, .name = "CX20721",
+ .patch = patch_conexant_auto },
+ { .id = 0x14f150f2, .name = "CX20722",
+ .patch = patch_conexant_auto },
+ { .id = 0x14f150f3, .name = "CX20723",
+ .patch = patch_conexant_auto },
+ { .id = 0x14f150f4, .name = "CX20724",
+ .patch = patch_conexant_auto },
{ .id = 0x14f1510f, .name = "CX20751/2",
.patch = patch_conexant_auto },
{ .id = 0x14f15110, .name = "CX20751/2",
@@ -1007,6 +1015,10 @@ MODULE_ALIAS("snd-hda-codec-id:14f150ab"
MODULE_ALIAS("snd-hda-codec-id:14f150ac");
MODULE_ALIAS("snd-hda-codec-id:14f150b8");
MODULE_ALIAS("snd-hda-codec-id:14f150b9");
+MODULE_ALIAS("snd-hda-codec-id:14f150f1");
+MODULE_ALIAS("snd-hda-codec-id:14f150f2");
+MODULE_ALIAS("snd-hda-codec-id:14f150f3");
+MODULE_ALIAS("snd-hda-codec-id:14f150f4");
MODULE_ALIAS("snd-hda-codec-id:14f1510f");
MODULE_ALIAS("snd-hda-codec-id:14f15110");
MODULE_ALIAS("snd-hda-codec-id:14f15111");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 045/148] brcmfmac: avoid null pointer access when brcmf_msgbuf_get_pktid() fails |
| Message-ID | <pxgr2-1sR-47@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Arend van Spriel <arend@broadcom.com>
commit 7d072b404c5d8f1e0b62b6bc488dfeaa61bd2d8d upstream.
The function brcmf_msgbuf_get_pktid() may return a NULL pointer so
the callers should check the return pointer before accessing it to
avoid the crash below (see [1]):
brcmfmac: brcmf_msgbuf_get_pktid: Invalid packet id 273 (not in use)
BUG: unable to handle kernel NULL pointer dereference at 0000000000000080
IP: [<ffffffff8145b225>] skb_pull+0x5/0x50
PGD 0
Oops: 0000 [#1] PREEMPT SMP
Modules linked in: pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O)
snd_hda_codec_hdmi bnep mousedev hid_generic ushwmon msr ext4 crc16 mbcache
jbd2 sd_mod uas usb_storage ahci libahci libata scsi_mod xhci_pci xhci_hcd
usbcore usb_common
CPU: 0 PID: 1661 Comm: irq/61-brcmf_pc Tainted: G O 4.0.1-MacbookPro-ARCH #1
Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6,
BIOS MBP121.88Z.0167.B02.1503241251 03/24/2015
task: ffff880264203cc0 ti: ffff88025ffe4000 task.ti: ffff88025ffe4000
RIP: 0010:[<ffffffff8145b225>] [<ffffffff8145b225>] skb_pull+0x5/0x50
RSP: 0018:ffff88025ffe7d40 EFLAGS: 00010202
RAX: 0000000000000000 RBX: ffff88008a33c000 RCX: 0000000000000044
RDX: 0000000000000000 RSI: 000000000000004a RDI: 0000000000000000
RBP: ffff88025ffe7da8 R08: 0000000000000096 R09: 000000000000004a
R10: 0000000000000000 R11: 000000000000048e R12: ffff88025ff14f00
R13: 0000000000000000 R14: ffff880263b48200 R15: ffff88008a33c000
FS: 0000000000000000(0000) GS:ffff88026ec00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000080 CR3: 000000000180b000 CR4: 00000000003407f0
Stack:
ffffffffa06aed74 ffff88025ffe7dc8 ffff880263b48270 ffff880263b48278
05ea88020000004a 0002ffff81014635 000000001720b2f6 ffff88026ec116c0
ffff880263b48200 0000000000010000 ffff880263b4ae00 ffff880264203cc0
Call Trace:
[<ffffffffa06aed74>] ? brcmf_msgbuf_process_rx+0x404/0x480 [brcmfmac]
[<ffffffff810cea60>] ? irq_finalize_oneshot.part.30+0xf0/0xf0
[<ffffffffa06afb55>] brcmf_proto_msgbuf_rx_trigger+0x35/0xf0 [brcmfmac]
[<ffffffffa06baf2a>] brcmf_pcie_isr_thread_v2+0x8a/0x130 [brcmfmac]
[<ffffffff810cea80>] irq_thread_fn+0x20/0x50
[<ffffffff810ceddf>] irq_thread+0x13f/0x170
[<ffffffff810cebf0>] ? wake_threads_waitq+0x30/0x30
[<ffffffff810ceca0>] ? irq_thread_dtor+0xb0/0xb0
[<ffffffff81092a08>] kthread+0xd8/0xf0
[<ffffffff81092930>] ? kthread_create_on_node+0x1c0/0x1c0
[<ffffffff8156d898>] ret_from_fork+0x58/0x90
[<ffffffff81092930>] ? kthread_create_on_node+0x1c0/0x1c0
Code: 01 83 e2 f7 88 50 01 48 83 c4 08 5b 5d f3 c3 0f 1f 80 00 00 00 00 83 e2
f7 88 50 01 c3 66 0f 1f 84 00 00 00 00 00 0f 1f
RIP [<ffffffff8145b225>] skb_pull+0x5/0x50
RSP <ffff88025ffe7d40>
CR2: 0000000000000080
---[ end trace b074c0f90e7c997d ]---
[1] http://mid.gmane.org/20150430193259.GA5630@googlemail.com
Reported-by: Michael Hornung <mhornung.linux@gmail.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
--- a/drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c
@@ -512,11 +512,9 @@ static int brcmf_msgbuf_query_dcmd(struc
msgbuf->rx_pktids,
msgbuf->ioctl_resp_pktid);
if (msgbuf->ioctl_resp_ret_len != 0) {
- if (!skb) {
- brcmf_err("Invalid packet id idx recv'd %d\n",
- msgbuf->ioctl_resp_pktid);
+ if (!skb)
return -EBADF;
- }
+
memcpy(buf, skb->data, (len < msgbuf->ioctl_resp_ret_len) ?
len : msgbuf->ioctl_resp_ret_len);
}
@@ -875,10 +873,8 @@ brcmf_msgbuf_process_txstatus(struct brc
flowid -= BRCMF_NROF_H2D_COMMON_MSGRINGS;
skb = brcmf_msgbuf_get_pktid(msgbuf->drvr->bus_if->dev,
msgbuf->tx_pktids, idx);
- if (!skb) {
- brcmf_err("Invalid packet id idx recv'd %d\n", idx);
+ if (!skb)
return;
- }
set_bit(flowid, msgbuf->txstatus_done_map);
commonring = msgbuf->flowrings[flowid];
@@ -1157,6 +1153,8 @@ brcmf_msgbuf_process_rx_complete(struct
skb = brcmf_msgbuf_get_pktid(msgbuf->drvr->bus_if->dev,
msgbuf->rx_pktids, idx);
+ if (!skb)
+ return;
if (data_offset)
skb_pull(skb, data_offset);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 035/148] iio: adc: cc10001: Fix regulator_get_voltage() return value check |
| Message-ID | <pxgr1-1sR-33@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Naidu Tellapati <naidu.tellapati@imgtec.com>
commit 65a761bf8d55fdcf8ecc4642382a4e76c086e44c upstream.
regulator_get_voltage() returns a non-negative value in case of success,
and a negative error in case of error. Let's fix this.
Fixes: 1664f6a5b0c8 ("iio: adc: Cosmic Circuits 10001 ADC driver")
Signed-off-by: Naidu Tellapati <naidu.tellapati@imgtec.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/iio/adc/cc10001_adc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/iio/adc/cc10001_adc.c
+++ b/drivers/iio/adc/cc10001_adc.c
@@ -231,7 +231,7 @@ static int cc10001_adc_read_raw(struct i
case IIO_CHAN_INFO_SCALE:
ret = regulator_get_voltage(adc_dev->reg);
- if (ret)
+ if (ret < 0)
return ret;
*val = ret / 1000;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 060/148] ASoC: wm8960: fix "RINPUT3" audio route error |
| Message-ID | <pxgr3-1sR-71@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Zidan Wang <zidan.wang@freescale.com>
commit 85e36a1f4a735d991ba5106781ea48e89a0b8901 upstream.
It should be "RINPUT3" instead of "LINPUT3" route to "Right Input
Mixer".
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
sound/soc/codecs/wm8960.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/sound/soc/codecs/wm8960.c
+++ b/sound/soc/codecs/wm8960.c
@@ -395,7 +395,7 @@ static const struct snd_soc_dapm_route a
{ "Right Input Mixer", "Boost Switch", "Right Boost Mixer", },
{ "Right Input Mixer", NULL, "RINPUT1", }, /* Really Boost Switch */
{ "Right Input Mixer", NULL, "RINPUT2" },
- { "Right Input Mixer", NULL, "LINPUT3" },
+ { "Right Input Mixer", NULL, "RINPUT3" },
{ "Left ADC", NULL, "Left Input Mixer" },
{ "Right ADC", NULL, "Right Input Mixer" },
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-06-03 15:00 +0200 |
| Subject | [PATCH 4.0 022/148] libceph: request a new osdmap if lingering request maps to no osd |
| Message-ID | <pxgr2-1sR-61@gated-at.bofh.it> |
| In reply to | #1157581 |
4.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ilya Dryomov <idryomov@gmail.com>
commit b0494532214bdfbf241e94fabab5dd46f7b82631 upstream.
This commit does two things. First, if there are any homeless
lingering requests, we now request a new osdmap even if the osdmap that
is being processed brought no changes, i.e. if a given lingering
request turned homeless in one of the previous epochs and remained
homeless in the current epoch. Not doing so leaves us with a stale
osdmap and as a result we may miss our window for reestablishing the
watch and lose notifies.
MON=1 OSD=1:
# cat linger-needmap.sh
#!/bin/bash
rbd create --size 1 test
DEV=$(rbd map test)
ceph osd out 0
rbd map dne/dne # obtain a new osdmap as a side effect (!)
sleep 1
ceph osd in 0
rbd resize --size 2 test
# rbd info test | grep size -> 2M
# blockdev --getsize $DEV -> 1M
N.B.: Not obtaining a new osdmap in between "osd out" and "osd in"
above is enough to make it miss that resize notify, but that is a
bug^Wlimitation of ceph watch/notify v1.
Second, homeless lingering requests are now kicked just like those
lingering requests whose mapping has changed. This is mainly to
recognize that a homeless lingering request makes no sense and to
preserve the invariant that a registered lingering request is not
sitting on any of r_req_lru_item lists. This spares us a WARN_ON,
which commit ba9d114ec557 ("libceph: clear r_req_lru_item in
__unregister_linger_request()") tried to fix the _wrong_ way.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
net/ceph/osd_client.c | 31 ++++++++++++++++++++-----------
1 file changed, 20 insertions(+), 11 deletions(-)
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -2017,20 +2017,29 @@ static void kick_requests(struct ceph_os
err = __map_request(osdc, req,
force_resend || force_resend_writes);
dout("__map_request returned %d\n", err);
- if (err == 0)
- continue; /* no change and no osd was specified */
if (err < 0)
continue; /* hrm! */
- if (req->r_osd == NULL) {
- dout("tid %llu maps to no valid osd\n", req->r_tid);
- needmap++; /* request a newer map */
- continue;
- }
+ if (req->r_osd == NULL || err > 0) {
+ if (req->r_osd == NULL) {
+ dout("lingering %p tid %llu maps to no osd\n",
+ req, req->r_tid);
+ /*
+ * A homeless lingering request makes
+ * no sense, as it's job is to keep
+ * a particular OSD connection open.
+ * Request a newer map and kick the
+ * request, knowing that it won't be
+ * resent until we actually get a map
+ * that can tell us where to send it.
+ */
+ needmap++;
+ }
- dout("kicking lingering %p tid %llu osd%d\n", req, req->r_tid,
- req->r_osd ? req->r_osd->o_osd : -1);
- __register_request(osdc, req);
- __unregister_linger_request(osdc, req);
+ dout("kicking lingering %p tid %llu osd%d\n", req,
+ req->r_tid, req->r_osd ? req->r_osd->o_osd : -1);
+ __register_request(osdc, req);
+ __unregister_linger_request(osdc, req);
+ }
}
reset_changed_osds(osdc);
mutex_unlock(&osdc->request_mutex);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | linux.kernel
csiph-web