[PATCH AUTOSEL 4.19 86/97] net/mlx5e: Remove the false indication of software timestamping support

2018-12-26 Thread Sasha Levin
From: Alaa Hleihel [ Upstream commit 4765420439e758bfa4808392d18b0a4cb6f06065 ] mlx5 driver falsely advertises support of software timestamping. Fix it by removing the false indication. Fixes: ef9814deafd0 ("net/mlx5e: Add HW timestamping (TS) support") Signed-off-by: Alaa Hleihel

[PATCH AUTOSEL 4.19 94/97] qmi_wwan: Add support for Fibocom NL678 series

2018-12-26 Thread Sasha Levin
From: Jörgen Storvist [ Upstream commit 7c3db4105ce8d69bcb5c04bfa9acd1e9119af8d5 ] Added support for Fibocom NL678 series cellular module QMI interface. Using QMI_QUIRK_SET_DTR required for Qualcomm MDM9x40 series chipsets. Signed-off-by: Jörgen Storvist Signed-off-by: David S. Miller

[PATCH AUTOSEL 4.19 73/97] net: macb: fix random memory corruption on RX with 64-bit DMA

2018-12-26 Thread Sasha Levin
From: Anssi Hannula [ Upstream commit e100a897bf9b19089e57f236f2398c9e0538900e ] 64-bit DMA addresses are split in upper and lower halves that are written in separate fields on GEM. For RX, bit 0 of the address is used as the ownership bit (RX_USED). When the RX_USED bit is unset the controller

[PATCH AUTOSEL 4.19 77/97] lan78xx: Resolve issue with changing MAC address

2018-12-26 Thread Sasha Levin
From: Jason Martinsen [ Upstream commit 1551569659c502003926a2067ee76176148a ] Current state for the lan78xx driver does not allow for changing the MAC address of the interface, without either removing the module (if you compiled it that way) or rebooting the machine. If you attempt to

[PATCH AUTOSEL 4.19 69/97] x86/mtrr: Don't copy uninitialized gentry fields back to userspace

2018-12-26 Thread Sasha Levin
From: Colin Ian King [ Upstream commit 32043fa065b51e0b1433e48d118821c71b5cd65d ] Currently the copy_to_user of data in the gentry struct is copying uninitiaized data in field _pad from the stack to userspace. Fix this by explicitly memset'ing gentry to zero, this also will zero any compiler

[PATCH AUTOSEL 4.19 62/97] net: hns: Add mac pcs config when enable|disable mac

2018-12-26 Thread Sasha Levin
From: Yonglong Liu [ Upstream commit 726ae5c9e5f0c18eca8ea5296b526242c3e89822 ] In some case, when mac enable|disable and adjust link, may cause hard to link(or abnormal) between mac and phy. This patch adds the code for rx PCS to avoid this bug. Disable the rx PCS when driver disable the

[PATCH AUTOSEL 4.19 52/97] qmi_wwan: Added support for Telit LN940 series

2018-12-26 Thread Sasha Levin
From: Jörgen Storvist [ Upstream commit 1986af16e8ed355822600c24b3d2f0be46b573df ] Added support for the Telit LN940 series cellular modules QMI interface. QMI_QUIRK_SET_DTR quirk requied for Qualcomm MDM9x40 chipset. Signed-off-by: Jörgen Storvist Acked-by: Bjørn Mork Signed-off-by: David

[PATCH AUTOSEL 4.19 57/97] net: hns: Fixed bug that netdev was opened twice

2018-12-26 Thread Sasha Levin
From: Yonglong Liu [ Upstream commit 5778b13b64eca5549d242686f2f91a2c80c8fa40 ] After resetting dsaf to try to repair chip error such as ecc error, the net device will be open if net interface is up. But at this time if there is the users set the net device up with the command ifconfig, the net

[PATCH AUTOSEL 4.19 60/97] net: hns: Avoid net reset caused by pause frames storm

2018-12-26 Thread Sasha Levin
From: Yonglong Liu [ Upstream commit a57275d35576fdd89d8c771eedf1e7cf97e0dfa6 ] There will be a large number of MAC pause frames on the net, which caused tx timeout of net device. And then the net device was reset to try to recover it. So that is not useful, and will cause some other problems.

[PATCH AUTOSEL 4.19 49/97] net/tls: Init routines in create_ctx

2018-12-26 Thread Sasha Levin
From: Atul Gupta [ Upstream commit 6c0563e442528733219afe15c749eb2cc365da3f ] create_ctx is called from tls_init and tls_hw_prot hence initialize function pointers in common routine. Signed-off-by: Atul Gupta Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- net/tls/tls_main.c

[PATCH AUTOSEL 4.19 58/97] net: hns: Clean rx fbd when ae stopped.

2018-12-26 Thread Sasha Levin
From: Yonglong Liu [ Upstream commit 31f6b61d810654fb3ef43f4d8afda0f44b142fad ] If there are packets in hardware when changing the speed or duplex, it may cause hardware hang up. This patch adds the code to wait rx fbd clean up when ae stopped. Signed-off-by: Yonglong Liu Signed-off-by: Peng

[PATCH AUTOSEL 4.19 42/97] scsi: target: iscsi: cxgbit: add missing spin_lock_init()

2018-12-26 Thread Sasha Levin
From: Varun Prakash [ Upstream commit 9e6371d3c6913ff1707fb2c0274c9925f7aaef80 ] Add missing spin_lock_init() for cdev->np_lock. Signed-off-by: Varun Prakash Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/target/iscsi/cxgbit/cxgbit_main.c | 1 + 1 file changed, 1

[PATCH AUTOSEL 4.19 27/97] ibmvnic: Fix non-atomic memory allocation in IRQ context

2018-12-26 Thread Sasha Levin
From: Thomas Falcon [ Upstream commit 1d1bbc37f89b0559c9e913682f2489d89cfde6b8 ] ibmvnic_reset allocated new reset work item objects in a non-atomic context. This can be called from a tasklet, generating the output below. Allocate work items with the GFP_ATOMIC flag instead. BUG: sleeping

[PATCH AUTOSEL 4.19 30/97] x86/mm: Fix guard hole handling

2018-12-26 Thread Sasha Levin
From: "Kirill A. Shutemov" [ Upstream commit 16877a5570e0c5f4270d5b17f9bab427bcae9514 ] There is a guard hole at the beginning of the kernel address space, also used by hypervisors. It occupies 16 PGD entries. This reserved range is not defined explicitely, it is calculated relative to other

[PATCH AUTOSEL 4.19 54/97] net: hns: Incorrect offset address used for some registers.

2018-12-26 Thread Sasha Levin
From: Yonglong Liu [ Upstream commit 4e1d4be681b2c26fd874adbf584bf034573ac45d ] According to the hip06 Datasheet: 1. The offset of INGRESS_SW_VLAN_TAG_DISC should be 0x1A00+4*all_chn_num 2. The offset of INGRESS_IN_DATA_STP_DISC should be 0x1A50+4*all_chn_num Signed-off-by: Yonglong Liu

[PATCH AUTOSEL 4.19 55/97] net: hns: All ports can not work when insmod hns ko after rmmod.

2018-12-26 Thread Sasha Levin
From: Yonglong Liu [ Upstream commit 308c6cafde0147616da45e3a928adae55c428deb ] There are two test cases: 1. Remove the 4 modules:hns_enet_drv/hns_dsaf/hnae/hns_mdio, and install them again, must use "ifconfig down/ifconfig up" command pair to bring port to work. This patch calls

[PATCH AUTOSEL 4.19 34/97] ixgbe: Fix race when the VF driver does a reset

2018-12-26 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit 96d1a731611f711f0cb82cea93363ae2ea8cb028 ] When the VF driver does a reset, it (at least the Linux one) writes to the VFCTRL register to issue a reset and then immediately sends a reset message using the mailbox API. This is racy because when the PF driver

[PATCH AUTOSEL 4.19 33/97] USB: hso: Fix OOB memory access in hso_probe/hso_get_config_data

2018-12-26 Thread Sasha Levin
From: Hui Peng [ Upstream commit 5146f95df782b0ac61abde36567e718692725c89 ] The function hso_probe reads if_num from the USB device (as an u8) and uses it without a length check to index an array, resulting in an OOB memory read in hso_probe or hso_get_config_data. Add a length check for both

[PATCH AUTOSEL 4.19 23/97] scsi: bnx2fc: Fix NULL dereference in error handling

2018-12-26 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit 9ae4f8420ed7be4b13c96600e3568c144d101a23 ] If "interface" is NULL then we can't release it and trying to will only lead to an Oops. Fixes: aea71a024914 ("[SCSI] bnx2fc: Introduce interface structure for each vlan interface") Signed-off-by: Dan Carpenter

[PATCH AUTOSEL 4.19 18/97] xfrm: Fix NULL pointer dereference in xfrm_input when skb_dst_force clears the dst_entry.

2018-12-26 Thread Sasha Levin
From: Steffen Klassert [ Upstream commit 0152eee6fc3b84298bb6a79961961734e8afa5b8 ] Since commit 222d7dbd258d ("net: prevent dst uses after free") skb_dst_force() might clear the dst_entry attached to the skb. The xfrm code doesn't expect this to happen, so we crash with a NULL pointer

[PATCH AUTOSEL 4.19 12/97] powerpc/mm: Fallback to RAM if the altmap is unusable

2018-12-26 Thread Sasha Levin
From: Oliver O'Halloran [ Upstream commit 9ef34630a4614ee1cd478f9859ebea55d55f10ec ] The "altmap" is used to provide a pool of memory that is reserved for the vmemmap backing of hot-plugged memory. This is useful when adding large amount of ZONE_DEVICE memory to a system with a limited amount

[PATCH AUTOSEL 4.19 05/97] powerpc/mm: Fix linux page tables build with some configs

2018-12-26 Thread Sasha Levin
From: Michael Ellerman [ Upstream commit 462951cd32e1496dc64b00051dfb777efc8ae5d8 ] For some configs the build fails with: arch/powerpc/mm/dump_linuxpagetables.c: In function 'populate_markers': arch/powerpc/mm/dump_linuxpagetables.c:306:39: error: 'PKMAP_BASE' undeclared (first use in

[PATCH AUTOSEL 4.19 02/97] pinctrl: meson: fix pull enable register calculation

2018-12-26 Thread Sasha Levin
From: Jerome Brunet [ Upstream commit 614b1868a125a0ba24be08f3a7fa832ddcde6bca ] We just changed the code so we apply bias disable on the correct register but forgot to align the register calculation. The result is that we apply the change on the correct register, but possibly at the incorrect

[PATCH AUTOSEL 4.19 01/97] ARM: dts: sun8i: a83t: bananapi-m3: increase vcc-pd voltage to 3.3V

2018-12-26 Thread Sasha Levin
From: Corentin Labbe [ Upstream commit 5f8208f557065163f9a8089ea2ea7888f9d96922 ] Since commit d7c5f6863550 ("ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 regulator nodes") my BPIM3 no longer works at gigabit speed. With the default setting, dldo3 is regulated at 2.9v which seems sufficient

Re: [PATCH] hmm: Warn on devres_release failure

2018-12-26 Thread Jerome Glisse
On Wed, Dec 26, 2018 at 12:09:04PM -0600, Aditya Pakki wrote: > devres_release can return -ENOENT if the device is not freed. The fix > throws a warning consistent with other invocations. > > Signed-off-by: Aditya Pakki Reviewed-by: Jérôme Glisse > --- > mm/hmm.c | 8 ++-- > 1 file

Re: [PATCH] char: hw_random: Fix missing check during driver release

2018-12-26 Thread Michael Büsch
On Wed, 26 Dec 2018 11:23:31 -0600 Aditya Pakki wrote: > devres_release can return -ENOENT if the device is not freed. The fix > throws a warning consistent with other invocations. > > Signed-off-by: Aditya Pakki > --- > drivers/char/hw_random/core.c | 6 +- > 1 file changed, 5

Re: [PATCH v5 1/5] Bluetooth: hci_qca: use wait_until_sent() for power pulses

2018-12-26 Thread Matthias Kaehlcke
On Wed, Dec 26, 2018 at 12:01:51PM +0530, Balakrishna Godavarthi wrote: > Hi Matthias, > > On 2018-12-22 07:29, Matthias Kaehlcke wrote: > > On Thu, Dec 20, 2018 at 08:16:35PM +0530, Balakrishna Godavarthi wrote: > > > wcn3990 requires a power pulse to turn ON/OFF along with > > > regulators.

Re: WIP Droid 4 voice calls, GNSS & PM with a TS 27.010 serdev driver

2018-12-26 Thread Pavel Machek
Hi! > > root@devuan:/my/ko# ls -al /dev/ttyS0 > > crw-rw 1 root dialout 4, 64 Dec 23 11:52 /dev/ttyS0 > > > > but not gsm multiplex: > > > > root@devuan:/my/ko# ls -al /dev/gsm* > > ls: cannot access '/dev/gsm*': No such file or directory > > Hmm with serdev you should not get /dev/ttyS0,

[PATCH] ASoC: xlnx: fix error handling in xlnx_formatter_pcm_probe

2018-12-26 Thread Gustavo A. R. Silva
Currently, if platform_get_irq_byname() fails, the returned error turns into a huge value, once it is being store into a variable of type unsigned int, hence never actually reporting any error and causing unexpected behavior when using the values stored in aud_drv_data->s2mm_irq and

Re: [GIT PULL] x86/cache updates for 4.21

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Dec 2018 13:48:59 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cache-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a52fb43a5faa40507cb164a793a7fa08da863ac7 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] x86/microcode updates for 4.21

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Dec 2018 13:51:38 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-microcode-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/72af84151fa7e98720a0482b59de2d90ec7f10a7 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] RAS updates for 4.21

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Dec 2018 13:53:39 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git ras-core-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/eed9688f8513189295887e5a27ec7f576754b60e Thank you! -- Deet-doot-dot, I am a

[PATCH v1 5/7] drm: remove include of drmP.h from drm_encoder_slave.h

2018-12-26 Thread Sam Ravnborg
No further changes required. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- include/drm/drm_encoder_slave.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/drm/drm_encoder_slave.h

[PATCH v1 6/7] drm: remove include of drmP.h from drm_modeset_helper.h

2018-12-26 Thread Sam Ravnborg
Fix fallout in various files/drivers by adding missing include files. Signed-off-by: Sam Ravnborg Cc: Alexey Brodkin Cc: David Airlie Cc: Daniel Vetter Cc: Archit Taneja Cc: Andrzej Hajda Cc: Laurent Pinchart Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: Kieran Bingham ---

[PATCH v1 3/7] drm: move drm_can_sleep() to drm_util.h

2018-12-26 Thread Sam Ravnborg
Move drm_can_sleep() out of drmP.h to allow users to get rid of the drmP.h include. There was no header file that was a good match for this helper function. So add this to drm_util with the relevant includes. Add include of drm_util.h to all users. Signed-off-by: Sam Ravnborg Cc: Maarten

[PATCH v1 7/7] drm: remove include of drmP.h from drm_gem_cma_helper.h

2018-12-26 Thread Sam Ravnborg
Fix fallout in various files/drivers. Signed-off-by: Sam Ravnborg Cc: Alexey Brodkin Cc: David Airlie Cc: Daniel Vetter Cc: Yannick Fertre Cc: Philippe Cornu Cc: Benjamin Gaignard Cc: Vincent Abriou Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: "Noralf Trønnes" Cc: David Lechner Cc:

[PATCH v1 4/7] drm: remove include of drmP.h from bridge/dw_hdmi.h

2018-12-26 Thread Sam Ravnborg
Add missing includes in dw_hdmi.h and fix fallout in drivers. Signed-off-by: Sam Ravnborg Cc: Archit Taneja Cc: Andrzej Hajda Cc: Laurent Pinchart Cc: David Airlie Cc: Daniel Vetter Cc: Kieran Bingham Cc: Fabio Estevam Cc: Neil Armstrong Cc: Maxime Ripard ---

[PATCH v1 2/7] drm: move DRM_SWITCH_POWER defines to drm_device.h

2018-12-26 Thread Sam Ravnborg
Move DRM_SWITCH_POWER out of drmP.h to allow users to get rid of the drmP include. DRM_SWITCH_POWER defines are used in combination with drm_device.switch_power_state. Move the DRM_SWITCH_POWER defines to the file where drm_device.switch_power_state is defined. Signed-off-by: Sam Ravnborg Cc:

[PATCH v1 1/7] drm: move DRM_IF_VERSION to drm_internal.h

2018-12-26 Thread Sam Ravnborg
Move DRM_IF_VERSION out of drmP.h to allow users to get rid of the drmP include. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/drm_internal.h | 2 ++ include/drm/drmP.h | 2 -- 2 files

Re: [PATCH v2] net: dsa: bcm_sf2: Propagate error value from mdio_write

2018-12-26 Thread kbuild test robot
Hi Kangjie, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] [also build test WARNING on v4.20 next-20181224] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v1 0/7] drm: minimize drmP.h dependencies

2018-12-26 Thread Sam Ravnborg
The goal with this small series is to remove the last bits that prevents us from removing drmP.h file by file. - drmP.h is now stripped down to include files and forward declarations. - All header files in include/drm/ no longer include drmP.h. The series was made on top of 4.20. Build tested

Re: [GIT PULL] x86/cache updates for 4.21

2018-12-26 Thread Linus Torvalds
On Wed, Dec 26, 2018 at 12:56 PM Borislav Petkov wrote: > > The intent is, AFAIU, to keep at least the user interface in the resctrl > fs the same as on x86 so that there's no unnecessary user confusion. And > from peeking at that patchset a bit, it looks like we'll need a generic > >

Re: [GIT PULL] x86/cache updates for 4.21

2018-12-26 Thread Borislav Petkov
On Wed, Dec 26, 2018 at 12:26:12PM -0800, Linus Torvalds wrote: > I've pulled this, but I think the new config option name is bad. > > I think it should probably have been called "X86_RESCTRL" instead of > just "RESCTRL". That's way too generic a name for something that is > (at least currently)

Re: [PATCH v14] i2c: Add drivers for the AMD PCIe MP2 I2C controller

2018-12-26 Thread kbuild test robot
Hi Elie, I love your patch! Yet something to improve: [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on v4.20 next-20181224] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2] vfat: don't read garbage after last dirent

2018-12-26 Thread Matteo Croce
On Mon, Dec 24, 2018 at 1:14 PM OGAWA Hirofumi wrote: > > Matteo Croce writes: > > > The FAT32 File System Specification[1] states that: > > > > If DIR_Name[0] == 0x00, then the directory entry is free, and there > > are no allocated directory entries after this one. > > > > The

[PATCH][next] KVM: x86: Fix bit shifting in update_intel_pt_cfg

2018-12-26 Thread Gustavo A. R. Silva
ctl_bitmask in pt_desc is of type u64. When an integer like 0xf is being left shifted more than 32 bits, the behavior is undefined. Fix this by adding suffix ULL to integer 0xf. Addresses-Coverity-ID: 1476095 ("Bad bit shift operation") Fixes: 6c0f0bba85a0 ("KVM: x86: Introduce a function to

Re: [PATCH] net: dsa: bcm_sf2: Propagate error value from mdio_write

2018-12-26 Thread David Miller
From: Heiner Kallweit Date: Wed, 26 Dec 2018 20:13:15 +0100 > On 26.12.2018 19:21, Kangjie Lu wrote: >> Both bcm_sf2_sw_indir_rw and mdiobus_write_nested could fail, so let's >> return their error codes upstream. >> >> Signed-off-by: Kangjie Lu >> --- >> drivers/net/dsa/bcm_sf2.c | 7 +++

Re: [PATCH 3/3] soc: qcom: Add AOSS QMP genpd provider

2018-12-26 Thread Bjorn Andersson
On Mon 26 Nov 19:31 PST 2018, Sai Prakash Ranjan wrote: > Hi Bjorn, > Thanks for your review Sai! > On 11/12/2018 1:35 PM, Bjorn Andersson wrote: [..] > > +static int qmp_pd_clock_toggle(struct qmp_pd *res, bool enable) > > +{ > > + char buf[96]; > > + size_t n; > > + > > + n =

Re: [PATCH 2/3] soc: qcom: Add AOSS QMP communication driver

2018-12-26 Thread Bjorn Andersson
On Tue 20 Nov 04:22 PST 2018, Arun Kumar Neelakantam wrote: Thanks for the review Arun. > On 11/12/2018 1:35 PM, Bjorn Andersson wrote: [..] > > +int qmp_send(struct qmp *qmp, const void *data, size_t len) > > +{ > > + int ret; > > + > > + if (WARN_ON(len + sizeof(u32) > qmp->size)) { > > +

Re: [GIT PULL] x86/cache updates for 4.21

2018-12-26 Thread Linus Torvalds
On Sun, Dec 23, 2018 at 4:49 AM Borislav Petkov wrote: > > - The generalization of the RDT code to accommodate the addition of AMD's >very similar implementation of the cache monitoring feature. I've pulled this, but I think the new config option name is bad. I think it should probably

Re: [PATCH v5 2/5] Bluetooth: hci_qca: Deassert RTS while baudrate change command

2018-12-26 Thread Matthias Kaehlcke
Hi Balakrishna, On Wed, Dec 26, 2018 at 11:15:30AM +0530, Balakrishna Godavarthi wrote: > Hi Matthias, > > On 2018-12-22 06:01, Matthias Kaehlcke wrote: > > On Thu, Dec 20, 2018 at 08:16:36PM +0530, Balakrishna Godavarthi wrote: > > > This patch will help to stop frame reassembly errors while

Re: [GIT PULL] xen: features and fixes for 4.21

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Thu, 20 Dec 2018 19:28:23 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-4.21-rc1-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/460023a5d1d2aa0f733b6708b2fae5ea9f9dfec0 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] Changes for KVM 4.21

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Dec 2018 10:14:15 +0100: > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/42b00f122cfbfed79fc29b0b3610f3abbb1e3864 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH] input/touchscreen: Fix a missing check on regmap_bulk_read

2018-12-26 Thread Dmitry Torokhov
Hi, On Mon, Dec 24, 2018 at 12:37:19PM -0600, Aditya Pakki wrote: > regmap_bulk_read() can return a non zero value on failure. The fix > checks if the function call succeeded before calling mod_timer. > > Signed-off-by: Aditya Pakki > --- > drivers/input/touchscreen/ad7879.c | 7 --- > 1

Re: [PATCH v3 08/11] ASoC: Intel: atom: Make PCI dependency explicit

2018-12-26 Thread Sinan Kaya
On Wed, Dec 26, 2018 at 8:35 PM Pierre-Louis Bossart wrote: > > > On 12/23/18 5:25 PM, Sinan Kaya wrote: > > Code does unconditional select for IOSF_MBI. IOSF_MBI driver depends on > > CONFIG_PCI set but this is not specified anywhere. > > Can you please share the .config that exposes this

Re: [PATCH v2] touchscreen: elants: fix a missing check of return values

2018-12-26 Thread Dmitry Torokhov
Hi, On Mon, Dec 24, 2018 at 10:36:13PM -0600, Kangjie Lu wrote: > elants_i2c_send() may fail, let's check its return values. The fix does > the check and reports an error message upon the failure. > > Signed-off-by: Kangjie Lu > --- > drivers/input/touchscreen/elants_i2c.c | 18

Re: [PATCH] keyboard: (samsung) fix a missing check of return value

2018-12-26 Thread Dmitry Torokhov
Hi, On Tue, Dec 25, 2018 at 07:51:29PM -0600, Kangjie Lu wrote: > of_device_is_compatible() returns false if the device is incompatible. > The fix adds a check for its return value; > > Signed-off-by: Kangjie Lu > --- > drivers/input/keyboard/samsung-keypad.c | 10 +++--- > 1 file changed,

Re: [PATCH] infiniband: fix a missing check of nla_put

2018-12-26 Thread Leon Romanovsky
On Tue, Dec 25, 2018 at 08:05:48PM -0600, Kangjie Lu wrote: > nla_put() may fail. The fix adds a check for its return value, and > returns -EMSGSIZE if it fails. > > Signed-off-by: Kangjie Lu > --- > drivers/infiniband/core/addr.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) The

Re: [PATCH] infiniband: add checks for the status of nla_put

2018-12-26 Thread Leon Romanovsky
On Tue, Dec 25, 2018 at 08:11:39PM -0600, Kangjie Lu wrote: > The fix inserts multiple checks for nla_put, and issues warnings if it > fails. > > Signed-off-by: Kangjie Lu > --- I didn't look very close, but it strange that failure in nla_put() doesn't follow by canceling of netlink message.

Re: [PATCH] perf python: Do not force closing original perf descriptor in evlist.get_pollfd

2018-12-26 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 26, 2018 at 12:21:21PM +0100, Jiri Olsa escreveu: > Ondřej reported that when compiled with python3, the python > extension regress in evlist.get_pollfd function behaviour. > > The evlist.get_pollfd creates file objects from evlist's fds > and returns them in the list. The python3

Re: [v6] PCI: imx: make msi work without CONFIG_PCIEPORTBUS=y

2018-12-26 Thread Trent Piepho
On Fri, 2018-12-21 at 04:33 +, Richard Zhu wrote: > The MSI Enable bit in the MSI Capability (PCIe r4.0, sec 7.7.1.2) > controls whether a Function can request service using MSI. > > i.MX6 Root Ports implement the MSI Capability and may use MSI to > request service for events like PME,

Re: [PATCH 1/5] perf session: Get rid of file_size variable

2018-12-26 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 26, 2018 at 02:51:28PM +0100, Jiri Olsa escreveu: > It's not needed and removing it makes the code little > more simple for upcoming changes. > > It's safe to replace file_size with data_size, because > perf_data__size value is never smaller than data_offset > + data_size. This is

[PATCH] mm: compaction.c: Propagate return value upstream

2018-12-26 Thread Aditya Pakki
In sysctl_extfrag_handler(), proc_dointvec_minmax() can return an error. The fix propagates the error upstream in case of failure. Signed-off-by: Aditya Pakki --- mm/compaction.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mm/compaction.c b/mm/compaction.c index

Re: [PATCH] net: dsa: bcm_sf2: Propagate error value from mdio_write

2018-12-26 Thread Heiner Kallweit
On 26.12.2018 20:32, Kangjie Lu wrote: > > > On Wed, Dec 26, 2018 at 1:13 PM Heiner Kallweit > wrote: > > On 26.12.2018 19:21, Kangjie Lu wrote: > > Both bcm_sf2_sw_indir_rw and mdiobus_write_nested could fail, so let's > > return their error codes

Re: [PATCH v1] cpufreq: qcom: Read voltage LUT and populate OPP

2018-12-26 Thread Matthias Kaehlcke
Hi Taniya, On Mon, Dec 24, 2018 at 12:29:18AM +0530, Taniya Das wrote: > Hello Matthias, > > Thanks for your review comments. > > On 12/22/2018 2:27 AM, Matthias Kaehlcke wrote: > > Hi Taniya, > > > > On Fri, Dec 21, 2018 at 11:36:48PM +0530, Taniya Das wrote: > > > Add support to read the

CPUs blocking in update_blocked_averages -- 4.19.12

2018-12-26 Thread Sargun Dhillon
We're seeing an issue introduced in 4.18, and that still persists in 4.19.12 (we upgraded from 4.9), where update_blocked_averages is blocking. We're running a workload where a majority of our workloads are confined by cgroups. This exhibits itself due to a softlockup on a CPU which is waiting on

[PATCH] iio: chemical: sps30: allow changing self cleaning period

2018-12-26 Thread Tomasz Duszynski
Sensor can periodically trigger self cleaning. Period can be changed by writing a new value to a dedicated attribute. Upon attribute read triplet representing respectively current, minimum and maximum period is returned. Signed-off-by: Tomasz Duszynski ---

Re: [GIT PULL] asm-generic: syscall table script for arch/sh

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Dec 2018 00:28:51 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git > tags/asm-generic-4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/507413a5f88a2240b2c19cb4318166614e2349d9 Thank you! --

Re: [GIT PULL] arch/microblaze patches for 5.0-rc1

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Dec 2018 11:13:09 +0100: > git://git.monstr.eu/linux-2.6-microblaze.git tags/microblaze-v5.0-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/30807ef2b76e01ea209fcad66a87e534ed1edb40 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT] Sparc

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Sat, 22 Dec 2018 15:46:26 -0800 (PST): > git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next.git master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c2f1f3e0e17d94ab0c66d83e669492cb9e9a3698 Thank you! -- Deet-doot-dot, I am

Re: [git pull] m68k updates for 4.21

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Thu, 20 Dec 2018 16:17:36 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git > tags/m68k-for-v4.21-tag1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e0783bb42448a4f2a6bd405c890010a3950feada Thank you! --

Re: [GIT PULL] parisc architecture updates for kernel v4.21

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Wed, 26 Dec 2018 17:49:42 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git > parisc-4.21-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a5f2bd479f58f171a16a9a4f3b4e748ab3057c0f Thank you! --

Re: [GIT PULL] Main MIPS pull for 4.21

2018-12-26 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Dec 2018 16:24:37 +: > git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git tags/mips_4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/89261c57021352045c4af24522c6854c9ee90139 Thank you! -- Deet-doot-dot, I am a

Re: [PATCH] net: dsa: bcm_sf2: Propagate error value from mdio_write

2018-12-26 Thread Heiner Kallweit
On 26.12.2018 19:21, Kangjie Lu wrote: > Both bcm_sf2_sw_indir_rw and mdiobus_write_nested could fail, so let's > return their error codes upstream. > > Signed-off-by: Kangjie Lu > --- > drivers/net/dsa/bcm_sf2.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git

Re: [PATCH] mm: compaction.c: Propagate return value upstream

2018-12-26 Thread Matthew Wilcox
On Wed, Dec 26, 2018 at 01:07:49PM -0600, Aditya Pakki wrote: > { > + return > proc_dointvec_minmax(table, write, buffer, length, ppos); > - > - return 0; Don't do this. If you're going to return something, it should be on the same line as the return statement. ie: +

[PATCH] mm: compaction.c: Propagate return value upstream

2018-12-26 Thread Aditya Pakki
In sysctl_extfrag_handler(), proc_dointvec_minmax() can return an error. The fix propagates the error upstream in case of failure. Signed-off-by: Aditya Pakki --- mm/compaction.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/compaction.c b/mm/compaction.c index

Re: [PATCH v4 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC controller bindings

2018-12-26 Thread Marek Vasut
On 12/24/18 7:52 AM, Mason Yang wrote: > Document the bindings used by the Renesas R-Car Gen3 RPC controller. > > Signed-off-by: Mason Yang > --- > .../devicetree/bindings/spi/spi-renesas-rpc.txt| 37 > ++ > 1 file changed, 37 insertions(+) > create mode 100644

Re: [PATCH v4 0/2] spi: Add Renesas R-Car Gen3 RPC SPI driver

2018-12-26 Thread Marek Vasut
On 12/24/18 7:52 AM, Mason Yang wrote: > Hi Mark, > > This Renesas R-Car Gen3 RPC SPI driver is based on Boris's new > spi-mem direct mapping read/write mode [1][2]. Again, the RPC is NOT a SPI controller, it is dual SPI/HF controller. [...] -- Best regards, Marek Vasut

Re: [PATCH] net: arcnet: Fix a possible concurrency use-after-free bug in arcnet_reply_tasklet()

2018-12-26 Thread kbuild test robot
Hi Jia-Ju, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] [also build test ERROR on v4.20 next-20181224] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[GIT PULL] Modules updates for v4.21

2018-12-26 Thread Jessica Yu
Linus, Please pull below to receive modules updates for the 4.21 merge window. Details can be found in the signed tag. Thanks, Jessica --- The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git

[PATCH] infiniband: bnxt_re: qplib: Check the return value of send_message

2018-12-26 Thread Aditya Pakki
In bnxt_qplib_map_tc2cos(), bnxt_qplib_rcfw_send_message() can return an error value. The fix returns the error from the latter function upstream. Signed-off-by: Aditya Pakki --- drivers/infiniband/hw/bnxt_re/qplib_sp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

RE:

2018-12-26 Thread Alice Walton
I have a charity mission worth $ 100,000,000.00 from you

[PATCH v2] usb: chipidea: add a check for the availability of next child

2018-12-26 Thread Kangjie Lu
of_get_next_available_child returns NULL when no child nodes are found. The fix checks its return value instead of assuming a child is found. Signed-off-by: Kangjie Lu --- drivers/usb/chipidea/ci_hdrc_msm.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH] net: dsa: bcm_sf2: Propagate error value from mdio_write

2018-12-26 Thread Kangjie Lu
Both bcm_sf2_sw_indir_rw and mdiobus_write_nested could fail, so let's return their error codes upstream. Signed-off-by: Kangjie Lu --- drivers/net/dsa/bcm_sf2.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/dsa/bcm_sf2.c b/drivers/net/dsa/bcm_sf2.c

Re: [PATCH] net: phy: phy: check return value of bus write

2018-12-26 Thread Heiner Kallweit
On 26.12.2018 19:04, Aditya Pakki wrote: > phy_mii_ioctl() could fail when writing to the bus via > mdiobus_write(). The fix adds a check and returns an error in case > of failure. > > Signed-off-by: Aditya Pakki > --- > drivers/net/phy/phy.c | 7 +-- > 1 file changed, 5 insertions(+), 2

[PATCH] hmm: Warn on devres_release failure

2018-12-26 Thread Aditya Pakki
devres_release can return -ENOENT if the device is not freed. The fix throws a warning consistent with other invocations. Signed-off-by: Aditya Pakki --- mm/hmm.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mm/hmm.c b/mm/hmm.c index 90c34f3d1243..b06e3f092fbf

Re: [PATCH v2] net: dsa: bcm_sf2: Propagate error value from mdio_write

2018-12-26 Thread Heiner Kallweit
On 26.12.2018 18:50, Kangjie Lu wrote: > Both bcm_sf2_sw_indir_rw and mdiobus_write_nested could fail, so let's > return their error codes upstream. > > Signed-off-by: Kangjie Lu > --- > drivers/net/dsa/bcm_sf2.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git

Re: [PATCH] ethernet: (niu) fix missing checks of niu_pci_eeprom_read

2018-12-26 Thread Shannon Nelson
On Mon, Dec 24, 2018 at 11:58 PM Kangjie Lu wrote: > > niu_pci_eeprom_read() may fail, so we should check its return value > before using the read data. > > Signed-off-by: Kangjie Lu > --- > drivers/net/ethernet/sun/niu.c | 10 -- > 1 file changed, 8 insertions(+), 2 deletions(-) > >

[PATCH] net: phy: phy: check return value of bus write

2018-12-26 Thread Aditya Pakki
phy_mii_ioctl() could fail when writing to the bus via mdiobus_write(). The fix adds a check and returns an error in case of failure. Signed-off-by: Aditya Pakki --- drivers/net/phy/phy.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/phy.c

Re: [PATCH] sound: atom: fix a missing check of snd_pcm_lib_malloc_pages

2018-12-26 Thread Pierre-Louis Bossart
On 12/25/18 8:29 PM, Kangjie Lu wrote: snd_pcm_lib_malloc_pages() may fail, so let's check its status and return its error code upstream. Acked-by: Pierre-Louis Bossart Signed-off-by: Kangjie Lu --- sound/soc/intel/atom/sst-mfld-platform-pcm.c | 8 +++- 1 file changed, 7

Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2018-12-26 Thread Jorge Ramirez
On 12/20/18 21:25, Stephen Boyd wrote: Quoting Jorge Ramirez-Ortiz (2018-12-07 01:55:57) + +- qcom,vdd-voltage-level: +Value type: +Definition: This is a list of three integer values where +each value corresponding to voltage corner in uV. As far as I'm aware, this

Re: [PATCH 2/2] phy: qualcomm: usb: Add Super-Speed PHY driver

2018-12-26 Thread Jorge Ramirez
On 12/20/18 21:29, Stephen Boyd wrote: Quoting Jorge Ramirez-Ortiz (2018-12-07 01:55:58) From: Shawn Guo Driver to control the Synopsys SS PHY 1.0.0 implemeneted in QCS404 Based on Sriharsha Allenki's original code. Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Shawn Guo chain

[PATCH v2] net: dsa: bcm_sf2: Propagate error value from mdio_write

2018-12-26 Thread Kangjie Lu
Both bcm_sf2_sw_indir_rw and mdiobus_write_nested could fail, so let's return their error codes upstream. Signed-off-by: Kangjie Lu --- drivers/net/dsa/bcm_sf2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/dsa/bcm_sf2.c b/drivers/net/dsa/bcm_sf2.c index

Re: [PATCH] net:phy: Add a return value check on bus write

2018-12-26 Thread Heiner Kallweit
On 26.12.2018 18:37, Aditya Pakki wrote: > xgmiitorgmii_read_status() could fail when writing to the bus via > mdiobus_write(). The fix adds a check and returns an error in case > of failure. > > Signed-off-by: Aditya Pakki > --- Two more things: - subject should be: "net: phy: xgmiitorgmii:

Re: [PATCH] sunrpc: remove redundant code

2018-12-26 Thread Chuck Lever
> On Dec 25, 2018, at 10:24 PM, Kangjie Lu wrote: > > If no bytes to decode, just use "xdr->p" instead of calling > xdr_inline_decode to get it. The fix cleans up the code. > > Signed-off-by: Kangjie Lu > --- > net/sunrpc/xprtrdma/rpc_rdma.c | 4 +--- > 1 file changed, 1 insertion(+), 3

Re: [PATCH] net:phy: Add a return value check on bus write

2018-12-26 Thread Heiner Kallweit
On 26.12.2018 18:37, Aditya Pakki wrote: > xgmiitorgmii_read_status() could fail when writing to the bus via > mdiobus_write(). The fix adds a check and returns an error in case > of failure. > > Signed-off-by: Aditya Pakki > --- > drivers/net/phy/xilinx_gmii2rgmii.c | 4 +++- > 1 file changed,

Re: [PATCH] char: hw_random: Fix missing check during driver release

2018-12-26 Thread Michael S. Tsirkin
On Wed, Dec 26, 2018 at 11:23:31AM -0600, Aditya Pakki wrote: > devres_release can return -ENOENT if the device is not freed. The fix > throws a warning consistent with other invocations. > > Signed-off-by: Aditya Pakki Well why not Acked-by: Michael S. Tsirkin > --- >

[PATCH] net:phy: Add a return value check on bus write

2018-12-26 Thread Aditya Pakki
xgmiitorgmii_read_status() could fail when writing to the bus via mdiobus_write(). The fix adds a check and returns an error in case of failure. Signed-off-by: Aditya Pakki --- drivers/net/phy/xilinx_gmii2rgmii.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] sunrpc: fix a missing check of xdr_inline_decode

2018-12-26 Thread Chuck Lever
> On Dec 25, 2018, at 10:18 PM, Kangjie Lu wrote: > > xdr_inline_decode() could fail. NAK: xdr_inline_decode cannot fail if its second argument is zero. > When it fails, the return value is NULL > and should not be dereferenced. > The fix checks if xdr_inline_decode fails, and if so,

Re: [PATCH v3 08/11] ASoC: Intel: atom: Make PCI dependency explicit

2018-12-26 Thread Pierre-Louis Bossart
On 12/23/18 5:25 PM, Sinan Kaya wrote: Code does unconditional select for IOSF_MBI. IOSF_MBI driver depends on CONFIG_PCI set but this is not specified anywhere. Can you please share the .config that exposes this problem? This hasn't changed in a long time and I wonder why this pops up now.

<    1   2   3   4   5   6   >