[PATCH 4.4 35/93] MIPS: Malta: Fix IOCU disable switch read for MIPS64

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton 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

[PATCH 4.4 36/93] MIPS: uprobes: fix use of uninitialised variable

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Nowakowski commit ca86c9ef2b322ebf24772009fdea037688cbdac1 upstream. arch_uprobe_pre_xol needs to emulate a branch if a branch instruction has been replaced with a breakpoint, but in fac

[PATCH 4.4 58/93] avr32: off by one in at32_init_pio()

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 55f1cf83d5cf885c75267269729805852039c834 upstream. The pio_dev[] array has MAX_NR_PIO_DEVICES elements so the > should be >=. Fixes: 5f97f7f9400d ('[PATCH] avr32 architect

[PATCH 4.4 00/93] 4.4.24-stable review

2016-10-06 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.24 release. There are 93 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 Sat Oct 8 07:47:15 UTC 2016. Anything receive

[PATCH 4.4 23/93] hwmon: (adt7411) set bit 3 in CFG1 register

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Walle commit b53893aae441a034bf4dbbad42fe218561d7d81f upstream. According to the datasheet you should only write 1 to this bit. If it is not set, at least AIN3 will return bad values on

[PATCH 02/54] md/raid0: Less function calls in create_strip_zones() after error detection

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 10:43:33 +0200 The kfree() function was called in up to two cases by the create_strip_zones() function during error handling even if the passed data structure member (or variable) contained a null pointer. Adjust jump targets according to the Linux codi

[PATCH 4.4 39/93] regulator: qcom_spmi: Add support for S4 supply on pm8941

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit c333dfe8dba7d3e47e97e1cee3c38123e19ae73c upstream. The S4 supply is sometimes called the boost regulator because it outputs 5V. Typically it's connected to the 5vs1 and 5vs2

[PATCH 4.4 51/93] pstore: drop file opened reference count

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Geliang Tang commit 52d210d961a62a9662e27f14d6505d6741b2fb02 upstream. In ee1d267423a1 ("pstore: add pstore unregister") I added: .owner = THIS_MODULE, in both pstore_fs_type and pstore

[PATCH 05/54] md/raid0: Move another variable assignment in create_strip_zones()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 13:54:36 +0200 One local variable was set to an error code before a concrete error situation was detected. Thus move the corresponding assignment to the end to indicate a software failure there. Use it finally in four if branches for exception handling.

[PATCH 4.4 49/93] hwrng: omap - Fix assumption that runtime_get_sync will always succeed

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nishanth Menon commit 61dc0a446e5d08f2de8a24b45f69a1e302bb1b1b upstream. pm_runtime_get_sync does return a error value that must be checked for error conditions, else, due to various reasons, t

[PATCH 4.4 31/93] ARM: 8618/1: decompressor: reset ttbcr fields to use TTBR0 on ARMv7

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Ramana commit 117e5e9c4cfcb7628f08de074fbfefec1bb678b7 upstream. If the bootloader uses the long descriptor format and jumps to kernel decompressor code, TTBCR may not be in a right st

[PATCH 4.4 61/93] svc: Avoid garbage replies when pc_func() returns rpc_drop_reply

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chuck Lever commit 0533b13072f4bf35738290d2cf9e299c7bc6c42a upstream. If an RPC program does not set vs_dispatch and pc_func() returns rpc_drop_reply, the server sends a reply anyway containing

[PATCH 4.4 70/93] sysctl: handle error writing UINT_MAX to u32 fields

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Subash Abhinov Kasiviswanathan commit e7d316a02f683864a12389f8808570e37fb90aa3 upstream. We have scripts which write to certain fields on 3.18 kernels but this seems to be failing on 4.4 kernel

[PATCH 4.4 67/93] brcmsmac: Free packet if dma_mapping_error() fails in dma_rxfill

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit 5c5fa1f464ac954982df1d96b9f9a5103d21aedd upstream. In case dma_mapping_error() returns an error in dma_rxfill, we would be leaking a packet that we allocated with brcmu_

[PATCH 4.4 69/93] powerpc/prom: Fix sub-processor option passed to ibm, client-architecture-support

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 66443efa83dc73775100b7442962ce2cb0d4472e upstream. When booting from an OpenFirmware which supports it, we use the "ibm,client-architecture-support" firmware call to com

[PATCH 4.4 66/93] brcmfmac: Fix glob_skb leak in brcmf_sdiod_recv_chain

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit 3bdae810721b33061d2e541bd78a70f86ca42af3 upstream. In case brcmf_sdiod_recv_chain() cannot complete a succeful call to brcmf_sdiod_buffrw, we would be leaking glom_skb a

[PATCH 4.4 68/93] brcmsmac: Initialize power in brcms_c_stf_ss_algo_channel_get()

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit f823a2aa8f4674c095a5413b9e3ba12d82df06f2 upstream. wlc_phy_txpower_get_current() does a logical OR of power->flags, which presumes that power.flags was initiliazed earli

[PATCH 4.4 40/93] regulator: qcom_spmi: Add support for get_mode/set_mode on switches

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit 919163f6362ac23138d31fc8befdd52e5d7e488d upstream. The voltage switches support mode switching, so add support for these ops to those types of regulators. Cc: Bjorn Anderss

[PATCH 4.4 83/93] clk: xgene: Add missing parenthesis when clearing divider value

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Loc Ho commit 0f4c7a138dfefb0ebdbaf56e3ba2acd2958a6605 upstream. In the initial fix for non-zero divider shift value, the parenthesis was missing after the negate operation. This patch adds the

[PATCH 4.4 84/93] dm log writes: fix bug with too large bios

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 7efb367320f56fc4d549875b6f3a6940018ef2e5 upstream. bio_alloc() can allocate a bio with at most BIO_MAX_PAGES (256) vector entries. However, the incoming bio may have mor

[PATCH 09/54] md/raid0: Add some spaces for better code readability

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 14:48:34 +0200 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/md/raid0.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/driver

[PATCH 08/54] md/raid0: Delete an unnecessary return statement in raid0_status()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 14:34:33 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement here. Signed-off-by: Markus Elfring --- drivers/md/raid0.c | 1 - 1

[PATCH 4.4 89/93] Revert "usbtmc: convert to devm_kzalloc"

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman commit ab21b63e8aedfc73565dd9cdd51eb338341177cb upstream. This reverts commit e6c7efdcb76f11b04e3d3f71c8d764ab75c9423b. Turns out it was totally wrong. The memory is suppos

[PATCH 4.4 79/93] IB/mlx4: Fix code indentation in QP1 MAD flow

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein commit baa0be7026e2f7d1d40bfd45909044169e9e3c68 upstream. The indentation in the QP1 GRH flow in procedure build_mlx_header is really confusing. Fix it, in preparation for a co

[PATCH 4.4 71/93] ASoC: omap-mcpdm: Fix irq resource handling

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Ujfalusi commit a8719670687c46ed2e904c0d05fa4cd7e4950cd1 upstream. Fixes: ddd17531ad908 ("ASoC: omap-mcpdm: Clean up with devm_* function") Managed irq request will not doing any good in

[PATCH 4.4 90/93] ALSA: hda - Adding one more ALC255 pin definition for headset problem

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 392c9da24a994f238c5d7ea611c6245be4617014 upstream. We have two new Dell laptop models, they have the same ALC255 pin definition, but not in the pin quirk table yet, as a result,

[PATCH 4.4 82/93] aio: mark AIO pseudo-fs noexec

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit 22f6b4d34fcf039c63a94e7670e0da24f8575a5a upstream. This ensures that do_mmap() won't implicitly make AIO memory mappings executable if the READ_IMPLIES_EXEC personality flag is

[PATCH 4.4 45/93] ARM: sa1100: fix 3.6864MHz clock

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 02ba38a5b6d6e0bc89c7b74651f1873055028a56 upstream. pxa_timer wants to be able to call clk_enable() etc on this clock, but our clk_enable() implementation expects non-NULL en

[PATCH 4.4 37/93] printk: fix parsing of "brl=" option

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit ae6c33ba6e37eea3012fe2640b22400ef3f2d0f3 upstream. Commit bbeddf52adc1 ("printk: move braille console support into separate braille.[ch] files") moved the parsing of braill

[PATCH 4.4 93/93] ALSA: hda - Add the top speaker pin config for HP Spectre x360

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 0eec880966e77bdbee0112989a2be67d92e39929 upstream. HP Spectre x360 with CX20724 codec has two speaker outputs while the BIOS sets up only the bottom one (NID 0x17) and disab

[PATCH 4.4 85/93] USB: serial: cp210x: fix hardware flow-control disable

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Shkolnyy commit a377f9e906af4df9071ba8ddba60188cb4013d93 upstream. A bug in the CRTSCTS handling caused RTS to alternate between CRTSCTS=0 => "RTS is transmit active signal" and CRT

[PATCH 4.4 78/93] IB/mlx4: Fix incorrect MC join state bit-masking on SR-IOV

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Vesker commit e5ac40cd66c2f3cd11bc5edc658f012661b16347 upstream. Because of an incorrect bit-masking done on the join state bits, when handling a join request we failed to detect a differe

Re: [Nbd] [PATCH][V3] nbd: add multi-connection support

2016-10-06 Thread Wouter Verhelst
Hi Alex, On Tue, Oct 04, 2016 at 10:35:03AM +0100, Alex Bligh wrote: > Wouter, > > I see now that it should be closer > > to the former; a more useful definition is probably something along the > > following lines: > > > >All write commands (that includes NBD_CMD_WRITE and NBD_CMD_TRIM) > >

[PATCH 4.4 87/93] Staging: fbtft: Fix bug in fbtft-core

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ksenija Stanojevic commit fc1e2c8ea85e109acf09e74789e9b852f6eed251 upstream. Commit 367e8560e8d7a62d96e9b1d644028a3816e04206 introduced a bug in fbtft-core where fps is always 0, this is becaus

[PATCH 4.4 77/93] IB/ipoib: Dont allow MC joins during light MC flush

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Vesker commit 344bacca8cd811809fc33a249f2738ab757d327f upstream. This fix solves a race between light flush and on the fly joins. Light flush doesn't set the device to down and unset IPOIB

[PATCH 4.4 91/93] ACPICA: acpi_get_sleep_type_data: Reduce warnings

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Prarit Bhargava commit a59b679ab85635737947310323f2f2bcfa0664a7 upstream. ACPICA commit 7bb77313091e52a846df4c9c2bea90be31bfb9d8 Eliminate warnings for "not found" _Sx errors, since these are

[PATCH 4.4 86/93] usb: misc: legousbtower: Fix NULL pointer deference

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman commit 2fae9e5a7babada041e2e161699ade2447a01989 upstream. This patch fixes a NULL pointer dereference caused by a race codition in the probe function of the legousbtower driv

[PATCH 4.4 41/93] regulator: qcom_spmi: Update mvs1/mvs2 switches on pm8941

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit 93bfe79b03365f410aa91caf04263173c008ecdf upstream. The mvs1 and mvs2 switches are actually called 5vs1 and 5vs2 on some datasheets. Let's rename them to match the datasheets

[PATCH 4.4 76/93] IB/core: Fix use after free in send_leave function

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Erez Shitrit commit 68c6bcdd8bd00394c234b915ab9b97c74104130c upstream. The function send_leave sets the member: group->query_id (group->query_id = ret) after calling the sa_query, but leave_han

[PATCH 4.4 42/93] regulator: qcom_smd: Fix voltage ranges for pm8x41

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit 290284776bb281759b11faa287b8abccaf74bfcb upstream. The voltage ranges listed here are wrong. The correct ranges can be seen in the "native" spmi regulator driver qcom_spmi-r

[PATCH 4.4 80/93] IB/mlx4: Use correct subnet-prefix in QP1 mads under SR-IOV

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein commit 8ec07bf8a8b57d6c58927a16a0a22c0115cf2855 upstream. When sending QP1 MAD packets which use a GRH, the source GID (which consists of the 64-bit subnet prefix, and the 64 b

[PATCH 4.4 44/93] ARM: sa1100: register clocks early

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 198b51e8a6a31d3a6f8e9dd9cade3635d0291f26 upstream. Since we switched to use pxa_timer, we need to provide the OSTIMER0 clock. However, as the clock is initialised early, we

[PATCH 4.4 73/93] dmaengine: at_xdmac: fix to pass correct device identity to free_irq()

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 6a8b0c6b18f62a277ffb2139d0c0253fe35d7feb upstream. free_irq() expects the same device identity that was passed to corresponding request_irq(), otherwise the IRQ is not freed.

[PATCH 07/54] md/raid0: Move two misplaced braces

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 14:25:01 +0200 The script "checkpatch.pl" pointed information out like the following. ERROR: that open brace { should be on the previous line Signed-off-by: Markus Elfring --- drivers/md/raid0.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletion

[PATCH 4.4 75/93] IB/ipoib: Fix memory corruption in ipoib cm mode connect flow

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Erez Shitrit commit 546481c2816ea3c061ee9d5658eb48070f69212e upstream. When a new CM connection is being requested, ipoib driver copies data from the path pointer in the CM/tx object, the path

[PATCH 4.4 92/93] ALSA: hda - Fix headset mic detection problem for several Dell laptops

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 3f640970a41429f0a076c01270bbd014c9eae61c upstream. One of the laptops has the codec ALC256 on it, applying the ALC255_FIXUP_DELL1_MIC_NO_PRESENCE can fix the problem, the rest o

[PATCH 10/54] md/raid1: Use kcalloc() in alloc_behind_pages()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 15:01:04 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kcalloc". This issue was detected by using the Coccinelle software

[PATCH 4.4 88/93] USB: serial: cp210x: Add ID for a Juniper console

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Kyle Jones commit decc5360f23e9efe0252094f47f57f254dcbb3a9 upstream. Signed-off-by: Kyle Jones Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/cp210x.c |1 + 1 file changed, 1

[PATCH 4.4 46/93] ARM: sa1100: clear reset status prior to reboot

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit da60626e7d02a4f385cae80e450afc8b07035368 upstream. Clear the current reset status prior to rebooting the platform. This adds the bit missing from 04fef228fb00 ("[ARM] pxa:

[PATCH 4.4 63/93] pNFS/files: Fix layoutcommit after a commit to DS

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 73e6c5d854d3f7f75e8b46d3e54aeb5d83fe6b1f upstream. According to the errata https://www.rfc-editor.org/errata_search.php?rfc=5661&eid=2751 we should always send layout com

[PATCH 12/54] md/raid1: Use kcalloc() in setup_conf()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 15:30:28 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kcalloc". * Replace the specification of a data structure by a point

[PATCH V1 08/10] Documentation: dt: thermal: da9062/61 TJUNC temperature binding

2016-10-06 Thread Steve Twiss
From: Steve Twiss Device tree binding information for DA9062 and DA9061 thermal junction temperature monitor. Binding descriptions for the DA9061 and DA9062 thermal TJUNC supervisor device driver, using a single THERMAL_TRIP_HOT trip-wire and allowing for a configurable polling period for over-t

[PATCH 4.4 72/93] kernel/fork: fix CLONE_CHILD_CLEARTID regression in nscd

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit 735f2770a770156100f534646158cb58cb8b2939 upstream. Commit fec1d0115240 ("[PATCH] Disable CLONE_CHILD_CLEARTID for abnormal exit") has caused a subtle regression in nscd whic

[PATCH 11/54] md/raid1: Use kcalloc() in raid1_reshape()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 15:17:13 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kcalloc". * Replace the specification of a data structure by a point

[PATCH 4.4 65/93] ASoC: Intel: Skylake: Fix error return code in skl_probe()

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 979cf59acc9d634cc140aadd0d2915947ab303cc upstream. Fix to return error code -ENODEV from the error handling case instead of 0, as done elsewhere in this function. Fixes: 87b

[PATCH V1 07/10] Documentation: dt: watchdog: da9062/61 Watchdog timer binding

2016-10-06 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9062 and DA9061 watchdog. Signed-off-by: Steve Twiss --- This patch applies against linux-next and v4.8 Hi, This patch depends on the acceptance of DA9061 watchdog driver: [PATCH V1 4/10] watchdog: da9061: watchdog driver Regards, Steve Twis

[PATCH V1 06/10] Documentation: dt: input: temperature driver

2016-10-06 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9061 onkey. This patch updates the compatible string "dlg,da9061-onkey" to support DA9061, removes ther reference to KEY_SLEEP (which the driver no longer supports) and fixes a typo in the example. Signed-off-by: Steve Twiss --- This patch appli

[PATCH V1 09/10] Documentation: dt: mfd: da9062/61 MFD binding

2016-10-06 Thread Steve Twiss
From: Steve Twiss Extend existing DA9062 binding information to include the DA9061 PMIC for MFD core and regulators. Add a da9062-onkey link to the existing onkey binding file. Add a da9062-thermal link to the new temperature monitoring binding file found in [PATCH V1 8/10]. Delete the da9062-

[PATCH 06/54] md/raid0: Delete four unwanted spaces behind function names

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 14:21:21 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: space prohibited between function name and open parenthesis '(' Thus fix the affected source code places. Signed-off-by: Markus Elfring --- drivers/md/rai

[PATCH V1 00/10] da9061: DA9061 driver submission

2016-10-06 Thread Steve Twiss
From: Steve Twiss This patch set adds support for the Dialog DA9061 Power Management IC. Support is made by altering the existing DA9062 device driver. In this patch set the following is provided: [PATCH V1 01/10] MFD core support [PATCH V1 02/10] BUCKs and LDOs [PATCH V1 03/10] Onkey [PATCH V

[PATCH 15/54] md/raid1: Less function calls in setup_conf() after error detection

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 18:01:02 +0200 Resource release functions were called in up to four cases by the setup_conf() function during error handling even if the passed data structure members contained a null pointer. Adjust jump targets according to the Linux coding style conv

[PATCH 14/54] md/raid1: Move assignments for the variable "err" in setup_conf()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 17:34:10 +0200 One local variable was set to an error code in a few cases before a concrete error situation was detected. Thus move the corresponding assignments into if branches to indicate a software failure there. Signed-off-by: Markus Elfring ---

[PATCH V1 05/10] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-10-06 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. If the PMIC's internal junction temperature rises above TEMP_WARN (125 degC) an interrupt is issued. This TEMP_WARN level is defined as the THERMAL_TRIP_HOT trip-wire insi

[PATCH V1 10/10] MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms

2016-10-06 Thread Steve Twiss
From: Steve Twiss Hi, Dialog Semiconductor support would like to add to the MAINTAINERS search terms. This update will allow us to follow files for device tree bindings and source code relating to input onkey drivers, chip thermal monitoring and watchdog timers. Signed-off-by: Steve Twiss ---

[PATCH 13/54] md/raid1: Return directly after a failed kzalloc() in setup_conf()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 15:56:41 +0200 * Return directly after a call of the function "kzalloc" failed at the beginning. * Delete a repeated check for the local variable "conf" which became unnecessary with this refactoring. * Reorder two calls for the function "kfree" at

Re: [PATCH] ARCv2: intc: untangle SMP, MCIP and IDU

2016-10-06 Thread Alexey Brodkin
Hi Vineet, On Wed, 2016-10-05 at 13:39 -0700, Vineet Gupta wrote: > The IDU intc is technically part of MCIP (Multi-core IP) hence > historically was only available in a SMP hardware build (and thus only > in a SMP kernel build). Now that hardware restriction has been lifted, > so a UP kernel need

[PATCH V1 03/10] Input: da9061: onkey driver

2016-10-06 Thread Steve Twiss
From: Steve Twiss Support for the DA9061 onkey is added into the DA9063 onkey driver. The of_device_id match array is expanded to support "dlg,da9061-onkey" as a valid .compatible string. A new chip configuration register map listed in da9061_regs is added and linked to this device tree compatib

[PATCH V1 01/10] mfd: da9061: MFD core support

2016-10-06 Thread Steve Twiss
From: Steve Twiss MFD support for DA9061 is provided as part of the DA9062 device driver. The registers header file adds two new chip variant IDs defined in DA9061 and DA9062 hardware. The core header file adds new software enumerations for listing the valid DA9061 IRQs and a da9062_compatible_t

[PATCH V1 02/10] regulator: da9061: BUCK and LDO regulator driver

2016-10-06 Thread Steve Twiss
From: Steve Twiss Regulator support for the DA9061 is added into the DA9062 regulator driver. The regulators for DA9061 differ from those of DA9062. A new DA9061 enumeration list for the LDOs and Bucks supported by this device is added. Regulator information added: the old regulator information

[PATCH 4.4 55/93] [media] em28xx-i2c: rt_mutex_trylock() returns zero on failure

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit e44c153b30c9a0580fc2b5a93f3c6d593def2278 upstream. The code is checking for negative returns but it should be checking for zero. Fixes: aab3125c43d8 ('[media] em28xx: add

[PATCH 16/54] md/raid1: Delete an error message for a failed memory allocation

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 18:15:20 +0200 Omit an extra message for a memory allocation failure in this function. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- drivers/md/raid1.c | 3 ---

[PATCH V1 04/10] watchdog: da9061: watchdog driver

2016-10-06 Thread Steve Twiss
From: Steve Twiss Support for the DA9061 watchdog is added into the DA9062 watchdog driver. The of_device_id match array is expanded to support "dlg,da9061-watchdog" as a valid .compatible string. A new watchdog_info structure is added and linked to this device tree compatible string in the .dat

[PATCH 24/54] md/raid1: Improve another size determination in setup_conf()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 21:46:18 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer. Signed-off-by: Markus Elfring --- drivers/md/raid1.c | 2 +- 1 f

[PATCH v9 0/4] New debugfs API for capturing CRC of frames

2016-10-06 Thread Tomeu Vizoso
Hi, this series basically takes the facility for continuously capturing CRCs of frames from the i915 driver and into the DRM core. The idea is that test suites such as IGT use this information to check that frames that are exected to be identical, also have identical CRC values. Other drivers fo

[PATCH 18/54] md/raid1: Adjust 12 checks for null pointers

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 18:55:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" pointed information out like the following. Comparison to NULL could be written … Thus fix the affected source code plac

[PATCH v9 2/4] drm: Add API for capturing frame CRCs

2016-10-06 Thread Tomeu Vizoso
Adds files and directories to debugfs for controlling and reading frame CRCs, per CRTC: dri/0/crtc-0/crc dri/0/crtc-0/crc/control dri/0/crtc-0/crc/data Drivers can implement the set_crc_source callback() in drm_crtc_funcs to start and stop generating frame CRCs and can add entries to the output b

[PATCH 4.4 07/93] drm/nouveau/fifo/nv04: avoid ramht race against cookie insertion

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ilia Mirkin commit 666ca3d8f19082f40745d75f3cc7cc0200ee87e3 upstream. Signed-off-by: Ilia Mirkin Signed-off-by: Ben Skeggs Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/nouveau/nvk

[PATCH 20/54] md/raid1: Add some spaces for better code readability

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 20:42:25 +0200 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/md/raid1.c | 62 -- 1 file changed, 32 inserti

[PATCH 17/54] md/raid1: Move a brace for a designated initialiser

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 18:25:05 +0200 The script "checkpatch.pl" pointed information out like the following. ERROR: that open brace { should be on the previous line Signed-off-by: Markus Elfring --- drivers/md/raid1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH 4.4 21/93] ipvs: fix bind to link-local mcast IPv6 address in backup

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Quentin Armitage commit 3777ed688fba82d0bd43f9fc1ebbc6abe788576d upstream. When using HEAD from https://git.kernel.org/cgit/utils/kernel/ipvsadm/ipvsadm.git/, the command: ipvsadm --start-daemo

[PATCH 22/54] md/raid1: Delete three unwanted spaces before increment operators

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 21:10:37 +0200 The script "checkpatch.pl" pointed information out like the following. ERROR: space prohibited before that '++' (ctx:WxO) Thus fix the affected source code places. Signed-off-by: Markus Elfring --- drivers/md/raid1.c | 6 +++--- 1 fil

[PATCH 19/54] md/raid1: Replace printk() calls by the usage of higher level interfaces

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 20:30:07 +0200 1. Add a definition for the macros "MY_LOG_PREFIX" and "pr_fmt" so that their information can be used for consistent message output. 2. Prefer usage of some higher level macros over calling "printk" directly in this software module.

[PATCH 4.4 56/93] [media] gspca: avoid unused variable warnings

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit d7e92e15e92fc987640772bf110586898b5f15aa upstream. When CONFIG_INPUT is disabled, multiple gspca backend drivers print compile-time warnings about unused variables: media/

[PATCH 21/54] md/raid1: Delete three unwanted spaces behind asterisks

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 21:01:34 +0200 The script "checkpatch.pl" pointed information out like the following. ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Markus Elfring --- drivers/md/raid1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 27/54] md/raid5: Return directly after a failed kzalloc() in setup_conf()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 22:44:59 +0200 * Return directly after a call of the function "kzalloc" failed at the beginning. * Delete a repeated check for the local variable "conf" which became unnecessary with this refactoring. Signed-off-by: Markus Elfring --- drivers/md/

[PATCH v9 3/4] drm/i915: Use new CRC debugfs API

2016-10-06 Thread Tomeu Vizoso
The core provides now an ABI to userspace for generation of frame CRCs, so implement the ->set_crc_source() callback and reuse as much code as possible with the previous ABI implementation. When handling the pageflip interrupt, we skip 1 or 2 frames depending on the HW because they contain wrong v

[PATCH 4.4 01/93] cpuset: handle race between CPU hotplug and cpuset_hotplug_work

2016-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Joonwoo Park commit 28b89b9e6f7b6c8fef7b3af39828722bca20cfee upstream. A discrepancy between cpu_online_mask and cpuset's effective_cpus mask is inevitable during hotplug since cpuset defers up

[PATCH 01/54] md/raid0: Use kcalloc() in create_strip_zones()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 10:10:52 +0200 * Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. *

Re: [PATCH] arm64, numa: Add cpu_to_node() implementation.

2016-10-06 Thread Robert Richter
On 27.09.16 14:26:08, Hanjun Guo wrote: > On 09/20/2016 09:21 PM, Robert Richter wrote: > >On 20.09.16 19:32:34, Hanjun Guo wrote: > >>On 09/20/2016 06:43 PM, Robert Richter wrote: > > > >>>Unfortunately either your nor my code does fix the BUG_ON() I see with > >>>the numa kernel: > >>> > >>> ker

[PATCH v9 1/4] drm/i915/debugfs: Move out pipe CRC code

2016-10-06 Thread Tomeu Vizoso
In preparation to using a generic API in the DRM core for continuous CRC generation, move the related code out of i915_debugfs.c into a new file. Eventually, only the Intel-specific code will remain in this new file. v2: Rebased. v6: Rebased. v7: Fix whitespace issue. v9: Have intel_display_cr

[PATCH 25/54] md/raid5: Use kcalloc() in three functions

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 22:30:12 +0200 * Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. *

[PATCH 26/54] md/raid5: Improve another size determination in setup_conf()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 22:35:06 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer. Signed-off-by: Markus Elfring --- drivers/md/raid5.c | 2 +- 1 f

[PATCH 23/54] md/raid1: Replace a seq_printf() call by seq_puts() in raid1_status()

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 4 Oct 2016 21:16:13 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: Prefer seq_puts to seq_printf Signed-off-by: Markus Elfring --- drivers/md/raid1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

MD-RAID: Fine-tuning for several function implementations

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 6 Oct 2016 10:10:01 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (54): raid0: Use kcalloc() in create_strip_zones() raid0: Less function calls in create_strip_zones() after error detection raid0: M

[PATCH v13 03/15] iommu/dma: Allow MSI-only cookies

2016-10-06 Thread Eric Auger
From: Robin Murphy IOMMU domain users such as VFIO face a similar problem to DMA API ops with regard to mapping MSI messages in systems where the MSI write is subject to IOMMU translation. With the relevant infrastructure now in place for managed DMA domains, it's actually really simple for other

[PATCH 36/54] md/raid5: Delete four unwanted spaces behind function names

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 5 Oct 2016 14:37:17 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: space prohibited between function name and open parenthesis '(' Thus fix the affected source code places. Signed-off-by: Markus Elfring --- drivers/md/rai

[PATCH] kexec: Export memory sections virtual addresses to vmcoreinfo

2016-10-06 Thread Baoquan He
KASLR memory randomization can randomize the base of the physical memory mapping (PAGE_OFFSET), vmalloc (VMALLOC_START) and vmemmap (VMEMMAP_START). These need be exported to VMCOREINFO so that user space utility, mainly makedumpfile can use them to identify the base of each memory section. Here us

[PATCH 30/54] md/raid5: Delete two error messages for a failed memory allocation

2016-10-06 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 5 Oct 2016 09:43:40 +0200 Omit extra messages for a memory allocation failure in this function. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- drivers/md/raid5.c | 13 +++--

[PATCH v13 08/15] vfio: Introduce a vfio_dma type field

2016-10-06 Thread Eric Auger
We introduce a vfio_dma type since we will need to discriminate different types of dma slots: - VFIO_IOVA_USER: IOVA region used to map user vaddr - VFIO_IOVA_RESERVED_MSI: IOVA region reserved to map MSI doorbells Signed-off-by: Eric Auger --- v9 -> v10: - renamed VFIO_IOVA_RESERVED into VFIO_I

[PATCH v13 14/15] iommu/arm-smmu: Do not advertise IOMMU_CAP_INTR_REMAP

2016-10-06 Thread Eric Auger
Do not advertise IOMMU_CAP_INTR_REMAP for arm-smmu(-v3). Indeed the irq_remapping capability is abstracted on irqchip side for ARM as opposed to Intel IOMMU featuring IRQ remapping HW. So to check IRQ remapping capability, the msi domain needs to be checked instead. This commit affects platform a

<    1   2   3   4   5   6   7   8   9   >