[PATCH 3.12 35/84] kaweth: fix firmware download

2016-10-17 Thread Jiri Slaby
From: Oliver Neukum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 60bcabd080f53561efa9288be45c128feda1a8bb upstream. This fixes the oops discovered by the Umap2 project and Alan Stern. The intf member needs to be set before the firmware is

Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422

2016-10-17 Thread Felipe Balbi
Hi, Michael Niewöhner writes: > Hi Felipe, > On Fri, 2016-10-07 at 22:26 +0200, Michael Niewöhner wrote: >> Hi Felipe, >> >> On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote: >> > Hi, >> > >> > Michael Niewöhner writes: >> > > >> > > > >> > > > The clocks are same across working/non-wor

Re: [PATCH] mfd: Add HiSilicon Flash Memory Controller(FMC) driver

2016-10-17 Thread linshunquan (A)
On 2016/10/10 11:19, linshunquan (A) wrote: > > > On 2016/9/15 5:56, Rob Herring wrote: >> On Wed, Sep 14, 2016 at 4:12 AM, linshunquan (A) >> wrote: >>> >>> >>> On 2016/9/13 22:56, Rob Herring wrote: On Tue, Sep 06, 2016 at 10:57:22AM +0800, linshunquan 00354166 wrote: > From: Shunqu

[PATCH 3.12 34/84] NFSD: Using free_conn free connection

2016-10-17 Thread Jiri Slaby
From: Kinglong Mee 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3f42d2c428c724212c5f4249daea97e254eb0546 upstream. Connection from alloc_conn must be freed through free_conn, otherwise, the reference of svc_xprt will never be put. Signed-

[PATCH 3.12 51/84] MIPS: Malta: Fix IOCU disable switch read for MIPS64

2016-10-17 Thread Jiri Slaby
From: Paul Burton 3.12-stable review patch. If anyone has any objections, please let me know. === commit 305723ab439e14debc1d339aa04e835d488b8253 upstream. Malta boards used with CPU emulators feature a switch to disable use of an IOCU. Software has to check this switch & ignore a

[PATCH 3.12 30/84] ppp: defer netns reference release for ppp channel

2016-10-17 Thread Jiri Slaby
From: WANG Cong 3.12-stable review patch. If anyone has any objections, please let me know. === commit 205e1e255c479f3fd77446415706463b282f94e4 upstream. Matt reported that we have a NULL pointer dereference in ppp_pernet() from ppp_connect_channel(), i.e. pch->chan_net is NULL.

[PATCH 3.12 40/84] mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl

2016-10-17 Thread Jiri Slaby
From: Karl Beldan 3.12-stable review patch. If anyone has any objections, please let me know. === commit f6d7c1b5598b6407c3f1da795dd54acf99c1990c upstream. This fixes subpage writes when using 4-bit HW ECC. There has been numerous reports about ECC errors with devices using this

[PATCH 3.12 48/84] usb: gadget: fsl_qe_udc: signedness bug in qe_get_frame()

2016-10-17 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit f4693b08cc901912a87369c46537b94ed4084ea0 upstream. We can't assign -EINVAL to a u16. Fixes: 3948f0e0c999 ('usb: add Freescale QE/CPM USB peripheral controller driver') Acke

[PATCH 3.12 47/84] iwlwifi: pcie: fix access to scratch buffer

2016-10-17 Thread Jiri Slaby
From: Sara Sharon 3.12-stable review patch. If anyone has any objections, please let me know. === commit d5d0689aefc59c6a5352ca25d7e6d47d03f543ce upstream. This fixes a pretty ancient bug that hasn't manifested itself until now. The scratchbuf for command queue is allocated only f

[PATCH 3.12 01/84] gcov: disable tree-loop-im to reduce stack usage

2016-10-17 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit c87bf431448b404a6ef5fbabd74c0e3e42157a7f upstream. Enabling CONFIG_GCOV_PROFILE_ALL produces us a lot of warnings like lib/lz4/lz4hc_compress.c: In function 'lz4_compresshcc

[PATCH 3.12 05/84] ocfs2: fix start offset to ocfs2_zero_range_for_truncate()

2016-10-17 Thread Jiri Slaby
From: Ashish Samant 3.12-stable review patch. If anyone has any objections, please let me know. === commit d21c353d5e99c56cdd5b5c1183ffbcaf23b8b960 upstream. If we punch a hole on a reflink such that following conditions are met: 1. start offset is on a cluster boundary 2. end of

Re: kernel BUG at arch/x86/kernel/traps.c:643! when run Redhat7(v3.10) in kvm guest

2016-10-17 Thread Kefeng Wang
On 2016/10/15 2:36, Andy Lutomirski wrote: > On Thu, Oct 13, 2016 at 11:14 PM, Kefeng Wang > wrote: >> Hi all, >> >> We met BUG_ON in do_device_not_available(fpu exception handler) when run >> redhat7 in kvm guest, >> and there is no special test on this guest, only some network packet receipt

[PATCH 3.12 15/84] iwlegacy: avoid warning about missing braces

2016-10-17 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2cce76c3fab410520610a7d2f52faebc3cfcf843 upstream. gcc-6 warns about code in il3945_hw_txq_ctx_free() being somewhat ambiguous: drivers/net/wireless/intel/iwlegacy/3945.c:10

[PATCH 3.12 17/84] fix fault_in_multipages_...() on architectures with no-op access_ok()

2016-10-17 Thread Jiri Slaby
From: Al Viro 3.12-stable review patch. If anyone has any objections, please let me know. === commit e23d4159b109167126e5bcd7f3775c95de7fee47 upstream. Switching iov_iter fault-in to multipages variants has exposed an old bug in underlying fault_in_multipages_...(); they break if

Re: [lkp] [posix_acl] 073931017b: xfstests.generic.314.fail

2016-10-17 Thread Jan Kara
On Mon 17-10-16 10:11:22, kernel test robot wrote: > FYI, we noticed the following commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit 073931017b49d9458aa351605b43a7e34598caef ("posix_acl: Clear SGID bit > when setting file permissions") > > in testcase

[PATCH 3.12 23/84] i2c-eg20t: fix race between i2c init and interrupt enable

2016-10-17 Thread Jiri Slaby
From: "Yadi.hu" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 371a015344b6e270e7e3632107d9554ec6d27a6b upstream. the eg20t driver call request_irq() function before the pch_base_address, base address of i2c controller's register, is assigne

Re: [RFC PATCH] mm, compaction: allow compaction for GFP_NOFS requests

2016-10-17 Thread Michal Hocko
On Mon 17-10-16 07:49:59, Dave Chinner wrote: > On Thu, Oct 13, 2016 at 01:04:56PM +0200, Michal Hocko wrote: > > On Thu 13-10-16 09:39:47, Michal Hocko wrote: > > > On Thu 13-10-16 11:29:24, Dave Chinner wrote: > > > > On Fri, Oct 07, 2016 at 03:18:14PM +0200, Michal Hocko wrote: > > > [...] > > >

[PATCH 3.12 12/84] Disable "frame-address" warning

2016-10-17 Thread Jiri Slaby
From: Linus Torvalds 3.12-stable review patch. If anyone has any objections, please let me know. === commit 124a3d88fa20e1869fc229d7d8c740cc81944264 upstream. Newer versions of gcc warn about the use of __builtin_return_address() with a non-zero argument when "-Wall" is specified:

[PATCH 3.12 24/84] qxl: check for kmap failures

2016-10-17 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit f4cceb2affcd1285d4ce498089e8a79f4cd2fa66 upstream. If kmap fails, it leads to memory corruption. Fixes: f64122c1f6ad ('drm: add new QXL driver. (v1.4)') Signed-off-by: Dan C

[PATCH 3.12 11/84] Disable "maybe-uninitialized" warning globally

2016-10-17 Thread Jiri Slaby
From: Linus Torvalds 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6e8d666e925333c55378e8d5540a8a9ee0eea9c5 upstream. Several build configurations had already disabled this warning because it generates a lot of false positives. But some ha

[PATCH 3.12 02/84] reiserfs: fix "new_insert_key may be used uninitialized ..."

2016-10-17 Thread Jiri Slaby
From: Jeff Mahoney 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0a11b9aae49adf1f952427ef1a1d9e793dd6ffb6 upstream. new_insert_key only makes any sense when it's associated with a new_insert_ptr, which is initialized to NULL and changed to

[PATCH 3.12 28/84] powerpc/ps3: Remove unused os_area_db_id_video_mode

2016-10-17 Thread Jiri Slaby
From: Michael Ellerman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4fa9a3f6b616fd9f2555d9d0c04513a942750986 upstream. This struct is unused, which is now a build error with gcc 6: error: 'os_area_db_id_video_mode' defined but not used

Re: [PATCH] x86/smp: Add irq_enter/exit() in smp_reschedule_interrupt()

2016-10-17 Thread Peter Zijlstra
On Mon, Oct 17, 2016 at 12:19:43PM +0800, Wanpeng Li wrote: > 2016-10-16 21:39 GMT+08:00 Peter Zijlstra : > >> [] do_trace_write_msr+0x135/0x140 > >> [] native_write_msr+0x20/0x30 > >> [] native_apic_msr_eoi_write+0x1d/0x30 > >> [] smp_reschedule_interrupt+0x1d/0x30 > >> [] reschedule_in

[PATCH 3.12 21/84] can: flexcan: fix resume function

2016-10-17 Thread Jiri Slaby
From: Fabio Estevam 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4de349e786a3a2d51bd02d56f3de151bbc3c3df9 upstream. On a imx6ul-pico board the following error is seen during system suspend: dpm_run_callback(): platform_pm_resume+0x0/0x54

Re: [PATCH 6/10] mmc: sdhci-xenon: Add Marvell Xenon SDHC core functionality

2016-10-17 Thread Adrian Hunter
On 13/10/16 08:38, Ziji Hu wrote: > Hi Adrian, > > On 2016/10/12 21:07, Adrian Hunter wrote: >> On 12/10/16 14:58, Ziji Hu wrote: >>> Hi Adrian, >>> >>> Thank you very much for your review. >>> I will firstly fix the typo. >>> >>> On 2016/10/11 20:37, Adrian Hunter wrote: > > + >

[PATCH 3.12 13/84] Makefile: Mute warning for __builtin_return_address(>0) for tracing only

2016-10-17 Thread Jiri Slaby
From: Steven Rostedt 3.12-stable review patch. If anyone has any objections, please let me know. === commit 377ccbb483738f84400ddf5840c7dd8825716985 upstream. With the latest gcc compilers, they give a warning if __builtin_return_address() parameter is greater than 0. That is beca

[PATCH 3.12 20/84] tracing: Move mutex to protect against resetting of seq data

2016-10-17 Thread Jiri Slaby
From: "Steven Rostedt (Red Hat)" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1245800c0f96eb6ebb368593e251d66c01e61022 upstream. The iter->seq can be reset outside the protection of the mutex. So can reading of user data. Move the mutex up

[PATCH 3.12 03/84] crypto: skcipher - Fix blkcipher walk OOM crash

2016-10-17 Thread Jiri Slaby
From: Herbert Xu 3.12-stable review patch. If anyone has any objections, please let me know. === commit acdb04d0b36769b3e05990c488dc74d8b7ac8060 upstream. When we need to allocate a temporary blkcipher_walk_next and it fails, the code is supposed to take the slow path of processin

Re: [tip:x86/urgent] x86/cpufeature: Add AVX512_4VNNIW and AVX512_4FMAPS features

2016-10-17 Thread Luc, Piotr
On Mon, 2016-10-17 at 09:55 +0200, Thomas Gleixner wrote: > On Sun, 16 Oct 2016, Borislav Petkov wrote: > > > > > > > > The spec can be found in Intel Software Developer Manual or in > > > Instruction Set Extensions Programming Reference. See > > > https://software.intel.com/sites/default/files/m

Re: [PATCH] kasan: support panic_on_warn

2016-10-17 Thread Dmitry Vyukov
On Mon, Oct 17, 2016 at 10:13 AM, Andrey Ryabinin wrote: > > > On 10/14/2016 08:10 PM, Dmitry Vyukov wrote: >> If user sets panic_on_warn, he wants kernel to panic if there is >> anything barely wrong with the kernel. KASAN-detected errors >> are definitely not less benign than an arbitrary kernel

[PATCH 3.12 25/84] hostfs: Freeing an ERR_PTR in hostfs_fill_sb_common()

2016-10-17 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8a545f185145e3c09348cd74326268ecfc6715a3 upstream. We can't pass error pointers to kfree() or it causes an oops. Fixes: 52b209f7b848 ('get rid of hostfs_read_inode()') Signe

[PATCH 3.12 22/84] btrfs: ensure that file descriptor used with subvol ioctls is a dir

2016-10-17 Thread Jiri Slaby
From: Jeff Mahoney 3.12-stable review patch. If anyone has any objections, please let me know. === commit 325c50e3cebb9208009083e841550f98a863bfa0 upstream. If the subvol/snapshot create/destroy ioctls are passed a regular file with execute permissions set, we'll eventually Oops w

[PATCH 3.12 04/84] ocfs2/dlm: fix race between convert and migration

2016-10-17 Thread Jiri Slaby
From: Joseph Qi 3.12-stable review patch. If anyone has any objections, please let me know. === commit e6f0c6e6170fec175fe676495f29029aecdf486c upstream. Commit ac7cf246dfdb ("ocfs2/dlm: fix race between convert and recovery") checks if lockres master has changed to identify wheth

[PATCH 3.12 18/84] mtd: pmcmsp-flash: Allocating too much in init_msp_flash()

2016-10-17 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 79ad07d45743721010e766e65dc004ad249bd429 upstream. There is a cut and paste issue here. The bug is that we are allocating more memory than necessary for msp_maps. We should

[PATCH 3.12 14/84] net: caif: fix misleading indentation

2016-10-17 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8e0cc8c326d99e41468c96fea9785ab78883a281 upstream. gcc points out code that is not indented the way it is interpreted: net/caif/cfpkt_skbuff.c: In function 'cfpkt_setlen': n

[PATCH 3.12 06/84] kbuild: Do not run modules_install and install in paralel

2016-10-17 Thread Jiri Slaby
From: Michal Marek 3.12-stable review patch. If anyone has any objections, please let me know. === commit a85a41ed69f27c4c667d8c418df14b4fb220c4ad upstream. Based on a x86-only patch by Andy Lutomirski With modular kernels, 'make install' is going to need the installed modules a

Re: About group scheduling for SCHED_DEADLINE

2016-10-17 Thread Peter Zijlstra
On Mon, Oct 17, 2016 at 08:38:57AM +0200, luca abeni wrote: > > Yes, there currently is no existing schedulability analysis for > > multi-processor EDF with random affinities (as far as I know) > Correction: it looks like I was wrong, and the schedulability of > multi-processor EDF with arbitrary

Re: [PATCH v4 2/8] scpi: Add alternative legacy structures, functions and macros

2016-10-17 Thread Neil Armstrong
On 10/10/2016 04:36 PM, Sudeep Holla wrote: > Hi Neil, > > Sorry, I could not reply to your response on v3. Anyways I will review v4. > > On 05/10/16 08:33, Neil Armstrong wrote: >> This patch adds support for the Legacy SCPI protocol in early JUNO versions >> and >> shipped Amlogic ARMv8 based

Re: [PATCH] kasan: support panic_on_warn

2016-10-17 Thread Andrey Ryabinin
On 10/14/2016 08:10 PM, Dmitry Vyukov wrote: > If user sets panic_on_warn, he wants kernel to panic if there is > anything barely wrong with the kernel. KASAN-detected errors > are definitely not less benign than an arbitrary kernel WARNING. > > Panic after KASAN errors if panic_on_warn is set.

Re: [lkp] [posix_acl] 073931017b: xfstests.generic.314.fail

2016-10-17 Thread Andreas Gruenbacher
On Mon, Oct 17, 2016 at 10:21 AM, Jan Kara wrote: > The changes in generic/092, generic/255, generic/316 look unrelated. Not > sure how 0-day ended up blaming that commit (furthermore they don't > reproduce for me locally). The change in generic/314 is known and > deliberate. xfstests have been fi

Re: [PATCH] staging: dgnc: replace DGNC_VERIFY_BOARD macro

2016-10-17 Thread Greg KH
On Fri, Oct 14, 2016 at 07:22:57PM +0200, Fernando Apesteguia wrote: > The patch replaces the macro with a function (dgnc_get_board) and > substitutes the macro statement with a call to that function and a > comparison on the returned value. > > This removes a checkpatch warning. > > Signed-off-b

Re: linux-4.9-rc1/drivers/staging/lustre/lustre/osc/osc_request.c:973: always false test ?

2016-10-17 Thread gre...@linuxfoundation.org
On Mon, Oct 17, 2016 at 07:33:33AM +, David Binderman wrote: > Hello there, > > > > linux-4.9-rc1/drivers/staging/lustre/lustre/osc/osc_request.c:973]: (style) > Checking if unsigned variable 'cli.cl_avail_grant' is less than zero. > > > > Source code is > > > >    if (cli->cl_avail_g

[PATCH 0/23] ASoC: add OF graph base simple-card

2016-10-17 Thread Kuninori Morimoto
Hi Rob, Mark These are OF graph base simple-card patch-set. 1) - 3) : simple-scu-card cleanup 4) - 10) : soc-core prepare for OF graph card 11) - 17) : OF graph new feature 18) - 23) : OF graph base simple-card I posted 11) - 17) OF graph new feature patches before, and then Rob requested abo

[PATCH 01/23] ASoC: simple-scu-card: code sync: follow to simple family style

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto simple sound card family are using very similar style, but because of its historical reason, there are small differences. For example pointer style, function name, caller postion etc... This patch synchronized simple card style to other simple card family Current simple-s

[PATCH 02/23] ASoC: simple-scu-card: code sync: rename asoc_simple_card_priv

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto simple sound card family are using very similar style, but because of its historical reason, there are small differences. For example pointer style, function name, caller postion etc... This patch synchronized simple card style to other simple card family This patch renam

[PATCH 04/23] ASoC: soc-core: adjust for graph on snd_soc_of_parse_card_name

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto It is assuming that the card related information is located on "card" node, but graph case doesn't have it. This patch adds node parameter to adjust for graph support Signed-off-by: Kuninori Morimoto --- include/sound/soc.h | 7 +-- sound/soc/soc-core.c | 11 +

[PATCH 03/23] ASoC: simple-scu-card: code sync: tidyup props/link naming

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto simple sound card family are using very similar style, but because of its historical reason, there are small differences. For example pointer style, function name, caller postion etc... This patch synchronizes style to other simple card family so that be enable to easy rev

Re: [PATCH 01/12] extarray: define helpers for arrays defined in linker scripts

2016-10-17 Thread Peter Zijlstra
On Sun, Oct 16, 2016 at 05:16:05PM +0200, Vegard Nossum wrote: > The test in this loop: > > for (b_fw = __start_builtin_fw; b_fw != __end_builtin_fw; b_fw++) { > > was getting completely compiled out by my gcc, 7.0.0 20160520. The result > was that the loop was going beyond the end of the b

[PATCH 06/23] ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_routing

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto It is assuming that the card related information is located on "card" node, but graph case doesn't have it. This patch adds node parameter to adjust for graph support Signed-off-by: Kuninori Morimoto --- include/sound/soc.h | 9 +++-- sound/soc/soc-core.c | 9 +

[PATCH 05/23] ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_simple_widgets

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto It is assuming that the card related information is located on "card" node, but graph case doesn't have it. This patch adds node parameter to adjust for graph support Signed-off-by: Kuninori Morimoto --- include/sound/soc.h | 8 ++-- sound/soc/soc-core.c | 9 ++

[PATCH 07/23] ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_prefix

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto It is assuming that the card related information is located on "card" node, but graph case doesn't have it. This patch adds node parameter to adjust for graph support Signed-off-by: Kuninori Morimoto --- include/sound/soc.h | 6 +- sound/soc/soc-core.c | 9 ++--

[PATCH 09/23] ASoC: simple-card-utils: remove unnecessary cpu/codec pointer check

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto Remove cpu/codec pointer check from asoc_simple_card_canonicalize_dailink() This is verbose check, and will be issue if CPU name was created by fmt_single_name() on simple-scu-card.c. see also asoc_simple_card_canonicalize_cpu() Signed-off-by: Kuninori Morimoto --- soun

[PATCH 10/23] ASoC: simple-card-utils: adjust for graph on asoc_simple_card_parse_card_name

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto It is assuming that the card related information is located on "card" node, but graph case doesn't have it. This patch adds node parameter to adjust for graph support Signed-off-by: Kuninori Morimoto --- include/sound/simple_card_utils.h | 1 + sound/soc/generic/sim

[PATCH 08/23] ASoC: soc-core: snd_soc_get_dai_name() become non static

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto snd_soc_get_dai_name() is used from snd_soc_of_get_dai_name(), and it is assuming that DT is using "sound-dai" / "#sound-dai-cells". But graph base DT is using "remote-endpoint". This patch makes snd_soc_get_dai_name() non static for graph support. Signed-off-by: Kuninori

[PATCH 11/23] Documentation: of: add type property

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto OF graph indicates each devices connection. But it doesn't support type of each port. For example HDMI case, it has video port and sound port in one device node. In this case, current driver can't handle each port correctly. This patch enables to use type property on OF g

lånetilbud 1,5%

2016-10-17 Thread UK CREDIT LTD LOAN
Hilsener Sir / Madam: Jeg er Dr. Peter Ibrahim fra private lån selskapet UK CREDIT LTD lån, som ligger i Storbritannia. Vi tilbyr alle typer lån til enkeltpersoner og bedrifter, Gjør deg selv økonomisk stabil ved å skaffe et lån fra UK CREDIT LTD LÅN 1,5% rente så kort og Langsiktige lån,

[PATCH 14/23] of_graph: add of_graph_get_port_parent()

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto Linux kernel already has of_graph_get_remote_port_parent(), but, sometimes we want to get own port parent. This patch adds of_graph_get_port_parent() Signed-off-by: Kuninori Morimoto --- drivers/of/base.c| 30 ++ include/linux/of_gra

[PATCH 13/23] of_graph: add of_graph_port_type_is()

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto OF graph indicates each devices connection. But it doesn't support type of each port. For example HDMI case, it has video port and sound port in one device node. In this case, current driver can't handle each port correctly. This patch adds of_graph_port_type_is() for it

[PATCH 17/23] of_graph: add of_graph_get_endpoint_count()

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto OF graph want to count its endpoint number, same as of_get_child_count(). This patch adds of_graph_get_endpoint_count() which can check specific type. It will count all endpoint if type was NULL. Signed-off-by: Kuninori Morimoto --- drivers/of/base.c| 16 ++

[PATCH 18/23] ASoC: simple-card-utils: add asoc_simple_card_parse_graph_dai()

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto simple-card already has asoc_simple_card_parse_dai(), but graph base parsing needs graph specific version of it. Signed-off-by: Kuninori Morimoto --- include/sound/simple_card_utils.h | 11 +++ sound/soc/generic/simple-card-utils.c | 57 +

[PATCH 16/23] of_graph: add for_each_of_port() / for_each_of_endpoint_in_port()

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto OF graph is used mainly from V4L2, but ALSA needs to use it. It already has for_each_endpoint_of_node() which is for-loop for each endpoint. But, ALSA needs for-loop for each port[s], and for-loop for each endpoint of inside port[s]. This patch adds for_each_of_port() and

[PATCH 20/23] ASoC: add simple-graph-card document

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- .../bindings/sound/simple-graph-card.txt | 65 ++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/simple-graph-card.txt diff --git a/Documentation/devicetre

[PATCH 12/23] of_graph: add of_graph_get_remote_endpoint()

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto It should use same method to get same result. To getting remote-endpoint node, let's use of_graph_get_remote_endpoint() Signed-off-by: Kuninori Morimoto --- drivers/of/base.c| 18 -- include/linux/of_graph.h | 8 2 files changed, 24 in

[PATCH 22/23] ASoC: add simple-graph-scu-card document

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- .../bindings/sound/simple-graph-scu-card.txt | 66 ++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/simple-graph-scu-card.txt diff --git a/Documentation/devic

[PATCH 19/23] ASoC: simple-card-utils: add asoc_simple_card_try_to_probe_graph_card()

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto If CPU/Platform side driver probes successfully, and if it is supporting both previous normal sound card style and graph style DT, it can call asoc_simple_card_try_to_probe_graph_card(). It checks graph style DT, and do nothing if it was non graph style DT, or register new

[PATCH 15/23] of_graph: add of_graph_get_top_port()

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto driver want to get top level of port[s] node. This patch adds of_graph_get_top_port() for this purpose Signed-off-by: Kuninori Morimoto --- drivers/of/base.c| 24 include/linux/of_graph.h | 2 ++ 2 files changed, 26 insertions(+) diff

[PATCH 21/23] ASoC: add simple-graph-card support

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto graph base DT binding are used on V4L2, and ALSA SoC is using different style of DT. In case of simple case, ALSA SoC supports simple-card driver. In the future, V4L2 / ALSA will support HDMI, and then, DT bindings between V4L2 / ALSA should be merged somehow. This patch

[PATCH 23/23] ASoC: add simple-graph-scu-card support

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto graph base DT binding are used on V4L2, and ALSA SoC is using different style of DT. In case of simple case, ALSA SoC supports simple-card driver. In the future, V4L2 / ALSA will support HDMI, and then, DT bindings between V4L2 / ALSA should be merged somehow. Sometimes,

Re: [PATCH v2] mm: exclude isolated non-lru pages from NR_ISOLATED_ANON or NR_ISOLATED_FILE.

2016-10-17 Thread Michal Hocko
On Mon 17-10-16 08:06:18, Minchan Kim wrote: > Hi Michal, > > On Sat, Oct 15, 2016 at 09:10:45AM +0200, Michal Hocko wrote: > > On Sat 15-10-16 00:26:33, Minchan Kim wrote: > > > On Fri, Oct 14, 2016 at 05:03:55PM +0200, Michal Hocko wrote: > > [...] > > > > diff --git a/mm/compaction.c b/mm/compa

Re: [bug/regression] libhugetlbfs testsuite failures and OOMs eventually kill my system

2016-10-17 Thread Aneesh Kumar K.V
Mike Kravetz writes: > On 10/14/2016 01:48 AM, Jan Stancek wrote: >> On 10/14/2016 01:26 AM, Mike Kravetz wrote: >>> >>> Hi Jan, >>> >>> Any chance you can get the contents of /sys/kernel/mm/hugepages >>> before and after the first run of libhugetlbfs testsuite on Power? >>> Perhaps a script like

[PATCH 0/2] ARM: oxnas: Add SMP support for OX820

2016-10-17 Thread Neil Armstrong
In order to support the SMP feature of the Oxford Semiconductor OX820 SoC, add the necessary code to handle the wake-up, hotplug and cpu entry. Neil Armstrong (2): ARM: oxnas: Add OX820 SMP support ARM: oxnas: Add OX820 config and makefile entry arch/arm/Makefile | 1 + arch

[PATCH 1/2] ARM: oxnas: Add OX820 SMP support

2016-10-17 Thread Neil Armstrong
The Oxford Semiconductor OX820 is a ARM11MPcore based SoC sharing some features with the OX810 earlier SoC. This patch adds the core to wake up the second core. Signed-off-by: Neil Armstrong --- arch/arm/mach-oxnas/Makefile | 2 + arch/arm/mach-oxnas/headsmp.S | 28 arch/arm/mach-ox

[PATCH 2/2] ARM: oxnas: Add OX820 config and makefile entry

2016-10-17 Thread Neil Armstrong
Refactor the oxnas Kconfig entries among the OX810SE and OX820 configs, and add the files to support the OX820 SMP feature. Signed-off-by: Neil Armstrong --- arch/arm/Makefile | 1 + arch/arm/mach-oxnas/Kconfig | 30 +- 2 files changed, 22 insertions(+), 9

Re: [PATCH 5/5] KVM: LAPIC: add APIC Timer periodic/oneshot mode VMX preemption timer support

2016-10-17 Thread Paolo Bonzini
On 17/10/2016 09:45, Wanpeng Li wrote: > + remaining = ktime_sub(apic->lapic_timer.target_expiration, now); > if (ktime_to_ns(remaining) < 0) > remaining = ktime_set(0, 0); > > @@ -1351,13 +1352,28 @@ static void start_sw_period(struct kvm_lapic *apic) > { > ktime

Re: [tip:x86/urgent] x86/cpufeature: Add AVX512_4VNNIW and AVX512_4FMAPS features

2016-10-17 Thread Ingo Molnar
* Luc, Piotr wrote: > On Mon, 2016-10-17 at 09:55 +0200, Thomas Gleixner wrote: > > On Sun, 16 Oct 2016, Borislav Petkov wrote: > > > > > > > > > > > The spec can be found in Intel Software Developer Manual or in > > > > Instruction Set Extensions Programming Reference. See > > > > https://sof

[tip:x86/urgent] x86/cpu/intel: Add Knights Mill to Intel family

2016-10-17 Thread tip-bot for Piotr Luc
Commit-ID: 0047f59834e5947d45f34f5f12eb330d158f700b Gitweb: http://git.kernel.org/tip/0047f59834e5947d45f34f5f12eb330d158f700b Author: Piotr Luc AuthorDate: Wed, 12 Oct 2016 20:05:20 +0200 Committer: Ingo Molnar CommitDate: Mon, 17 Oct 2016 10:45:08 +0200 x86/cpu/intel: Add Knights Mil

Re: aarch64 ACPI boot regressed by commit 7ba5f605f3a0 ("arm64/numa: remove the limitation that cpu0 must bind to node0")

2016-10-17 Thread Leizhen (ThunderTown)
>> diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c >> index d3f151cfd4a1..8507703dabe4 100644 >> --- a/arch/arm64/kernel/smp.c >> +++ b/arch/arm64/kernel/smp.c >> @@ -544,6 +544,7 @@ acpi_map_gic_cpu_interface(struct >> acpi_madt_generic_interrupt *processor) >>

[tip:x86/urgent] perf/x86/intel: Add Knights Mill CPUID

2016-10-17 Thread tip-bot for Piotr Luc
Commit-ID: 608284bf0def3ca5e6936920fcd84294101ef12d Gitweb: http://git.kernel.org/tip/608284bf0def3ca5e6936920fcd84294101ef12d Author: Piotr Luc AuthorDate: Wed, 12 Oct 2016 20:26:34 +0200 Committer: Ingo Molnar CommitDate: Mon, 17 Oct 2016 10:45:08 +0200 perf/x86/intel: Add Knights Mi

[tip:x86/urgent] perf/x86/intel/uncore: Add Knights Mill CPUID

2016-10-17 Thread tip-bot for Piotr Luc
Commit-ID: ba2f81575eba8dcf128354169c20ae23f810f652 Gitweb: http://git.kernel.org/tip/ba2f81575eba8dcf128354169c20ae23f810f652 Author: Piotr Luc AuthorDate: Wed, 12 Oct 2016 20:27:58 +0200 Committer: Ingo Molnar CommitDate: Mon, 17 Oct 2016 10:45:09 +0200 perf/x86/intel/uncore: Add Kni

Re: [PATCH v5 5/6] sched/fair: Track peak per-entity utilization

2016-10-17 Thread Morten Rasmussen
On Fri, Oct 14, 2016 at 02:41:11PM +0100, Morten Rasmussen wrote: > @@ -3515,6 +3517,10 @@ dequeue_entity(struct cfs_rq *cfs_rq, struct > sched_entity *se, int flags) >*/ > if ((flags & (DEQUEUE_SAVE | DEQUEUE_MOVE)) == DEQUEUE_SAVE) > update_min_vruntime(cfs_rq); > + >

[PATCH] kasan: support panic_on_warn

2016-10-17 Thread Dmitry Vyukov
If user sets panic_on_warn, he wants kernel to panic if there is anything barely wrong with the kernel. KASAN-detected errors are definitely not less benign than an arbitrary kernel WARNING. Panic after KASAN errors if panic_on_warn is set. We use this for continuous fuzzing where we want kernel

[PATCH v2] kasan: support panic_on_warn

2016-10-17 Thread Dmitry Vyukov
If user sets panic_on_warn, he wants kernel to panic if there is anything barely wrong with the kernel. KASAN-detected errors are definitely not less benign than an arbitrary kernel WARNING. Panic after KASAN errors if panic_on_warn is set. We use this for continuous fuzzing where we want kernel

Re: [PATCH] kasan: support panic_on_warn

2016-10-17 Thread Dmitry Vyukov
On Mon, Oct 17, 2016 at 10:39 AM, Andrey Ryabinin wrote: > > > On 10/17/2016 11:18 AM, Dmitry Vyukov wrote: >> On Mon, Oct 17, 2016 at 10:13 AM, Andrey Ryabinin >> wrote: >>> >>> >>> On 10/14/2016 08:10 PM, Dmitry Vyukov wrote: If user sets panic_on_warn, he wants kernel to panic if there is

Re: [PATCH 01/12] extarray: define helpers for arrays defined in linker scripts

2016-10-17 Thread Jiri Slaby
On 10/17/2016, 10:33 AM, Peter Zijlstra wrote: > On Sun, Oct 16, 2016 at 05:16:05PM +0200, Vegard Nossum wrote: >> The test in this loop: >> >> for (b_fw = __start_builtin_fw; b_fw != __end_builtin_fw; b_fw++) { >> >> was getting completely compiled out by my gcc, 7.0.0 20160520. The result >>

Re: MD-RAID: Use seq_putc() in three status functions?

2016-10-17 Thread SF Markus Elfring
>> Calling the function "seq_putc" will be more efficient than "seq_printf" >> in this case because of the following reasons. >> >> 1. How does the distribution look like for supported processor architectures >>where the data transfer for bytes (as a function call parameter) >>is faster tha

Re: [PATCH 1/2] ARM: oxnas: Add OX820 SMP support

2016-10-17 Thread Arnd Bergmann
On Monday, October 17, 2016 10:43:02 AM CEST Neil Armstrong wrote: > + > + /* > +* This is really belt and braces; we hold unintended secondary > +* CPUs in the holding pen until we're ready for them. However, > +* since we haven't sent them a soft interrupt, they sho

[PATCH] mfd: rk808: RK818 uses DEV_OFF to power off supplies

2016-10-17 Thread Jianhong Chen
DEV_OFF and DEV_OFF_RST functions for RK808 are designed error that only DEV_OFF_RST can power off supplies. RK818 has been fixed this issue, so that DEV_OFF is used to power off supplies. Signed-off-by: Jianhong Chen --- drivers/mfd/rk808.c | 23 ++- include/linux/mfd/

Re: [PATCH 01/12] extarray: define helpers for arrays defined in linker scripts

2016-10-17 Thread Peter Zijlstra
On Mon, Oct 17, 2016 at 11:01:13AM +0200, Jiri Slaby wrote: > On 10/17/2016, 10:33 AM, Peter Zijlstra wrote: > > On Sun, Oct 16, 2016 at 05:16:05PM +0200, Vegard Nossum wrote: > >> The test in this loop: > >> > >>for (b_fw = __start_builtin_fw; b_fw != __end_builtin_fw; b_fw++) { > >> > >> was

Re: [PATCH v6 17/17] dax: remove "depends on BROKEN" from FS_DAX_PMD

2016-10-17 Thread Jan Kara
On Mon 17-10-16 11:27:24, Aneesh Kumar K.V wrote: > Ross Zwisler writes: > > > Now that DAX PMD faults are once again working and are now participating in > > DAX's radix tree locking scheme, allow their config option to be enabled. > > > > Signed-off-by: Ross Zwisler > > --- > > fs/Kconfig | 1

Re: [v4.8-rc1 Regression] sched/fair: Apply more PELT fixes

2016-10-17 Thread Vincent Guittot
Le Friday 14 Oct 2016 à 12:04:02 (-0400), Joseph Salisbury a écrit : > On 10/14/2016 11:18 AM, Vincent Guittot wrote: > > Le Friday 14 Oct 2016 à 14:10:07 (+0100), Dietmar Eggemann a écrit : > >> On 14/10/16 09:24, Vincent Guittot wrote: > >>> On 13 October 2016 at 23:34, Vincent Guittot > >>> wr

[PATCH] MIPS: Fix build of compressed image

2016-10-17 Thread Matt Redfearn
of errors. make: *** [sub-make] Error 2 make: Target `_all' not remade because of errors. Fix this by quoting $(platform-y) as it is passed to the Makefile in arch/mips/boot/compressed/Makefile Reported-by: kernelci.org bot Link: https://storage.kernelci.org/next/next-20161017/mips-gpr_defc

[PATCH] staging: greybus: audio: remove redundant slot field

2016-10-17 Thread Pankaj Bharadiya
gb_audio_manager_module_descriptor's intf_id field maintains the information about the interface on which module is connected hence having an extra slot field is redundant. Thus remove the slot field and its associated code. Signed-off-by: Pankaj Bharadiya --- drivers/staging/greybus/audio_code

[PATCH 0/6 v5] sched: reflect sched_entity move into task_group's load

2016-10-17 Thread Vincent Guittot
Ensure that the move of a sched_entity will be reflected in load and utilization of the task_group hierarchy. When a sched_entity moves between groups or CPUs, load and utilization of cfs_rq don't reflect the changes immediately but converge to new values. As a result, the metrics are no more alig

[PATCH 1/6 v5] sched: factorize attach entity

2016-10-17 Thread Vincent Guittot
Factorize post_init_entity_util_avg and part of attach_task_cfs_rq in one function attach_entity_cfs_rq Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c

[PATCH 5/6 v5] sched: propagate asynchrous detach

2016-10-17 Thread Vincent Guittot
A task can be asynchronously detached from cfs_rq when migrating between CPUs. The load of the migrated task is then removed from source cfs_rq during its next update. We use this event to set propagation flag. During the load balance, we take advanatge of the update of blocked load to propagate a

[PATCH 2/6 v5] sched: fix hierarchical order in rq->leaf_cfs_rq_list

2016-10-17 Thread Vincent Guittot
Fix the insertion of cfs_rq in rq->leaf_cfs_rq_list to ensure that a child will always be called before its parent. The hierarchical order in shares update list has been introduced by commit 67e86250f8ea ("sched: Introduce hierarchal order on shares update list") With the current implementation a

[PATCH 3/6 v5] sched: factorize PELT update

2016-10-17 Thread Vincent Guittot
Every time, we modify load/utilization of sched_entity, we start to sync it with its cfs_rq. This update is done is different ways: -when attaching/detaching a sched_entity, we update cfs_rq and then we sync the entity with the cfs_rq. -when enqueueing/dequeuing the sched_entity, we update both sch

[PATCH 4/6 v5] sched: propagate load during synchronous attach/detach

2016-10-17 Thread Vincent Guittot
When a task moves from/to a cfs_rq, we set a flag which is then used to propagate the change at parent level (sched_entity and cfs_rq) during next update. If the cfs_rq is throttled, the flag will stay pending until the cfs_rw is unthrottled. For propagating the utilization, we copy the utilizatio

[PATCH 6/6 v5] sched: fix task group initialization

2016-10-17 Thread Vincent Guittot
The moves of tasks are now propagated down to root and the utilization of cfs_rq reflects reality so it doesn't need to be estimated at init. Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sc

[PATCH] rcu: Remove unused but set variable

2016-10-17 Thread Tobias Klauser
Since commit 7ec99de36f40 ("rcu: Provide exact CPU-online tracking for RCU"), the variable mask in rcu_init_percpu_data is set but no longer used. Remove it to fix the following warning when building with 'W=1': kernel/rcu/tree.c: In function ‘rcu_init_percpu_data’: kernel/rcu/tree.c:3765:16:

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