Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1233564 > unrolled thread
| Started by | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| First post | 2015-09-27 00:20 +0200 |
| Last post | 2015-09-28 19:40 +0200 |
| Articles | 20 on this page of 40 — 4 participants |
Back to article view | Back to linux.kernel
[PATCH 4.2 000/134] 4.2.2-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 049/134] powerpc/eeh: Probe after unbalanced kref check Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 018/134] MIPS: CPS: use 32b accesses to GCRs Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 032/134] arm64: compat: fix vfp save/restore across signal handlers in big-endian Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 047/134] pinctrl: at91: fix null pointer dereference Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 006/134] nfc: st-nci: Remove data from ack_pending_q when receiving a SYNC_ACK Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 015/134] rtlwifi: rtl8821ae: Fix an expression that is always false Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 030/134] of/fdt: make memblock maximum physical address arch configurable Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 035/134] arm/arm64: KVM: vgic: Check for !irqchip_in_kernel() when mapping resources Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 050/134] powerpc/eeh: Fix fenced PHB caused by eeh_slot_error_detail() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 007/134] nfc: st-nci: Free data with irrelevant NDLC PCB_SYNC value Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 017/134] tg3: Fix temperature reporting Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 053/134] powerpc: Uncomment and make enable_kernel_vsx() routine available Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 003/134] nfc: st-nci: Fix non accurate comment for st_nci_i2c_read Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 036/134] KVM: arm64: add workaround for Cortex-A57 erratum #852523 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 004/134] NFC: st21nfca: fix use of uninitialized variables in error path Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 037/134] arm64: KVM: Disable virtual timer even if the guest is not using it Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 008/134] nfc: netlink: Add check on NFC_ATTR_VENDOR_DATA Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 048/134] powerpc/pseries: Fix corrupted pdn list Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 059/134] powerpc/mm: Recompute hash value after a failed update Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:20 +0200
[PATCH 4.2 021/134] mac80211: enable assoc check for mesh interfaces Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 029/134] arm64: flush FP/SIMD state correctly after execve() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 019/134] MIPS: math-emu: Allow m{f,t}hc emulation on MIPS R6 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 024/134] cxl: Fix unbalanced pci_dev_get in cxl_probe Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 002/134] nfc: st-nci: Fix typo when changing from st21nfcb to st-nci Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 022/134] cxl: Allow release of contexts which have been OPENED but not STARTED Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 027/134] arm64: kconfig: Move LIST_POISON to a safe value Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 020/134] MIPS: math-emu: Emulate missing BC1{EQ,NE}Z instructions Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 025/134] ext4: dont manipulate recovery flag when freezing no-journal fs Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 028/134] arm64: entry: always restore x0 from the stack on syscall return Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 010/134] nfc: nci: hci: Add check on skb nci_hci_send_cmd parameter Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 026/134] Revert "ext4: remove block_device_ejected" Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
[PATCH 4.2 023/134] cxl: Remove racy attempt to force EEH invocation in reset Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 00:30 +0200
Re: [PATCH 4.2 000/134] 4.2.2-stable review Guenter Roeck <linux@roeck-us.net> - 2015-09-27 20:20 +0200
Re: [PATCH 4.2 000/134] 4.2.2-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-27 20:40 +0200
Re: [PATCH 4.2 000/134] 4.2.2-stable review Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-09-28 08:00 +0200
Re: [PATCH 4.2 000/134] 4.2.2-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-28 16:30 +0200
Re: [PATCH 4.2 000/134] 4.2.2-stable review Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-09-28 17:10 +0200
Re: [PATCH 4.2 000/134] 4.2.2-stable review Guenter Roeck <linux@roeck-us.net> - 2015-09-28 17:10 +0200
Re: [PATCH 4.2 000/134] 4.2.2-stable review Shuah Khan <shuahkh@osg.samsung.com> - 2015-09-28 19:40 +0200
Page 1 of 2 [1] 2 Next page →
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 000/134] 4.2.2-stable review |
| Message-ID | <qd4Jz-2Ha-3@gated-at.bofh.it> |
This is the start of the stable review cycle for the 4.2.2 release.
There are 134 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 Mon Sep 28 20:51:27 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.2.2-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.2.2-rc1
Jan Kara <jack@suse.com>
jbd2: avoid infinite loop when destroying aborted journal
Yinghai Lu <yinghai@kernel.org>
lib/decompressors: use real out buf size for gunzip with kernel
Hin-Tak Leung <htl10@users.sourceforge.net>
hfs,hfsplus: cache pages correctly between bnode_create and bnode_free
Alexey Brodkin <Alexey.Brodkin@synopsys.com>
stmmac: fix check for phydev being open
Ariel Nahum <arieln@mellanox.com>
IB/mlx4: Fix incorrect cq flushing in error state
Noa Osherovich <noaos@mellanox.com>
IB/mlx4: Use correct SL on AH query under RoCE
Jack Morgenstein <jackm@dev.mellanox.co.il>
IB/mlx4: Forbid using sysfs to change RoCE pkeys
Jack Morgenstein <jackm@dev.mellanox.co.il>
IB/mlx4: Fix potential deadlock when sending mad to wire
Haggai Eran <haggaie@mellanox.com>
IB/mlx5: avoid destroying a NULL mr in reg_user_mr error flow
Sagi Grimberg <sagig@mellanox.com>
IB/iser: Fix possible bogus DMA unmapping
Sagi Grimberg <sagig@mellanox.com>
IB/iser: Fix missing return status check in iser_send_data_out
Yishai Hadas <yishaih@mellanox.com>
IB/uverbs: Fix race between ib_uverbs_open and remove_one
Christoph Hellwig <hch@lst.de>
IB/uverbs: reject invalid or unknown opcodes
Mike Marciniszyn <mike.marciniszyn@intel.com>
IB/qib: Change lkey table allocation to support more MRs
Bart Van Assche <bart.vanassche@sandisk.com>
IB/srp: Stop the scsi_eh_<n> and scsi_tmf_<n> threads if login fails
Bart Van Assche <bart.vanassche@sandisk.com>
IB/srp: Handle partial connection success correctly
Hans de Goede <hdegoede@redhat.com>
ideapad-laptop: Add Lenovo Yoga 3 14 to no_hw_rfkill dmi list
Dan Carpenter <dan.carpenter@oracle.com>
i2c: xgene-slimpro: dma_mapping_error() doesn't return an error code
Hin-Tak Leung <htl10@users.sourceforge.net>
hfs: fix B-tree corruption after insertion at position 0
Tyler Hicks <tyhicks@canonical.com>
eCryptfs: Invalidate dcache entries when lower i_nlink is zero
Joerg Roedel <jroedel@suse.de>
iommu/vt-d: Really use upper context table when necessary
Thierry Reding <treding@nvidia.com>
iommu/tegra-smmu: Parameterize number of TLB lines
Will Deacon <will.deacon@arm.com>
iommu/io-pgtable-arm: Unmap and free table when overwriting with block
Emil Medve <Emilian.Medve@Freescale.com>
iommu/fsl: Really fix init section(s) content
Jialing Fu <jlfu@marvell.com>
mmc: core: fix race condition in mmc_wait_data_done
Haibo Chen <haibo.chen@freescale.com>
mmc: sdhci: fix dma memory leak in sdhci_pre_req()
Jisheng Zhang <jszhang@marvell.com>
mmc: sdhci: also get preset value and driver type for MMC_DDR52
Yangbo Lu <yangbo.lu@freescale.com>
mmc: sdhci-of-esdhc: add workaround for pre divider initial value
Adam Lee <adam.lee@canonical.com>
mmc: sdhci-pci: set the clear transfer mode register quirk for O2Micro
Jann Horn <jann@thejh.net>
fs: Don't dump core if the corefile would become world-readable.
Jann Horn <jann@thejh.net>
fs: if a coredump already exists, unlink and recreate with O_EXCL
Jaewon Kim <jaewon31.kim@samsung.com>
vmscan: fix increasing nr_isolated incurred by putback unevictable pages
Tim Gardner <tim.gardner@canonical.com>
workqueue: Make flush_workqueue() available again to non GPL modules
Helge Deller <deller@gmx.de>
parisc: Filter out spurious interrupts in PA-RISC irq handler
John David Anglin <dave.anglin@bell.net>
parisc: Use double word condition in 64bit CAS operation
Helge Deller <deller@gmx.de>
PCI,parisc: Enable 64-bit bus addresses on PA-RISC
Mitja Spes <mitja@lxnav.com>
rtc: abx80x: fix RTC write bit
Joonyoung Shim <jy0922.shim@samsung.com>
rtc: s5m: fix to update ctrl register
Joonyoung Shim <jy0922.shim@samsung.com>
rtc: s3c: fix disabled clocks for alarm
Trond Myklebust <trond.myklebust@primarydata.com>
SUNRPC: Lock the transport layer on shutdown
Trond Myklebust <trond.myklebust@primarydata.com>
SUNRPC: Ensure that we wait for connections to complete before retrying
Trond Myklebust <trond.myklebust@primarydata.com>
SUNRPC: xs_reset_transport must mark the connection as disconnected
Trond Myklebust <trond.myklebust@primarydata.com>
SUNRPC: Fix a thinko in xs_connect()
Pratyush Anand <panand@redhat.com>
net: sunrpc: fix tracepoint Warning: unknown op '->'
Chuck Lever <chuck.lever@oracle.com>
svcrdma: Change maximum server payload back to RPCSVC_MAXPAYLOAD
Trond Myklebust <trond.myklebust@primarydata.com>
Revert "NFSv4: Remove incorrect check in can_open_delegated()"
Kinglong Mee <kinglongmee@gmail.com>
nfs: Fix truncated client owner id without proto type
Trond Myklebust <trond.myklebust@primarydata.com>
NFSv4.1: Fix a protocol issue with CLOSE stateids
Trond Myklebust <trond.myklebust@primarydata.com>
NFSv4.1/flexfiles: Fix a protocol error in layoutreturn
Peng Tao <tao.peng@primarydata.com>
NFS41/flexfiles: zero out DS write wcc
Trond Myklebust <trond.myklebust@primarydata.com>
NFSv4: Force a post-op attribute update when holding a delegation
Peng Tao <tao.peng@primarydata.com>
NFS41/flexfiles: update inode after write finishes
Trond Myklebust <trond.myklebust@primarydata.com>
NFS: nfs_set_pgio_error sometimes misses errors
Kinglong Mee <kinglongmee@gmail.com>
NFS: Fix a NULL pointer dereference of migration recovery ops for v4.2 client
Trond Myklebust <trond.myklebust@primarydata.com>
NFSv4.1/pNFS: Fix borken function _same_data_server_addrs_locked()
Trond Myklebust <trond.myklebust@primarydata.com>
NFS: Don't let the ctime override attribute barriers.
NeilBrown <neilb@suse.com>
NFSv4: don't set SETATTR for O_RDONLY|O_EXCL
Trond Myklebust <trond.myklebust@primarydata.com>
NFSv4.1/pnfs: Fix atomicity of commit list updates
Jeff Layton <jlayton@poochiereds.net>
nfsd: ensure that delegation stateid hash references are only put once
Jeff Layton <jlayton@poochiereds.net>
nfsd: ensure that the ol stateid hash reference is only put once
Kinglong Mee <kinglongmee@gmail.com>
nfsd: Fix an FS_LAYOUT_TYPES/LAYOUT_TYPES encode bug
Filipe Manana <fdmanana@suse.com>
Btrfs: check if previous transaction aborted to avoid fs corruption
Sakari Ailus <sakari.ailus@iki.fi>
v4l: omap3isp: Fix async notifier registration order
Dan Carpenter <dan.carpenter@oracle.com>
v4l: xilinx: missing error code
Benoit Parrot <bparrot@ti.com>
media: am437x-vpfe: Fix a race condition during release
Benoit Parrot <bparrot@ti.com>
media: am437x-vpfe: Requested frame size and fmt overwritten by current sensor setting
Sakari Ailus <sakari.ailus@iki.fi>
v4l: omap3isp: Fix sub-device power management code
David Härdeman <david@hardeman.nu>
rc-core: fix remove uevent generation
Daniel Axtens <dja@axtens.net>
cxl: Don't remove AFUs/vPHBs in cxl_reset
Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
i915: Set ddi_pll_sel in DP MST path
Ville Syrjälä <ville.syrjala@linux.intel.com>
drm/i915: Don't use link_bw for PLL setup
Minfei Huang <mnfhuang@gmail.com>
x86/mm: Initialize pmd_idx in page_table_range_init_count()
Yinghai Lu <yinghai@kernel.org>
mm: check if section present during memory block registering
Jeffery Miller <jmiller@neverware.com>
Add radeon suspend/resume quirk for HP Compaq dc5750.
Jann Horn <jann@thejh.net>
CIFS: fix type confusion in copy offload ioctl
Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
powerpc/mm: Recompute hash value after a failed update
Benjamin Herrenschmidt <benh@kernel.crashing.org>
powerpc/boot: Specify ABI v2 when building an LE boot wrapper
Bharata B Rao <bharata@linux.vnet.ibm.com>
powerpc/pseries: Release DRC when configure_connector fails
Nishanth Aravamudan <nacc@linux.vnet.ibm.com>
powerpc/powernv/pci-ioda: fix kdump with non-power-of-2 crashkernel=
Nishanth Aravamudan <nacc@linux.vnet.ibm.com>
powerpc/powernv/pci-ioda: fix 32-bit TCE table init in kdump kernel
Leonidas Da Silva Barbosa <leosilva@linux.vnet.ibm.com>
crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions
Leonidas Da Silva Barbosa <leosilva@linux.vnet.ibm.com>
powerpc: Uncomment and make enable_kernel_vsx() routine available
Thomas Huth <thuth@redhat.com>
powerpc/rtas: Introduce rtas_get_sensor_fast() for IRQ handlers
Michael Ellerman <mpe@ellerman.id.au>
powerpc/mm: Fix pte_pagesize_index() crash on 4K w/64K hash
Gavin Shan <gwshan@linux.vnet.ibm.com>
powerpc/eeh: Fix fenced PHB caused by eeh_slot_error_detail()
Daniel Axtens <dja@axtens.net>
powerpc/eeh: Probe after unbalanced kref check
Gavin Shan <gwshan@linux.vnet.ibm.com>
powerpc/pseries: Fix corrupted pdn list
David Dueck <davidcdueck@googlemail.com>
pinctrl: at91: fix null pointer dereference
Hongzhou Yang <hongzhou.yang@mediatek.com>
pinctrl: mediatek: Fix multiple registration issue.
Niranjan Sivakumar <ns253@cornell.edu>
ALSA: hda - Fix white noise on Dell M3800
Woodrow Shen <woodrow.shen@canonical.com>
ALSA: hda - Add some FIXUP quirks for white noise on Dell laptop.
Takashi Iwai <tiwai@suse.de>
ALSA: hda - Use ALC880_FIXUP_FUJITSU for FSC Amilo M1437
Takashi Iwai <tiwai@suse.de>
ALSA: hda - Enable headphone jack detect on old Fujitsu laptops
Takashi Iwai <tiwai@suse.de>
ALSA: hda - Fix missing inline for dummy snd_hdac_set_codec_wakeup()
Yao-Wen Mao <yaowen@google.com>
ALSA: usb-audio: correct the value cache check.
Takashi Iwai <tiwai@suse.de>
Input: evdev - do not report errors form flush()
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Input: synaptics - fix handling of disabling gesture mode
Marc Zyngier <marc.zyngier@arm.com>
arm64: KVM: Disable virtual timer even if the guest is not using it
Will Deacon <will.deacon@arm.com>
KVM: arm64: add workaround for Cortex-A57 erratum #852523
Pavel Fedin <p.fedin@samsung.com>
arm/arm64: KVM: vgic: Check for !irqchip_in_kernel() when mapping resources
Will Deacon <will.deacon@arm.com>
arm64: errata: add module build workaround for erratum #843419
Will Deacon <will.deacon@arm.com>
arm64: head.S: initialise mdcr_el2 in el2_setup
Will Deacon <will.deacon@arm.com>
arm64: compat: fix vfp save/restore across signal handlers in big-endian
Ard Biesheuvel <ard.biesheuvel@linaro.org>
arm64: set MAX_MEMBLOCK_ADDR according to linear region size
Ard Biesheuvel <ard.biesheuvel@linaro.org>
of/fdt: make memblock maximum physical address arch configurable
Ard Biesheuvel <ard.biesheuvel@linaro.org>
arm64: flush FP/SIMD state correctly after execve()
Will Deacon <will.deacon@arm.com>
arm64: entry: always restore x0 from the stack on syscall return
Jeff Vander Stoep <jeffv@google.com>
arm64: kconfig: Move LIST_POISON to a safe value
Theodore Ts'o <tytso@mit.edu>
Revert "ext4: remove block_device_ejected"
Eric Sandeen <sandeen@redhat.com>
ext4: don't manipulate recovery flag when freezing no-journal fs
Daniel Axtens <dja@axtens.net>
cxl: Fix unbalanced pci_dev_get in cxl_probe
Daniel Axtens <dja@axtens.net>
cxl: Remove racy attempt to force EEH invocation in reset
Andrew Donnellan <andrew.donnellan@au1.ibm.com>
cxl: Allow release of contexts which have been OPENED but not STARTED
Bob Copeland <me@bobcopeland.com>
mac80211: enable assoc check for mesh interfaces
Markos Chandras <markos.chandras@imgtec.com>
MIPS: math-emu: Emulate missing BC1{EQ,NE}Z instructions
Markos Chandras <markos.chandras@imgtec.com>
MIPS: math-emu: Allow m{f,t}hc emulation on MIPS R6
Paul Burton <paul.burton@imgtec.com>
MIPS: CPS: use 32b accesses to GCRs
Jean Delvare <jdelvare@suse.de>
tg3: Fix temperature reporting
Shota Suzuki <suzuki_shota_t3@lab.ntt.co.jp>
igb: Fix oops caused by missing queue pairing
Larry Finger <Larry.Finger@lwfinger.net>
rtlwifi: rtl8821ae: Fix an expression that is always false
Adrien Schildknecht <adrien+dev@schischi.me>
rtlwifi: rtl8192cu: Add new device ID
Eric W. Biederman <ebiederm@xmission.com>
unshare: Unsharing a thread does not require unsharing a vm
Ming Lei <ming.lei@canonical.com>
blk-mq: fix race between timeout and freeing request
Ming Lei <ming.lei@canonical.com>
blk-mq: fix buffer overflow when reading sysfs file of 'pending'
Christophe Ricard <christophe.ricard@gmail.com>
nfc: nci: hci: Add check on skb nci_hci_send_cmd parameter
Christophe Ricard <christophe.ricard@gmail.com>
nfc: netlink: Warning fix
Christophe Ricard <christophe.ricard@gmail.com>
nfc: netlink: Add check on NFC_ATTR_VENDOR_DATA
Christophe Ricard <christophe.ricard@gmail.com>
nfc: st-nci: Free data with irrelevant NDLC PCB_SYNC value
Christophe Ricard <christophe.ricard@gmail.com>
nfc: st-nci: Remove data from ack_pending_q when receiving a SYNC_ACK
Christophe Ricard <christophe.ricard@gmail.com>
NFC: st-nci: fix use of uninitialized variables in error path
Christophe Ricard <christophe.ricard@gmail.com>
NFC: st21nfca: fix use of uninitialized variables in error path
Christophe Ricard <christophe.ricard@gmail.com>
nfc: st-nci: Fix non accurate comment for st_nci_i2c_read
Christophe Ricard <christophe.ricard@gmail.com>
nfc: st-nci: Fix typo when changing from st21nfcb to st-nci
Christophe Ricard <christophe.ricard@gmail.com>
nfc: st-nci: Remove duplicate file platform_data/st_nci.h
-------------
Diffstat:
Makefile | 4 +-
arch/arm/boot/compressed/decompress.c | 2 +-
arch/arm/kvm/arm.c | 2 +-
arch/arm64/Kconfig | 20 ++++++
arch/arm64/Makefile | 4 ++
arch/arm64/include/asm/memory.h | 8 +++
arch/arm64/kernel/entry.S | 17 ++---
arch/arm64/kernel/fpsimd.c | 1 +
arch/arm64/kernel/head.S | 5 ++
arch/arm64/kernel/module.c | 2 +
arch/arm64/kernel/signal32.c | 47 ++++++++++---
arch/arm64/kvm/hyp.S | 9 ++-
arch/h8300/boot/compressed/misc.c | 2 +-
arch/m32r/boot/compressed/misc.c | 3 +-
arch/mips/boot/compressed/decompress.c | 4 +-
arch/mips/kernel/cps-vec.S | 4 +-
arch/mips/math-emu/cp1emu.c | 24 ++++++-
arch/parisc/kernel/irq.c | 8 ++-
arch/parisc/kernel/syscall.S | 2 +-
arch/powerpc/boot/Makefile | 3 +
arch/powerpc/include/asm/pgtable-ppc64.h | 14 +++-
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/include/asm/switch_to.h | 1 +
arch/powerpc/kernel/eeh.c | 27 ++++++--
arch/powerpc/kernel/process.c | 3 -
arch/powerpc/kernel/rtas.c | 17 +++++
arch/powerpc/mm/hugepage-hash64.c | 3 +-
arch/powerpc/platforms/powernv/pci-ioda.c | 16 ++++-
arch/powerpc/platforms/pseries/dlpar.c | 4 +-
arch/powerpc/platforms/pseries/ras.c | 3 +-
arch/powerpc/platforms/pseries/setup.c | 5 ++
arch/s390/boot/compressed/misc.c | 2 +-
arch/sh/boot/compressed/misc.c | 2 +-
arch/unicore32/boot/compressed/misc.c | 4 +-
arch/x86/boot/compressed/misc.c | 3 +-
arch/x86/mm/init_32.c | 1 +
block/blk-flush.c | 15 +++-
block/blk-mq-sysfs.c | 25 +++++--
block/blk-mq-tag.c | 4 +-
block/blk-mq-tag.h | 12 ++++
block/blk-mq.c | 16 +----
block/blk.h | 6 ++
drivers/base/node.c | 10 +++
drivers/crypto/vmx/aes.c | 3 +
drivers/crypto/vmx/aes_cbc.c | 3 +
drivers/crypto/vmx/aes_ctr.c | 3 +
drivers/crypto/vmx/ghash.c | 4 ++
drivers/gpu/drm/i915/intel_ddi.c | 11 ++-
drivers/gpu/drm/i915/intel_dp.c | 46 ++++++-------
drivers/gpu/drm/i915/intel_dp_mst.c | 5 ++
drivers/gpu/drm/i915/intel_drv.h | 1 +
drivers/gpu/drm/radeon/radeon_combios.c | 8 +++
drivers/i2c/busses/i2c-xgene-slimpro.c | 8 +--
drivers/infiniband/core/uverbs.h | 3 +-
drivers/infiniband/core/uverbs_cmd.c | 10 ++-
drivers/infiniband/core/uverbs_main.c | 43 ++++++++----
drivers/infiniband/hw/mlx4/ah.c | 6 +-
drivers/infiniband/hw/mlx4/cq.c | 2 +-
drivers/infiniband/hw/mlx4/mcg.c | 7 +-
drivers/infiniband/hw/mlx4/sysfs.c | 5 +-
drivers/infiniband/hw/mlx5/mr.c | 12 ----
drivers/infiniband/hw/qib/qib_keys.c | 4 ++
drivers/infiniband/hw/qib/qib_verbs.c | 14 ++--
drivers/infiniband/hw/qib/qib_verbs.h | 2 +
drivers/infiniband/ulp/iser/iscsi_iser.c | 12 ++--
drivers/infiniband/ulp/iser/iscsi_iser.h | 2 +
drivers/infiniband/ulp/iser/iser_initiator.c | 8 ++-
drivers/infiniband/ulp/srp/ib_srp.c | 12 +++-
drivers/input/evdev.c | 13 ++--
drivers/input/mouse/synaptics.c | 12 ++--
drivers/iommu/fsl_pamu.c | 26 +++----
drivers/iommu/intel-iommu.c | 2 +-
drivers/iommu/io-pgtable-arm.c | 17 ++++-
drivers/iommu/tegra-smmu.c | 9 ++-
drivers/media/platform/am437x/am437x-vpfe.c | 16 ++++-
drivers/media/platform/omap3isp/isp.c | 27 ++++----
drivers/media/platform/xilinx/xilinx-dma.c | 4 +-
drivers/media/rc/rc-main.c | 3 -
drivers/memory/tegra/tegra114.c | 1 +
drivers/memory/tegra/tegra124.c | 1 +
drivers/memory/tegra/tegra30.c | 1 +
drivers/misc/cxl/api.c | 2 +-
drivers/misc/cxl/pci.c | 23 -------
drivers/mmc/core/core.c | 6 +-
drivers/mmc/host/sdhci-of-esdhc.c | 6 ++
drivers/mmc/host/sdhci-pci.c | 1 +
drivers/mmc/host/sdhci.c | 71 ++++++++-----------
drivers/mmc/host/sdhci.h | 8 +--
drivers/net/ethernet/broadcom/tg3.c | 2 +-
drivers/net/ethernet/intel/igb/igb.h | 1 +
drivers/net/ethernet/intel/igb/igb_ethtool.c | 5 +-
drivers/net/ethernet/intel/igb/igb_main.c | 16 ++++-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 5 +-
drivers/net/wireless/rtlwifi/rtl8192cu/sw.c | 1 +
drivers/net/wireless/rtlwifi/rtl8821ae/hw.c | 2 +-
drivers/net/wireless/rtlwifi/rtl8821ae/reg.h | 1 +
drivers/nfc/st-nci/i2c.c | 23 +++----
drivers/nfc/st-nci/ndlc.c | 6 +-
drivers/nfc/st-nci/st-nci_se.c | 8 +--
drivers/nfc/st21nfca/st21nfca.c | 11 +--
drivers/of/fdt.c | 12 ++--
drivers/parisc/lba_pci.c | 7 +-
drivers/pci/Kconfig | 2 +-
drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 21 +++---
drivers/pinctrl/mediatek/pinctrl-mtk-common.h | 1 +
drivers/pinctrl/pinctrl-at91.c | 15 ++++
drivers/platform/x86/ideapad-laptop.c | 7 ++
drivers/rtc/rtc-abx80x.c | 2 +-
drivers/rtc/rtc-s3c.c | 24 +++++--
drivers/rtc/rtc-s5m.c | 10 +++
fs/btrfs/transaction.c | 3 +
fs/cifs/ioctl.c | 6 ++
fs/coredump.c | 46 ++++++++++---
fs/ecryptfs/dentry.c | 16 ++---
fs/ext4/super.c | 30 ++++++--
fs/hfs/bnode.c | 9 ++-
fs/hfs/brec.c | 20 +++---
fs/hfsplus/bnode.c | 3 -
fs/jbd2/checkpoint.c | 39 +++++++++--
fs/jbd2/commit.c | 2 +-
fs/jbd2/journal.c | 11 ++-
fs/nfs/flexfilelayout/flexfilelayout.c | 5 ++
fs/nfs/flexfilelayout/flexfilelayoutdev.c | 7 +-
fs/nfs/inode.c | 15 ++--
fs/nfs/internal.h | 15 ++--
fs/nfs/nfs4proc.c | 22 ++++--
fs/nfs/pagelist.c | 4 +-
fs/nfs/pnfs_nfs.c | 38 +++++-----
fs/nfs/write.c | 29 ++++++--
fs/nfsd/nfs4state.c | 84 ++++++++++++++---------
fs/nfsd/nfs4xdr.c | 45 ++++++++----
include/linux/jbd2.h | 3 +-
include/linux/platform_data/st_nci.h | 29 --------
include/linux/sunrpc/svc_rdma.h | 9 +--
include/linux/sunrpc/xprtsock.h | 3 +
include/soc/tegra/mc.h | 1 +
include/sound/hda_i915.h | 2 +-
include/trace/events/sunrpc.h | 21 ++++--
kernel/fork.c | 28 +++++---
kernel/workqueue.c | 2 +-
lib/decompress_bunzip2.c | 6 +-
lib/decompress_inflate.c | 31 +++++++--
lib/decompress_unlz4.c | 6 +-
lib/decompress_unlzma.c | 7 +-
lib/decompress_unlzo.c | 13 +++-
lib/decompress_unxz.c | 12 +++-
mm/vmscan.c | 2 +-
net/mac80211/tx.c | 3 -
net/nfc/nci/hci.c | 2 +-
net/nfc/netlink.c | 5 +-
net/sunrpc/xprt.c | 6 ++
net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 +-
net/sunrpc/xprtrdma/xprt_rdma.h | 1 -
net/sunrpc/xprtsock.c | 21 ++++--
sound/pci/hda/patch_realtek.c | 12 ++--
sound/usb/mixer.c | 2 +-
156 files changed, 1136 insertions(+), 572 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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 049/134] powerpc/eeh: Probe after unbalanced kref check |
| Message-ID | <qd5Z1-4Gv-43@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Daniel Axtens <dja@axtens.net>
commit e642d11bdbfe8eb10116ab3959a2b5d75efda832 upstream.
In the complete hotplug case, EEH PEs are supposed to be released
and set to NULL. Normally, this is done by eeh_remove_device(),
which is called from pcibios_release_device().
However, if something is holding a kref to the device, it will not
be released, and the PE will remain. eeh_add_device_late() has
a check for this which will explictly destroy the PE in this case.
This check in eeh_add_device_late() occurs after a call to
eeh_ops->probe(). On PowerNV, probe is a pointer to pnv_eeh_probe(),
which will exit without probing if there is an existing PE.
This means that on PowerNV, devices with outstanding krefs will not
be rediscovered by EEH correctly after a complete hotplug. This is
affecting CXL (CAPI) devices in the field.
Put the probe after the kref check so that the PE is destroyed
and affected devices are correctly rediscovered by EEH.
Fixes: d91dafc02f42 ("powerpc/eeh: Delay probing EEH device during hotplug")
Cc: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/powerpc/kernel/eeh.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/arch/powerpc/kernel/eeh.c
+++ b/arch/powerpc/kernel/eeh.c
@@ -1116,9 +1116,6 @@ void eeh_add_device_late(struct pci_dev
return;
}
- if (eeh_has_flag(EEH_PROBE_MODE_DEV))
- eeh_ops->probe(pdn, NULL);
-
/*
* The EEH cache might not be removed correctly because of
* unbalanced kref to the device during unplug time, which
@@ -1142,6 +1139,9 @@ void eeh_add_device_late(struct pci_dev
dev->dev.archdata.edev = NULL;
}
+ if (eeh_has_flag(EEH_PROBE_MODE_DEV))
+ eeh_ops->probe(pdn, NULL);
+
edev->pdev = dev;
dev->dev.archdata.edev = edev;
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 018/134] MIPS: CPS: use 32b accesses to GCRs |
| Message-ID | <qd5Z1-4Gv-45@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Paul Burton <paul.burton@imgtec.com>
commit 90996511187d6282db6d02d3f97006b4dbb5c457 upstream.
Commit b677bc03d757 ("MIPS: cps-vec: Use macros for various arithmetics
and memory operations") replaced various load & store instructions
through cps-vec.S with the PTR_L & PTR_S macros. However it was somewhat
overzealous in doing so for CM GCR accesses, since the bit width of the
CM doesn't necessarily match that of the CPU. The registers accessed
(GCR_CL_COHERENCE & GCR_CL_ID) should be safe to simply always access
using 32b instructions, so do so in order to avoid issues when using a
32b CM with a 64b CPU.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: James Hogan <james.hogan@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/10864/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/mips/kernel/cps-vec.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/arch/mips/kernel/cps-vec.S
+++ b/arch/mips/kernel/cps-vec.S
@@ -152,7 +152,7 @@ dcache_done:
/* Enter the coherent domain */
li t0, 0xff
- PTR_S t0, GCR_CL_COHERENCE_OFS(v1)
+ sw t0, GCR_CL_COHERENCE_OFS(v1)
ehb
/* Jump to kseg0 */
@@ -302,7 +302,7 @@ LEAF(mips_cps_boot_vpes)
PTR_L t0, 0(t0)
/* Calculate a pointer to this cores struct core_boot_config */
- PTR_L t0, GCR_CL_ID_OFS(t0)
+ lw t0, GCR_CL_ID_OFS(t0)
li t1, COREBOOTCFG_SIZE
mul t0, t0, t1
PTR_LA t1, mips_cps_core_bootcfg
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 032/134] arm64: compat: fix vfp save/restore across signal handlers in big-endian |
| Message-ID | <qd5Z0-4Gv-27@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Will Deacon <will.deacon@arm.com>
commit bdec97a855ef1e239f130f7a11584721c9a1bf04 upstream.
When saving/restoring the VFP registers from a compat (AArch32)
signal frame, we rely on the compat registers forming a prefix of the
native register file and therefore make use of copy_{to,from}_user to
transfer between the native fpsimd_state and the compat_vfp_sigframe.
Unfortunately, this doesn't work so well in a big-endian environment.
Our fpsimd save/restore code operates directly on 128-bit quantities
(Q registers) whereas the compat_vfp_sigframe represents the registers
as an array of 64-bit (D) registers. The architecture packs the compat D
registers into the Q registers, with the least significant bytes holding
the lower register. Consequently, we need to swap the 64-bit halves when
converting between these two representations on a big-endian machine.
This patch replaces the __copy_{to,from}_user invocations in our
compat VFP signal handling code with explicit __put_user loops that
operate on 64-bit values and swap them accordingly.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/arm64/kernel/signal32.c | 47 ++++++++++++++++++++++++++++++++-----------
1 file changed, 36 insertions(+), 11 deletions(-)
--- a/arch/arm64/kernel/signal32.c
+++ b/arch/arm64/kernel/signal32.c
@@ -212,14 +212,32 @@ int copy_siginfo_from_user32(siginfo_t *
/*
* VFP save/restore code.
+ *
+ * We have to be careful with endianness, since the fpsimd context-switch
+ * code operates on 128-bit (Q) register values whereas the compat ABI
+ * uses an array of 64-bit (D) registers. Consequently, we need to swap
+ * the two halves of each Q register when running on a big-endian CPU.
*/
+union __fpsimd_vreg {
+ __uint128_t raw;
+ struct {
+#ifdef __AARCH64EB__
+ u64 hi;
+ u64 lo;
+#else
+ u64 lo;
+ u64 hi;
+#endif
+ };
+};
+
static int compat_preserve_vfp_context(struct compat_vfp_sigframe __user *frame)
{
struct fpsimd_state *fpsimd = ¤t->thread.fpsimd_state;
compat_ulong_t magic = VFP_MAGIC;
compat_ulong_t size = VFP_STORAGE_SIZE;
compat_ulong_t fpscr, fpexc;
- int err = 0;
+ int i, err = 0;
/*
* Save the hardware registers to the fpsimd_state structure.
@@ -235,10 +253,15 @@ static int compat_preserve_vfp_context(s
/*
* Now copy the FP registers. Since the registers are packed,
* we can copy the prefix we want (V0-V15) as it is.
- * FIXME: Won't work if big endian.
*/
- err |= __copy_to_user(&frame->ufp.fpregs, fpsimd->vregs,
- sizeof(frame->ufp.fpregs));
+ for (i = 0; i < ARRAY_SIZE(frame->ufp.fpregs); i += 2) {
+ union __fpsimd_vreg vreg = {
+ .raw = fpsimd->vregs[i >> 1],
+ };
+
+ __put_user_error(vreg.lo, &frame->ufp.fpregs[i], err);
+ __put_user_error(vreg.hi, &frame->ufp.fpregs[i + 1], err);
+ }
/* Create an AArch32 fpscr from the fpsr and the fpcr. */
fpscr = (fpsimd->fpsr & VFP_FPSCR_STAT_MASK) |
@@ -263,7 +286,7 @@ static int compat_restore_vfp_context(st
compat_ulong_t magic = VFP_MAGIC;
compat_ulong_t size = VFP_STORAGE_SIZE;
compat_ulong_t fpscr;
- int err = 0;
+ int i, err = 0;
__get_user_error(magic, &frame->magic, err);
__get_user_error(size, &frame->size, err);
@@ -273,12 +296,14 @@ static int compat_restore_vfp_context(st
if (magic != VFP_MAGIC || size != VFP_STORAGE_SIZE)
return -EINVAL;
- /*
- * Copy the FP registers into the start of the fpsimd_state.
- * FIXME: Won't work if big endian.
- */
- err |= __copy_from_user(fpsimd.vregs, frame->ufp.fpregs,
- sizeof(frame->ufp.fpregs));
+ /* Copy the FP registers into the start of the fpsimd_state. */
+ for (i = 0; i < ARRAY_SIZE(frame->ufp.fpregs); i += 2) {
+ union __fpsimd_vreg vreg;
+
+ __get_user_error(vreg.lo, &frame->ufp.fpregs[i], err);
+ __get_user_error(vreg.hi, &frame->ufp.fpregs[i + 1], err);
+ fpsimd.vregs[i >> 1] = vreg.raw;
+ }
/* Extract the fpsr and the fpcr from the fpscr */
__get_user_error(fpscr, &frame->ufp.fpscr, err);
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 047/134] pinctrl: at91: fix null pointer dereference |
| Message-ID | <qd5Z1-4Gv-41@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: David Dueck <davidcdueck@googlemail.com>
commit 1ab36387ea4face01aac3560b396b1e2ce07c4ff upstream.
Not all gpio banks are necessarily enabled, in the current code this can
lead to null pointer dereferences.
[ 51.130000] Unable to handle kernel NULL pointer dereference at virtual address 00000058
[ 51.130000] pgd = dee04000
[ 51.130000] [00000058] *pgd=3f66d831, *pte=00000000, *ppte=00000000
[ 51.140000] Internal error: Oops: 17 [#1] ARM
[ 51.140000] Modules linked in:
[ 51.140000] CPU: 0 PID: 1664 Comm: cat Not tainted 4.1.1+ #6
[ 51.140000] Hardware name: Atmel SAMA5
[ 51.140000] task: df6dd880 ti: dec60000 task.ti: dec60000
[ 51.140000] PC is at at91_pinconf_get+0xb4/0x200
[ 51.140000] LR is at at91_pinconf_get+0xb4/0x200
[ 51.140000] pc : [<c01e71a0>] lr : [<c01e71a0>] psr: 600f0013
sp : dec61e48 ip : 600f0013 fp : df522538
[ 51.140000] r10: df52250c r9 : 00000058 r8 : 00000068
[ 51.140000] r7 : 00000000 r6 : df53c910 r5 : 00000000 r4 : dec61e7c
[ 51.140000] r3 : 00000000 r2 : c06746d4 r1 : 00000000 r0 : 00000003
[ 51.140000] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 51.140000] Control: 10c53c7d Table: 3ee04059 DAC: 00000015
[ 51.140000] Process cat (pid: 1664, stack limit = 0xdec60208)
[ 51.140000] Stack: (0xdec61e48 to 0xdec62000)
[ 51.140000] 1e40: 00000358 00000000 df522500 ded15f80 c05a9d08 ded15f80
[ 51.140000] 1e60: 0000048c 00000061 df522500 ded15f80 c05a9d08 c01e7304 ded15f80 00000000
[ 51.140000] 1e80: c01e6008 00000060 0000048c c01e6034 c01e5f6c ded15f80 dec61ec0 00000000
[ 51.140000] 1ea0: 00020000 ded6f280 dec61f80 00000001 00000001 c00ae0b8 b6e80000 ded15fb0
[ 51.140000] 1ec0: 00000000 00000000 df4bc974 00000055 00000800 ded6f280 b6e80000 ded6f280
[ 51.140000] 1ee0: ded6f280 00020000 b6e80000 00000000 00020000 c0090dec c0671e1c dec61fb0
[ 51.140000] 1f00: b6f8b510 00000001 00004201 c000924c 00000000 00000003 00000003 00000000
[ 51.140000] 1f20: df4bc940 00022000 00000022 c066e188 b6e7f000 c00836f4 000b6e7f ded6f280
[ 51.140000] 1f40: ded6f280 b6e80000 dec61f80 ded6f280 00020000 c0091508 00000000 00000003
[ 51.140000] 1f60: 00022000 00000000 00000000 ded6f280 ded6f280 00020000 b6e80000 c0091d9c
[ 51.140000] 1f80: 00000000 00000000 ffffffff 00020000 00020000 b6e80000 00000003 c000f124
[ 51.140000] 1fa0: dec60000 c000efa0 00020000 00020000 00000003 b6e80000 00020000 000271c4
[ 51.140000] 1fc0: 00020000 00020000 b6e80000 00000003 7fffe000 00000000 00000000 00020000
[ 51.140000] 1fe0: 00000000 bef50b64 00013835 b6f29c76 400f0030 00000003 00000000 00000000
[ 51.140000] [<c01e71a0>] (at91_pinconf_get) from [<c01e7304>] (at91_pinconf_dbg_show+0x18/0x2c0)
[ 51.140000] [<c01e7304>] (at91_pinconf_dbg_show) from [<c01e6034>] (pinconf_pins_show+0xc8/0xf8)
[ 51.140000] [<c01e6034>] (pinconf_pins_show) from [<c00ae0b8>] (seq_read+0x1a0/0x464)
[ 51.140000] [<c00ae0b8>] (seq_read) from [<c0090dec>] (__vfs_read+0x20/0xd0)
[ 51.140000] [<c0090dec>] (__vfs_read) from [<c0091508>] (vfs_read+0x7c/0x108)
[ 51.140000] [<c0091508>] (vfs_read) from [<c0091d9c>] (SyS_read+0x40/0x94)
[ 51.140000] [<c0091d9c>] (SyS_read) from [<c000efa0>] (ret_fast_syscall+0x0/0x3c)
[ 51.140000] Code: eb010ec2 e30a0d08 e34c005a eb0ae5a7 (e5993000)
[ 51.150000] ---[ end trace fb3c370da3ea4794 ]---
Fixes: a0b957f306fa ("pinctrl: at91: allow to have disabled gpio bank")
Signed-off-by: David Dueck <davidcdueck@googlemail.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/pinctrl/pinctrl-at91.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
--- a/drivers/pinctrl/pinctrl-at91.c
+++ b/drivers/pinctrl/pinctrl-at91.c
@@ -320,6 +320,9 @@ static const struct pinctrl_ops at91_pct
static void __iomem *pin_to_controller(struct at91_pinctrl *info,
unsigned int bank)
{
+ if (!gpio_chips[bank])
+ return NULL;
+
return gpio_chips[bank]->regbase;
}
@@ -729,6 +732,10 @@ static int at91_pmx_set(struct pinctrl_d
pin = &pins_conf[i];
at91_pin_dbg(info->dev, pin);
pio = pin_to_controller(info, pin->bank);
+
+ if (!pio)
+ continue;
+
mask = pin_to_mask(pin->pin);
at91_mux_disable_interrupt(pio, mask);
switch (pin->mux) {
@@ -848,6 +855,10 @@ static int at91_pinconf_get(struct pinct
*config = 0;
dev_dbg(info->dev, "%s:%d, pin_id=%d", __func__, __LINE__, pin_id);
pio = pin_to_controller(info, pin_to_bank(pin_id));
+
+ if (!pio)
+ return -EINVAL;
+
pin = pin_id % MAX_NB_GPIO_PER_BANK;
if (at91_mux_get_multidrive(pio, pin))
@@ -889,6 +900,10 @@ static int at91_pinconf_set(struct pinct
"%s:%d, pin_id=%d, config=0x%lx",
__func__, __LINE__, pin_id, config);
pio = pin_to_controller(info, pin_to_bank(pin_id));
+
+ if (!pio)
+ return -EINVAL;
+
pin = pin_id % MAX_NB_GPIO_PER_BANK;
mask = pin_to_mask(pin);
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 006/134] nfc: st-nci: Remove data from ack_pending_q when receiving a SYNC_ACK |
| Message-ID | <qd5Z1-4Gv-47@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christophe Ricard <christophe.ricard@gmail.com>
commit 1d816b6eb513498aa28a0ff1e4db7632bded1707 upstream.
When receiving a NDLC PCB_SYNC_ACK the pending data was never
removed from ack_pending_q and cleared.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/nfc/st-nci/ndlc.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/nfc/st-nci/ndlc.c
+++ b/drivers/nfc/st-nci/ndlc.c
@@ -171,6 +171,8 @@ static void llt_ndlc_rcv_queue(struct ll
if ((pcb & PCB_TYPE_MASK) == PCB_TYPE_SUPERVISOR) {
switch (pcb & PCB_SYNC_MASK) {
case PCB_SYNC_ACK:
+ skb = skb_dequeue(&ndlc->ack_pending_q);
+ kfree_skb(skb);
del_timer_sync(&ndlc->t1_timer);
del_timer_sync(&ndlc->t2_timer);
ndlc->t2_active = false;
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 015/134] rtlwifi: rtl8821ae: Fix an expression that is always false |
| Message-ID | <qd5Z1-4Gv-49@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know. ------------------ From: Larry Finger <Larry.Finger@lwfinger.net> commit 251086f588720277a6f5782020a648ce32c4e00b upstream. In routine _rtl8821ae_set_media_status(), an incorrect mask results in a test for AP status to always be false. Similar bugs were fixed in rtl8192cu and rtl8192de, but this instance was missed at that time. Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: David Binderman <dcb314@hotmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- drivers/net/wireless/rtlwifi/rtl8821ae/hw.c | 2 +- drivers/net/wireless/rtlwifi/rtl8821ae/reg.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) --- a/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c @@ -2180,7 +2180,7 @@ static int _rtl8821ae_set_media_status(s rtl_write_byte(rtlpriv, MSR, bt_msr); rtlpriv->cfg->ops->led_control(hw, ledaction); - if ((bt_msr & 0xfc) == MSR_AP) + if ((bt_msr & MSR_MASK) == MSR_AP) rtl_write_byte(rtlpriv, REG_BCNTCFG + 1, 0x00); else rtl_write_byte(rtlpriv, REG_BCNTCFG + 1, 0x66); --- a/drivers/net/wireless/rtlwifi/rtl8821ae/reg.h +++ b/drivers/net/wireless/rtlwifi/rtl8821ae/reg.h @@ -429,6 +429,7 @@ #define MSR_ADHOC 0x01 #define MSR_INFRA 0x02 #define MSR_AP 0x03 +#define MSR_MASK 0x03 #define RRSR_RSC_OFFSET 21 #define RRSR_SHORT_OFFSET 23 -- 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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 030/134] of/fdt: make memblock maximum physical address arch configurable |
| Message-ID | <qd5Z1-4Gv-57@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
commit 8eafeb48022816513abc4f440bdad4c350fe81a3 upstream.
When parsing the memory nodes to populate the memblock memory
table, we check against high and low limits and clip any memory
that exceeds either one of them.
However, for arm64, the high limit of (phys_addr_t)~0 is not very
meaningful, since phys_addr_t is 64 bits (i.e., no limit) but there
may be other constraints that limit the memory ranges that we can
support.
So rename MAX_PHYS_ADDR to MAX_MEMBLOCK_ADDR (for clarity) and only
define it if the arch does not supply a definition of its own.
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/of/fdt.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -967,7 +967,9 @@ int __init early_init_dt_scan_chosen(uns
}
#ifdef CONFIG_HAVE_MEMBLOCK
-#define MAX_PHYS_ADDR ((phys_addr_t)~0)
+#ifndef MAX_MEMBLOCK_ADDR
+#define MAX_MEMBLOCK_ADDR ((phys_addr_t)~0)
+#endif
void __init __weak early_init_dt_add_memory_arch(u64 base, u64 size)
{
@@ -984,16 +986,16 @@ void __init __weak early_init_dt_add_mem
}
size &= PAGE_MASK;
- if (base > MAX_PHYS_ADDR) {
+ if (base > MAX_MEMBLOCK_ADDR) {
pr_warning("Ignoring memory block 0x%llx - 0x%llx\n",
base, base + size);
return;
}
- if (base + size - 1 > MAX_PHYS_ADDR) {
+ if (base + size - 1 > MAX_MEMBLOCK_ADDR) {
pr_warning("Ignoring memory range 0x%llx - 0x%llx\n",
- ((u64)MAX_PHYS_ADDR) + 1, base + size);
- size = MAX_PHYS_ADDR - base + 1;
+ ((u64)MAX_MEMBLOCK_ADDR) + 1, base + size);
+ size = MAX_MEMBLOCK_ADDR - base + 1;
}
if (base + size < phys_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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 035/134] arm/arm64: KVM: vgic: Check for !irqchip_in_kernel() when mapping resources |
| Message-ID | <qd5Z1-4Gv-51@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pavel Fedin <p.fedin@samsung.com>
commit c2f58514cfb374d5368c9da945f1765cd48eb0da upstream.
Until b26e5fdac43c ("arm/arm64: KVM: introduce per-VM ops"),
kvm_vgic_map_resources() used to include a check on irqchip_in_kernel(),
and vgic_v2_map_resources() still has it.
But now vm_ops are not initialized until we call kvm_vgic_create().
Therefore kvm_vgic_map_resources() can being called without a VGIC,
and we die because vm_ops.map_resources is NULL.
Fixing this restores QEMU's kernel-irqchip=off option to a working state,
allowing to use GIC emulation in userspace.
Fixes: b26e5fdac43c ("arm/arm64: KVM: introduce per-VM ops")
Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
[maz: reworked commit message]
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/arm/kvm/arm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm/kvm/arm.c
+++ b/arch/arm/kvm/arm.c
@@ -449,7 +449,7 @@ static int kvm_vcpu_first_run_init(struc
* Map the VGIC hardware resources before running a vcpu the first
* time on this VM.
*/
- if (unlikely(!vgic_ready(kvm))) {
+ if (unlikely(irqchip_in_kernel(kvm) && !vgic_ready(kvm))) {
ret = kvm_vgic_map_resources(kvm);
if (ret)
return ret;
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 050/134] powerpc/eeh: Fix fenced PHB caused by eeh_slot_error_detail() |
| Message-ID | <qd5Z1-4Gv-53@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Gavin Shan <gwshan@linux.vnet.ibm.com>
commit 259800135c654a098d9f0adfdd3d1f20eef1f231 upstream.
The config space of some PCI devices can't be accessed when their
PEs are in frozen state. Otherwise, fenced PHB might be seen.
Those PEs are identified with flag EEH_PE_CFG_RESTRICTED, meaing
EEH_PE_CFG_BLOCKED is set automatically when the PE is put to
frozen state (EEH_PE_ISOLATED). eeh_slot_error_detail() restores
PCI device BARs with eeh_pe_restore_bars(), which then calls
eeh_ops->restore_config() to reinitialize the PCI device in
(OPAL) firmware. eeh_ops->restore_config() produces PCI config
access that causes fenced PHB. The problem was reported on below
adapter:
0001:01:00.0 0200: 14e4:168e (rev 10)
0001:01:00.0 Ethernet controller: Broadcom Corporation \
NetXtreme II BCM57810 10 Gigabit Ethernet (rev 10)
This fixes the issue by skipping eeh_pe_restore_bars() in
eeh_slot_error_detail() when EEH_PE_CFG_BLOCKED is set for the PE.
Fixes: b6541db1 ("powerpc/eeh: Block PCI config access upon frozen PE")
Reported-by: Manvanthara B. Puttashankar <mputtash@in.ibm.com>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/powerpc/kernel/eeh.c | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
--- a/arch/powerpc/kernel/eeh.c
+++ b/arch/powerpc/kernel/eeh.c
@@ -308,11 +308,26 @@ void eeh_slot_error_detail(struct eeh_pe
if (!(pe->type & EEH_PE_PHB)) {
if (eeh_has_flag(EEH_ENABLE_IO_FOR_LOG))
eeh_pci_enable(pe, EEH_OPT_THAW_MMIO);
+
+ /*
+ * The config space of some PCI devices can't be accessed
+ * when their PEs are in frozen state. Otherwise, fenced
+ * PHB might be seen. Those PEs are identified with flag
+ * EEH_PE_CFG_RESTRICTED, indicating EEH_PE_CFG_BLOCKED
+ * is set automatically when the PE is put to EEH_PE_ISOLATED.
+ *
+ * Restoring BARs possibly triggers PCI config access in
+ * (OPAL) firmware and then causes fenced PHB. If the
+ * PCI config is blocked with flag EEH_PE_CFG_BLOCKED, it's
+ * pointless to restore BARs and dump config space.
+ */
eeh_ops->configure_bridge(pe);
- eeh_pe_restore_bars(pe);
+ if (!(pe->state & EEH_PE_CFG_BLOCKED)) {
+ eeh_pe_restore_bars(pe);
- pci_regs_buf[0] = 0;
- eeh_pe_traverse(pe, eeh_dump_pe_log, &loglen);
+ pci_regs_buf[0] = 0;
+ eeh_pe_traverse(pe, eeh_dump_pe_log, &loglen);
+ }
}
eeh_ops->get_log(pe, severity, pci_regs_buf, loglen);
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 007/134] nfc: st-nci: Free data with irrelevant NDLC PCB_SYNC value |
| Message-ID | <qd5Z2-4Gv-61@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christophe Ricard <christophe.ricard@gmail.com>
commit 8b706884eac958ec16518315053f77e052627084 upstream.
PCB_SYNC different than PCB_TYPE_SUPERVISOR or PCB_TYPE_DATAFRAME
should be discarded.
Irrelevant data may be forwarded up to the ndlc state machine by
phys like spi to prevent missing potential data during "write"
transactions.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/nfc/st-nci/ndlc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/drivers/nfc/st-nci/ndlc.c
+++ b/drivers/nfc/st-nci/ndlc.c
@@ -198,8 +198,10 @@ static void llt_ndlc_rcv_queue(struct ll
kfree_skb(skb);
break;
}
- } else {
+ } else if ((pcb & PCB_TYPE_MASK) == PCB_TYPE_DATAFRAME) {
nci_recv_frame(ndlc->ndev, skb);
+ } else {
+ kfree_skb(skb);
}
}
}
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 017/134] tg3: Fix temperature reporting |
| Message-ID | <qd5Z1-4Gv-55@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jean Delvare <jdelvare@suse.de>
commit d3d11fe08ccc9bff174fc958722b5661f0932486 upstream.
The temperature registers appear to report values in degrees Celsius
while the hwmon API mandates values to be exposed in millidegrees
Celsius. Do the conversion so that the values reported by "sensors"
are correct.
Fixes: aed93e0bf493 ("tg3: Add hwmon support for temperature")
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Prashant Sreedharan <prashant@broadcom.com>
Cc: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/net/ethernet/broadcom/tg3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/ethernet/broadcom/tg3.c
+++ b/drivers/net/ethernet/broadcom/tg3.c
@@ -10757,7 +10757,7 @@ static ssize_t tg3_show_temp(struct devi
tg3_ape_scratchpad_read(tp, &temperature, attr->index,
sizeof(temperature));
spin_unlock_bh(&tp->lock);
- return sprintf(buf, "%u\n", temperature);
+ return sprintf(buf, "%u\n", temperature * 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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 053/134] powerpc: Uncomment and make enable_kernel_vsx() routine available |
| Message-ID | <qd5Z2-4Gv-63@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Leonidas Da Silva Barbosa <leosilva@linux.vnet.ibm.com>
commit 72cd7b44bc99376b3f3c93cedcd052663fcdf705 upstream.
enable_kernel_vsx() function was commented since anything was using
it. However, vmx-crypto driver uses VSX instructions which are
only available if VSX is enable. Otherwise it rises an exception oops.
This patch uncomment enable_kernel_vsx() routine and makes it available.
Signed-off-by: Leonidas S. Barbosa <leosilva@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/powerpc/include/asm/switch_to.h | 1 +
arch/powerpc/kernel/process.c | 3 ---
2 files changed, 1 insertion(+), 3 deletions(-)
--- a/arch/powerpc/include/asm/switch_to.h
+++ b/arch/powerpc/include/asm/switch_to.h
@@ -29,6 +29,7 @@ static inline void save_early_sprs(struc
extern void enable_kernel_fp(void);
extern void enable_kernel_altivec(void);
+extern void enable_kernel_vsx(void);
extern int emulate_altivec(struct pt_regs *);
extern void __giveup_vsx(struct task_struct *);
extern void giveup_vsx(struct task_struct *);
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -204,8 +204,6 @@ EXPORT_SYMBOL_GPL(flush_altivec_to_threa
#endif /* CONFIG_ALTIVEC */
#ifdef CONFIG_VSX
-#if 0
-/* not currently used, but some crazy RAID module might want to later */
void enable_kernel_vsx(void)
{
WARN_ON(preemptible());
@@ -220,7 +218,6 @@ void enable_kernel_vsx(void)
#endif /* CONFIG_SMP */
}
EXPORT_SYMBOL(enable_kernel_vsx);
-#endif
void giveup_vsx(struct task_struct *tsk)
{
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 003/134] nfc: st-nci: Fix non accurate comment for st_nci_i2c_read |
| Message-ID | <qd5Z2-4Gv-59@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know. ------------------ From: Christophe Ricard <christophe.ricard@gmail.com> commit e7723b33077b04648213f043bc22654c54e375e4 upstream. Due to a copy and paste error st_nci_i2c_read still contains st21nfca header comment. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- drivers/nfc/st-nci/i2c.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) --- a/drivers/nfc/st-nci/i2c.c +++ b/drivers/nfc/st-nci/i2c.c @@ -118,15 +118,10 @@ static int st_nci_i2c_write(void *phy_id /* * Reads an ndlc frame and returns it in a newly allocated sk_buff. * returns: - * frame size : if received frame is complete (find ST_NCI_SOF_EOF at - * end of read) - * -EAGAIN : if received frame is incomplete (not find ST_NCI_SOF_EOF - * at end of read) + * 0 : if received frame is complete * -EREMOTEIO : i2c read error (fatal) * -EBADMSG : frame was incorrect and discarded - * (value returned from st_nci_i2c_repack) - * -EIO : if no ST_NCI_SOF_EOF is found after reaching - * the read length end sequence + * -ENOMEM : cannot allocate skb, frame dropped */ static int st_nci_i2c_read(struct st_nci_i2c_phy *phy, struct sk_buff **skb) -- 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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 036/134] KVM: arm64: add workaround for Cortex-A57 erratum #852523 |
| Message-ID | <qd5Z2-4Gv-65@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know. ------------------ From: Will Deacon <will.deacon@arm.com> commit 43297dda0a51e4ffed0888ce727c218cfb7474b6 upstream. When restoring the system register state for an AArch32 guest at EL2, writes to DACR32_EL2 may not be correctly synchronised by Cortex-A57, which can lead to the guest effectively running with junk in the DACR and running into unexpected domain faults. This patch works around the issue by re-ordering our restoration of the AArch32 register aliases so that they happen before the AArch64 system registers. Ensuring that the registers are restored in this order guarantees that they will be correctly synchronised by the core. Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- arch/arm64/kvm/hyp.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/arch/arm64/kvm/hyp.S +++ b/arch/arm64/kvm/hyp.S @@ -943,13 +943,15 @@ ENTRY(__kvm_vcpu_run) // Guest context add x2, x0, #VCPU_CONTEXT + // We must restore the 32-bit state before the sysregs, thanks + // to Cortex-A57 erratum #852523. + restore_guest_32bit_state bl __restore_sysregs bl __restore_fpsimd skip_debug_state x3, 1f bl __restore_debug 1: - restore_guest_32bit_state restore_guest_regs // That's it, no more messing around. -- 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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 004/134] NFC: st21nfca: fix use of uninitialized variables in error path |
| Message-ID | <qd5Z2-4Gv-69@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christophe Ricard <christophe.ricard@gmail.com>
commit 5a3570061a131309143a49e4bbdbce7e23f261e7 upstream.
st21nfca_hci_load_session() calls kfree_skb() on unitialized
variables skb_pipe_info and skb_pipe_list if the call to
nfc_hci_connect_gate() failed. Reword the error path to not use
these variables when they are not initialized. While at it, there
seemed to be a memory leak because skb_pipe_info was only freed
once, after the for-loop, even though several ones were created
by nfc_hci_send_cmd.
Fixes: ec03ff1a8f9a
("NFC: st21nfca: Remove skb_pipe_list and skb_pipe_info
useless allocation")
Acked-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/nfc/st21nfca/st21nfca.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
--- a/drivers/nfc/st21nfca/st21nfca.c
+++ b/drivers/nfc/st21nfca/st21nfca.c
@@ -148,14 +148,14 @@ static int st21nfca_hci_load_session(str
ST21NFCA_DEVICE_MGNT_GATE,
ST21NFCA_DEVICE_MGNT_PIPE);
if (r < 0)
- goto free_info;
+ return r;
/* Get pipe list */
r = nfc_hci_send_cmd(hdev, ST21NFCA_DEVICE_MGNT_GATE,
ST21NFCA_DM_GETINFO, pipe_list, sizeof(pipe_list),
&skb_pipe_list);
if (r < 0)
- goto free_info;
+ return r;
/* Complete the existing gate_pipe table */
for (i = 0; i < skb_pipe_list->len; i++) {
@@ -181,6 +181,7 @@ static int st21nfca_hci_load_session(str
info->src_host_id != ST21NFCA_ESE_HOST_ID) {
pr_err("Unexpected apdu_reader pipe on host %x\n",
info->src_host_id);
+ kfree_skb(skb_pipe_info);
continue;
}
@@ -200,6 +201,7 @@ static int st21nfca_hci_load_session(str
hdev->pipes[st21nfca_gates[j].pipe].dest_host =
info->src_host_id;
}
+ kfree_skb(skb_pipe_info);
}
/*
@@ -214,13 +216,12 @@ static int st21nfca_hci_load_session(str
st21nfca_gates[i].gate,
st21nfca_gates[i].pipe);
if (r < 0)
- goto free_info;
+ goto free_list;
}
}
memcpy(hdev->init_data.gates, st21nfca_gates, sizeof(st21nfca_gates));
-free_info:
- kfree_skb(skb_pipe_info);
+free_list:
kfree_skb(skb_pipe_list);
return r;
}
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 037/134] arm64: KVM: Disable virtual timer even if the guest is not using it |
| Message-ID | <qd5Z2-4Gv-73@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know. ------------------ From: Marc Zyngier <marc.zyngier@arm.com> commit c4cbba9fa078f55d9f6d081dbb4aec7cf969e7c7 upstream. When running a guest with the architected timer disabled (with QEMU and the kernel_irqchip=off option, for example), it is important to make sure the timer gets turned off. Otherwise, the guest may try to enable it anyway, leading to a screaming HW interrupt. The fix is to unconditionally turn off the virtual timer on guest exit. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- arch/arm64/kvm/hyp.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/arch/arm64/kvm/hyp.S +++ b/arch/arm64/kvm/hyp.S @@ -840,8 +840,6 @@ mrs x3, cntv_ctl_el0 and x3, x3, #3 str w3, [x0, #VCPU_TIMER_CNTV_CTL] - bic x3, x3, #1 // Clear Enable - msr cntv_ctl_el0, x3 isb @@ -849,6 +847,9 @@ str x3, [x0, #VCPU_TIMER_CNTV_CVAL] 1: + // Disable the virtual timer + msr cntv_ctl_el0, xzr + // Allow physical timer/counter access for the host mrs x2, cnthctl_el2 orr x2, x2, #3 -- 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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 008/134] nfc: netlink: Add check on NFC_ATTR_VENDOR_DATA |
| Message-ID | <qd5Z2-4Gv-67@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christophe Ricard <christophe.ricard@gmail.com>
commit fe202fe95564023223ce1910c9e352f391abb1d5 upstream.
NFC_ATTR_VENDOR_DATA is an optional vendor_cmd argument.
The current code was potentially using a non existing argument
leading to potential catastrophic results.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
net/nfc/netlink.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/net/nfc/netlink.c
+++ b/net/nfc/netlink.c
@@ -1518,8 +1518,8 @@ static int nfc_genl_vendor_cmd(struct sk
if (!dev || !dev->vendor_cmds || !dev->n_vendor_cmds)
return -ENODEV;
- data = nla_data(info->attrs[NFC_ATTR_VENDOR_DATA]);
- if (data) {
+ if (info->attrs[NFC_ATTR_VENDOR_DATA]) {
+ data = nla_data(info->attrs[NFC_ATTR_VENDOR_DATA]);
data_len = nla_len(info->attrs[NFC_ATTR_VENDOR_DATA]);
if (data_len == 0)
return -EINVAL;
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 048/134] powerpc/pseries: Fix corrupted pdn list |
| Message-ID | <qd5Z2-4Gv-75@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Gavin Shan <gwshan@linux.vnet.ibm.com>
commit 590c7567a2895f939525ead57b0334c6d47986f0 upstream.
Commit cca87d30 ("powerpc/pci: Refactor pci_dn") introduced pdn
list for SRIOV VFs. It means the pdn is be put into the child list
of its parent pdn when the pdn is created. When doing PCI hot
unplugging on pSeries, the PCI device node as well as its pdn are
released through procfs entry "powerpc/ofdt". Some one else grabs
the memory chunk of the pdn and update it accordingly. At the same
time, the pdn is still tracked in the child list of parent pdn. It
leads to corrupted child list in the parent pdn.
This fixes above issue by removing the pdn from the child list of
its parent pdn when the device node is detached from the system.
Note the pdn is free'd when the device node is released if the
device node is dynamic one. Otherwise, the device node as well
as the pdn won't be released.
Fixes: cca87d30 ("powerpc/pci: Refactor pci_dn")
Reported-by: Santwana Samantray <santwana.samantray@in.ibm.com>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/powerpc/platforms/pseries/setup.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/arch/powerpc/platforms/pseries/setup.c
+++ b/arch/powerpc/platforms/pseries/setup.c
@@ -268,6 +268,11 @@ static int pci_dn_reconfig_notifier(stru
eeh_dev_init(PCI_DN(np), pci->phb);
}
break;
+ case OF_RECONFIG_DETACH_NODE:
+ pci = PCI_DN(np);
+ if (pci)
+ list_del(&pci->list);
+ break;
default:
err = NOTIFY_DONE;
break;
--
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-09-27 00:20 +0200 |
| Subject | [PATCH 4.2 059/134] powerpc/mm: Recompute hash value after a failed update |
| Message-ID | <qd5Z2-4Gv-79@gated-at.bofh.it> |
| In reply to | #1233564 |
4.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
commit 36b35d5d807b7e57aff7d08e63de8b17731ee211 upstream.
If we had secondary hash flag set, we ended up modifying hash value in
the updatepp code path. Hence with a failed updatepp we will be using
a wrong hash value for the following hash insert. Fix this by
recomputing hash before insert.
Without this patch we can end up with using wrong slot number in linux
pte. That can result in us missing an hash pte update or invalidate
which can cause memory corruption or even machine check.
Fixes: 6d492ecc6489 ("powerpc/THP: Add code to handle HPTE faults for hugepages")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/powerpc/mm/hugepage-hash64.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/arch/powerpc/mm/hugepage-hash64.c
+++ b/arch/powerpc/mm/hugepage-hash64.c
@@ -85,7 +85,6 @@ int __hash_page_thp(unsigned long ea, un
BUG_ON(index >= 4096);
vpn = hpt_vpn(ea, vsid, ssize);
- hash = hpt_hash(vpn, shift, ssize);
hpte_slot_array = get_hpte_slot_array(pmdp);
if (psize == MMU_PAGE_4K) {
/*
@@ -101,6 +100,7 @@ int __hash_page_thp(unsigned long ea, un
valid = hpte_valid(hpte_slot_array, index);
if (valid) {
/* update the hpte bits */
+ hash = hpt_hash(vpn, shift, ssize);
hidx = hpte_hash_index(hpte_slot_array, index);
if (hidx & _PTEIDX_SECONDARY)
hash = ~hash;
@@ -126,6 +126,7 @@ int __hash_page_thp(unsigned long ea, un
if (!valid) {
unsigned long hpte_group;
+ hash = hpt_hash(vpn, shift, ssize);
/* insert new entry */
pa = pmd_pfn(__pmd(old_pmd)) << PAGE_SHIFT;
new_pmd |= _PAGE_HASHPTE;
--
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