Re: [PATCH 1/1] kasan: fix livelock in qlist_move_cache

2017-11-28 Thread Dmitry Vyukov
On Tue, Nov 28, 2017 at 10:17 AM, Zhouyi Zhou wrote: > Hi, > Imagine all of the QUARANTINE_BATCHES elements of > global_quarantine array is of size 4MB + 1MB, now a new call > to quarantine_put is invoked, one of the element will be of size 4MB + > 1MB + 1MB, so on and

Re: Unlock-lock questions and the Linux Kernel Memory Model

2017-11-28 Thread Peter Zijlstra
On Mon, Nov 27, 2017 at 03:28:03PM -0800, Daniel Lustig wrote: > On 11/27/2017 1:16 PM, Alan Stern wrote:> C rel-acq-write-ordering-3 > > > > {} > > > > P0(int *x, int *s, int *y) > > { > > WRITE_ONCE(*x, 1); > > smp_store_release(s, 1); > > r1 = smp_load_acquire(s); > >

[PATCH 1/3] x86/boot: add acpi rsdp address to setup_header

2017-11-28 Thread Juergen Gross
Xen PVH guests receive the address of the RSDP table from Xen. In order to support booting a Xen PVH guest via grub2 using the standard x86 boot entry we need a way fro grub2 to pass the RSDP address to the kernel. For this purpose expand the struct setup_header to hold the physical address of

Re: [PATCH] mm/vmscan: try to optimize branch procedures.

2017-11-28 Thread Mel Gorman
On Tue, Nov 28, 2017 at 05:19:10PM +0800, jiang.bi...@zte.com.cn wrote: > > On Tue 28-11-17 09:49:45, Jiang Biao wrote:> > 1. Use unlikely to try to > > improve branch prediction. The > > > *total_scan < 0* branch is unlikely to reach, so use unlikely. > > > > > > 2. Optimize *next_deferred >=

[PATCH 3/3] x86/xen: supply rsdp address in boot params for pvh guests

2017-11-28 Thread Juergen Gross
When booted via the special PVH entry save the RSDP address set in the boot information block in struct boot_params. This will enable Xen to locate the RSDP at an arbitrary address. Signed-off-by: Juergen Gross --- arch/x86/xen/enlighten_pvh.c | 2 ++ 1 file changed, 2

Re: proc: fix /proc/*/map_files lookup

2017-11-28 Thread Alexey Dobriyan
On 11/28/17, Andrei Vagin wrote: > On Tue, Nov 21, 2017 at 12:27:06AM +0300, Alexey Dobriyan wrote: >> Current code does: >> >> if (sscanf(dentry->d_name.name, "%lx-%lx", start, end) != 2) >> >> However sscanf() is broken garbage. >> >> It silently accepts whitespace

Re: [PATCH] KEYS: add missing permission check for request_key() destination

2017-11-28 Thread David Howells
Eric Biggers wrote: > + if (do_perm_check) { > + ret = key_permission(make_key_ref(dest_keyring, 1), > + KEY_NEED_WRITE); dest_keyring may be NULL at this point as alloc_uid() doesn't automatically

[PATCH 3.18 56/67] net: 3com: typhoon: typhoon_init_one: fix incorrect return values

2017-11-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Preisner [ Upstream commit 107fded7bf616ad6f46823d98b8ed6405d7adf2d ] In a few cases the err-variable is not set to a negative error code if a function

[PATCH 4.4 03/96] s390/disassembler: add missing end marker for e7 table

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 5c50538752af7968f53924b22dede8ed4ce4cb3b upstream. The e7 opcode table does not have an end marker. Hence when trying to find an unknown e7

[PATCH 4.4 02/96] s390/runtime instrumention: fix possible memory corruption

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit d6e646ad7cfa7034d280459b2b2546288f247144 upstream. For PREEMPT enabled kernels the runtime instrumentation (RI) code contains a possible

[PATCH 4.4 18/96] MIPS: Fix an n32 core file generation regset support regression

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Maciej W. Rozycki commit 547da673173de51f73887377eb275304775064ad upstream. Fix a commit 7aeb753b5353 ("MIPS: Implement task_user_regset_view.") regression, then activated by

[PATCH 3.18 55/67] net: 3com: typhoon: typhoon_init_one: make return values more specific

2017-11-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Preisner [ Upstream commit 6b6bbb5922a4b1d4b58125a572da91010295fba3 ] In some cases the return value of a failing function is not being used and the

Re: [PATCH 2/2] ACPI / PMIC: Constify platform_device_id

2017-11-28 Thread Mika Westerberg
On Tue, Nov 28, 2017 at 03:31:51PM +0530, Arvind Yadav wrote: > platform_device_id are not supposed to change at runtime. All functions > working with platform_device_id provided by > work with const platform_device_id. So mark the non-const structs as > const. > > Signed-off-by: Arvind Yadav

[PATCH 4.9 074/138] ixgbevf: Use smp_rmb rather than read_barrier_depends

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Brian King commit ae0c585d93dfaf923d2c7eb44b2c3ab92854ea9b upstream. The original issue being fixed in this patch was seen with the ixgbe driver, but the same issue

[PATCH 1/2] watchdog: introduce watchdog.open_timeout commandline parameter

2017-11-28 Thread Rasmus Villemoes
The watchdog framework takes care of feeding a hardware watchdog until userspace opens /dev/watchdogN. If that never happens for some reason (buggy init script, corrupt root filesystem or whatnot) but the kernel itself is fine, the machine stays up indefinitely. This patch allows setting an upper

[PATCH 4.9 075/138] i40evf: Use smp_rmb rather than read_barrier_depends

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Brian King commit f72271e2a0ae4277d53c4053f5eed8bb346ba38a upstream. The original issue being fixed in this patch was seen with the ixgbe driver, but the same issue

[PATCH 4.9 064/138] clk: ti: dra7-atl-clock: fix child-node lookups

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 33ec6dbc5a02677509d97fe36cd2105753f0f0ea upstream. Fix child node-lookup during probe, which ended up searching the whole device tree depth-first starting

[PATCH 4.14 082/193] fsnotify: fix pinning group in fsnotify_prepare_user_wait()

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 9a31d7ad997f55768c687974ce36b759065b49e5 upstream. Blind increment of group's user_waits is not enough, we could be far enough in the group's

[PATCH 4.14 104/193] scsi: qla2xxx: Suppress a kernel complaint in qla_init_base_qpair()

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 8653188763b56e0bcbdcab30cc7b059672c900ac upstream. Avoid that the following is reported while loading the qla2xxx kernel module: BUG: using

[PATCH 4.14 075/193] iwlwifi: fix firmware names for 9000 and A000 series hw

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Backlund commit c2c48ddfc8b03b9ecb51d2832b586497b37531bc upstream. iwlwifi 9000 and a series hw contains an extra dash in firmware file name as seeen in modinfo

[PATCH 4.14 092/193] ALSA: hda/realtek - Fix ALC275 no sound issue

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 3aabf94c2d95fe465d5fa8590113d1c1f7d8333d upstream. Sound works after a cold boot but not after a reboot from windows. This patch will solve this

[PATCH 4.14 084/193] ext4: fix interaction between i_size, fallocate, and delalloc after a crash

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 51e3ae81ec58e95f10a98ef3dd6d7bce5d8e35a2 upstream. If there are pending writes subject to delayed allocation, then i_size will show size after the writes

[PATCH 4.14 077/193] md: dont check MD_SB_CHANGE_CLEAN in md_allow_write

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Artur Paszkiewicz commit b90f6ff080c52e2f05364210733df120e3c4e597 upstream. Only MD_SB_CHANGE_PENDING should be used to wait for transition from clean to dirty.

[PATCH 4.14 078/193] Bluetooth: btqcomsmd: Add support for BD address setup

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Loic Poulain commit 6e518111060c2290427d79c43d4add9600ad852b upstream. This patch implements the hdev setup function since wcnss-bt does not have persistent memory to

[PATCH 4.14 087/193] ALSA: pcm: update tstamp only if audio_tstamp changed

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Henrik Eriksson commit 20e3f985bb875fea4f86b04eba4b6cc29bfd6b71 upstream. commit 3179f6200188 ("ALSA: core: add .get_time_info") had a side effect of changing the

[PATCH 4.14 065/193] btrfs: change how we decide to commit transactions during flushing

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit 996478ca9c460886ac147eb0d00e99841b71d31b upstream. Nikolay reported that generic/273 was failing currently with ENOSPC. Turns out this is because we get to

[PATCH 4.14 089/193] ALSA: usb-audio: Fix potential out-of-bound access at parsing SU

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f658f17b5e0e339935dca23e77e0f3cad591926b upstream. The usb-audio driver may trigger an out-of-bound access at parsing a malformed selector unit, as it

[PATCH 4.14 098/193] ASoC: sun8i-codec: Set the BCLK divider

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Maxime Ripard commit 316b7758c998fb13371d14bb6c9e45ab129c19a7 upstream. While the current code was reporting to be able to work in master mode, it failed to

[PATCH 4.14 187/193] iwlwifi: fix PCI IDs and configuration mapping for 9000 series

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Luca Coelho commit dbc89253a7e15f8f031fb1eeb956de91204655e3 upstream. A lot of PCI IDs were missing and there were some problems with the configuration and firmware

Re: [PATCH V3 2/2] acpi: apei: call into AER handling regardless of severity

2017-11-28 Thread Borislav Petkov
On Wed, Nov 15, 2017 at 08:14:27AM -0700, Tyler Baicar wrote: > Currently the GHES code only calls into the AER driver for > recoverable type errors. This is incorrect because errors of > other severities do not get logged by the AER driver and do not > get exposed to user space via the AER trace

[PATCH 4.14 191/193] e1000e: Separate signaling for link check/link up

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Poirier commit 19110cfbb34d4af0cdfe14cd243f3b09dc95b013 upstream. Lennart reported the following race condition: \ e1000_watchdog_task \ e1000e_has_link

[PATCH 4.14 186/193] iwlwifi: add new cards for 8260 series

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ihab Zhaika commit d669fc2d42a43ee0abcf2396df6e9c5a124aa984 upstream. add three new PCI ID'S for 8260 series Signed-off-by: Ihab Zhaika

[PATCH 4.14 139/193] clk: ti: dra7-atl-clock: fix child-node lookups

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 33ec6dbc5a02677509d97fe36cd2105753f0f0ea upstream. Fix child node-lookup during probe, which ended up searching the whole device tree depth-first

[PATCH 4.14 119/193] mtd: Avoid probe failures when mtd->dbg.dfs_dir is invalid

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit 1530578abdac4edce9244c7a1962ded3ffdb58ce upstream. Commit e8e3edb95ce6 ("mtd: create per-device and module-scope debugfs entries")

[PATCH 4.14 117/193] target: Fix quiese during transport_write_pending_qf endless loop

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 9574a497df2bbc0a676b609ce0dd24d237cee3a6 upstream. This patch fixes a potential end-less loop during QUEUE_FULL, where

[PATCH 4.14 141/193] libnvdimm, pfn: make resource attribute only readable by root

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 26417ae4fc6108f8db436f24108b08f68bdc520e upstream. For the same reason that /proc/iomem returns 0's for non-root readers and acpi tables are

[PATCH 4.14 140/193] libnvdimm, dimm: clear locked status on successful DIMM enable

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit d34cb808402898e53b9a9bcbbedd01667a78723b upstream. If we successfully enable a DIMM then it must not be locked and we can clear the label-read

[PATCH 4.14 137/193] dax: fix general protection fault in dax_alloc_inode

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 9f586fff6574f6ecbf323f92d44ffaf0d96225fe upstream. Don't crash in case of allocation failure in dax_alloc_inode. syzkaller hit the following

[PATCH 4.14 143/193] libnvdimm, region : make resource attribute only readable by root

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit b8ff981f88df03c72a4de2f6eaa9ce447a10ac03 upstream. For the same reason that /proc/iomem returns 0's for non-root readers and acpi tables are

Re: [PATCH] powerpc/powernv : Add support to enable sensor groups

2017-11-28 Thread Michael Ellerman
Shilpasri G Bhat writes: > Adds support to enable/disable a sensor group. This can be used to > select the sensor groups that needs to be copied to main memory by > OCC. Sensor groups like power, temperature, current, voltage, > frequency, utilization can be

Re: ALSA: nm256: Fine-tuning for three function implementations

2017-11-28 Thread Takashi Iwai
On Tue, 28 Nov 2017 10:50:21 +0100, SF Markus Elfring wrote: > > >> There can be additional means be used to reduce the probability > >> of undesired side effects. > > > > Irrelevant, > > I got an other opinion here. Not from me. > > it doesn't fix a bug, > > Did I suggest to correct a

[PATCH 4.14 002/193] s390/noexec: execute kexec datamover without DAT

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit d0e810eeb3d326978f248b8f0233a2f30f58c72d upstream. Rebooting into a new kernel with kexec fails (system dies) if tried on a machine that has

[PATCH 4.14 010/193] serdev: fix registration of second slave

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 08fcee289f341786eb3b44e5f2d1dc850943238e upstream. Serdev currently only supports a single slave device, but the required sanity checks to prevent

[PATCH 4.14 033/193] PCI: Set Cavium ACS capability quirk flags to assert RR/CR/SV/UF

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Vadim Lomovtsev commit 7f342678634f16795892677204366e835e450dda upstream. The Cavium ThunderX (CN8XXX) family of PCIe Root Ports does not advertise an ACS

[PATCH 4.14 032/193] PCI: hv: Use effective affinity mask

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dexuan Cui commit 79aa801e899417a56863d6713f76c4e108856000 upstream. The effective_affinity_mask is always set when an interrupt is assigned in __assign_irq_vector() ->

[PATCH 4.9 097/138] drm/sun4i: Fix a return value in case of error

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 0f0861e31e3c59ca4bc1ec59d99260cfca79740e ] If 'sun4i_backend_drm_format_to_layer()' does not return 0, then 'val' is left

[PATCH 4.9 099/138] clk: sunxi-ng: fix PLL_CPUX adjusting on A33

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Icenowy Zheng [ Upstream commit 790d929b540661945d1c70652ffb602c5c06ad85 ] When adjusting PLL_CPUX on A33, the PLL is temporarily driven too high, and the system hangs. Add

[PATCH 4.9 111/138] ath10k: ignore configuring the incorrect board_id

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ryan Hsu [ Upstream commit d2e202c06ca42d353d95df12437740921a6d05b5 ] With command to get board_id from otp, in the case of following boot get otp board id result

[PATCH 4.9 096/138] PCI: Apply _HPX settings only to relevant devices

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas [ Upstream commit 977509f7c5c6fb992ffcdf4291051af343b91645 ] Previously we didn't check the type of device before trying to apply Type 1 (PCI-X) or Type 2

[PATCH 4.9 109/138] mwifiex: sdio: fix use after free issue for save_adapter

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Amitkumar Karwar [ Upstream commit 74c8719b8ee0922593a5cbec0bd6127d86d8a2f4 ] If we have sdio work requests received when sdio card reset is happening, we may end up

[PATCH 4.9 018/138] PCI: Set Cavium ACS capability quirk flags to assert RR/CR/SV/UF

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vadim Lomovtsev commit 7f342678634f16795892677204366e835e450dda upstream. The Cavium ThunderX (CN8XXX) family of PCIe Root Ports does not advertise an ACS

[PATCH 4.9 006/138] x86/mm: fix use-after-free of vma during userfaultfd fault

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit cb0631fd3cf9e989cd48293fe631cbc402aec9a9 upstream. Syzkaller with KASAN has reported a use-after-free of vma->vm_flags in __do_page_fault() with the

[PATCH 4.9 030/138] nilfs2: fix race condition that causes file system corruption

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Rohner commit 31ccb1f7ba3cfe29631587d451cf5bb8ab593550 upstream. There is a race condition between nilfs_dirty_inode() and nilfs_set_file_dirty(). When a file

[PATCH 4.4 50/96] IB/srp: Avoid that a cable pull can trigger a kernel crash

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 8a0d18c62121d3c554a83eb96e2752861d84d937 upstream. This patch fixes the following kernel crash: general protection fault: [#1] PREEMPT SMP

[PATCH 4.4 47/96] libnvdimm, namespace: fix label initialization to use valid seq numbers

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit b18d4b8a25af6fe83d7692191d6ff962ea611c4f upstream. The set of valid sequence numbers is {1,2,3}. The specification indicates that an

Re: [linux-sunxi] Cedrus driver

2017-11-28 Thread Thomas van Kleef
Hi Giulio On 28-11-17 12:54, Giulio Benetti wrote: > Hi Thomas, > > Il 28/11/2017 12:29, Thomas van Kleef ha scritto: >> Hi, >> >> On 28-11-17 12:26, Giulio Benetti wrote: >>> Hi Thomas, >>> >>> Il 28/11/2017 12:20, Thomas van Kleef ha scritto: On 28-11-17 10:50, Giulio Benetti wrote: >

[PATCH 3.18 62/67] netfilter: nft_queue: use raw_smp_processor_id()

2017-11-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso [ Upstream commit c2e756ff9e699865d294cdc112acfc36419cf5cc ] Using smp_processor_id() causes splats with PREEMPT_RCU: [19379.552780] BUG: using

[PATCH 3.18 13/67] nilfs2: fix race condition that causes file system corruption

2017-11-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Rohner commit 31ccb1f7ba3cfe29631587d451cf5bb8ab593550 upstream. There is a race condition between nilfs_dirty_inode() and nilfs_set_file_dirty(). When a file

[PATCH 3.18 23/67] ALSA: usb-audio: Add sanity checks in v2 clock parsers

2017-11-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 0a62d6c966956d77397c32836a5bbfe3af786fc1 upstream. The helper functions to parse and look for the clock source, selector and multiplier unit may return the

[PATCH 3.18 17/67] NFS: Fix typo in nomigration mount option

2017-11-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Joshua Watt commit f02fee227e5f21981152850744a6084ff3fa94ee upstream. The option was incorrectly masking off all other options. Signed-off-by: Joshua Watt

[PATCH 3.18 14/67] eCryptfs: use after free in ecryptfs_release_messaging()

2017-11-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit db86be3a12d0b6e5c5b51c2ab2a48f06329cb590 upstream. We're freeing the list iterator so we should be using the _safe() version of

[PATCH] media: i2c: adv748x: Restore full DT paths in kernel messages

2017-11-28 Thread Geert Uytterhoeven
As of_node_full_name() now returns only the basename, the endpoint information printed became useless: adv748x 4-0070: Endpoint endpoint on port 7 adv748x 4-0070: Endpoint endpoint on port 8 adv748x 4-0070: Endpoint endpoint on port 10 adv748x 4-0070: Endpoint endpoint on port 11

Re: [PATCH] staging: pi433: pi433_if.c: fix if/else if and brace coding style issues

2017-11-28 Thread Greg KH
On Tue, Nov 14, 2017 at 12:03:51PM -0800, Chase Metzger wrote: > Fix if/else if and braces in function DIO0_irq_handler to comply with > the kernel coding style. > > Signed-off-by: Chase Metzger > --- > drivers/staging/pi433/pi433_if.c | 11 +++ > 1 file

Re: [PATCH v2 5/5] of/fdt: only store the device node basename in full_name

2017-11-28 Thread Geert Uytterhoeven
Hi Rob, On Mon, Aug 21, 2017 at 5:16 PM, Rob Herring wrote: > With dependencies on a statically allocated full path name converted to > use %pOF format specifier, we can store just the basename of node, and > the unflattening of the FDT can be simplified. > > This commit will

Re: [PATCH v2] staging: sm750b: Fix coding style issues in sm750_accel.c

2017-11-28 Thread Greg Kroah-Hartman
On Sat, Nov 25, 2017 at 05:48:11PM -0500, Jeremy Lacomis wrote: > This is a patch to sm750_accel.c that fixes 80-character line length > warnings found by checkpatch.pl. It also fixes some grammatical errors > in comments and moves parameter-specific comments from inline to before > the function.

[PATCH net 4/4] net: mvpp2: check ethtool sets the Tx ring size is to a valid min value

2017-11-28 Thread Antoine Tenart
This patch fixes the Tx ring size checks when using ethtool, by adding an extra check in the PPv2 check_ringparam_valid helper. The Tx ring size cannot be set to a value smaller than the minimum number of descriptors needed for TSO. Fixes: 1d17db08c056 ("net: mvpp2: limit TSO segments and use

Re: [PATCH v6 1/2] staging: ion: reorder include

2017-11-28 Thread Greg KH
On Mon, Nov 06, 2017 at 04:59:44PM +0100, Benjamin Gaignard wrote: > Put include in alphabetic order Why??? That should not matter at all. I'll take this, but really, ick ick ick ick ick.

[PATCH] smp/hotplug: move step CPUHP_AP_SMPCFD_DYING to the correct place

2017-11-28 Thread Lai Jiangshan
31487f8328f2("smp/cfd: Convert core to hotplug state machine") accidently put this step on the wrong place. The step should be at the cpuhp_ap_states[] rather than the cpuhp_bp_states[]. grep smpcfd /sys/devices/system/cpu/hotplug/states 40: smpcfd:prepare 129: smpcfd:dying "smpcfd:dying" was

[PATCH net 1/4] net: mvpp2: fix the txq_init error path

2017-11-28 Thread Antoine Tenart
When an allocation in the txq_init path fails, the allocated buffers end-up being freed twice: in the txq_init error path, and in txq_deinit. This lead to issues as txq_deinit would work on already freed memory regions: kernel BUG at mm/slub.c:3915! Internal error: Oops - BUG: 0 [#1]

Re: Unlock-lock questions and the Linux Kernel Memory Model

2017-11-28 Thread Peter Zijlstra
On Mon, Nov 27, 2017 at 04:16:47PM -0500, Alan Stern wrote: > This is essentially a repeat of an email I sent out before the > Thanksgiving holiday, the assumption being that lack of any responses > was caused by the holiday break. (And this time the message is CC'ed > to LKML, so there will be a

[PATCH] crypto: Add myself as co-maintainer for s5p-sss.c

2017-11-28 Thread Kamil Konieczny
Add myself as co-maintainer for Samsung Security SubSystem driver. Signed-off-by: Kamil Konieczny --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa71ab52fd76..3f6cadf2e087 100644 --- a/MAINTAINERS +++

RE: [dm-devel] [PATCH 3/4] dm: convert dm_dev_internal.count from atomic_t to refcount_t

2017-11-28 Thread Reshetova, Elena
> On Fri, Nov 24, 2017 at 2:36 AM, Reshetova, Elena > wrote: > >> On Fri, Oct 20, 2017 at 10:37:38AM +0300, Elena Reshetova wrote: > >> > } else if (dd->dm_dev->mode != (mode | dd->dm_dev->mode)) { > >> > r = upgrade_mode(dd, mode, t->md); > >> >

[PATCH 4.4 36/96] ALSA: timer: Remove kernel warning at compat ioctl error paths

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 3d4e8303f2c747c8540a0a0126d0151514f6468b upstream. Some timer compat ioctls have NULL checks of timer instance with snd_BUG_ON() that bring up WARN_ON() when

[PATCH 4.4 65/96] sched/rt: Simplify the IPI based RT balancing logic

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (Red Hat) commit 4bdced5c9a2922521e325896a7bbbf0132c94e56 upstream. When a CPU lowers its priority (schedules out a high priority task for a lower priority

[PATCH 4.4 63/96] [media] cx231xx-cards: fix NULL-deref on missing association descriptor

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 6c3b047fa2d2286d5e438bcb470c7b1a49f415f6 upstream. Make sure to check that we actually have an Interface Association Descriptor before dereferencing it

[PATCH 4.4 72/96] RDS: RDMA: return appropriate error on rdma map failures

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Santosh Shilimkar [ Upstream commit 584a8279a44a800dea5a5c1e9d53a002e03016b4 ] The first message to a remote node should prompt a new connection even if it is

[PATCH 4.4 67/96] net/9p: Switch to wait_event_killable()

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tuomas Tynkkynen commit 9523feac272ccad2ad8186ba4fcc89103754de52 upstream. Because userspace gets Very Unhappy when calls like stat() and execve() return -EINTR on 9p

[PATCH 4.4 77/96] net: 3com: typhoon: typhoon_init_one: fix incorrect return values

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Preisner [ Upstream commit 107fded7bf616ad6f46823d98b8ed6405d7adf2d ] In a few cases the err-variable is not set to a negative error code if a function

[PATCH 4.4 60/96] powerpc/signal: Properly handle return value from uprobe_deny_signal()

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Naveen N. Rao commit 46725b17f1c6c815a41429259b3f070c01e71bc1 upstream. When a uprobe is installed on an instruction that we currently do not emulate, we copy

[PATCH 4.4 82/96] ath10k: set CTS protection VDEV param only if VDEV is up

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bartosz Markowski [ Upstream commit 7cfe0455ee1218add152e986b89b4bb8dbeafcdd ] The cts protection vdev parameter, in new QCA9377 TF2.0 firmware, requires bss peer

[PATCH 4.4 59/96] parisc: Fix validity check of pointer size argument in new CAS implementation

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit 05f016d2ca7a4fab99d5d5472168506ddf95e74f upstream. As noted by Christoph Biedl, passing a pointer size of 4 in the new CAS implementation causes

[PATCH 4.4 44/96] SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit e9d4bf219c83d09579bc62512fea2ca10f025d93 upstream. There is no guarantee that either the request or the svc_xprt exist by the time we

[PATCH 4.4 41/96] target: Fix QUEUE_FULL + SCSI task attribute handling

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 1c79df1f349fb6050016cea4ef1dfbc3853a5685 upstream. This patch fixes a bug during QUEUE_FULL where transport_complete_qf() calls

[PATCH 4.4 74/96] dmaengine: zx: set DMA_CYCLIC cap_mask bit

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Shawn Guo [ Upstream commit fc318d64f3d91e15babac00e08354b1beb650b57 ] The zx_dma driver supports cyclic transfer mode. Let's set DMA_CYCLIC cap_mask bit to make that

[PATCH 4.4 66/96] fscrypt: lock mutex before checking for bounce page pool

2017-11-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit a0b3bc855374c50b5ea85273553485af48caf2f7 upstream. fscrypt_initialize(), which allocates the global bounce page pool when an encrypted file is first

[PATCH 4.14 009/193] cpufreq: schedutil: Reset cached_raw_freq when not in sync with next_freq

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Viresh Kumar commit 07458f6a5171d97511dfbdf6ce549ed2ca0280c7 upstream. 'cached_raw_freq' is used to get the next frequency quickly but should always be in sync with

[PATCH 4.14 039/193] dm zoned: ignore last smaller runt zone

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Damien Le Moal commit 114e025968b5990ad0b57bf60697ea64ee206aac upstream. The SCSI layer allows ZBC drives to have a smaller last runt zone. For such a device,

[PATCH 4.14 035/193] ALSA: hda: Add Raven PCI ID

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Vijendar Mukunda commit 9ceace3c9c18c67676e75141032a65a8e01f9a7a upstream. This commit adds PCI ID for Raven platform Signed-off-by: Vijendar Mukunda

[PATCH 4.14 022/193] uapi: fix linux/rxrpc.h userspace compilation errors

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry V. Levin commit 0eef304bc9f7d079a1165e8cd2f24b078e9e1f2a upstream. Consistently use types provided by to fix the following linux/rxrpc.h userspace compilation

[PATCH 4.9 138/138] xen: xenbus driver must not accept invalid transaction ids

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Juergen Gross [ Upstream commit 639b08810d6ad74ded2c5f6e233c4fcb9d147168 ] When accessing Xenstore in a transaction the user is specifying a transaction id which he normally

[PATCH 4.14 013/193] x86/boot: Fix boot failure when SMP MP-table is based at 0

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tom Lendacky commit ac5292e9a294618cecb31109d1ba265e3d027ba2 upstream. When crosvm is used to boot a kernel as a VM, the SMP MP-table is found at physical address

[PATCH 4.14 008/193] ACPI / EC: Fix regression related to triggering source of EC event handling

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit 53c5eaabaea9a1b7a96f95ccc486d2ad721d95bb upstream. Originally the Samsung quirks removed by commit 4c237371 can be covered by commit e923e8e7 and

[PATCH 4.14 031/193] PCI/ASPM: Use correct capability pointer to program LTR_L1.2_THRESHOLD

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas commit c00054f540bf81e592e1fee709b0bdbf20f478b5 upstream. Previously we programmed the LTR_L1.2_THRESHOLD in the parent (upstream) device using the

[PATCH 4.14 034/193] PCI: Apply Cavium ThunderX ACS quirk to more Root Ports

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Vadim Lomovtsev commit f2ddaf8dfd4a5071ad09074d2f95ab85d35c8a1e upstream. Extend the Cavium ThunderX ACS quirk to cover more device IDs and restrict it to only

Re: [Xen-devel] [PATCH v9 4/5] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models 30h-3fh) Processors v5

2017-11-28 Thread Jan Beulich
>>> On 28.11.17 at 11:17, wrote: > Am 28.11.2017 um 10:46 schrieb Jan Beulich: > On 28.11.17 at 10:12, wrote: >>> In theory the BIOS would search for address space and won't find >>> anything, so the hotplug operation should fail even

[PATCH 4.9 071/138] i40e: Use smp_rmb rather than read_barrier_depends

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Brian King commit 52c6912fde0133981ee50ba08808f257829c4c93 upstream. The original issue being fixed in this patch was seen with the ixgbe driver, but the same issue

[PATCH 4.9 089/138] e1000e: Fix error path in link detection

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Poirier commit c4c40e51f9c32c6dd8adf606624c930a1c4d9bbb upstream. In case of error from e1e_rphy(), the loop will exit early and "success" will be set to true

[PATCH 4.9 072/138] igb: Use smp_rmb rather than read_barrier_depends

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Brian King commit c4cb99185b4cc96c0a1c70104dc21ae14d7e7f28 upstream. The original issue being fixed in this patch was seen with the ixgbe driver, but the same issue

[PATCH 4.9 063/138] SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status

2017-11-28 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit e9d4bf219c83d09579bc62512fea2ca10f025d93 upstream. There is no guarantee that either the request or the svc_xprt exist by the time we

[PATCH 4.14 164/193] powerpc/perf/imc: Use cpu_to_node() not topology_physical_package_id()

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit f3f1dfd600ff82b18b7ea73d80eb27f476a6aa97 upstream. init_imc_pmu() uses topology_physical_package_id() to detect the node id of the processor it is

  1   2   3   4   5   6   7   8   9   10   >