[PATCH review for 4.9 12/50] PCI/MSI: Return failure when msix_setup_entries() fails

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Christophe JAILLET [ Upstream commit 3adfb572f2978a980b250a9e1a56f84f3a031001 ] If alloc_msi_entry() fails, we free resources and set ret = -ENOMEM. However, msix_setup_entries() returns 0 unconditionally. Return the error code instead. Fixes: e75eafb9b039 ("genirq/msi: Switch to new

[PATCH review for 4.9 14/50] ext4: fix stripe-unaligned allocations

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Jan Kara [ Upstream commit d9b22cf9f5466a057f2a4f1e642b469fa9d73117 ] When a filesystem is created using: mkfs.ext4 -b 4096 -E stride=512 and we try to allocate 64MB extent, we will end up directly in ext4_mb_complex_scan_group(). This is because the request is detected as

[PATCH review for 4.9 13/50] net: mvneta: fix build errors when linux/phy*.h is removed from net/dsa.h

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Russell King [ Upstream commit 9303ab2b3402b60f6c39abfdbfa4ce00fce8bee4 ] drivers/net/ethernet/marvell/mvneta.c:2694:26: error: storage size of 'status' isn't known drivers/net/ethernet/marvell/mvneta.c:2695:26: error: storage size of 'changed' isn't known

[PATCH review for 4.9 10/50] bnxt_en: Added PCI IDs for BCM57452 and BCM57454 ASICs

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Deepak Khungar [ Upstream commit 32b40798c1b40343641f04cdfd09652af70ea0e9 ] Signed-off-by: Deepak Khungar Signed-off-by: Michael Chan Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 6 ++ 1 file changed, 6 insertions(+)

[PATCH review for 4.9 03/50] staging: fsl-mc: Add missing header

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Bogdan Purcareata [ Upstream commit 07e9ef146071adf316312b3dd4abfe41c9a45a7d ] Compiling the fsl-mc bus driver will yield a couple of static analysis errors: warning: symbol 'fsl_mc_msi_domain_alloc_irqs' was not declared warning: symbol 'fsl_mc_msi_domain_free_irqs' was not declared.

[PATCH review for 4.9 11/50] staging: rtl8712u: Fix endian settings for structs describing network packets

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Larry Finger [ Upstream commit 221c46d28957bd6e2158abc2179ce4a8c9ce07d3 ] The headers describing a number of network packets do not have the correct endian settings for several types of data. Signed-off-by: Larry Finger Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin ---

[PATCH review for 4.4 01/24] PM / wakeirq: report a wakeup_event on dedicated wekup irq

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Grygorii Strashko [ Upstream commit 09bb6e93956ae5175b96905b723ec879c3ca0765 ] There are two reasons for reporting wakeup event when dedicated wakeup IRQ is triggered: - wakeup events accounting, so proper statistical data will be displayed in sysfs and debugfs; - there are small

[PATCH review for 4.9 06/50] scsi: megaraid_sas: Do not set fp_possible if TM capable for non-RW syspdIO, change fp_possible to bool

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Shivasharan S [ Upstream commit 1d6dbd1752fb4347a4a5db06c8f5cd35dd1919f4 ] FIX - firmware wants non-RW SYS PD IOs to avoid FastPath for better tracking and other functionalities if the device is task management capable. Signed-off-by: Kashyap Desai Signed-off-by: Shivasharan S

[PATCH review for 4.4 11/24] perf tools: Only increase index if perf_evsel__new_idx() succeeds

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Taeung Song [ Upstream commit 75fc5ae5cc53fff71041ecadeb3354a2b4c9fe42 ] Signed-off-by: Taeung Song Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Wang Nan Link: http://lkml.kernel.org/r/1485952447-7013-2-git-send-email-treeze.tae...@gmail.com Signed-off-by: Arnaldo Carvalho

[PATCH review for 4.4 08/24] ext4: do not use stripe_width if it is not set

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Jan Kara [ Upstream commit 5469d7c3087ecaf760f54b447f11af6061b7c897 ] Avoid using stripe_width for sbi->s_stripe value if it is not actually set. It prevents using the stride for sbi->s_stripe. Signed-off-by: Jan Kara Signed-off-by: Theodore Ts'o Signed-off-by: Sasha Levin ---

[PATCH review for 4.4 07/24] ext4: fix stripe-unaligned allocations

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Jan Kara [ Upstream commit d9b22cf9f5466a057f2a4f1e642b469fa9d73117 ] When a filesystem is created using: mkfs.ext4 -b 4096 -E stride=512 and we try to allocate 64MB extent, we will end up directly in ext4_mb_complex_scan_group(). This is because the request is detected as

[PATCH review for 4.4 06/24] staging: rtl8712u: Fix endian settings for structs describing network packets

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Larry Finger [ Upstream commit 221c46d28957bd6e2158abc2179ce4a8c9ce07d3 ] The headers describing a number of network packets do not have the correct endian settings for several types of data. Signed-off-by: Larry Finger Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin ---

[PATCH review for 4.4 04/24] mfd: ab8500-sysctrl: Handle probe deferral

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Linus Walleij [ Upstream commit 7e9c40c63933a643908d686bd89dfc2315e8c70a ] In the current boot, clients making use of the AB8500 sysctrl may be probed before the ab8500-sysctrl driver. This gives them -EINVAL, but should rather give -EPROBE_DEFER. Before this, the abx500 clock driver

[PATCH review for 4.9 49/50] drm/exynos: g2d: prevent integer overflow in

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Joonyoung Shim [ Upstream commit e41456bfc811f12b5dcda6f2d6849bdff68f6c0a ] The size computations done in the ioctl function use an integer. If userspace submits a request with req->cmd_nr or req->cmd_buf_nr set to INT_MAX, the integer computations overflow later, leading to potential

[PATCH review for 4.9 01/50] cpufreq: Do not clear real_cpus mask on policy init

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: "Rafael J. Wysocki" [ Upstream commit f451014692ae34e587b00de6745e16661cf734d8 ] If new_policy is set in cpufreq_online(), the policy object has just been created and its real_cpus mask has been zeroed on allocation, and the driver's ->init() callback should not touch it. It doesn't need

[PATCH review for 4.4 03/24] ARM: pxa: Don't rely on public mmc header to include leds.h

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Ulf Hansson [ Upstream commit 40d727a2defa176b78159d445bcf7afcc2ed9021 ] Some of the pxa platforms, balloon3, colibri-pxa270-income, corgi, trizeps4, vpac270, zeus and zylonite depends on leds.h. Explicitly include it instead of relying on the public mmc header host.h. Cc: Daniel Mack

[PATCH review for 4.9 07/50] mmc: s3cmci: include linux/interrupt.h for tasklet_struct

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit e1c6ec26b853e9062f0b3daaf695c546d0702953 ] I got this new build error on today's linux-next drivers/mmc/host/s3cmci.h:69:24: error: field 'pio_tasklet' has incomplete type struct tasklet_struct pio_tasklet; drivers/mmc/host/s3cmci.c: In function

[PATCH review for 4.9 05/50] PM / wakeirq: report a wakeup_event on dedicated wekup irq

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Grygorii Strashko [ Upstream commit 09bb6e93956ae5175b96905b723ec879c3ca0765 ] There are two reasons for reporting wakeup event when dedicated wakeup IRQ is triggered: - wakeup events accounting, so proper statistical data will be displayed in sysfs and debugfs; - there are small

[PATCH review for 4.9 50/50] PCI: Avoid possible deadlock on pci_lock and p->pi_lock

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Bjorn Helgaas [ Upstream commit cdcb33f9824429a926b971bf041a6cec238f91ff ] pci_lock is an IRQ-safe spinlock that protects all accesses to PCI configuration space (see PCI_OP_READ() and PCI_OP_WRITE() in pci/access.c). The pci_cfg_access_unlock() path acquires pci_lock, then p->pi_lock

[PATCH review for 4.4 02/24] mmc: s3cmci: include linux/interrupt.h for tasklet_struct

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit e1c6ec26b853e9062f0b3daaf695c546d0702953 ] I got this new build error on today's linux-next drivers/mmc/host/s3cmci.h:69:24: error: field 'pio_tasklet' has incomplete type struct tasklet_struct pio_tasklet; drivers/mmc/host/s3cmci.c: In function

[PATCH review for 4.9 47/50] [media] bt8xx: fix memory leak

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Sudip Mukherjee [ Upstream commit 6792eb0cf9310ec240b7e7c9bfa86dff4c758c68 ] If dvb_attach() fails then we were just printing an error message and exiting but the memory allocated to state was not released. Signed-off-by: Sudip Mukherjee Signed-off-by: Hans Verkuil Signed-off-by: Mauro

[PATCH review for 4.9 08/50] mfd: ab8500-sysctrl: Handle probe deferral

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Linus Walleij [ Upstream commit 7e9c40c63933a643908d686bd89dfc2315e8c70a ] In the current boot, clients making use of the AB8500 sysctrl may be probed before the ab8500-sysctrl driver. This gives them -EINVAL, but should rather give -EPROBE_DEFER. Before this, the abx500 clock driver

[PATCH review for 4.4 05/24] mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Hans de Goede [ Upstream commit 1af468ebe45591651ec3bafc2e9ddc6fdef70ae0 ] The R in PEK_DBR stands for rising, so it should be mapped to AXP288_IRQ_POKP where the last P stands for positive edge. Likewise PEK_DBF should be mapped to the falling edge, aka the _N_egative edge, so it should

[PATCH review for 4.4 10/24] drm/amdgpu: when dpm disabled, also need to stop/start vce.

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Rex Zhu [ Upstream commit 28ed5504ab4b211a4e589e648e5ebd1e0caa7a6a ] Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Acked-by: Christian König Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 9 + 1 file changed, 9

[PATCH review for 4.9 46/50] s390/crypto: Extend key length check for AES-XTS in fips mode.

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Harald Freudenberger [ Upstream commit a4f2779ecf2f42b0997fedef6fd20a931c40a3e3 ] In fips mode only xts keys with 128 bit or 125 bit are allowed. This fix extends the xts_aes_set_key function to check for these valid key lengths in fips mode. Signed-off-by: Harald Freudenberger

[PATCH review for 4.9 25/50] ath10k: fix reading sram contents for QCA4019

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Ashok Raj Nagarajan [ Upstream commit 7f622593cc5add77a99cd39404e8a851be9de792 ] With QCA4019 platform, SRAM address can be accessed directly from host but currently, we are assuming sram addresses cannot be accessed directly and hence we convert the addresses. While there, clean up

[PATCH review for 4.9 41/50] ASoC: Intel: boards: remove .pm_ops in all Atom/DPCM machine drivers

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Pierre-Louis Bossart [ Upstream commit 3639ac1cd5177685a5c8abb7230096b680e1d497 ] This patch corrects an omission in bytcr_rt5640 and bytcr_rt5651. All existing machine drivers shall not use .pm_ops to avoid a double suspend, as initially implemented by 3f2dcbeaeb2b ("ASoC: Intel: Remove

[PATCH review for 4.9 42/50] [media] exynos4-is: fimc-is: Unmap region obtained by of_iomap()

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Arvind Yadav [ Upstream commit 4742575cde1f3cee0ea6b41af42781672315b04b ] Free memory mapping, if fimc_is_probe is not successful. Signed-off-by: Arvind Yadav Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin ---

[PATCH review for 4.9 44/50] s390/dasd: check for device error pointer within state change interrupts

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Stefan Haberland [ Upstream commit 2202134e48a3b50320aeb9e3dd1186833e9d7e66 ] Check if the device pointer is valid. Just a sanity check since we already are in the int handler of the device. Signed-off-by: Stefan Haberland Signed-off-by: Martin Schwidefsky Signed-off-by: Sasha Levin

[PATCH review for 4.9 02/50] crypto: ccp - Set the AES size field for all modes

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Gary R Hook [ Upstream commit f7cc02b3c3a33a10dd5bb9e5dfd22e47e09503a2 ] Ensure that the size field is correctly populated for all AES modes. Signed-off-by: Gary R Hook Signed-off-by: Herbert Xu Signed-off-by: Sasha Levin --- drivers/crypto/ccp/ccp-dev-v5.c | 3 +--

[PATCH review for 4.9 36/50] staging: lustre: ptlrpc: skip lock if export failed

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Alexander Boyko [ Upstream commit 4c43c27ddc461d8473cedd70f2549614641dfbc7 ] This patch resolves IO vs eviction race. After eviction failed export stayed at stale list, a client had IO processing and reconnected during it. A client sent brw rpc with last lock cookie and new connection.

[PATCH review for 4.9 09/50] mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Hans de Goede [ Upstream commit 1af468ebe45591651ec3bafc2e9ddc6fdef70ae0 ] The R in PEK_DBR stands for rising, so it should be mapped to AXP288_IRQ_POKP where the last P stands for positive edge. Likewise PEK_DBF should be mapped to the falling edge, aka the _N_egative edge, so it should

[PATCH review for 4.9 45/50] s390/prng: Adjust generation of entropy to produce real 256 bits.

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Harald Freudenberger [ Upstream commit d34b1acb78af41b8b8d5c60972b6555ea19f7564 ] The generate_entropy function used a sha256 for compacting together 256 bits of entropy into 32 bytes hash. However, it is questionable if a sha256 can really be used here, as potential collisions may reduce

[PATCH review for 4.9 43/50] mei: return error on notification request to a disconnected client

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Alexander Usyskin [ Upstream commit 7c47d2ca0feca767479329da23523ed798acb854 ] Request for a notification from a disconnected client will be ignored silently by the FW but the caller should know that the operation hasn't succeeded. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas

[PATCH review for 4.9 38/50] brcmfmac: check brcmf_bus_get_memdump result for error

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Rafał Miłecki [ Upstream commit f4737a62033d7f3e0db740c449fc62119da7ab8a ] This method may be unsupported (see: USB bus) or may just fail (see: SDIO bus). While at it rework logic in brcmf_sdio_bus_get_memdump function to avoid too many conditional code nesting levels. Signed-off-by:

[PATCH review for 4.9 33/50] platform/x86: intel_mid_thermal: Fix module autoload

2017-10-07 Thread Levin, Alexander (Sasha Levin)
From: Javier Martinez Canillas [ Upstream commit a93151a72061e944a4915458b1b1d6d505c03bbf ] If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the

[GIT PULL for-4.9 22/48] mm/memory_hotplug: set magic number to page->freelist instead of page->lru.next

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Yasuaki Ishimatsu [ Upstream commit ddffe98d166f4a93d996d5aa628fd745311fc1e7 ] To identify that pages of page table are allocated from bootmem allocator, magic number sets to page->lru.next. But page->lru list is initialized in reserve_bootmem_region(). So when calling free_pagetable(),

[GIT PULL for-4.9 00/48] Commits for v4.9 LTS

2017-10-10 Thread Levin, Alexander (Sasha Levin)
Hi Greg, The following commits were sent for review 7+ days ago, and comments were addressed. Please pull for v4.9 LTS. === The following changes since commit f37eb7b586f1dd24a86c50278c65322fc6787722: Linux 4.9.54 (2017-10-08 10:26:32 +0200) are available in the git repository at:

[GIT PULL for-4.9 02/48] locking/lockdep: Add nest_lock integrity test

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Peter Zijlstra [ Upstream commit 7fb4a2cea6b18dab56d609530d077f168169ed6b ] Boqun reported that hlock->references can overflow. Add a debug test for that to generate a clear error when this happens. Without this, lockdep is likely to report a mysterious failure on unlock. Reported-by:

[GIT PULL for-4.4 02/25] watchdog: kempld: fix gcc-4.3 build

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit 3736d4eb6af37492aeded7fec0072dedd959c842 ] gcc-4.3 can't decide whether the constant value in kempld_prescaler[PRESCALER_21] is built-time constant or not, and gets confused by the logic in do_div(): drivers/watchdog/kempld_wdt.o: In function

[GIT PULL for-4.9 41/48] hrtimer: Catch invalid clockids again

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Marc Zyngier [ Upstream commit 336a9cde10d641e70bac67d90ae91b3190c3edca ] commit 82e88ff1ea94 ("hrtimer: Revert CLOCK_MONOTONIC_RAW support") removed unfortunately a sanity check in the hrtimer code which was part of that MONOTONIC_RAW patch series. It would have caught the bogus usage

[GIT PULL for-4.9 30/48] qed: Reserve doorbell BAR space for present CPUs

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Ram Amrani [ Upstream commit c2dedf8773e873474535bd4a158609b9eda5403d ] Reserving doorbell BAR space according to the currently active CPUs may result in a bug if disabled CPUs are later enabled but no doorbell space was reserved for them. Signed-off-by: Ram Amrani Signed-off-by: Yuval

[GIT PULL for-4.4 01/25] locking/lockdep: Add nest_lock integrity test

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Peter Zijlstra [ Upstream commit 7fb4a2cea6b18dab56d609530d077f168169ed6b ] Boqun reported that hlock->references can overflow. Add a debug test for that to generate a clear error when this happens. Without this, lockdep is likely to report a mysterious failure on unlock. Reported-by:

[GIT PULL for-4.9 42/48] nfsd/callback: Cleanup callback cred on shutdown

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Kinglong Mee [ Upstream commit f7d1ddbe7648af7460d23688c8c131342eb43b3a ] The rpccred gotten from rpc_lookup_machine_cred() should be put when state is shutdown. Signed-off-by: Kinglong Mee Signed-off-by: J. Bruce Fields Signed-off-by: Sasha Levin --- fs/nfsd/nfs4callback.c | 8

[GIT PULL for-4.4 18/25] net: mvpp2: release reference to txq_cpu[] entry after unmapping

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Thomas Petazzoni [ Upstream commit 36fb7435b6ac4d288a2d4deea8934f9456ab46b6 ] The mvpp2_txq_bufs_free() function is called upon TX completion to DMA unmap TX buffers, and free the corresponding SKBs. It gets the references to the SKB to free and the DMA buffer to unmap from a per-CPU

[GIT PULL for-4.4 16/25] slub: do not merge cache if slub_debug contains a never-merge flag

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Grygorii Maistrenko [ Upstream commit c6e28895a4372992961888ffaadc9efc643b5bfe ] In case CONFIG_SLUB_DEBUG_ON=n, find_mergeable() gets debug features from commandline but never checks if there are features from the SLAB_NEVER_MERGE set. As a result selected by slub_debug caches are

[GIT PULL for-3.18 07/13] net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Majd Dibbiny [ Upstream commit 95f1ba9a24af9769f6e20dfe9a77c863f253f311 ] In the VF driver, module parameter mlx4_log_num_mgm_entry_size was mistakenly overwritten -- and in a manner which overrode the device-managed flow steering option encoded in the parameter. log_num_mgm_entry_size

[GIT PULL for-4.4 11/25] md/linear: shutup lockdep warnning

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Shaohua Li [ Upstream commit d939cdfde34f50b95254b375f498447c82190b3e ] Commit 03a9e24(md linear: fix a race between linear_add() and linear_congested()) introduces the warnning. Acked-by: Coly Li Signed-off-by: Shaohua Li Signed-off-by: Sasha Levin --- drivers/md/linear.c | 3 ++- 1

[GIT PULL for-4.4 25/25] cpufreq: CPPC: add ACPI_PROCESSOR dependency

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit a578884fa0d2768f13d37c6591a9e1ed600482d3 ] Without the Kconfig dependency, we can get this warning: warning: ACPI_CPPC_CPUFREQ selects ACPI_CPPC_LIB which has unmet direct dependencies (ACPI && ACPI_PROCESSOR) Fixes: 5477fb3bd1e8 (ACPI / CPPC: Add a

[GIT PULL for-3.18 10/13] scsi: scsi_dh_emc: return success in clariion_std_inquiry()

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Dan Carpenter [ Upstream commit 4d7d39a18b8b81511f0b893b7d2203790bf8a58b ] We accidentally return an uninitialized variable on success. Fixes: b6ff1b14cdf4 ("[SCSI] scsi_dh: Update EMC handler") Signed-off-by: Dan Carpenter Reviewed-by: Hannes Reinecke Signed-off-by: Martin K. Petersen

[GIT PULL for-3.18 00/13] Commits for v3.18 LTS

2017-10-10 Thread Levin, Alexander (Sasha Levin)
Hi Greg, The following commits were sent for review 7+ days ago, and comments were addressed. Please pull for v3.18 LTS. === The following changes since commit ac0058305d83e8e50a9652a003bc2ec468df9f87: Linux 3.18.74 (2017-10-08 10:11:47 +0200) are available in the git repository at:

[GIT PULL for-3.18 13/13] target/iscsi: Fix unsolicited data seq_end_offset calculation

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Varun Prakash [ Upstream commit 4d65491c269729a1e3b375c45e73213f49103d33 ] In case of unsolicited data for the first sequence seq_end_offset must be set to minimum of total data length and FirstBurstLength, so do not add cmd->write_data_done to the min of total data length and

[GIT PULL for-4.4 20/25] ceph: clean up unsafe d_parent accesses in build_dentry_path

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jeff Layton [ Upstream commit c6b0b656ca24ede6657abb4a2cd910fa9c1879ba ] While we hold a reference to the dentry when build_dentry_path is called, we could end up racing with a rename that changes d_parent. Handle that situation correctly, by using the rcu_read_lock to ensure that the

[GIT PULL for-3.18 02/13] watchdog: kempld: fix gcc-4.3 build

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit 3736d4eb6af37492aeded7fec0072dedd959c842 ] gcc-4.3 can't decide whether the constant value in kempld_prescaler[PRESCALER_21] is built-time constant or not, and gets confused by the logic in do_div(): drivers/watchdog/kempld_wdt.o: In function

[GIT PULL for-3.18 11/13] uapi: fix linux/rds.h userspace compilation errors

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: "Dmitry V. Levin" [ Upstream commit feb0869d90e51ce8b6fd8a46588465b1b5a26d09 ] Consistently use types from linux/types.h to fix the following linux/rds.h userspace compilation errors: /usr/include/linux/rds.h:106:2: error: unknown type name 'uint8_t' uint8_t name[32];

[GIT PULL for-3.18 08/13] crypto: xts - Add ECB dependency

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Milan Broz [ Upstream commit 12cb3a1c4184f891d965d1f39f8cfcc9ef617647 ] Since the commit f1c131b45410a202eb45cc55980a7a9e4e4b4f40 crypto: xts - Convert to skcipher the XTS mode is based on ECB, so the mode must select ECB otherwise it can fail to initialize. Signed-off-by: Milan

[GIT PULL for-3.18 09/13] ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Eric Ren [ Upstream commit 439a36b8ef38657f765b80b775e2885338d72451 ] We are in the situation that we have to avoid recursive cluster locking, but there is no way to check if a cluster lock has been taken by a precess already. Mostly, we can avoid recursive locking by writing code

[GIT PULL for-4.4 19/25] i2c: at91: ensure state is restored after suspending

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Alexandre Belloni [ Upstream commit e3ccc921b7d8fd1fcd10a00720e09823d8078666 ] When going to suspend, the I2C registers may be lost because the power to VDDcore is cut. Restore them when resuming. Signed-off-by: Alexandre Belloni Acked-by: Ludovic Desroches Signed-off-by: Wolfram Sang

[GIT PULL for-4.4 14/25] crypto: xts - Add ECB dependency

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Milan Broz [ Upstream commit 12cb3a1c4184f891d965d1f39f8cfcc9ef617647 ] Since the commit f1c131b45410a202eb45cc55980a7a9e4e4b4f40 crypto: xts - Convert to skcipher the XTS mode is based on ECB, so the mode must select ECB otherwise it can fail to initialize. Signed-off-by: Milan

[GIT PULL for-3.18 12/13] uapi: fix linux/mroute6.h userspace compilation errors

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: "Dmitry V. Levin" [ Upstream commit 72aa107df6a275cf03359934ca5799a2be7a1bf7 ] Include to fix the following linux/mroute6.h userspace compilation errors: /usr/include/linux/mroute6.h:80:22: error: field 'mf6cc_origin' has incomplete type struct sockaddr_in6 mf6cc_origin; /* Origin

[GIT PULL for-3.18 01/13] locking/lockdep: Add nest_lock integrity test

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Peter Zijlstra [ Upstream commit 7fb4a2cea6b18dab56d609530d077f168169ed6b ] Boqun reported that hlock->references can overflow. Add a debug test for that to generate a clear error when this happens. Without this, lockdep is likely to report a mysterious failure on unlock. Reported-by:

[GIT PULL for-4.9 43/48] powerpc/perf: Add restrictions to PMC5 in power9 DD1

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Madhavan Srinivasan [ Upstream commit 8d911904f3ce412b20874a9c95f82009dcbb007c ] PMC5 on POWER9 DD1 may not provide right counts in all sampling scenarios, hence use PM_INST_DISP event instead in PMC2 or PMC3 in preference. Signed-off-by: Madhavan Srinivasan Signed-off-by: Michael

[GIT PULL for-4.4 23/25] target/iscsi: Fix unsolicited data seq_end_offset calculation

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Varun Prakash [ Upstream commit 4d65491c269729a1e3b375c45e73213f49103d33 ] In case of unsolicited data for the first sequence seq_end_offset must be set to minimum of total data length and FirstBurstLength, so do not add cmd->write_data_done to the min of total data length and

[GIT PULL for-4.4 24/25] nfsd/callback: Cleanup callback cred on shutdown

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Kinglong Mee [ Upstream commit f7d1ddbe7648af7460d23688c8c131342eb43b3a ] The rpccred gotten from rpc_lookup_machine_cred() should be put when state is shutdown. Signed-off-by: Kinglong Mee Signed-off-by: J. Bruce Fields Signed-off-by: Sasha Levin --- fs/nfsd/nfs4callback.c | 8

[GIT PULL for-3.18 04/13] netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jarno Rajahalme [ Upstream commit 4b86c459c7bee3acaf92f0e2b4c6ac803eaa1a58 ] Commit 4dee62b1b9b4 ("netfilter: nf_ct_expect: nf_ct_expect_insert() returns void") inadvertently changed the successful return value of nf_ct_expect_related_report() from 0 to 1 due to __nf_ct_expect_check()

[GIT PULL for-4.4 00/25] Commits for v4.4 LTS

2017-10-10 Thread Levin, Alexander (Sasha Levin)
Hi Greg, The following commits were sent for review 7+ days ago, and comments were addressed. Please pull for v4.4 LTS. === The following changes since commit c030c36a88cdc54a5d657c0a2ee630ba495d5538: Linux 4.4.91 (2017-10-08 10:24:24 +0200) are available in the git repository at:

[GIT PULL for-3.18 03/13] irqchip/crossbar: Fix incorrect type of local variables

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Franck Demathieu [ Upstream commit b28ace12661fbcfd90959c1e84ff5a85113a82a1 ] The max and entry variables are unsigned according to the dt-bindings. Fix following 3 sparse issues (-Wtypesign): drivers/irqchip/irq-crossbar.c:222:52: warning: incorrect type in argument 3 (different

[GIT PULL for-4.9 39/48] IB/hfi1: Allocate context data on memory node

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Sebastian Sanchez [ Upstream commit b448bf9a0df6093dbadac36979a55ce4e012a677 ] There are some memory allocation calls in hfi1_create_ctxtdata() that do not use the numa function parameter. This can cause cache lines to be filled over QPI. Reviewed-by: Mike Marciniszyn Signed-off-by:

[GIT PULL for-4.4 15/25] ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Eric Ren [ Upstream commit 439a36b8ef38657f765b80b775e2885338d72451 ] We are in the situation that we have to avoid recursive cluster locking, but there is no way to check if a cluster lock has been taken by a precess already. Mostly, we can avoid recursive locking by writing code

[GIT PULL for-3.18 05/13] iio: adc: xilinx: Fix error handling

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Christophe JAILLET [ Upstream commit ca1c39ef76376b67303d01f94fe98bb68bb3861a ] Reorder error handling labels in order to match the way resources have been allocated. Signed-off-by: Christophe JAILLET Acked-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron Signed-off-by: Sasha

[GIT PULL for-3.18 06/13] Btrfs: send, fix failure to rename top level inode due to name collision

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Robbie Ko [ Upstream commit 4dd9920d991745c4a16f53a8f615f706fbe4b3f7 ] Under certain situations, an incremental send operation can fail due to a premature attempt to create a new top level inode (a direct child of the subvolume/snapshot root) whose name collides with another inode that

[GIT PULL for-4.4 12/25] sparc64: Migrate hvcons irq to panicked cpu

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Vijay Kumar [ Upstream commit 7dd4fcf5b70694dc961eb6b954673e4fc9730dbd ] On panic, all other CPUs are stopped except the one which had hit panic. To keep console alive, we need to migrate hvcons irq to panicked CPU. Signed-off-by: Vijay Kumar Signed-off-by: David S. Miller

[GIT PULL for-4.4 13/25] net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Majd Dibbiny [ Upstream commit 95f1ba9a24af9769f6e20dfe9a77c863f253f311 ] In the VF driver, module parameter mlx4_log_num_mgm_entry_size was mistakenly overwritten -- and in a manner which overrode the device-managed flow steering option encoded in the parameter. log_num_mgm_entry_size

[GIT PULL for-4.4 21/25] uapi: fix linux/rds.h userspace compilation errors

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: "Dmitry V. Levin" [ Upstream commit feb0869d90e51ce8b6fd8a46588465b1b5a26d09 ] Consistently use types from linux/types.h to fix the following linux/rds.h userspace compilation errors: /usr/include/linux/rds.h:106:2: error: unknown type name 'uint8_t' uint8_t name[32];

[GIT PULL for-4.4 17/25] scsi: scsi_dh_emc: return success in clariion_std_inquiry()

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Dan Carpenter [ Upstream commit 4d7d39a18b8b81511f0b893b7d2203790bf8a58b ] We accidentally return an uninitialized variable on success. Fixes: b6ff1b14cdf4 ("[SCSI] scsi_dh: Update EMC handler") Signed-off-by: Dan Carpenter Reviewed-by: Hannes Reinecke Signed-off-by: Martin K. Petersen

[GIT PULL for-4.4 22/25] uapi: fix linux/mroute6.h userspace compilation errors

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: "Dmitry V. Levin" [ Upstream commit 72aa107df6a275cf03359934ca5799a2be7a1bf7 ] Include to fix the following linux/mroute6.h userspace compilation errors: /usr/include/linux/mroute6.h:80:22: error: field 'mf6cc_origin' has incomplete type struct sockaddr_in6 mf6cc_origin; /* Origin

[GIT PULL for-4.9 40/48] target/iscsi: Fix unsolicited data seq_end_offset calculation

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Varun Prakash [ Upstream commit 4d65491c269729a1e3b375c45e73213f49103d33 ] In case of unsolicited data for the first sequence seq_end_offset must be set to minimum of total data length and FirstBurstLength, so do not add cmd->write_data_done to the min of total data length and

[GIT PULL for-4.9 46/48] btmrvl: avoid double-disable_irq() race

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jeffy Chen [ Upstream commit 9af02d86e11dc409e5c3de46e81c0a492ba58905 ] It's much the same as what we did for mwifiex in: b9da4d2 mwifiex: avoid double-disable_irq() race "We have a race where the wakeup IRQ might be in flight while we're calling mwifiex_disable_wake() from resume().

[GIT PULL for-4.4 08/25] iio: adc: xilinx: Fix error handling

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Christophe JAILLET [ Upstream commit ca1c39ef76376b67303d01f94fe98bb68bb3861a ] Reorder error handling labels in order to match the way resources have been allocated. Signed-off-by: Christophe JAILLET Acked-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron Signed-off-by: Sasha

[GIT PULL for-4.4 04/25] mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Johannes Berg [ Upstream commit ff4dd73dd2b4806419f8ff65cbce11d5019548d0 ] Unfortunately, the nla policy was defined to have HWSIM_ATTR_RADIO_NAME as an NLA_STRING, rather than NLA_NUL_STRING, so we can't use it as a NUL-terminated string in the kernel. Rather than break the API,

[GIT PULL for-4.9 37/48] uapi: fix linux/mroute6.h userspace compilation errors

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: "Dmitry V. Levin" [ Upstream commit 72aa107df6a275cf03359934ca5799a2be7a1bf7 ] Include to fix the following linux/mroute6.h userspace compilation errors: /usr/include/linux/mroute6.h:80:22: error: field 'mf6cc_origin' has incomplete type struct sockaddr_in6 mf6cc_origin; /* Origin

[GIT PULL for-4.9 38/48] IB/hfi1: Use static CTLE with Preset 6 for integrated HFIs

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Easwar Hariharan [ Upstream commit 39e2afa8d042a53d855137d4c5a689a6f5492b39 ] After extended testing, it was found that the previous PCIe Gen 3 recipe, which used adaptive CTLE with Preset 4, could cause an NMI/Surprise Link Down in about 1 in 100 to 1 in 1000 power cycles on some

[GIT PULL for-4.4 05/25] mac80211: fix power saving clients handling in iwlwifi

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Emmanuel Grumbach [ Upstream commit d98937f4ea713d21e0fcc345919f86c877dd8d6f ] iwlwifi now supports RSS and can't let mac80211 track the PS state based on the Rx frames since they can come out of order. iwlwifi is now advertising AP_LINK_PS, and uses explicit notifications to teach

[GIT PULL for-4.4 10/25] f2fs: do not wait for writeback in write_begin

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jaegeuk Kim [ Upstream commit 86d54795c94532075d862aa0a79f0c981dab4bdd ] Otherwise we can get livelock like below. [79880.428136] dbench D0 18405 18404 0x [79880.428139] Call Trace: [79880.428142] __schedule+0x219/0x6b0 [79880.428144] schedule+0x36/0x80

[GIT PULL for-4.9 48/48] cpufreq: CPPC: add ACPI_PROCESSOR dependency

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit a578884fa0d2768f13d37c6591a9e1ed600482d3 ] Without the Kconfig dependency, we can get this warning: warning: ACPI_CPPC_CPUFREQ selects ACPI_CPPC_LIB which has unmet direct dependencies (ACPI && ACPI_PROCESSOR) Fixes: 5477fb3bd1e8 (ACPI / CPPC: Add a

[GIT PULL for-4.9 36/48] uapi: fix linux/rds.h userspace compilation errors

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: "Dmitry V. Levin" [ Upstream commit feb0869d90e51ce8b6fd8a46588465b1b5a26d09 ] Consistently use types from linux/types.h to fix the following linux/rds.h userspace compilation errors: /usr/include/linux/rds.h:106:2: error: unknown type name 'uint8_t' uint8_t name[32];

[GIT PULL for-4.9 35/48] ceph: clean up unsafe d_parent accesses in build_dentry_path

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jeff Layton [ Upstream commit c6b0b656ca24ede6657abb4a2cd910fa9c1879ba ] While we hold a reference to the dentry when build_dentry_path is called, we could end up racing with a rename that changes d_parent. Handle that situation correctly, by using the rcu_read_lock to ensure that the

[GIT PULL for-4.9 34/48] ceph: fix bogus endianness change in ceph_ioctl_set_layout

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jeff Layton [ Upstream commit 24c149ad6914d349d8b64749f20f3f8ea5031fe0 ] sparse says: fs/ceph/ioctl.c:100:28: warning: cast to restricted __le64 preferred_osd is a __s64 so we don't need to do any conversion. Also, just remove the cast in ceph_ioctl_get_layout as it's not needed.

[GIT PULL for-4.4 06/25] net/mlx4_en: fix overflow in mlx4_en_init_timestamp()

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Eric Dumazet [ Upstream commit 47d3a07528ecbbccf53bc4390d70b4e3d1c04fcf ] The cited commit makes a great job of finding optimal shift/multiplier values assuming a 10 seconds wrap around, but forgot to change the overflow_period computation. It overflows in cyclecounter_cyc2ns(), and the

[GIT PULL for-4.9 45/48] regulator: core: Resolve supplies before disabling unused regulators

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Javier Martinez Canillas [ Upstream commit 3827b64dba27ebadb4faf51f2c91143e01ba1f6d ] After commit 66d228a2bf03 ("regulator: core: Don't use regulators as supplies until the parent is bound"), input supplies aren't resolved if the input supplies parent device has not been bound. This

[GIT PULL for-4.9 32/48] i2c: at91: ensure state is restored after suspending

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Alexandre Belloni [ Upstream commit e3ccc921b7d8fd1fcd10a00720e09823d8078666 ] When going to suspend, the I2C registers may be lost because the power to VDDcore is cut. Restore them when resuming. Signed-off-by: Alexandre Belloni Acked-by: Ludovic Desroches Signed-off-by: Wolfram Sang

[GIT PULL for-4.4 03/25] irqchip/crossbar: Fix incorrect type of local variables

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Franck Demathieu [ Upstream commit b28ace12661fbcfd90959c1e84ff5a85113a82a1 ] The max and entry variables are unsigned according to the dt-bindings. Fix following 3 sparse issues (-Wtypesign): drivers/irqchip/irq-crossbar.c:222:52: warning: incorrect type in argument 3 (different

[GIT PULL for-4.9 44/48] drm/nouveau/gr/gf100-: fix ccache error logging

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Ben Skeggs [ Upstream commit 1894054dc1b6e4395048b2c0f28832a3f4320fd3 ] Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[GIT PULL for-4.9 31/48] qed: Read queue state before releasing buffer

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Ram Amrani [ Upstream commit c5212b943d4b52a7d9e0d9f747e7ad59c50d31f1 ] Currently the state is read only after the buffers are relesed. Signed-off-by: Ram Amrani Signed-off-by: Yuval Mintz Signed-off-by: David S. Miller Signed-off-by: Sasha Levin ---

[GIT PULL for-4.9 33/48] ceph: don't update_dentry_lease unless we actually got one

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jeff Layton [ Upstream commit 80d025ffede88969f6adf7266fbdedfd5641148a ] This if block updates the dentry lease even in the case where the MDS didn't grant one. Signed-off-by: Jeff Layton Reviewed-by: Yan, Zheng Signed-off-by: Ilya Dryomov Signed-off-by: Sasha Levin ---

[GIT PULL for-4.4 09/25] Btrfs: send, fix failure to rename top level inode due to name collision

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Robbie Ko [ Upstream commit 4dd9920d991745c4a16f53a8f615f706fbe4b3f7 ] Under certain situations, an incremental send operation can fail due to a premature attempt to create a new top level inode (a direct child of the subvolume/snapshot root) whose name collides with another inode that

[GIT PULL for-4.9 47/48] EDAC, mce_amd: Print IPID and Syndrome on a separate line

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Yazen Ghannam [ Upstream commit 75bf2f6478cab9b0c1d7f5f674a765d1e2ad530e ] Currently, the IPID and Syndrome are printed on the same line as the Address. There are cases when we can have a valid Syndrome but not a valid Address. For example, the MCA_SYND register can be used to hold more

[GIT PULL for-4.4 07/25] netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jarno Rajahalme [ Upstream commit 4b86c459c7bee3acaf92f0e2b4c6ac803eaa1a58 ] Commit 4dee62b1b9b4 ("netfilter: nf_ct_expect: nf_ct_expect_insert() returns void") inadvertently changed the successful return value of nf_ct_expect_related_report() from 0 to 1 due to __nf_ct_expect_check()

[GIT PULL for-4.9 12/48] netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jarno Rajahalme [ Upstream commit 4b86c459c7bee3acaf92f0e2b4c6ac803eaa1a58 ] Commit 4dee62b1b9b4 ("netfilter: nf_ct_expect: nf_ct_expect_insert() returns void") inadvertently changed the successful return value of nf_ct_expect_related_report() from 0 to 1 due to __nf_ct_expect_check()

[GIT PULL for-4.9 17/48] f2fs: do not wait for writeback in write_begin

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jaegeuk Kim [ Upstream commit 86d54795c94532075d862aa0a79f0c981dab4bdd ] Otherwise we can get livelock like below. [79880.428136] dbench D0 18405 18404 0x [79880.428139] Call Trace: [79880.428142] __schedule+0x219/0x6b0 [79880.428144] schedule+0x36/0x80

<    6   7   8   9   10   11   12   13   14   15   >