[PATCH 4.4 43/63] net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tobias Jordan [ Upstream commit 589bf32f09852041fbd3b7ce1a9e703f95c230ba ] add appropriate calls to clk_disable_unprepare() by jumping to out_mdio in case

[PATCH 4.9 13/75] ALSA: hda - fix headset mic detection issue on a Dell machine

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 285d5ddcffafa5d5e68c586f4c9eaa8b24a2897d upstream. It has the codec alc256, and add its pin definition to pin quirk table to let it apply

[PATCH 4.9 16/75] x86/mm: Make flush_tlb_mm_range() more predictable

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit ce27374fabf553153c3f53efcaa9bfab9216bd8c upstream. I'm about to rewrite the function almost completely, but first I want to get a functional change out

[PATCH 4.9 12/75] ALSA: hda: Drop useless WARN_ON()

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit a36c2638380c0a4676647a1f553b70b20d3ebce1 upstream. Since the commit 97cc2ed27e5a ("ALSA: hda - Fix yet another i915 pointer leftover in error path") cleared

Re: About the try to remove cross-release feature entirely by Ingo

2018-01-01 Thread Theodore Ts'o
On Mon, Jan 01, 2018 at 02:18:55AM -0800, Matthew Wilcox wrote: > > Clarification: all TCP connections that are used by kernel code would > > need to be in their own separate lock class. All TCP connections used > > only by userspace could be in their own shared lock class. You can't > > use a

[PATCH] bonding: Delete an error message for a failed memory allocation in bond_update_slave_arr()

2018-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 1 Jan 2018 17:00:04 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH 2/2] Documentation: rtc: move iotcl interface documentation to ABI

2018-01-01 Thread Aishwarya Pant
The ioctl interface should be in Documentation/ABI along with the rest of the interfaces. Signed-off-by: Aishwarya Pant --- Documentation/ABI/testing/rtc-cdev | 42 Documentation/rtc.txt | 49

[PATCH 1/2] benet: Delete an error message for a failed memory allocation in be_alloc_work()

2018-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 1 Jan 2018 18:38:06 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH 0/2] benet: Adjustments for two function implementations

2018-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 1 Jan 2018 18:50:05 +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 be_alloc_work() Delete an unnecessary

Re: [PATCH 01/33] clk_ops: change round_rate() to return unsigned long

2018-01-01 Thread kbuild test robot
: https://github.com/0day-ci/linux/commits/Bryan-O-Donoghue/change-clk_ops-round_rate-to-scale-past-LONG_MAX/20180101-212907 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make

Re: [PATCH] capabilities: fix buffer overread on very short xattr

2018-01-01 Thread Serge E. Hallyn
Quoting Eric Biggers (ebigge...@gmail.com): > From: Eric Biggers > > If userspace attempted to set a "security.capability" xattr shorter than > 4 bytes (e.g. 'setfattr -n security.capability -v x file'), then > cap_convert_nscap() read past the end of the buffer containing

Re: nouveau. swiotlb: coherent allocation failed for device 0000:01:00.0 size=2097152

2018-01-01 Thread Ilia Mirkin
On Sun, Dec 31, 2017 at 3:53 PM, Mike Galbraith wrote: > On Sun, 2017-12-31 at 13:27 -0500, Ilia Mirkin wrote: >> On Tue, Dec 19, 2017 at 8:45 AM, Christian König >> wrote: >> > Am 19.12.2017 um 11:39 schrieb Michel Dänzer: >> >> >> >> On

Re: [PATCH v3] watchdog: imx2_wdt: restore previous timeout after suspend+resume

2018-01-01 Thread Guenter Roeck
On 01/01/2018 09:26 AM, Martin Kaiser wrote: When the watchdog device is suspended, its timeout is set to the maximum value. During resume, the previously set timeout should be restored. This does not work at the moment. The suspend function calls imx2_wdt_set_timeout(wdog, IMX2_WDT_MAX_TIME);

[PATCH] net: hns: Delete an error message for a failed memory allocation in hns_rcb_common_get_cfg()

2018-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 1 Jan 2018 19:11:46 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: thermal/drivers/hisi: Remove bogus const from function return type

2018-01-01 Thread Eduardo Valentin
Hello Geert, On Sun, Nov 19, 2017 at 12:04:27PM +0100, Geert Uytterhoeven wrote: > With gcc-4.1.2: > > drivers/thermal/hisi_thermal.c: In function ‘hisi_thermal_probe’: > drivers/thermal/hisi_thermal.c:530: warning: type qualifiers ignored on > function return type > > Remove the

Re: [PATCHv3 resend] uapi libc compat: add fallback for unsupported libcs

2018-01-01 Thread Hauke Mehrtens
On 12/03/2017 12:28 PM, Dmitry V. Levin wrote: > Hi, > > On Sun, Nov 12, 2017 at 01:30:17PM -0500, Felix Janda wrote: >> libc-compat.h aims to prevent symbol collisions between uapi and libc >> headers for each supported libc. This requires continuous coordination >> between them. >> >> The goal

[PATCH v4] uapi libc compat: add fallback for unsupported libcs

2018-01-01 Thread Hauke Mehrtens
From: Felix Janda libc-compat.h aims to prevent symbol collisions between uapi and libc headers for each supported libc. This requires continuous coordination between them. The goal of this commit is to improve the situation for libcs (such as musl) which are not yet

Re: [PATCH v1 01/15] ASoC: fsl_ssi: Clean up set_dai_tdm_slot()

2018-01-01 Thread Maciej S. Szmigiero
On 19.12.2017 18:00, Nicolin Chen wrote: > This patch replaces the register read with ssi->i2s_net for > simplification. It also removes masking SSIEN from scr value > since it's handled later by regmap_update_bits() to set this > scr value back. > > Signed-off-by: Nicolin Chen

linux-next: build warning after merge of the tpmdd tree

2018-01-01 Thread Stephen Rothwell
Hi Jarkko, After merging the tpmdd tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/char/tpm/tpm_tis.c: In function 'tpm_tis_pnp_remove': drivers/char/tpm/tpm_tis.c:274:23: warning: unused variable 'priv' [-Wunused-variable] struct tpm_tis_data *priv =

Re: ACPI issues on cold power on [bisected]

2018-01-01 Thread Joonsoo Kim
On Fri, Dec 29, 2017 at 04:36:59PM +, Jonathan McDowell wrote: > On Fri, Dec 22, 2017 at 09:21:09AM +0900, Joonsoo Kim wrote: > > On Fri, Dec 08, 2017 at 03:11:59PM +, Jonathan McDowell wrote: > > > I've been sitting on this for a while and should have spent time to > > > investigate

Re: [PATCH] IB/ocrdma: Use zeroing memory allocator than allocator/memset

2018-01-01 Thread Selvin Xavier
On Sun, Dec 31, 2017 at 5:42 PM, Leon Romanovsky wrote: > On Sat, Dec 30, 2017 at 09:09:56PM +0530, Himanshu Jha wrote: >> Use dma_zalloc_coherent for allocating zeroed >> memory and remove unnecessary memset function. >> >> Done using Coccinelle. >> Generated-by:

Re: [net-next: PATCH v2 4/5] net: mvpp2: use device_*/fwnode_* APIs instead of of_*

2018-01-01 Thread Marcin Wojtas
Hi Andrew, 2017-12-31 20:18 GMT+01:00 Andrew Lunn : > On Sun, Dec 31, 2017 at 12:58:39PM +0100, Marcin Wojtas wrote: > Hi Marcin > >> Because there is no equivalent for for_each_available_child_of_node(), >> use device_for_each_child_node() and check the port availability >>

[PATCH] crypto: testmgr: change `guard` to unsigned char

2018-01-01 Thread Joey Pabalinas
When char is signed, storing the values 0xba (186) and 0xad (173) in the `guard` array produces signed overflow. Change the type of `guard` to unsigned char to remove undefined behavior. Signed-off-by: Joey Pabalinas --- crypto/testmgr.c | 2 +- 1 file changed, 1

[PATCH 02/26] staging: ccree: fold hash defs into queue defs

2018-01-01 Thread Gilad Ben-Yossef
Fold the two remaining enum in hash defs into the queue defs that are using them and delete the hash defs include file. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_hw_queue_defs.h | 13 + drivers/staging/ccree/hash_defs.h| 23

RE: [PATCH] qed: Use zeroing memory allocator than allocator/memset

2018-01-01 Thread Tayar, Tomer
From: Himanshu Jha [mailto:himanshujha199...@gmail.com] Sent: Saturday, December 30, 2017 5:37 PM > Use dma_zalloc_coherent and vzalloc for allocating zeroed > memory and remove unnecessary memset function. > > Done using Coccinelle. > Generated-by:

[PATCH 05/26] staging: ccree: pick alloc mem flags based on req flags

2018-01-01 Thread Gilad Ben-Yossef
The ccree driver was allocating memory using GFP_KERNEL flag always, ignoring the flags set in the crypto request. Fix it by choosing gfp flags based on crypto request flags. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 19 +++--

[PATCH 04/26] staging: ccree: remove GFP_DMA flag from mem allocs

2018-01-01 Thread Gilad Ben-Yossef
Remove bogus GFP_DMA flag from memory allocations. ccree driver does not operate over an ISA or similar limited bus. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_cipher.c | 2 +- drivers/staging/ccree/ssi_hash.c | 15 ++- 2 files changed, 7

[PATCH 00/26] staging: ccree: fixes and cleanups

2018-01-01 Thread Gilad Ben-Yossef
The usual combo of code cleanups and fixes. The highlights are: - Use SPDX for all driver copyright/license - Make ccree compliant with crypto API handling of backlog requests * - Make ccree compliant with Crypto API rules of resource alloc/release * - Settle on a single coherent file naming

[PATCH] rpmsg: Add driver_override device attribute for rpmsg_device

2018-01-01 Thread Anup Patel
This patch adds "driver_override" device attribute for rpmsg_device which will allow users to explicitly specify the rpmsg_driver to be used via sysfs entry. The "driver_override" device attribute implemented here is very similar to "driver_override" implemented for platform, pci, and amba bus

Re: [PATCH v2] USB: host: Use zeroing memory allocator rather than allocator/memset

2018-01-01 Thread Himanshu Jha
On Sun, Dec 31, 2017 at 04:20:45PM -0500, Alan Stern wrote: > On Sun, 31 Dec 2017, Himanshu Jha wrote: > > > Use dma_zalloc_coherent for allocating zeroed > > memory and remove unnecessary memset function. > > > > Done using Coccinelle. > > Generated-by:

[PATCH 4.4 32/63] x86/mm/64: Fix reboot interaction with CR4.PCIDE

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 924c6b900cfdf376b07bccfd80e62b21914f8a5a upstream. Trying to reboot via real mode fails with PCID on: long mode cannot be exited while CR4.PCIDE is set.

[PATCH 4.4 62/63] x86/smpboot: Remove stale TLB flush invocations

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 322f8b8b340c824aef891342b0f5795d15e11562 upstream. smpboot_setup_warm_reset_vector() and smpboot_restore_warm_reset_vector() invoke local_flush_tlb()

[PATCH 4.4 63/63] n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 966031f340185eddd05affcf72b740549f056348 upstream. We added support for EXTPROC back in 2010 in commit 26df6d13406d ("tty: Add EXTPROC

[PATCH 4.4 58/63] usb: add RESET_RESUME for ELSA MicroLink 56K

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit b9096d9f15c142574ebebe8fbb137012bb9d99c2 upstream. This modem needs this quirk to operate. It produces timeouts when resumed without reset.

[PATCH 4.14 010/146] x86/mm/pti: Allow NX poison to be set in p4d/pgd

2018-01-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen commit 1c4de1ff4fe50453b968579ee86fac3da80dd783 upstream. With PAGE_TABLE_ISOLATION the user portion of the kernel page tables is poisoned with the NX

[PATCH 4.14 000/146] 4.14.11-stable review

2018-01-01 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.11 release. There are 146 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 Wed Jan 3 14:00:12 UTC 2018. Anything

[PATCH 4.9 68/75] usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Thompson commit da99706689481717998d1d48edd389f339eea979 upstream. When plugging in a USB webcam I see the following message: xhci_hcd :04:00.0: WARN

[PATCH 4.9 30/75] net: reevalulate autoflowlabel setting after sysctl setting

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li [ Upstream commit 513674b5a2c9c7a67501506419da5c3c77ac6f08 ] sysctl.ip6.auto_flowlabels is default 1. In our hosts, we set it to 2. If sockopt doesn't set

[PATCH 4.9 70/75] timers: Invoke timer_start_debug() where it makes sense

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit fd45bb77ad682be728d1002431d77b8c73342836 upstream. The timer start debug function is called before the proper timer base is set. As a consequence the

[PATCH 4.9 72/75] nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 5d62c183f9e9df1deeea0906d099a94e8a43047a upstream. The conditions in irq_exit() to invoke tick_nohz_irq_exit() which subsequently invokes

[PATCH 4.9 33/75] tcp_bbr: record "full bw reached" decision in new full_bw_reached bit

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell [ Upstream commit c589e69b508d29ed8e644dfecda453f71c02ec27 ] This commit records the "full bw reached" decision in a new full_bw_reached bit. This is a

[PATCH 4.9 31/75] ptr_ring: add barriers

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" [ Upstream commit a8ceb5dbfde1092b466936bca0ff3be127ecf38e ] Users of ptr_ring expect that it's safe to give the data structure a pointer and have it be

[PATCH 4.9 32/75] RDS: Check cmsg_len before dereferencing CMSG_DATA

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Avinash Repaka [ Upstream commit 14e138a86f6347c6199f610576d2e11c03bec5f0 ] RDS currently doesn't check if the length of the control message is large enough to hold

[PATCH 4.9 67/75] USB: Fix off by one in type-specific length check of BOS SSP capability

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 07b9f12864d16c3a861aef4817eb1efccbc5d0e6 upstream. USB 3.1 devices are not detected as 3.1 capable since 4.15-rc3 due to a off by one in

[PATCH 4.9 71/75] timers: Reinitialize per cpu bases on hotplug

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 26456f87aca7157c057de65c9414b37f1ab881d1 upstream. The timer wheel bases are not (re)initialized on CPU hotplug. That leaves them with a potentially

[PATCH 4.9 69/75] timers: Use deferrable base independent of base::nohz_active

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Anna-Maria Gleixner commit ced6d5c11d3e7b342f1a80f908e6756ebd4b8ddd upstream. During boot and before base::nohz_active is set in the timer bases, deferrable timers

[PATCH 4.9 73/75] x86/smpboot: Remove stale TLB flush invocations

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 322f8b8b340c824aef891342b0f5795d15e11562 upstream. smpboot_setup_warm_reset_vector() and smpboot_restore_warm_reset_vector() invoke local_flush_tlb()

Re: [PATCH] crypto: testmgr: change `guard` to unsigned char

2018-01-01 Thread Joe Perches
On Mon, 2018-01-01 at 00:33 -1000, Joey Pabalinas wrote: > When char is signed, storing the values 0xba (186) and 0xad (173) in the > `guard` array produces signed overflow. Change the type of `guard` to > unsigned char to remove undefined behavior. [] > diff --git a/crypto/testmgr.c

[PATCH 4.14 053/146] ALSA: hda - fix headset mic detection issue on a Dell machine

2018-01-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 285d5ddcffafa5d5e68c586f4c9eaa8b24a2897d upstream. It has the codec alc256, and add its pin definition to pin quirk table to let it apply

[PATCH 4.14 055/146] cpufreq: schedutil: Use idle_calls counter of the remote CPU

2018-01-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Joel Fernandes commit 466a2b42d6767a1765276259a3ea5531ddff upstream. Since the recent remote cpufreq callback work, its possible that a cpufreq update is triggered from

[PATCH 4.14 030/146] x86/dumpstack: Indicate in Oops whether PTI is configured and enabled

2018-01-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit 5f26d76c3fd67c48806415ef8b1116c97beff8ba upstream. CONFIG_PAGE_TABLE_ISOLATION is relatively new and intrusive feature that may still have some corner

Re: [PATCH 01/33] clk_ops: change round_rate() to return unsigned long

2018-01-01 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Bryan-O-Donoghue/change-clk_ops-round_rate-to-scale-past-LONG_MAX/20180101-212907 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next config: x86_64-randconfig-x016-201800 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1

[PATCH 4.9 44/75] net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko [ Upstream commit c1a8d0a3accf64a014d605e6806ce05d1c17adf1 ] Under some circumstances driver will perform PHY reset in ksz9031_read_status() to fix

[PATCH 4.9 51/75] net/mlx5e: Prevent possible races in VXLAN control flow

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gal Pressman [ Upstream commit 0c1cc8b2215f5122ca614b5adca60346018758c3 ] When calling add/remove VXLAN port, a lock must be held in order to prevent race scenarios when

[PATCH 4.9 50/75] net/mlx5e: Add refcount to VXLAN structure

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gal Pressman [ Upstream commit 23f4cc2cd9ed92570647220aca60d0197d8c1fa9 ] A refcount mechanism must be implemented in order to prevent unwanted scenarios such as: - Open an

[PATCH 4.9 46/75] tcp: invalidate rate samples during SACK reneging

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yousuk Seung [ Upstream commit d4761754b4fb2ef8d9a1e9d121c4bec84e1fe292 ] Mark tcp_sock during a SACK reneging event and invalidate rate samples while marked. Such rate

[PATCH 4.9 45/75] sock: free skb in skb_complete_tx_timestamp on error

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 35b99dffc3f710cafceee6c8c6ac6a98eb2cb4bf ] skb_complete_tx_timestamp must ingest the skb it is passed. Call kfree_skb if the skb cannot

[PATCH 4.9 42/75] net: fec: Allow reception of frames bigger than 1522 bytes

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Lunn [ Upstream commit fbbeefdd21049fcf9437c809da3828b210577f36 ] The FEC Receive Control Register has a 14 bit field indicating the longest frame that may be received.

[PATCH 4.9 43/75] net: Fix double free and memory corruption in get_net_ns_by_id()

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" [ Upstream commit 21b5944350052d2583e82dd59b19a9ba94a007f0 ] (I can trivially verify that that idr_remove in cleanup_net happens after the network

[PATCH 4.9 52/75] net/mlx5: Fix error flow in CREATE_QP command

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Moni Shoua [ Upstream commit dbff26e44dc3ec4de6578733b054a0114652a764 ] In error flow, when DESTROY_QP command should be executed, the wrong mailbox was set with data, not

Re: [PATCH v1 11/15] ASoC: fsl_ssi: Setup AC97 in dai_probe()

2018-01-01 Thread Maciej S. Szmigiero
On 19.12.2017 18:00, Nicolin Chen wrote: > AC97 configures some registers earlier to start a communication > with CODECs, so this patch moves those register settings to the > dai_probe() as well, along with other register configurations. > > It also applies _fsl_ssi_set_dai_fmt() to AC97 only

Re: [PATCH 2/2] lib: Remove module auto-unloading which encourages inconsistent behaviour

2018-01-01 Thread Pravin Shedge
On Fri, Dec 29, 2017 at 10:17 PM, Andy Shevchenko wrote: > On Sat, Dec 23, 2017 at 5:28 PM, Pravin Shedge > wrote: >> The module auto-unload might seem like a nice optimization, but >> it encourages inconsistent behaviour. And behaviour

Re: [PATCH 0/4] KVM: nVMX: prepare_vmcs02 optimizations

2018-01-01 Thread Paolo Bonzini
On 28/12/2017 09:39, Wanpeng Li wrote: > 2017-12-27 22:28 GMT+08:00 Paolo Bonzini : >> On 25/12/2017 11:08, Wanpeng Li wrote: I observe L1(latest kvm/queue) panic and L0(latest kvm/queue) calltrace, I'm not sure whether it is caused by this patchset. >>> It can be

Re: [PATCH] usb: quirks: Add reset-resume quirk for QCA6174 Rome Bluetooth

2018-01-01 Thread Sergei Shtylyov
Hello! On 12/31/2017 8:13 PM, Leif Liddy wrote: This is a rework of reverted commit fd865802c66bc451dc515ed89360f84376ce1a56 You need to also specify the commit summry enclosed in (""). Alos, 12 digits of SHA1 is enough. The issue is that some QCA Rome bluetooth controllers stop

Re: [PATCH v2] iio: adc: max9611: fix module auto-loading

2018-01-01 Thread Jonathan Cameron
On Sat, 30 Dec 2017 15:43:38 +0300 Dmitry Mastykin wrote: > > On Fri, 29 Dec 2017 17:30:39 +0200 > > Andy Shevchenko wrote: > >> Suggested-by: Andy Shevchenko > >> > I was not aware of this tag, that's what I wanted

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

2018-01-01 Thread Marcin Wojtas
Hi Russell, 2017-12-30 18:31 GMT+01:00 Russell King - ARM Linux : > Hi Marcin, > > On Sat, Dec 30, 2017 at 05:34:23PM +0100, Marcin Wojtas wrote: >> Yes, I already split the series and will send first one right away. I >> will be followed by MDIO bus / PHY handling

[PATCH] tools lib subcmd: do not alias select() params

2018-01-01 Thread Sergey Senozhatsky
Use a separate fd set for select()-s exception fds param to fix the following gcc warning: pager.c:36:12: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict] select(1, , NULL, , NULL); ^~~~~~ Signed-off-by:

Re: [PATCH v4 04/11] counter: Introduce the Simple Counter interface

2018-01-01 Thread Jonathan Cameron
On Thu, 14 Dec 2017 15:51:30 -0500 William Breathitt Gray wrote: > This patch introduces the Simple Counter interface. The Simple Counter > interface serves as an API to provide support for simple hardware > counter devices. The Simple Counter interface is built on top of

[PATCH 4.9 56/75] s390/qeth: update takeover IPs after configuration change

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 02f510f326501470348a5df341e8232c3497 ] Any modification to the takeover IP-ranges requires that we re-evaluate which IP

[PATCH 4.9 35/75] tg3: Fix rx hang on MTU change with 5717/5719

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Brian King [ Upstream commit 748a240c589824e9121befb1cba5341c319885bc ] This fixes a hang issue seen when changing the MTU size from 1500 MTU to 9000 MTU on both

[PATCH 4.9 54/75] s390/qeth: dont apply takeover changes to RXIP

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit b22d73d6689fd902a66c08ebe71ab2f3b351e22f ] When takeover is switched off, current code clears the 'TAKEOVER' flag on all IPs. But

[PATCH 4.9 53/75] s390/qeth: apply takeover changes when mode is toggled

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 7fbd9493f0eeae8cef58300505a9ef5c8fce6313 ] Just as for an explicit enable/disable, toggling the takeover mode also requires that the

[PATCH 4.9 75/75] tty: fix tty_ldisc_receive_buf() documentation

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit e7e51dcf3b8a5f65c5653a054ad57eb2492a90d0 upstream. The tty_ldisc_receive_buf() helper returns the number of bytes processed so drop the bogus "not" from

[PATCH 4.9 25/75] ipv6: mcast: better catch silly mtu values

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit b9b312a7a451e9c098921856e7cfbc201120e1a7 ] syzkaller reported crashes in IPv6 stack [1] Xin Long found that lo MTU was set to silly

[PATCH 4.9 74/75] n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 966031f340185eddd05affcf72b740549f056348 upstream. We added support for EXTPROC back in 2010 in commit 26df6d13406d ("tty: Add EXTPROC

[PATCH 4.9 61/75] USB: serial: ftdi_sio: add id for Airbus DS P8GR

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Max Schulze commit c6a36ad383559a60a249aa6016cebf3cb8b6c485 upstream. Add AIRBUS_DS_P8GR device IDs to ftdi_sio driver. Signed-off-by: Max Schulze

[PATCH 4.9 60/75] usbip: vhci: stop printing kernel pointer addresses in messages

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Shuah Khan commit 8272d099d05f7ab2776cf56a2ab9f9443be18907 upstream. Remove and/or change debug, info. and error messages to not print kernel pointer addresses.

[PATCH 4.9 36/75] net: ipv4: fix for a race condition in raw_sendmsg

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mohamed Ghannam [ Upstream commit 8f659a03a0ba9289b9aeb9b4470e6fb263d6f483 ] inet->hdrincl is racy, and could lead to uninitialized stack pointer usage, so its value

[PATCH 4.9 66/75] usb: add RESET_RESUME for ELSA MicroLink 56K

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit b9096d9f15c142574ebebe8fbb137012bb9d99c2 upstream. This modem needs this quirk to operate. It produces timeouts when resumed without reset.

[PATCH 4.9 63/75] USB: serial: option: add support for Telit ME910 PID 0x1101

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Daniele Palmas commit 08933099e6404f588f81c2050bfec7313e06eeaf upstream. This patch adds support for PID 0x1101 of Telit ME910. Signed-off-by: Daniele Palmas

[PATCH 4.9 59/75] usbip: stub: stop printing kernel pointer addresses in messages

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Shuah Khan commit 248a22044366f588d46754c54dfe29ffe4f8b4df upstream. Remove and/or change debug, info. and error messages to not print kernel pointer addresses.

[PATCH 4.14 113/146] Revert "mlx5: move affinity hints assignments to generic code"

2018-01-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Saeed Mahameed [ Upstream commit 231243c82793428467524227ae02ca451e6a98e7 ] Before the offending commit, mlx5 core did the IRQ affinity itself, and it seems that the new

Re: [PATCH 01/33] clk_ops: change round_rate() to return unsigned long

2018-01-01 Thread kbuild test robot
: https://github.com/0day-ci/linux/commits/Bryan-O-Donoghue/change-clk_ops-round_rate-to-scale-past-LONG_MAX/20180101-212907 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next config: i386-randconfig-b0-01011934 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2

[PATCH 4.14 112/146] ipv6: set all.accept_dad to 0 by default

2018-01-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit 094009531612246d9e13f9e0c3ae2205d7f63a0a ] With commits 35e015e1f577 and a2d3f3e33853, the global 'accept_dad' flag is also taken

[PATCH 4.14 115/146] skbuff: skb_copy_ubufs must release uarg even without user frags

2018-01-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit b90ddd568792bcb0054eaf0f61785c8f80c3bd1c ] skb_copy_ubufs creates a private copy of frags[] to release its hold on user frags, then

[PATCH 4.14 011/146] x86/mm/pti: Allocate a separate user PGD

2018-01-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen commit d9e9a6418065bb376e5de8d93ce346939b9a37a6 upstream. Kernel page table isolation requires to have two PGDs. One for the kernel, which contains

Re: linux-next: Signed-off-by missing for commit in the iversion tree

2018-01-01 Thread Jeff Layton
On Tue, 2018-01-02 at 01:44 +1100, Stephen Rothwell wrote: > Hi Jeff, > > Commit > > e9f12c2601ee ("ima: Use i_version only when filesystem supports it") > > is missing a Signed-off-by from its committer. > Thanks, I added my SoB. FWIW, my expectation is that that patch will go in via the

[PATCH 4.9 65/75] usb: Add device quirk for Logitech HD Pro Webcam C925e

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Fleytman Dmitry Fleytman commit 7f038d256c723dd390d2fca942919573995f4cfd upstream. Commit e0429362ab15 ("usb: Add device quirk for Logitech HD Pro Webcams

[PATCH 4.9 34/75] tcp md5sig: Use skbs saddr when replying to an incoming segment

2018-01-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Paasch [ Upstream commit 30791ac41927ebd3e75486f9504b6d2280463bf0 ] The MD5-key that belongs to a connection is identified by the peer's IP-address. When we are

[PATCH 3.18 08/32] parisc: Hide Diva-built-in serial aux and graphics card

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit bcf3f1752a622f1372d3252d0fea8855d89812e7 upstream. Diva GSP card has built-in serial AUX port and ATI graphic card which simply don't work and which both

[PATCH 3.18 12/32] tracing: Remove extra zeroing out of the ring buffer page

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 6b7e633fe9c24682df550e5311f47fb524701586 upstream. The ring_buffer_read_page() takes care of zeroing out any extra data in the page that it

[PATCH 3.18 13/32] tracing: Fix possible double free on failure of allocating trace buffer

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 4397f04575c44e1440ec2e49b6302785c95fd2f8 upstream. Jing Xia and Chunyan Zhang reported that on failing to allocate part of the tracing

[PATCH 3.18 14/32] tracing: Fix crash when it fails to alloc ring buffer

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jing Xia commit 24f2aaf952ee0b59f31c3a18b8b36c9e3d3c2cf5 upstream. Double free of the ring buffer happens when it fails to alloc new ring buffer instance for

[PATCH 3.18 02/32] crypto: mcryptd - protect the per-CPU queue with a lock

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 9abffc6f2efe46c3564c04312e52e07622d40e51 upstream. mcryptd_enqueue_request() grabs the per-CPU queue struct and protects access to it

Re: `pci_apply_final_quirks()` taking half a second

2018-01-01 Thread Alan Stern
On Mon, 1 Jan 2018, Paul Menzel wrote: > > So they are OHCI controllers. You could add some debugging statements > > to quirk_usb_handoff_ohci() to try and locate the part that's taking so > > long. > > As you suggested debugging statements, I guess the Linux kernel doesn’t > offer other ways

[PATCH] net: systemport: Delete an error message for a failed memory allocation in two functions

2018-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 1 Jan 2018 17:50:02 +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 ---

[PATCH 0/2] Documentation: rtc: move ioctl to ABI

2018-01-01 Thread Aishwarya Pant
Two documentation changes in rtc: 1) Minor change to add file permissions to sysfs interface 2) Move ioctl interface to Documentation/ABI Aishwarya Pant (2): Documentation: rtc: add sysfs file permissions Documentation: rtc: move iotcl interface documentation to ABI

[PATCH 1/2] Documentation: rtc: add sysfs file permissions

2018-01-01 Thread Aishwarya Pant
Annotate the sysfs interface of rtc with file specific permissions (RO/RW). Signed-off-by: Aishwarya Pant --- Documentation/ABI/testing/sysfs-class-rtc | 44 --- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git

Re: [PATCH net-next 2/2] tuntap: XDP transmission

2018-01-01 Thread Jason Wang
On 2017年12月29日 20:32, Jesper Dangaard Brouer wrote: On Fri, 29 Dec 2017 18:00:04 +0800 Jason Wang wrote: This patch implements XDP transmission for TAP. Since we can't create new queues for TAP during XDP set, exist ptr_ring was reused for queuing XDP buffers. To differ

Re: [PATCH v4 5/7] iio: adc: ina2xx: Use a monotonic clock for delay calculation

2018-01-01 Thread Jonathan Cameron
On Mon, 1 Jan 2018 02:24:42 +0100 Stefan Brüns wrote: > The iio timestamp clock is user selectable and may be non-monotonic. Also, > only part of the acquisition time is measured, thus the delay was longer > than intended. > > Use a monotonic timestamp to track the

<    1   2   3   4   5   6   7   8   9   10   >