[PATCH 3.2 33/94] kvm/x86: Handle async PF in RCU read-side critical sections

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Boqun Feng commit b862789aa5186d5ea3a024b7cfe0f80c3a38b980 upstream. Sasha Levin reported a WARNING: | WARNING: CPU: 0 PID: 6974 at kernel/rcu/tree_plugin.h:329 | rcu_preempt_note_context_swit

[PATCH 3.2 61/94] can: esd_usb2: Fix can_dlc value for received RTR, frames

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Stefan Mätje commit 72d92e865d1560723e1957ee3f393688c49ca5bf upstream. The dlc member of the struct rx_msg contains also the ESD_RTR flag to mark received RTR frames. Without the fix the can_dl

[PATCH 3.2 32/94] KVM: Do not take reference to mm during async #PF

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Gleb Natapov commit 62c49cc976af84cb0ffcb5ec07ee88da1a94e222 upstream. It turned to be totally unneeded. The reason the code was introduced is so that KVM can prefault swapped in page, but pref

[PATCH 3.2 36/94] ALSA: usx2y: Suppress kernel warning at page allocation failures

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 7682e399485fe19622b6fd82510b1f4551e48a25 upstream. The usx2y driver allocates the stream read/write buffers in continuous pages depending on the stream setup, and this may s

[PATCH 3.2 66/94] ALSA: seq: Fix nested rwsem annotation for lockdep splat

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 1f20f9ff57ca23b9f5502fca85ce3977e8496cb1 upstream. syzkaller reported the lockdep splat due to the possible deadlock of grp->list_mutex of each sequencer client object. Act

[PATCH 3.2 58/94] scsi: zfcp: fix erp_action use-before-initialize in REC action trace

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit ab31fd0ce65ec93828b617123792c1bb7c6dcc42 upstream. v4.10 commit 6f2ce1c6af37 ("scsi: zfcp: fix rport unblock race with LUN recovery") extended accessing parent pointer fiel

[PATCH 3.2 46/94] more bio_map_user_iov() leak fixes

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058 upstream. we need to take care of failure exit as well - pages already in bio should be dropped by analogue of bio_unmap_pages(), since t

[PATCH 3.2 53/94] FS-Cache: fix dereference of NULL user_key_payload

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit d124b2c53c7bee6569d2a2d0b18b4a1afde00134 upstream. When the file /proc/fs/fscache/objects (available with CONFIG_FSCACHE_OBJECT_LIST=y) is opened, we request a user key with

[PATCH 3.2 52/94] KEYS: encrypted: fix dereference of NULL user_key_payload

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 13923d0865ca96312197962522e88bc0aedccd74 upstream. A key of type "encrypted" references a "master key" which is used to encrypt and decrypt the encrypted key's payload. How

[PATCH 3.2 70/94] KEYS: trusted: sanitize all key material

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit ee618b4619b72527aaed765f0f0b74072b281159 upstream. As the previous patch did for encrypted-keys, zero sensitive any potentially sensitive data related to the "trusted" key t

[PATCH 3.2 54/94] ecryptfs: fix dereference of NULL user_key_payload

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit f5c09ab489a11ca490d6a82df57cfc1bea3e upstream. In eCryptfs, we failed to verify that the authentication token keys are not revoked before dereferencing their payloads, w

[PATCH 3.2 55/94] iommu/amd: Finish TLB flush in amd_iommu_unmap()

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Joerg Roedel commit ce76353f169a6471542d999baf3d29b121dce9c0 upstream. The function only sends the flush command to the IOMMU(s), but does not wait for its completion when it returns. Fix that.

[PATCH 3.2 78/94] ARM: 8720/1: ensure dump_instr() checks addr_limit

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Mark Rutland commit b9dd05c7002ee0ca8b676428b2268c26399b5e31 upstream. When CONFIG_DEBUG_USER is enabled, it's possible for a user to deliberately trigger dump_instr() with a chosen kernel addr

[PATCH 3.2 92/94] crypto: salsa20 - fix blkcipher_walk API usage

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit ecaaab5649781c5a0effdaf298a925063020500e upstream. When asked to encrypt or decrypt 0 bytes, both the generic and x86 implementations of Salsa20 crash in blkcipher_walk_done

[PATCH 3.2 65/94] ALSA: timer: Add missing mutex lock for compat ioctls

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 79fb0518fec8c8b4ea7f1729f54f293724b3dbb0 upstream. The races among ioctl and other operations were protected by the commit af368027a49a ("ALSA: timer: Fix race among timer i

[PATCH 3.2 60/94] usb: quirks: add quirk for WORLDE MINI MIDI keyboard

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Felipe Balbi commit 2811501e6d8f5747d08f8e25b9ecf472d0dc4c7d upstream. This keyboard doesn't implement Get String descriptors properly even though string indexes are valid. What happens is that

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-28 Thread vcaputo
On Thu, Dec 28, 2017 at 11:41:45AM +0100, Thomas Gleixner wrote: > On Sun, 24 Dec 2017, vcap...@pengaru.com wrote: > > On Sat, Dec 23, 2017 at 09:33:37PM +0100, Thomas Gleixner wrote: > > > > It seems like the affinity changes are assuming a strict adherence to > > > > the CPU mask when the underly

[PATCH 3.2 62/94] ipsec: Fix aborted xfrm policy dump crash

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 1137b5e2529a8f5ca8ee709288ecba3e68044df2 upstream. This is a fix for CVE-2017-16939 suitable for older stable branches. The upstream fix is commit 1137b5e2529a8f5ca8ee70928

[PATCH 3.2 86/94] Bluetooth: bnep: bnep_add_connection() should verify that it's dealing with l2cap socket

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 71bb99a02b32b4cc4265118e85f6035ca72923f0 upstream. same story as cmtp Signed-off-by: Al Viro Signed-off-by: Marcel Holtmann [bwh: Backported to 3.2: adjust context] Signed-off

[PATCH 3.2 91/94] KVM: Fix stack-out-of-bounds read in write_mmio

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Wanpeng Li commit e39d200fa5bf5b94a0948db0dae44c1b73b84a56 upstream. Reported by syzkaller: BUG: KASAN: stack-out-of-bounds in write_mmio+0x11e/0x270 [kvm] Read of size 8 at addr 88032

[PATCH 3.2 71/94] KEYS: trusted: fix writing past end of buffer in trusted_read()

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit a3c812f7cfd80cf51e8f5b7034f7418f6beb56c1 upstream. When calling keyctl_read() on a key of type "trusted", if the user-supplied buffer was too small, the kernel ignored the b

[PATCH 3.2 77/94] ALSA: timer: Limit max instances per timer

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 9b7d869ee5a77ed4a462372bb89af622e705bfb8 upstream. Currently we allow unlimited number of timer instances, and it may bring the system hogging way too much CPU when too many

[PATCH 3.2 80/94] ALSA: seq: Fix OSS sysex delivery in OSS emulation

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 132d358b183ac6ad8b3fea32ad5e0663456d18d1 upstream. The SYSEX event delivery in OSS sequencer emulation assumed that the event is encoded in the variable-length data with the

[PATCH 3.2 13/94] crypto: talitos - fix sha224

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: LEROY Christophe commit afd62fa26343be6445479e75de9f07092a061459 upstream. Kernel crypto tests report the following error at startup [2.752626] alg: hash: Test 4 failed for sha224-talitos

Re: [PATCH net-next 1/6] phy: add 2.5G SGMII mode to the phy_mode enum

2017-12-28 Thread Antoine Tenart
Hi Florian, On Thu, Dec 28, 2017 at 06:16:51AM -0800, Florian Fainelli wrote: > > And since you are respinning, please make sure you update phy_modes() in > the same header file as well as > Documentation/devicetree/bindings/net/ethernet.txt with the newly added > PHY interface mode. You're righ

[PATCH 3.2 93/94] crypto: hmac - require that the underlying hash algorithm is unkeyed

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1 upstream. Because the HMAC template didn't check that its underlying hash algorithm is unkeyed, trying to use "hmac(hmac(sha3-512-ge

[PATCH 3.2 84/94] Bluetooth: hidp: verify l2cap sockets

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: David Herrmann commit b3916db32c4a3124eee9f3742a2f4723731d7602 upstream. We need to verify that the given sockets actually are l2cap sockets. If they aren't, we are not supposed to access bt_sk

[PATCH 3.2 16/94] usb: gadget: fix spinlock dead lock in gadgetfs

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Bin Liu commit d246dcb2331c5783743720e6510892eb1d2801d9 upstream. [ 40.467381] = [ 40.473013] [ INFO: possible recursive locking detected ] [ 4

[PATCH 3.2 87/94] USB: core: prevent malicious bNumInterfaces overflow

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 48a4ff1c7bb5a32d2e396b03132d20d552c0eca7 upstream. A malicious USB device with crafted descriptors can cause the kernel to access unallocated memory by setting the bNumInterfa

[PATCH 3.2 76/94] ALSA: timer: Protect the whole snd_timer_close() with open race

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 9984d1b5835ca29fc7025186a891ee7398d21cc7 upstream. In order to make the open/close more robust, widen the register_mutex protection over the whole snd_timer_close() function

[PATCH 3.2 79/94] ALSA: seq: Avoid invalid lockdep class warning

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 3510c7aa069aa83a2de6dab2b41401a198317bdc upstream. The recent fix for adding rwsem nesting annotation was using the given "hop" argument as the lock subclass key. Although

[PATCH 3.2 90/94] ptrace: change __ptrace_unlink() to clear ->ptrace under ->siglock

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 1333ab03150478df8d6f5673a91df1e50dc6ab97 upstream. This test-case (simplified version of generated by syzkaller) #include #include #include

[PATCH 3.2 88/94] KVM: VMX: remove I/O port 0x80 bypass on Intel hosts

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrew Honig commit d59d51f088014f25c2562de59b9abff4f42a7468 upstream. This fixes CVE-2017-1000407. KVM allows guests to directly access I/O port 0x80 on Intel hosts. If the guest floods this

[PATCH 3.2 85/94] Bluetooth: cmtp: cmtp_add_connection() should verify that it's dealing with l2cap socket

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 96c26653ce65bf84f3212f8b00d4316c1efcbf4c upstream. ... rather than relying on ciptool(8) never passing it anything else. Give it e.g. an AF_UNIX connected socket (from socketpai

[PATCH 3.2 94/94] KEYS: add missing permission check for request_key() destination

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 4dca6ea1d9432052afb06baf2e3ae78188a4410b upstream. When the request_key() syscall is not passed a destination keyring, it links the requested key (if constructed) into the "

[PATCH 3.2 18/94] USB: gadgetfs: Fix crash caused by inadequate synchronization

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 520b72fc64debf8a86c3853b8e486aa5982188f0 upstream. The gadgetfs driver (drivers/usb/gadget/legacy/inode.c) was written before the UDC and composite frameworks were adopted; it

[PATCH 3.2 89/94] security: Fix mode test in selinux_ptrace_access_check()

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings Commit 1c8d42255f4c "ptrace: use fsuid, fsgid, effective creds for fs access checks" added flags to the ptrace mode which need to be ignored here. This change was made upstream in

Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the fourth network interface

2017-12-28 Thread Antoine Tenart
Hi Florian, On Thu, Dec 28, 2017 at 07:02:09AM -0800, Florian Fainelli wrote: > On 12/28/2017 02:05 AM, Antoine Tenart wrote: > > On Thu, Dec 28, 2017 at 08:46:23AM +0100, Andrew Lunn wrote: > >> On Wed, Dec 27, 2017 at 10:24:01PM +, Russell King - ARM Linux wrote: > >>> On Wed, Dec 27, 2017 a

[PATCH 3.2 03/94] scsi: lpfc: Don't return internal MBXERR_ERROR code from probe function

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio commit 5c756065e47dc3e84b00577bd109f0a8e69903d7 upstream. Internal error codes happen to be positive, thus the PCI driver core won't treat them as failure, but we do. This would

[PATCH 3.2 19/94] KEYS: fix cred refcount leak in request_key_auth_new()

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 44d8143340a99b167c74365e844516b73523c087 upstream. In request_key_auth_new(), if key_alloc() or key_instantiate_and_link() were to fail, we would leak a reference to the 'st

[PATCH 3.2 00/94] 3.2.97-rc1 review

2017-12-28 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.97 release. There are 94 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Mon Jan 1 17:00:00 UTC 2018. Anything receiv

[PATCH 3.2 12/94] USB: serial: cp210x: add support for ELV TFD500

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Andreas Engel commit c496ad835c31ad639b6865714270b3003df031f6 upstream. Add the USB device id for the ELV TFD500 data logger. Signed-off-by: Andreas Engel Signed-off-by: Johan Hovold Signed-

[PATCH 3.2 17/94] USB: gadgetfs: fix copy_to_user while holding spinlock

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 6e76c01e71551cb221c1f3deacb9dcd9a7346784 upstream. The gadgetfs driver as a long-outstanding FIXME, regarding a call of copy_to_user() made while holding a spinlock. This pat

[PATCH 3.2 09/94] xhci: fix finding correct bus_state structure for USB 3.1 hosts

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 5a838a13c9b4e5dd188b7a6eaeb894e9358ead0c upstream. xhci driver keeps a bus_state structure for each hcd (usb2 and usb3) The structure is picked based on hcd speed, but dri

[PATCH 3.2 15/94] usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 113f6eb6d50cfa5e2a1cdcf1678b12661fa272ab upstream. Kris Lindgren reports that without the NO_WP_DETECT flag, his Seagate external disk drive fails all write accesses. This re

[PATCH 3.2 14/94] Input: uinput - avoid FF flush when destroying device

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit e8b95728f724797f958912fd9b765a695595d3a6 upstream. Normally, when input device supporting force feedback effects is being destroyed, we try to "flush" currently playing e

[PATCH 3.2 10/94] usb: pci-quirks.c: Corrected timeout values used in handshake

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Jim Dickerson commit 114ec3a6f9096d211a4aff4277793ba969a62c73 upstream. Servers were emitting failed handoff messages but were not waiting the full 1 second as designated in section 4.22.1 of t

Re: rtc: sysfs: move sysfs interface to Documentation/ABI

2017-12-28 Thread Ozgur
28.12.2017, 18:00, "Aishwarya Pant" : > On Thu, Dec 28, 2017 at 05:23:33PM +0300, Ozgur wrote: >>  28.12.2017, 17:22, "Ozgur" : >>  > 28.12.2017, 16:31, "Aishwarya Pant" : >>  >>  Hi >> >>   Hello, >> >>  >>  In Documentation/rtc.txt, there is a description of the sysfs >>  >>  interface which co

[PATCH 3.2 05/94] USB: serial: option: add support for TP-Link LTE module

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Henryk Heisig commit 837ddc4793a69b256ac5e781a5e729b448a8d983 upstream. This commit adds support for TP-Link LTE mPCIe module is used in in TP-Link MR200v1, MR6400v1 and v2 routers. Signed-off

[PATCH 3.2 01/94] tile: array underflow in setup_maxnodemem()

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 637f23abca87d26e091e0d6647ec878d97d2c6cd upstream. My static checker correctly complains that we should have a lower bound on "node" to prevent an array underflow. Fixes:

[PATCH 3.2 02/94] spi: uapi: spidev: add missing ioctl header

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Baruch Siach commit a2b4a79b88b24c49d98d45a06a014ffd22ada1a4 upstream. The SPI_IOC_MESSAGE() macro references _IOC_SIZEBITS. Add linux/ioctl.h to make sure this macro is defined. This fixes the

[PATCH 3.2 11/94] s390/mm: fix write access check in gup_huge_pmd()

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit ba385c0594e723d41790ecfb12c610e6f90c7785 upstream. The check for the _SEGMENT_ENTRY_PROTECT bit in gup_huge_pmd() is the wrong way around. It must not be set for write==1

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > No; it seems to be tied to this specific issue, and I was seeing even > before getting logs just now, whenever I'd start one of the bad > kernels in recovery mode. > > But no, I've never seen that in any other logs, or on any other > screens outs

[PATCH 3.2 04/94] USB: serial: ftdi_sio: add id for Cypress WICED dev board

2017-12-28 Thread Ben Hutchings
3.2.97-rc1 review patch. If anyone has any objections, please let me know. -- From: Jeffrey Chu commit a6c215e21b0dc5fe9416dce90f9acc2ea53c4502 upstream. Add CYPRESS_VID vid and CYPRESS_WICED_BT_USB and CYPRESS_WICED_WL_USB device IDs to ftdi_sio driver. Signed-off-by: Jeffre

Re: WARNING in strp_data_ready

2017-12-28 Thread Dmitry Vyukov
On Thu, Dec 28, 2017 at 7:21 PM, Ozgur wrote: > > > 28.12.2017, 19:33, "Dmitry Vyukov" : >> On Thu, Dec 28, 2017 at 5:14 PM, Tom Herbert wrote: >>> On Thu, Dec 28, 2017 at 12:59 AM, Ozgur wrote: 28.12.2017, 04:19, "Tom Herbert" : > On Wed, Dec 27, 2017 at 12:20 PM, Ozgur wrote:

Re: [PATCH v4 02/15] clk: ingenic: Fix recalc_rate for clocks with fixed divider

2017-12-28 Thread Stephen Boyd
On 12/28, Paul Cercueil wrote: > Previously, the clocks with a fixed divider would report their rate > as being the same as the one of their parent, independently of the > divider in use. This commit fixes this behaviour. > > This went unnoticed as neither the jz4740 nor the jz4780 CGU code > have

Re: [PATCH v4 03/15] clk: ingenic: support PLLs with no bypass bit

2017-12-28 Thread Stephen Boyd
On 12/28, Paul Cercueil wrote: > The second PLL of the JZ4770 does not have a bypass bit. > This commit makes it possible to support it with the current common CGU > code. > > Signed-off-by: Paul Cercueil > --- Acked-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aur

Re: [PATCH v4 05/15] dt-bindings: clock: Add jz4770-cgu.h header

2017-12-28 Thread Stephen Boyd
On 12/28, Paul Cercueil wrote: > This will be used from the devicetree bindings to specify the clocks > that should be obtained from the jz4770-cgu driver. > > Signed-off-by: Paul Cercueil > --- Acked-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Lin

Re: [PATCH 2/3] watchdog: Change ISA_BUS_API dependency to selection

2017-12-28 Thread Guenter Roeck
On 12/28/2017 08:02 AM, William Breathitt Gray wrote: The ISA_BUS_API Kconfig option enables the compilation of the ISA bus driver. The ISA bus driver does not perform any hardware interaction, and is instead just a thin layer of software abstraction to eliminate boilerplate code common to ISA-st

Re: [PATCH 1/7] watchdog: JZ4740: Disable clock after stopping counter

2017-12-28 Thread Guenter Roeck
On 12/28/2017 08:29 AM, Paul Cercueil wrote: Previously, the clock was disabled first, which makes the watchdog component insensitive to register writes. Signed-off-by: Paul Cercueil Reviewed-by: Guenter Roeck --- drivers/watchdog/jz4740_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [PATCH v4 06/15] clk: Add Ingenic jz4770 CGU driver

2017-12-28 Thread Stephen Boyd
On 12/28, Paul Cercueil wrote: > Add support for the clocks provided by the CGU in the Ingenic JZ4770 > SoC. > > Signed-off-by: Paul Cercueil > Signed-off-by: Maarten ter Huurne > --- Acked-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundat

Re: [PATCH v4 04/15] clk: ingenic: Add code to enable/disable PLLs

2017-12-28 Thread Stephen Boyd
On 12/28, Paul Cercueil wrote: > This commit permits the PLLs to be dynamically enabled and disabled when > their children clocks are enabled and disabled. > > Signed-off-by: Paul Cercueil > --- Acked-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Lin

Re: [PATCH 2/7] watchdog: jz4740: Use devm_* functions

2017-12-28 Thread Guenter Roeck
On 12/28/2017 08:29 AM, Paul Cercueil wrote: - Use devm_clk_get instead of clk_get - Use devm_watchdog_register_device instead of watchdog_register_device Signed-off-by: Paul Cercueil Reviewed-by: Guenter Roeck [ the change I suggested earlier should be made in a separate patch ] --- dr

Re: [PATCH 3/7] watchdog: JZ4740: Register a restart handler

2017-12-28 Thread Guenter Roeck
On 12/28/2017 08:29 AM, Paul Cercueil wrote: The watchdog driver can restart the system by simply configuring the hardware for a timeout of 0 seconds. Signed-off-by: Paul Cercueil Reviewed-by: Guenter Roeck --- drivers/watchdog/jz4740_wdt.c | 9 + 1 file changed, 9 insertions(+)

Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the fourth network interface

2017-12-28 Thread Russell King - ARM Linux
On Thu, Dec 28, 2017 at 07:27:39PM +0100, Antoine Tenart wrote: > Hi Florian, > > On Thu, Dec 28, 2017 at 07:02:09AM -0800, Florian Fainelli wrote: > > On 12/28/2017 02:05 AM, Antoine Tenart wrote: > > > On Thu, Dec 28, 2017 at 08:46:23AM +0100, Andrew Lunn wrote: > > >> On Wed, Dec 27, 2017 at 10

Re: niced tasks on SMT system

2017-12-28 Thread Pavel Machek
Hi! > > Ok, so I'm compiling, and I'd like to run a flight simulator. > > > > Flightgear normally does 20fps on my system... kinda low but playable. > > > > I have reniced make -j 5 fo kernel running. Scheduler gives 100% of > > one of CPUs to Flightgear (good), but the smt sibling is used by th

Re: [PATCH 1/3] mtd: spi-nor: add optional DMA-safe bounce buffer for data transfer

2017-12-28 Thread Trent Piepho
On Thu, 2017-12-28 at 11:39 +0100, Cyrille Pitchen wrote: > Le 26/12/2017 à 20:43, Trent Piepho a écrit : > > On Sun, 2017-12-24 at 05:36 +0100, Cyrille Pitchen wrote: > > > > > > Then the patch adds two hardware capabilities for SPI flash controllers, > > > SNOR_HWCAPS_WR_BOUNCE and SNOR_HWCAPS_R

Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the fourth network interface

2017-12-28 Thread Russell King - ARM Linux
On Thu, Dec 28, 2017 at 11:04:16AM +0100, Antoine Tenart wrote: > Hi Russell, > > On Wed, Dec 27, 2017 at 11:20:00PM +, Russell King - ARM Linux wrote: > > On Wed, Dec 27, 2017 at 11:42:52PM +0100, Antoine Tenart wrote: > > > > > > What do you suggest to describe this in the dt, to enable a p

RE: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Dexuan Cui
> From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Thursday, December 28, 2017 03:03 > > > On Wed, Dec 20, 2017 at 02:12:05AM +, Dexuan Cui wrote: > > > > For Linux VM running on Hyper-V, we did get "spurious APIC interrupt > > > through vector " and a patchset, which included the pat

Re: niced tasks on SMT system

2017-12-28 Thread Ozgur
28.12.2017, 21:54, "Pavel Machek" : > Hi! > >>  > Ok, so I'm compiling, and I'd like to run a flight simulator. >>  > >>  > Flightgear normally does 20fps on my system... kinda low but playable. >>  > >>  > I have reniced make -j 5 fo kernel running. Scheduler gives 100% of >>  > one of CPUs to F

Re: [PATCH v3 03/16] iommu: introduce iommu invalidate API function

2017-12-28 Thread Jacob Pan
On Fri, 24 Nov 2017 12:04:31 + Jean-Philippe Brucker wrote: > Hi, > > On 17/11/17 18:55, Jacob Pan wrote: > > From: "Liu, Yi L" > > > > When an SVM capable device is assigned to a guest, the first level > > page tables are owned by the guest and the guest PASID table > > pointer is linked

Re: [PATCH 3.16 000/204] 3.16.52-rc1 review

2017-12-28 Thread Guenter Roeck
On 12/28/2017 09:05 AM, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.16.52 release. There are 204 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 3.2 00/94] 3.2.97-rc1 review

2017-12-28 Thread Guenter Roeck
On 12/28/2017 08:59 AM, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.2.97 release. There are 94 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made b

Re: [Regression 4.15] Can't kill CONFIG_UNWINDER_ORC with fire or plague.

2017-12-28 Thread Randy Dunlap
On 12/25/2017 08:30 PM, Paul Gortmaker wrote: > There is a regression new to 4.15 that happens in a rather common > workflow which results in the frustrating situation where the user has > clearly disabled UNWINDER_ORC in their ".config" file, and yet they > still get the immediate false error sayi

Re: IRQ behaivour has been changed from v4.14 to v4.15-rc1

2017-12-28 Thread Andy Shevchenko
On Thu, 2017-12-28 at 18:44 +0100, Thomas Gleixner wrote: > On Thu, 28 Dec 2017, Andy Shevchenko wrote: > > On Thu, 2017-12-28 at 18:21 +0100, Thomas Gleixner wrote: > > > > [ 85.167061] spurious APIC interrupt through vector ff on > > > > CPU#0, > > > > should never happen. > > > > [ 85.199886

Re: [PATCH v3 1/9] ufs: sysfs: device descriptor

2017-12-28 Thread Jaegeuk Kim
On 12/28, Stanislav Nijnikov wrote: > This patch introduces a sysfs group entry for the UFS device descriptor > parameters. The group adds "device_descriptor" folder under the UFS driver > sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown > as hexadecimal numbers. The full

Re: IRQ behaivour has been changed from v4.14 to v4.15-rc1

2017-12-28 Thread Andy Shevchenko
On Thu, 2017-12-28 at 21:31 +0200, Andy Shevchenko wrote: > Anything I missed? Perhaps I could bisect, though it's not so trivial in this case, when I have a little more time. I guess it might take up to ~16 steps. If you can point to more narrow range, it would be great. -- Andy Shevchenko In

Re: [PATCH v3 4/9] ufs: sysfs: health descriptor

2017-12-28 Thread Jaegeuk Kim
On 12/28, Stanislav Nijnikov wrote: > This patch introduces a sysfs group entry for the UFS health descriptor > parameters. The group adds "health_descriptor" folder under the UFS driver > sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown > as hexadecimal numbers. The full

Re: [PATCH v3 9/9] ufs: sysfs: attributes

2017-12-28 Thread Jaegeuk Kim
On 12/28, Stanislav Nijnikov wrote: > This patch introduces a sysfs group entry for the UFS attributes. The > group adds "attributes" folder under the UFS driver sysfs entry > (/sys/bus/platform/drivers/ufshcd/*). The attributes are shown > as hexadecimal numbers. The full information about the att

Re: [PATCH 2/7] watchdog: jz4740: Use devm_* functions

2017-12-28 Thread Paul Cercueil
Hi Guenter, Le jeu. 28 déc. 2017 à 18:48, Guenter Roeck a écrit : On 12/28/2017 08:29 AM, Paul Cercueil wrote: - Use devm_clk_get instead of clk_get - Use devm_watchdog_register_device instead of watchdog_register_device Signed-off-by: Paul Cercueil --- drivers/watchdog/jz4740_wdt.c | 2

[PATCH v6 0/6] TDA1997x HDMI video receiver

2017-12-28 Thread Tim Harvey
This is a v4l2 subdev driver supporting the TDA1997x HDMI video receiver. I've tested this on a Gateworks GW54xx/GW551x with an IMX6Q/IMX6DL which uses the TDA19971 with 16bits connected to the IMX6 CSI and single-lane I2S audio providing 2-channel audio. For this configuration I've tested both 1

[PATCH v6 5/6] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW54xx

2017-12-28 Thread Tim Harvey
The GW54xx has a front-panel microHDMI connector routed to a TDA19971 which is connected the the IPU CSI when using IMX6Q. Cc: Shawn Guo Signed-off-by: Tim Harvey --- v6: no changes v5: - remove leading 0 from unit address (Shawn) - add newline between property list and child node (Shawn) v4:

[PATCH v6 2/6] MAINTAINERS: add entry for NXP TDA1997x driver

2017-12-28 Thread Tim Harvey
Signed-off-by: Tim Harvey --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa71ab52f..502bc97 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13244,6 +13244,14 @@ T: git git://linuxtv.org/mkrufky/tuners.git S: Maintained F: d

[PATCH v6 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2017-12-28 Thread Tim Harvey
Add support for the TDA1997x HDMI receivers. Cc: Hans Verkuil Signed-off-by: Tim Harvey --- v6: - fix return on regulator enablei in tda1997x_set_power() (Fabio) - replace copyright with SPDX tag (Philippe) - fix colorspace handling (Hans) v5: - uppercase string constants - use v4l2_hdmi_r

[PATCH v6 6/6] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW551x

2017-12-28 Thread Tim Harvey
Cc: Shawn Guo Signed-off-by: Tim Harvey --- v6: no changes v5: - add missing audmux config --- arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 138 ++ 1 file changed, 138 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw551x.dtsi b/arch/arm/boot/dts/imx6qdl-gw551

[PATCH v6 3/6] media: dt-bindings: Add bindings for TDA1997X

2017-12-28 Thread Tim Harvey
Acked-by: Rob Herring Acked-by: Sakari Ailus Signed-off-by: Tim Harvey --- v6: - replace copyright with SPDX tag (Philippe) - added Rob's ack (Rob) v5: - added Sakari's ack v4: - move include/dt-bindings/media/tda1997x.h to bindings patch - clarify port node details v3: - fix typo v2:

Re: [PATCH 2/2 v4] scsi: ufs: introduce sysfs entries exposing UFS health info

2017-12-28 Thread Jaegeuk Kim
On 12/27, Greg Kroah-Hartman wrote: > On Wed, Dec 27, 2017 at 09:00:10AM +, Avri Altman wrote: > > > > > > > -Original Message- > > > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > > > ow...@vger.kernel.org] On Behalf Of Greg Kroah-Hartman > > > Sent: Thursday, December

[PATCH v6 1/6] v4l2-dv-timings: add v4l2_hdmi_colorimetry()

2017-12-28 Thread Tim Harvey
From: Hans Verkuil Add the v4l2_hdmi_colorimetry() function so we have a single function that determines the colorspace, YCbCr encoding, quantization range and transfer function from the InfoFrame data. Signed-off-by: Hans Verkuil Signed-off-by: Tim Harvey --- drivers/media/v4l2-core/v4l2-dv-

RE: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Dexuan Cui wrote: > > From: Thomas Gleixner [mailto:t...@linutronix.de] > > Sent: Thursday, December 28, 2017 03:03 > > > > On Wed, Dec 20, 2017 at 02:12:05AM +, Dexuan Cui wrote: > > > > > > For Linux VM running on Hyper-V, we did get "spurious APIC interrupt > > > > thr

Re: [PATCH 2/2] usb: quirks: Add reset-resume quirk for Dell DW1820 QCA Rome Bluetooth

2017-12-28 Thread Marcel Holtmann
Hi Kai-Heng, > Commit ("fd865802c66bc451dc515ed89360f84376ce1a56 Bluetooth: btusb: fix > QCA Rome suspend/resume") enables reset_resume in btusb_probe(). This > makes the device resets during btusb_open(), firmware loading gets > interrupted as a result. > > We still want to reset the device to s

Re: IRQ behaivour has been changed from v4.14 to v4.15-rc1

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Andy Shevchenko wrote: > On Thu, 2017-12-28 at 18:44 +0100, Thomas Gleixner wrote: > > On Thu, 28 Dec 2017, Andy Shevchenko wrote: > > > On Thu, 2017-12-28 at 18:21 +0100, Thomas Gleixner wrote: > > > > > [ 85.167061] spurious APIC interrupt through vector ff on > > > > > CPU

Re: [PATCH 2/7] watchdog: jz4740: Use devm_* functions

2017-12-28 Thread Guenter Roeck
On 12/28/2017 11:59 AM, Paul Cercueil wrote: Hi Guenter, Le jeu. 28 déc. 2017 à 18:48, Guenter Roeck a écrit : On 12/28/2017 08:29 AM, Paul Cercueil wrote: - Use devm_clk_get instead of clk_get - Use devm_watchdog_register_device instead of watchdog_register_device Signed-off-by: Paul Cercue

[BUG] sun8i-a83t-bananapi-m3: Ethernet unstable since d7c5f6863550 ("ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 regulator nodes")

2017-12-28 Thread Corentin Labbe
Hello Since d7c5f6863550 ("ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 regulator nodes"), my BPIM3 does not have stable ethernet. from 50% to 100% packet loss. According to the logs (below), vcc-ephy is disabled during boot With the following hack, https://paste.pound-python.org/show/6BlmwcE

Re: [PATCH 2/7] watchdog: jz4740: Use devm_* functions

2017-12-28 Thread Paul Cercueil
Le jeu. 28 déc. 2017 à 21:19, Guenter Roeck a écrit : On 12/28/2017 11:59 AM, Paul Cercueil wrote: Hi Guenter, Le jeu. 28 déc. 2017 à 18:48, Guenter Roeck a écrit : On 12/28/2017 08:29 AM, Paul Cercueil wrote: - Use devm_clk_get instead of clk_get - Use devm_watchdog_register_device ins

Re: v4.15: camera problems on n900

2017-12-28 Thread Pavel Machek
On Wed 2017-12-27 23:17:19, Sakari Ailus wrote: > On Wed, Dec 27, 2017 at 10:05:43PM +0100, Pavel Machek wrote: > > Hi! > > > > In v4.14, back camera on N900 works. On v4.15-rc1.. it works for few > > seconds, but then I get repeated oopses. > > > > On v4.15-rc0.5 (commit ed30b147e1f6e396e70a52db

[PATCH 0/2] PCMCIA-rsrc_nonstatic: Adjustments for two function implementations

2017-12-28 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 28 Dec 2017 21:26:54 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an error message for a failed memory allocation in two functions Improve a size determination in three functions drivers/pc

[PATCH 1/2] pcmcia/rsrc_nonstatic: Delete an error message for a failed memory allocation in two functions

2017-12-28 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 28 Dec 2017 21:00:13 +0100 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/pcmcia/rsrc_nonstatic.c | 10 -- 1 file changed, 4 i

Re: [PATCH 0/4] Sunxi: Add SMP support on A83T

2017-12-28 Thread Corentin Labbe
On Wed, Dec 27, 2017 at 04:07:29PM +0100, Mylene JOSSERAND wrote: > Hello Corentin, > > Le Fri, 15 Dec 2017 07:10:46 +0100, > Corentin Labbe a écrit : > > On Tue, Dec 12, 2017 at 09:24:25AM +0100, Maxime Ripard wrote: > > > Hi, > > > > > > On Mon, Dec 11, 2017 at 08:35:34PM +0100, Corentin Labbe

[PATCH 2/2] pcmcia/rsrc_nonstatic: Improve a size determination in three functions

2017-12-28 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 28 Dec 2017 21:07:39 +0100 Replace the specification of data structures by variable references as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was detect

[GIT pull] x86/pti: The real thing

2017-12-28 Thread Thomas Gleixner
Linus, please pull the latest x86-pti-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus This is the final set of enabling page table isolation on x86: - Infrastructure patches for handling the extra page tables. - Patches which map the

<    1   2   3   4   5   6   7   8   9   >