Re: [PATCH 3/5] net: stmmac: Add Adaptrum Anarion GMAC glue layer

2017-08-03 Thread Rob Herring
On Fri, Jul 28, 2017 at 03:07:03PM -0700, Alexandru Gagniuc wrote: > Before the GMAC on the Anarion chip can be used, the PHY interface > selection must be configured with the DWMAC block in reset. > > This layer covers a block containing only two registers. Although it > is possible to model this

Re: [PATCH] mm: fix list corruptions on shmem shrinklist

2017-08-03 Thread Linus Torvalds
On Thu, Aug 3, 2017 at 4:11 PM, Andrew Morton wrote: > > Where is this INIT_LIST_HEAD()? I think it's this one: list_del_init(&info->shrinklist); in shmem_unused_huge_shrink(). > I'm not sure I'm understanding this. AFAICT all the list operations to > which you refer are synchronized

[PATCH 4.12 05/31] parisc: Prevent TLB speculation on flushed pages on CPUs that only support equivalent aliases

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit ae7a609c34b6fb12328c553b5f9aab26ae74a28e upstream. Helge noticed that we flush the TLB page in flush_cache_page but not in flush_cache_range or flush_cache_mm. For a

[PATCH 4.12 00/31] 4.12.5-stable review

2017-08-03 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.12.5 release. There are 31 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 Aug 5 23:17:23 UTC 2017. Anything receive

Re: [PATCH 1/5] of: Add vendor prefix for Adaptrum, Inc.

2017-08-03 Thread Rob Herring
On Sat, Jul 29, 2017 at 04:48:28PM +0200, Andreas Färber wrote: > Hi Alexandru, > > Am 29.07.2017 um 00:07 schrieb Alexandru Gagniuc: > > Signed-off-by: Alexandru Gagniuc > > --- > > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > > 1 file changed, 1 insertion(+) > > Not sure why

Re: [Question]: try to fix contention between expire_timers and try_to_del_timer_sync

2017-08-03 Thread Vikram Mulukutla
Hi Will, On 2017-07-31 06:13, Will Deacon wrote: Hi Vikram, On Fri, Jul 28, 2017 at 12:09:38PM -0700, Vikram Mulukutla wrote: On 2017-07-28 02:28, Will Deacon wrote: >On Thu, Jul 27, 2017 at 06:10:34PM -0700, Vikram Mulukutla wrote: > This does seem to help. Here's some data after 5 runs wi

[PATCH 4.12 06/31] parisc: Extend disabled preemption in copy_user_page

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit 56008c04ebc099940021b714da2d7779117cf6a7 upstream. It's always bothered me that we only disable preemption in copy_user_page around the call to flush_dcache_page_asm.

[PATCH 4.12 01/31] jfs: Dont clear SGID when inheriting ACLs

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 9bcf66c72d726322441ec82962994e69157613e4 upstream. When new directory 'DIR1' is created in a directory 'DIR0' with SGID bit set, DIR1 is expected to have SGID bit set (and owni

[PATCH 4.12 08/31] powerpc/pseries: Fix of_node_put() underflow during reconfig remove

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Vivier commit 4fd1bd443e80b12f0a01a45fb9a793206b41cb72 upstream. As for commit 68baf692c435 ("powerpc/pseries: Fix of_node_put() underflow during DLPAR remove"), the call to of_node_pu

[PATCH 4.12 07/31] parisc: Suspend lockup detectors before system halt

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 56188832a50f09998cb570ba3771a1d25c193c0e upstream. Some machines can't power off the machine, so disable the lockup detectors to avoid this watchdog BUG to show up every fe

[PATCH 4.12 19/31] dm integrity: test for corrupted disk format during table load

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit bc86a41e96c5b6f07453c405e036d95acc673389 upstream. If the dm-integrity superblock was corrupted in such a way that the journal_sections field was zero, the integrity tar

Re: [PATCH] PCI: Add const to bin_attribute structures

2017-08-03 Thread Bjorn Helgaas
On Wed, Aug 02, 2017 at 08:57:27PM +0530, Bhumika Goyal wrote: > Add const to bin_attribute structures as they are only passed to the > functions sysfs_{remove/create}_bin_file. The corresponding arguments > are of type const, so declare the structures to be const. > > Signed-off-by: Bhumika Goyal

[PATCH 4.12 03/31] ALSA: hda - Add missing NVIDIA GPU codec IDs to patch table

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Dadap commit 74ec118152ea494a25ebb677cbc83a75c982ac5f upstream. Add codec IDs for several recently released, pending, and historical NVIDIA GPU audio controllers to the patch table, to

Re: [PATCH 3/5] net: stmmac: Add Adaptrum Anarion GMAC glue layer

2017-08-03 Thread Rob Herring
On Mon, Jul 31, 2017 at 08:11:00AM -0700, Alex wrote: > Hi David, > > On 07/28/2017 07:01 PM, David Miller wrote: > > From: Alexandru Gagniuc > > Date: Fri, 28 Jul 2017 15:07:03 -0700 > > > > > Before the GMAC on the Anarion chip can be used, the PHY interface > > > selection must be configured

Re: [PATCH 0/5] constify hotplug pci_device_id

2017-08-03 Thread Bjorn Helgaas
On Thu, Aug 03, 2017 at 05:57:49PM -0500, Bjorn Helgaas wrote: > On Thu, Aug 03, 2017 at 10:39:11PM +0530, Arvind Yadav wrote: > > pci_device_id are not supposed to change at runtime. All functions > > working with pci_device_id provided by work with > > const pci_device_id. So mark the non-const

[PATCH 4.12 24/31] drm/vmwgfx: Limit max desktop dimensions to 8Kx8K

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Sinclair Yeh commit 7b009e76797c82178d7a03ae0eaad5951d975277 upstream. This was originally chosen to be an arbitrarily large number. However, some user mode may actually try to set a 16Kx16K

[PATCH 4.12 26/31] drm/nouveau/bar/gf100: fix access to upper half of BAR2

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs commit 38bcb208f60924a031b9f809f7cd252ea4a94e5f upstream. Bit 30 being set causes the upper half of BAR2 to stay in physical mode, mapped over the end of VRAM, even when the rest of

[PATCH 4.12 22/31] md/raid5: add thread_group worker async_tx_issue_pending_all

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Ofer Heifetz commit 7e96d559634b73a8158ee99a7abece2eacec2668 upstream. Since thread_group worker and raid5d kthread are not in sync, if worker writes stripe before raid5d then requests will be

[PATCH 4.12 11/31] NFSv4.1: Fix a race where CB_NOTIFY_LOCK fails to wake a waiter

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Coddington commit b7dbcc0e433f0f61acb89ed9861ec996be4f2b38 upstream. nfs4_retry_setlk() sets the task's state to TASK_INTERRUPTIBLE within the same region protected by the wait_queue'

[PATCH 4.12 28/31] isdn/i4l: fix buffer overflow

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Annie Cherkaev commit 9f5af546e6acc30f075828cb58c7f09665033967 upstream. This fixes a potential buffer overflow in isdn_net.c caused by an unbounded strcpy. [ ISDN seems to be effectively unm

[PATCH 4.12 12/31] scripts/dtc: dtx_diff - update include dts paths to match build

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Frank Rowand commit b4b201d88b7c9b3c6acdd03f9adec0c9857548ce upstream. Update the cpp include flags for compiling device tree dts files to match the changes made to the kernel build process in

[PATCH 4.12 13/31] crypto: brcm - Fix SHA3-512 algorithm failure

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: raveendra padasalagi commit a7e6e5d8b221e57fed9fda6ec81153fda773c073 upstream. In Broadcom SPU driver, due to missing break statement in spu2_hash_xlate() while mapping SPU2 equivalent SHA3-51

[PATCH 4.12 15/31] crypto: authencesn - Fix digest_null crash

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 41cdf7a45389e01991ee31e3301ed83cb3e3f7dc upstream. When authencesn is used together with digest_null a crash will occur on the decrypt path. This is because normally we perf

[PATCH 4.12 14/31] crypto: brcm - remove BCM_PDC_MBOX dependency in Kconfig

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: raveendra padasalagi commit efc856edfd66acc5da34fec92d7feca6fd0f9add upstream. SPU driver is dependent on generic MAILBOX API's to communicate with underlying DMA engine driver. So this patch

[PATCH 4.12 23/31] drm/vmwgfx: Fix gcc-7.1.1 warning

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Sinclair Yeh commit fcfffdd8f98ac305285dca568b5065ef86be6458 upstream. The current code does not look correct, and the reason for it is probably lost. Since this now generates a compiler warn

[PATCH 4.12 18/31] dm integrity: fix inefficient allocation of journal space

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 9dd59727dbc21d33a9add4c5b308a5775cd5a6ef upstream. When using a block size greater than 512 bytes, the dm-integrity target allocates journal space inefficiently. It all

[PATCH 4.12 17/31] KVM: PPC: Book3S HV: Fix host crash on changing HPT size

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit ef42719814db06fdfa26cd7566de0b64de173320 upstream. Commit f98a8bf9ee20 ("KVM: PPC: Book3S HV: Allow KVM_PPC_ALLOCATE_HTAB ioctl() to change HPT size", 2016-12-20) changed

[PATCH 4.12 16/31] KVM: PPC: Book3S HV: Enable TM before accessing TM registers

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit e47057151422a67ce08747176fa21cb3b526a2c9 upstream. Commit 46a704f8409f ("KVM: PPC: Book3S HV: Preserve userspace HTM state properly", 2017-06-15) added code to read trans

[PATCH 4.12 20/31] md: remove idx from struct resync_pages

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 022e510fcbda79183fd2cdc01abb01b4be80d03f upstream. bio_add_page() won't fail for resync bio, and the page index for each bio is same, so remove it. More importantly the 'idx'

[PATCH 4.12 09/31] mmc: sunxi: Keep default timing phase settings for new timing mode

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Chen-Yu Tsai commit 26cb2be4c7c42644ccd147c786edb9006300ee56 upstream. The register for the "new timing mode" also has bit fields for setting output and sample timing phases. According to comm

[PATCH 4.12 29/31] ipmi/watchdog: fix watchdog timeout set on reboot

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Valentin Vidic commit 860f01e96981a68553f3ca49f574ff14fe955e72 upstream. systemd by default starts watchdog on reboot and sets the timer to ShutdownWatchdogSec=10min. Reboot handler in ipmi_w

[PATCH 4.12 30/31] dentry name snapshots

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 49d31c2f389acfe83417083e1208422b4091cd9e upstream. take_dentry_name_snapshot() takes a safe snapshot of dentry name; if the name is a short one, it gets copied into caller-suppl

[PATCH 4.12 31/31] mmc: tmio-mmc: fix bad pointer math

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Chris Brandt commit 9c284c41c0886f09e75c323a16278b6d353b0b4a upstream. The existing code gives an incorrect pointer value. The buffer pointer 'buf' was of type unsigned short *, and 'count' wa

[PATCH 4.12 25/31] drm/nouveau/disp/nv50-: bump max chans to 21

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Ilia Mirkin commit a90e049cacd965dade4dae7263b4d3fd550e78b6 upstream. GP102's cursors go from chan 17..20. Increase the array size to hold their data properly. Fixes: e50fcff15f ("drm/nouveau

[PATCH 4.12 21/31] md/raid1: fix writebehind bio clone

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 16d56e2fcc1fc15b981369653c3b41d7ff0b443d upstream. After bio is submitted, we should not clone it as its bi_iter might be invalid by driver. This is the case of behind_master

[PATCH 4.12 10/31] NFS: invalidate file size when taking a lock.

2017-08-03 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 442ce0499c0535f8972b68fa1fda357357a5c953 upstream. Prior to commit ca0daa277aca ("NFS: Cache aggressively when file is open for writing"), NFS would revalidate, or invalidate,

Re: [PATCH] drivers: pci: Add in description of pci_set_power_state

2017-08-03 Thread Bjorn Helgaas
On Wed, Aug 02, 2017 at 08:42:18PM +0100, Piotr Gregor wrote: > Add two reasons of returning 0 value to the description > of the pci_set_power_state to include the cases when: > > - the transition is to D1 or D2 but D1 and D2 are not supported > - the transition is to D3 but D3 is not supported. >

Re: [PATCH] mm: fix list corruptions on shmem shrinklist

2017-08-03 Thread Andrew Morton
On Wed, 2 Aug 2017 22:46:30 -0700 Cong Wang wrote: > We saw many list corruption warnings on shmem shrinklist: > > ... > > The problem is that shmem_unused_huge_shrink() moves entries > from the global sbinfo->shrinklist to its local lists and then > releases the spinlock. However, a parallel

Re: [PATCH v6 0/7] Add support for IPQ8074 PCIe phy and controller

2017-08-03 Thread Bjorn Helgaas
On Wed, Aug 02, 2017 at 10:38:21AM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 31 July 2017 12:04 PM, Varadarajan Narayanan wrote: > > v6: > > Added 'Reviewed-by: Vivek Gautam ' and fixed > > white space issues as mentioned by Vivek. > > phy: qcom-qmp: Fix phy pipe clock name

[PATCH] mux: zap mux- prefix from the source files

2017-08-03 Thread Peter Rosin
Preserve the module names with Makefile additions. Signed-off-by: Peter Rosin --- drivers/mux/Makefile | 5 + drivers/mux/{mux-adg792a.c => adg792a.c} | 0 drivers/mux/{mux-core.c => core.c} | 0 drivers/mux/{mux-gpio.c => gpio.c} | 0 drivers/mux/{mux-mmio.c

Re: [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support

2017-08-03 Thread Rob Herring
On Fri, Jul 28, 2017 at 06:48:12PM +0530, Vivek Gautam wrote: > Update the binding doc for qcom pmi8994-gpio devices. > > Signed-off-by: Vivek Gautam > --- > > - Have been testing this patch-set on db820c for extcon with > usb controller. The usb controller uses one of these gpios > for usb-

Re: [PATCH v6 2/7] dt-bindings: phy: qmp: Add support for QMP phy in IPQ8074

2017-08-03 Thread Bjorn Helgaas
On Mon, Jul 31, 2017 at 12:04:12PM +0530, Varadarajan Narayanan wrote: > IPQ8074 uses QMP phy controller that provides support to PCIe and > USB. Adding dt binding information for the same. s/ph/PHY/ s/dt/DT/ (as in previous changelog) > > Reviewed-by: Vivek Gautam > Signed-off-by: Varadarajan

Re: [PATCH v6 1/7] dt-bindings: phy: qmp: Add output-clock-names

2017-08-03 Thread Bjorn Helgaas
On Mon, Jul 31, 2017 at 12:04:11PM +0530, Varadarajan Narayanan wrote: > The phy outputs a clock that will act as the parent for > the phy's pipe clock. Add the name of this clock to the s/phy/PHY/ > lane's DT node. > > Acked-by: Rob Herring > Signed-off-by: Varadarajan Narayanan > --- > Docu

Re: [PATCH 0/5] constify hotplug pci_device_id

2017-08-03 Thread Bjorn Helgaas
On Thu, Aug 03, 2017 at 10:39:11PM +0530, Arvind Yadav wrote: > pci_device_id are not supposed to change at runtime. All functions > working with pci_device_id provided by work with > const pci_device_id. So mark the non-const structs as const. > > Arvind Yadav (5): > [PATCH 1/5] PCI: hotplug:

Re: [PATCH v5 03/14] drm/fb-helper: separate the fb_setcmap helper into atomic and legacy paths

2017-08-03 Thread Peter Rosin
On 2017-07-14 15:54, Daniel Vetter wrote: > On Thu, Jul 13, 2017 at 06:25:27PM +0200, Peter Rosin wrote: >> The legacy path implements setcmap in terms of crtc .gamma_set. >> >> The atomic path implements setcmap by directly updating the crtc gamma_lut >> property. >> >> This has a couple of benefi

Re: [PATCH v2 5/5] dt-bindings: PCI: add support for new generation controller

2017-08-03 Thread Bjorn Helgaas
On Thu, Jul 27, 2017 at 10:58:39AM +0800, honghui.zh...@mediatek.com wrote: > From: Ryder Lee > > Add support for MediaTek new generation controller and update related > properities. > > Signed-off-by: Ryder Lee > Signed-off-by: Honghui Zhang > --- > .../devicetree/bindings/pci/mediatek-pcie.

Re: [PATCH v2 4/5] PCI: mediatek: Add new generation controller support

2017-08-03 Thread Bjorn Helgaas
On Thu, Jul 27, 2017 at 10:58:38AM +0800, honghui.zh...@mediatek.com wrote: > From: Ryder Lee > > Add support for new Gen2 controller which has two root ports and shares > the probing flow with legacy controller. Currently this IP block can be > found on MT7622/MT2712. > > Signed-off-by: Ryder L

Re: [PATCH] drm/tinydrm: mipi-dbi: Fix unbalanced DMA access

2017-08-03 Thread David Lechner
On 08/01/2017 03:14 PM, David Lechner wrote: If we return here and import_attach is true, then dma_buf_end_cpu_access() will not be called balance dma_buf_begin_cpu_access(). Fix by setting ret instead of returning. Signed-off-by: David Lechner --- drivers/gpu/drm/tinydrm/mipi-dbi.c | 3 ++-

Re: [PATCH] x86/boot/KASLR: Extend movable_node option for KASLR

2017-08-03 Thread Kees Cook
On Thu, Aug 3, 2017 at 5:17 AM, Dou Liyang wrote: > movable_node is a boot-time switch to make hot-pluggable memory > NUMA nodes to be movable. This option is based on an assumption > that any node which the kernel resides in is defined as > un-hotpluggable. Linux can allocates memory near the ker

[PATCH] iio: imu: adis16480: Fix acceleration scale factor for adis16480

2017-08-03 Thread Dragos Bogdan
According to the datasheet, the range of the acceleration is [-10 g, + 10 g], so the scale factor should be 10 instead of 5. Signed-off-by: Dragos Bogdan --- drivers/iio/imu/adis16480.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/

Re: [RFC 01/16] NOVA: Documentation

2017-08-03 Thread Randy Dunlap
On 08/03/2017 12:48 AM, Steven Swanson wrote: > A brief overview is in README.md. > See below. > Implementation and usage details are in Documentation/filesystems/nova.txt. > Reviewed in a separate email. > These two papers provide a detailed, high-level description of NOVA's design > goals

Re: [PATCH] clk: uniphier: remove sLD3 SoC support

2017-08-03 Thread Stephen Boyd
On 07/26, Masahiro Yamada wrote: > This SoC is too old. It is difficult to maintain any longer. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

[PATCH v3 1/6] drm/tinydrm: remove call to mipi_dbi_init() from mipi_dbi_spi_init()

2017-08-03 Thread David Lechner
This removes the call to mipi_dbi_init() from mipi_dbi_spi_init() so that drivers can have a driver-specific implementation if needed. Suggested-by: Noralf Trønnes Signed-off-by: David Lechner Reviewed-by: Noralf Trønnes --- drivers/gpu/drm/tinydrm/mi0283qt.c | 8 ++-- drivers/gpu/drm/tin

[PATCH v3 0/6] Support for LEGO MINDSTORMS EV3 LCD display

2017-08-03 Thread David Lechner
The goal of this series is to get the built-in LCD of the LEGO MINDSTORMS EV3 working. v2 changes: * Wrote a new driver for ST7586 instead of combining it with existing drivers * Don't touch MIPI DBI code (other than the patch suggested by Noralf) * New defconfig patch v3 changes: * New patch to

[PATCH v3 2/6] drm/tinydrm: generalize tinydrm_xrgb8888_to_gray8()

2017-08-03 Thread David Lechner
This adds parameters for vaddr and clip to tinydrm_xrgb_to_gray8() to make it more generic. dma_buf_{begin,end}_cpu_access() are moved out to the repaper driver. Signed-off-by: David Lechner --- drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 35 ++ drivers/gpu/drm/

[PATCH v3 6/6] ARM: davinci_all_defconfig: enable tinydrm and ST7586

2017-08-03 Thread David Lechner
This enables the tinydrm and ST7586 panel modules used by the display on LEGO MINDSTORMS EV3. Signed-off-by: David Lechner --- arch/arm/configs/davinci_all_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defco

Re: [PATCH V3 net-next 03/21] net-next/hinic: Initialize api cmd resources

2017-08-03 Thread David Miller
From: Aviad Krawczyk Date: Thu, 3 Aug 2017 17:54:09 +0800 > +static int alloc_cmd_buf(struct hinic_api_cmd_chain *chain, > + struct hinic_api_cmd_cell *cell, int cell_idx) > +{ > + struct hinic_hwif *hwif = chain->hwif; > + struct pci_dev *pdev = hwif->pdev; > + s

[PATCH v3 4/6] drm/tinydrm: add support for LEGO MINDSTORMS EV3 LCD

2017-08-03 Thread David Lechner
LEGO MINDSTORMS EV3 has an LCD with a ST7586 controller. This adds a new module for the ST7586 controller with parameters for the LEGO MINDSTORMS EV3 LCD display. Signed-off-by: David Lechner --- MAINTAINERS | 6 + drivers/gpu/drm/tinydrm/Kconfig | 10 + drivers/gpu/drm/

Re: [PATCH V3 net-next 02/21] net-next/hinic: Initialize hw device components

2017-08-03 Thread David Miller
From: Aviad Krawczyk Date: Thu, 3 Aug 2017 17:54:08 +0800 > +static int get_capability(struct hinic_hwdev *hwdev, > + struct hinic_dev_cap *dev_cap) > +{ > + struct hinic_hwif *hwif = hwdev->hwif; > + struct hinic_cap *nic_cap = &hwdev->nic_cap; > + int num_aeqs,

[PATCH v3 3/6] dt-bindings: add binding for Sitronix ST7586 display panels

2017-08-03 Thread David Lechner
This adds a new binding for Sitronix ST7586 display panels. Using lego as the vendor prefix in the compatible string because the display panel I am working with is an integral part of the LEGO MINDSTORMS EV3. Signed-off-by: David Lechner --- .../bindings/display/sitronix,st7586.txt |

[PATCH v3 5/6] ARM: dts: da850-lego-ev3: Add node for LCD display

2017-08-03 Thread David Lechner
This adds a new node for the LEGO MINDSTORMS EV3 LCD display. Signed-off-by: David Lechner --- arch/arm/boot/dts/da850-lego-ev3.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/da850-lego-ev3.dts b/arch/arm/boot/dts/da850-lego-ev3.dts index 459

Re: [PATCH v4.4.y] sched/cgroup: Move sched_online_group() back into css_online() to fix crash

2017-08-03 Thread Greg KH
On Wed, Jul 26, 2017 at 09:59:43PM +0100, Matt Fleming wrote: > On Wed, 26 Jul, at 07:35:51AM, Greg KH wrote: > > > > If it needs a backport and a simple cherry-pick does not work, yes > > please. > > Oh, it turns out cherry-picking commit 96b777452d88 to 4.9-stable > works just fine. Great, now

Re: [PATCH 2/2] char: xilinx_hwicap: Fix warnings in the driver

2017-08-03 Thread Rob Herring
On Fri, Jul 28, 2017 at 03:17:26PM +0200, Michal Simek wrote: > From: Nava kishore Manne > > This patch fixes the below warning > --> Use #include instead of > --> Use #include instead of > --> please, no space before tabs > --> Block comments use a trailing */

Re: [patches] [PATCH v7 05/15] irqchip: New RISC-V PLIC Driver

2017-08-03 Thread Jonathan Neuschäfer
Hi, On Mon, Jul 31, 2017 at 05:59:59PM -0700, Palmer Dabbelt wrote: > This patch adds a driver for the Platform Level Interrupt Controller > (PLIC) specified as part of the RISC-V supervisor level ISA manual. > The PLIC connocts global interrupt sources to the local interrupt s/connocts/connects/

[PATCH] gpio: msic: fix error return code in platform_msic_gpio_probe()

2017-08-03 Thread Gustavo A. R. Silva
platform_get_irq() returns an error code, but the gpio-msic driver ignores it and always returns -EINVAL. This is not correct, and prevents -EPROBE_DEFER from being propagated properly. Notice that platform_get_irq() no longer returns 0 on error: https://git.kernel.org/pub/scm/linux/kernel/git/tor

Re: [PATCH v2 3/5] dt-bindings: PCI: rename and cleanup MediaTek binding text

2017-08-03 Thread Bjorn Helgaas
On Thu, Jul 27, 2017 at 10:58:37AM +0800, honghui.zh...@mediatek.com wrote: > From: Ryder Lee > > In order to accommodate other SoC generations, this patch updates filename > to make it more generic, regroups specific properties by SoCs, and removes > redundant descriptions. > > Signed-off-by: R

Re: [PATCH] ACPI / dock: constify attribute_group structures.

2017-08-03 Thread Rafael J. Wysocki
On Thu, Aug 3, 2017 at 3:18 PM, Arvind Yadav wrote: > attribute_group are not supposed to change at runtime. All functions > working with attribute_group provided by work with > const attribute_group. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Somebody else sent an

Re: [PATCH v2 1/5] PCI: mediatek: Add a structure to abstract the controller generations

2017-08-03 Thread Bjorn Helgaas
On Thu, Jul 27, 2017 at 10:58:35AM +0800, honghui.zh...@mediatek.com wrote: > From: Ryder Lee > > Introduce a structure "mtk_pcie_soc" to abstract the differences between > controller generations, and the .startup() hook is used to encapsulate > some SoC-dependent related setting. In doing so, th

Re: [PATCH] net: arc_emac: Add support for ndo_do_ioctl net_device_ops operation

2017-08-03 Thread David Miller
From: Romain Perier Date: Thu, 3 Aug 2017 09:49:03 +0200 > This operation is required for handling ioctl commands like SIOCGMIIREG, > when debugging MDIO registers from userspace. > > This commit adds support for this operation. > > Signed-off-by: Romain Perier Applied, thanks.

[PATCH V2] acpi: apei: clear error status before acknowledging the error

2017-08-03 Thread Tyler Baicar
Currently we acknowledge errors before clearing the error status. This could cause a new error to be populated by firmware in-between the error acknowledgment and the error status clearing which would cause the second error's status to be cleared without being handled. So, clear the error status be

Re: [PATCH V6 net-next 0/8] Hisilicon Network Subsystem 3 Ethernet Driver

2017-08-03 Thread David Miller
From: Salil Mehta Date: Wed, 2 Aug 2017 16:59:44 +0100 > This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem > 3) > Ethernet driver for hip08 family of SoCs and future upcoming SoCs. ... Series applied, thanks.

[PATCH v2 1/7] ACPI / blacklist: add acpi_match_oemlist() interface

2017-08-03 Thread Toshi Kani
ACPI OEM ID / OEM Table ID / Revision can be used to identify a platform based on ACPI firmware info. acpi_blacklisted(), intel_pstate_platform_pwr_mgmt_exists(), and some other funcs, have been using similar check to detect a list of platforms that require special handlings. Move the platform ch

[PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-03 Thread Toshi Kani
ghes_edac_register() is called for each GHES platform device instantiated per a GHES entry in ACPI HEST table. dmi_walk() counts the number of DIMMs on the system, and there is no need to call it multiple times. Change ghes_edac_register() to call dmi_walk() only when 'num_dimm' is uninitialized.

[PATCH v2 3/7] ACPI / APEI: add OSC APEI bit check for ghes_edac

2017-08-03 Thread Toshi Kani
When 'osc_sb_apei_support_acked' is set, it indicates that the platform supports APEI, firmware-first mode, as ACPI _OSC capability bit 4, APEI Support, was set in query. While _OSC is an optional method, platforms with APEI support should implement it to inform its capability to the OS properly.

[PATCH v2 2/7] intel_pstate: convert to use acpi_match_oemlist()

2017-08-03 Thread Toshi Kani
Convert to use acpi_match_oemlist() for the platform check. There is no change in functionality. Signed-off-by: Toshi Kani Cc: "Rafael J. Wysocki" Cc: Srinivas Pandruvada Cc: Len Brown Cc: Borislav Petkov --- drivers/cpufreq/intel_pstate.c | 64 1 f

[PATCH v2 5/7] ghes_edac: add platform check to enable ghes_edac

2017-08-03 Thread Toshi Kani
The ghes_edac driver was introduced in 2013 [1], but it has not been enabled by any distro yet. This driver obtains error info from firmware interfaces, which are not properly implemented on many platforms, as the driver always emits the messages below: This EDAC driver relies on BIOS to enumera

[PATCH v2 7/7] edac drivers: add MC owner check in init

2017-08-03 Thread Toshi Kani
Change generic x86 edac drivers, which probe CPU type with x86_match_cpu(), to call edac_check_mc_owner() in their module init functions. This allows them to fail their init at the beginning when ghes_edac is enabled. Similar change can be made to other edac drivers as necessary. This is an opti

Re: [PATCH v1] x86/platform/intel-mid: Make IRQ allocation a bit more flexible

2017-08-03 Thread Bjorn Helgaas
On Mon, Jul 24, 2017 at 08:34:02PM +0300, Andy Shevchenko wrote: > In the future we would use dynamic allocation for IRQ which brings > non-1:1 mapping for IOAPIC domain. Thus, we need to respect return value > of mp_map_gsi_to_irq() and assign it back to the device structure. > > Besides that we

Re: [PATCH] soc: versatile: remove unnecessary static in realview_soc_probe()

2017-08-03 Thread Gustavo A. R. Silva
On 08/02/2017 06:59 AM, Linus Walleij wrote: On Thu, Jul 20, 2017 at 12:40 AM, Gustavo A. R. Silva wrote: Remove unnecessary static on local variables syscon_regmap. Such variables are initialized before being used, on every execution path throughout the functions. The static has no benefit

[PATCH v2 0/7] enable ghes_edac on selected platforms

2017-08-03 Thread Toshi Kani
The ghes_edac driver was introduced in 2013 [1], but it has not been enabled by any distro yet. This is because the driver obtains error info from firmware interfaces, which are not properly implemented on many platforms. To get out from this situation, add a platform check to selectively enable

[PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-03 Thread Toshi Kani
Only a single edac driver can be enabled for EDAC MC. When ghes_edac is enabled, a regular edac driver for the CPU type / platform still attempts to register itself and fails in edac_mc_add_mc(). Add edac_check_mc_owner() so that regular edac drivers can check the owner of EDAC MC at the beginnin

Re: [PATCH] acpi: apei: clear error status before acknowledging the error

2017-08-03 Thread Baicar, Tyler
On 7/31/2017 11:44 AM, Baicar, Tyler wrote: On 7/31/2017 11:00 AM, Luck, Tony wrote: On Mon, Jul 31, 2017 at 10:15:27AM -0600, Baicar, Tyler wrote: I think the better thing to do in this case is still send the ack. If ghes_read_estatus() fails, then either we are unable to read the estatus or t

Re: strace-4.18 test suite oopses sparc64 4.12 and 4.13-rc kernels

2017-08-03 Thread David Miller
From: Mikael Pettersson Date: Thu, 3 Aug 2017 22:02:57 +0200 > With that in place the kernel booted fine. > When I then ran the `poll' strace test binary, the OOPS was replaced by: > > [ 140.589913] _copy_from_user(fff000123c8dfa7c, (null), 240) res > 240 > [ 140.753162] _copy_from_

[PATCH] Staging: wilc1000: Fix line over 80 characters

2017-08-03 Thread Himanshu Jha
This patch fixes 80 characters limit coding style issue. Signed-off-by: Himanshu Jha --- drivers/staging/wilc1000/linux_wlan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index dbb3e24..5dab2

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

2017-08-03 Thread Stephen Rothwell
Hi all, Commit 9577212cc0e2 ("crypto: hash - add crypto_(un)register_ahashes()") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell

[PATCH] watchdog: constify watchdog_ops and watchdog_info structures

2017-08-03 Thread Julia Lawall
These watchdog_ops and watchdog_info structures are only stored in the ops and info fields of a watchdog_device structure, respectively, which are const. Thus make the watchdog_ops and watchdog_info structures const as well. Done with the help of Coccinelle. The rules for the watchdog_ops case a

Re: [PATCH v2] bitops: Avoid integer overflow in GENMASK(_ULL)

2017-08-03 Thread Andrew Morton
On Thu, 3 Aug 2017 14:20:20 -0700 Matthias Kaehlcke wrote: > GENMASK(_ULL) performs a left-shift of ~0UL(L), which technically > results in an integer overflow. clang raises a warning if the overflow > occurs in a preprocessor expression. That's just irritaing. > Clear the low-order bits throu

Re: [PATCH] soc: integrator: remove unnecessary static in integrator_soc_init()

2017-08-03 Thread Gustavo A. R. Silva
Hi Linus, On 08/02/2017 06:58 AM, Linus Walleij wrote: On Thu, Jul 20, 2017 at 12:39 AM, Gustavo A. R. Silva wrote: Remove unnecessary static on local variable syscon_regmap. Such variables are initialized before being used, on every execution path throughout the functions. So, the static has

Re: [PATCH 056/102] PCI: mediatek: explicitly request exclusive reset control

2017-08-03 Thread Bjorn Helgaas
On Wed, Jul 19, 2017 at 05:26:00PM +0200, Philipp Zabel wrote: > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls > to explicitly state whether the driver needs exclusive or shared reset > control beha

[GIT PULL] VFIO fixes for v4.13-rc4

2017-08-03 Thread Alex Williamson
Hi Linus, The following changes since commit 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9: Linux 4.13-rc2 (2017-07-23 16:15:17 -0700) are available in the git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v4.13-rc4 for you to fetch changes up to 796b755066dd6254bfb6388fec90

Re: [PATCH 054/102] PCI: rockchip: explicitly request exclusive reset control

2017-08-03 Thread Bjorn Helgaas
On Wed, Jul 19, 2017 at 05:25:58PM +0200, Philipp Zabel wrote: > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls > to explicitly state whether the driver needs exclusive or shared reset > control beha

Re: [PATCH 053/102] PCI: tegra: explicitly request exclusive reset control

2017-08-03 Thread Bjorn Helgaas
On Wed, Jul 19, 2017 at 05:25:57PM +0200, Philipp Zabel wrote: > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls > to explicitly state whether the driver needs exclusive or shared reset > control beha

Re: [PATCH] Drivers: usb: serial: Replace unsigned to unsigned int and fix line over 80 characters

2017-08-03 Thread Greg KH
On Fri, Aug 04, 2017 at 02:21:13AM +0530, Himanshu Jha wrote: > This patch fixes the following checkpatch.pl warnings: > > WARNING: Block comments use * on subsequent lines > WARNING: Block comments use a trailing */ on a separate line > WARNING: Prefer 'unsigned int' to bare use of 'unsigned' > W

Re: [PATCH 2/2] i2c: mux: pinctrl: drop the idle_state member

2017-08-03 Thread Stephen Warren
On 08/02/2017 11:19 PM, Peter Rosin wrote: On 2017-08-03 00:50, Stephen Warren wrote: On 08/02/2017 03:25 PM, Peter Rosin wrote: (and muxc->max_adapters == num_names) Well, unless muxc->deselect is true... No, deselect does not affect neither max_adapters nor num_names. They are always equa

Re: [PATCH 052/102] PCI: imx6: explicitly request exclusive reset control

2017-08-03 Thread Bjorn Helgaas
On Wed, Jul 19, 2017 at 05:25:56PM +0200, Philipp Zabel wrote: > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls > to explicitly state whether the driver needs exclusive or shared reset > control beha

Re: [PATCH 051/102] PCI: dwc: pcie-qcom: explicitly request exclusive reset control

2017-08-03 Thread Bjorn Helgaas
On Wed, Jul 19, 2017 at 05:25:55PM +0200, Philipp Zabel wrote: > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls > to explicitly state whether the driver needs exclusive or shared reset > control beha

Re: [RFT PATCH 0/9] PCI: Remove pci_fixup_irqs()

2017-08-03 Thread Bjorn Helgaas
On Mon, Jul 31, 2017 at 05:37:48PM +0100, Lorenzo Pieralisi wrote: > The pci_fixup_irqs() function allocates IRQs for all PCI devices present > in a system; those PCI devices possibly belong to different PCI bus trees > (and possibly rooted at different host bridges) and may well be enabled > (ie p

[PATCH] acpi: apei: fix GHES estatus iteration

2017-08-03 Thread Tyler Baicar
Currently iterating through the GHES estatus blocks does not take into account the new generic data v3 structure size. This can result in garbage non-standard trace events to be triggered since the loop will not properly iterate through the estatus blocks and not properly terminate. Update the GHE

Re: [PATCH 2/2] arm64: dts: rockchip: Add support for rk3399 excavator main board

2017-08-03 Thread kbuild test robot
Hi Jacob, [auto build test ERROR on rockchip/for-next] [also build test ERROR on v4.13-rc3 next-20170803] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jacob-Chen/arm64-dts-rockchip-Add

[v5 05/15] mm: don't accessed uninitialized struct pages

2017-08-03 Thread Pavel Tatashin
In deferred_init_memmap() where all deferred struct pages are initialized we have a check like this: if (page->flags) { VM_BUG_ON(page_zone(page) != zone); goto free_range; } This way we are checking if the current deferred page has already been initialized. It wor

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