Re: [PATCH v2 1/2] dt-bindings: ata: add DT bindings for ahci-dm816 SATA controller

2017-03-20 Thread Rob Herring
On Tue, Mar 14, 2017 at 12:04:50PM +0100, Bartosz Golaszewski wrote: > Add DT bindings for the onboard SATA controller present on the DM816x > SoCs. > > Signed-off-by: Bartosz Golaszewski > --- > .../devicetree/bindings/ata/ahci-dm816.txt | 21 >

[ANNOUNCE] Git v2.12.1

2017-03-20 Thread Junio C Hamano
The latest maintenance release Git v2.12.1 is now available at the usual places. The tarballs are NOT YET found at: https://www.kernel.org/pub/software/scm/git/ but hopefully will be in a few days (I am having trouble reaching there). The following public repositories all have a copy of

Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector

2017-03-20 Thread Luck, Tony
On Thu, Mar 09, 2017 at 11:08:17AM +0100, Borislav Petkov wrote: > +config RAS_CEC > + bool "Correctable Errors Collector" > + depends on X86_MCE && MEMORY_FAILURE && DEBUG_FS > + ---help--- > + This is a small cache which collects correctable memory errors per 4K > + page

[PATCH] PCI: rockchip: don't leak the PCI resource list

2017-03-20 Thread Brian Norris
This list is local to the probe() function. We should free it up in both the success case and the error case, but currently we're only freeing it in the error case (see commit f1d722b607d6 ("PCI: rockchip: Fix rockchip_pcie_probe() error path to free resource list")). Caught by kmemleak, when

Re: [RFC v3 0/5] Add capacity capping support to the CPU controller

2017-03-20 Thread Rafael J. Wysocki
On Thu, Mar 16, 2017 at 4:15 AM, Joel Fernandes wrote: > Hi Rafael, Hi, > On Wed, Mar 15, 2017 at 6:04 PM, Rafael J. Wysocki wrote: >> On Wed, Mar 15, 2017 at 1:59 PM, Patrick Bellasi Do you have any practical examples of that, like for example what

RE: [Intel-wired-lan] [PATCH] i40e: fix memcpy with swapped arguments

2017-03-20 Thread Keller, Jacob E
> -Original Message- > From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On > Behalf Of Colin King > Sent: Monday, March 20, 2017 7:46 AM > To: Kirsher, Jeffrey T ; intel-wired- > l...@lists.osuosl.org; net...@vger.kernel.org > Cc:

[PATCH] clk: ns2: Correct SDIO bits

2017-03-20 Thread Jon Mason
From: Bharat Kumar Reddy Gooty Corrected the bits for power and iso. Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Jon Mason Fixes: f7225a83 ("clk: ns2: add clock support for Broadcom Northstar 2 SoC") ---

Re: [PATCH 10/15] power: supply: bq24190_charger: Use extcon to determine ilimit, 5v boost

2017-03-20 Thread Hans de Goede
Hi, On 17-03-17 18:33, Andy Shevchenko wrote: On Fri, 2017-03-17 at 10:55 +0100, Hans de Goede wrote: Add support for monitoring an extcon device with SDP/CDP/DCP and HOST cables and adjust ilimit and enable/disable the 5v boost converter accordingly. This is necessary on systems where the

Re: [PATCH v2 3/5] PCI: rockchip: add remove() support

2017-03-20 Thread Brian Norris
On Mon, Mar 13, 2017 at 10:26:12AM +0800, Shawn Lin wrote: > I just thought we should fix the domain number here by adding > "linux,pci-domain = <0>" for rk3399.dtsi, which seems more wise > to me now. Does it make sense to you? I think that's fine (as noted in response to your patch). That

Re: Infinite loop when connecting to unreachable NFS servers

2017-03-20 Thread Sebastian Schmidt
Hi, On Tue, Mar 14, 2017 at 11:15:25PM +0100, Sebastian Schmidt wrote: > I was debugging some mysterious high CPU usage and tracked it down to > monitoring daemon regularly calling stat*() on an NFS automount > directory. The problem is triggered when mount.nfs passes mount() an > addr= that

Re: [PATCH v4 00/18] add support for AXP20X and AXP22X power supply drivers

2017-03-20 Thread Sebastian Reichel
Hi Quentin, On Mon, Mar 20, 2017 at 12:34:03PM +0100, Quentin Schulz wrote: > As there are still some discussion going on Liam's patch series on > which my patch series depends, I propose to wait for it to be > merged and then I'll rework these battery driver patches. Is there > anything I can do

Re: [PATCH 03/15] extcon: cht-wc: Add Intel Cherry Trail Whiskey Cove PMIC extcon driver

2017-03-20 Thread Hans de Goede
Hi, On 20-03-17 02:33, Chanwoo Choi wrote: Hi, On 2017년 03월 17일 18:55, Hans de Goede wrote: Add a driver for charger detection / control on the Intel Cherrytrail Whiskey Cove PMIC. Signed-off-by: Hans de Goede --- drivers/extcon/Kconfig | 7 +

Review request: draft ioctl_userfaultfd(2) manual page

2017-03-20 Thread Michael Kerrisk (man-pages)
Hello Andrea, Mike, and all, Mike: here's the split out page that describes the userfaultfd ioctl() operations. I'd like to get review input, especially from you and Andrea, but also anyone else, for the current version of this page, which includes quite a few FIXMEs to be sorted. I've shown

[PATCH 11/13] perf, tools, list: Support printing MetricExpr with --debug

2017-03-20 Thread Andi Kleen
From: Andi Kleen Output the metric expr in perf list when --debug is specified, so that the user can check the formula. Before: % perf list ... unc_m_power_channel_ppd [Cycles where DRAM ranks are in power down (CKE) mode. Derived from unc_m_power_channel_ppd.

[PATCH v2 2/4] x86/mce/AMD; EDAC,amd64: Move find_umc_channel() to AMD mcheck

2017-03-20 Thread Yazen Ghannam
We need to find a UMC's channel number from mcheck code when translating UMC normalized addresses to system physical addresses. So move the function there from EDAC. Also, drop the struct pvt from the function parameters since we don't use it. And add a sanity check to make sure we're only

[PATCH] crypto: testmgr - mark ctr(des3_ede) as fips_allowed

2017-03-20 Thread Marcelo Henrique Cerri
3DES is missing the fips_allowed flag for CTR mode. Signed-off-by: Marcelo Henrique Cerri --- crypto/testmgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 89f1dd1f4b13..cd075c7d8ee1 100644 --- a/crypto/testmgr.c +++

[PATCH v2 1/4] EDAC,mce_amd: Find node ID on SMCA systems using generic methods

2017-03-20 Thread Yazen Ghannam
From: Yazen Ghannam We should move away from using AMD-specific amd_get_nb_id() to find a node ID and move toward using generic Linux methods. We can use cpu_to_node() since NUMA should be working as expected on newly released Fam17h systems. Replace call to

Re: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to use timespec64

2017-03-20 Thread Deepa Dinamani
> When changing the PTP code, please put the PTP maintainer onto CC. Will do. Thanks for pointing out the omission. -Deepa

Re: [PATCH v12 4/9] mmc: cavium: Work-around hardware bug on cn6xxx and cnf7xxx

2017-03-20 Thread David Daney
On 03/17/2017 07:13 AM, Ulf Hansson wrote: On 10 March 2017 at 14:25, Jan Glauber wrote: Prevent data corruption on cn6xxx and cnf7xxx. Due to an imperfection in the design of the MMC bus hardware, the 2nd to last cache block of a DMA read must be locked into the L2 cache.

[net-next PATCH 1/2] net: Busy polling should ignore sender CPUs

2017-03-20 Thread Alexander Duyck
From: Alexander Duyck This patch is a cleanup/fix for NAPI IDs following the changes that made it so that sender_cpu and napi_id were doing a better job of sharing the same location in the sk_buff. One issue I found is that we weren't validating the napi_id as being

[no subject]

2017-03-20 Thread George Gkirtsou
auth 5ba8eedc subscribe linux-kernel ggirt...@gmail.com signature.asc Description: OpenPGP digital signature

Re: [PATCH v2 6/6] selftests: enable O and KBUILD_OUTPUT

2017-03-20 Thread Andy Lutomirski
On Tue, Nov 29, 2016 at 3:55 AM, wrote: > From: Bamvor Jian Zhang > > Enable O and KBUILD_OUTPUT for kselftest. User could compile kselftest > to another directory by passing O or KBUILD_OUTPUT. And O is high > priority than

Re: [PATCH 1/2] dt-bindings: Document the STM32 MDMA bindings

2017-03-20 Thread Rob Herring
On Mon, Mar 13, 2017 at 04:06:38PM +0100, M'boumba Cedric Madianga wrote: > This patch adds documentation of device tree bindings for the STM32 MDMA > controller. > > Signed-off-by: M'boumba Cedric Madianga > Reviewed-by: Ludovic BARRE > --- >

Re: [PATCH v2 03/20] ARM: sun8i: dt: Add DT bindings documentation for Allwinner dwmac-sun8i

2017-03-20 Thread Rob Herring
On Tue, Mar 14, 2017 at 03:18:39PM +0100, Corentin Labbe wrote: > This patch adds documentation for Device-Tree bindings for the > Allwinner dwmac-sun8i driver. "dt-bindings: net: ..." is the preferred subject prefix if you respin. > > Signed-off-by: Corentin Labbe

Re: [RESEND PATCH] remoteproc: qcom: fix QCOM_SMD dependencies

2017-03-20 Thread Bjorn Andersson
On Tue 14 Mar 04:01 PDT 2017, Arnd Bergmann wrote: > On Tue, Mar 14, 2017 at 10:05 AM, Jean Delvare wrote: [..] > > I don't think the COMPILE_TEST adds any value here. The whole set of > > drivers is architecture specific anyway so you won't gain much build > > test coverage.

RE: [PATCH] tpm/tpm_crb: mark PM functions as __maybe_unused

2017-03-20 Thread Winkler, Tomas
> On Mon, Mar 20, 2017 at 1:11 PM, Winkler, Tomas > wrote: > >> > >> When CONFIG_PM_SLEEP is disabled, we get a warning about unused > >> functions: > >> > >> drivers/char/tpm/tpm_crb.c:551:12: error: 'crb_pm_resume' defined but > >> not used [-Werror=unused-function] >

Re: [PATCH] tpm/tpm_crb: mark PM functions as __maybe_unused

2017-03-20 Thread Jason Gunthorpe
On Mon, Mar 20, 2017 at 11:01:36PM +, Winkler, Tomas wrote: > I believe that in this case the #ifdefs can be done correctly quite > easily, but now I'm not against your solution as well, just maybe > put some of this info to the commit message. I perfer fewer ifdefs, it makes it more

Re: [PATCH] pci/sriov: Add an option to probe VFs or not before enabling SR-IOV

2017-03-20 Thread Gavin Shan
On Mon, Mar 20, 2017 at 05:14:34PM +0200, bod...@mellanox.com wrote: >From: Bodong Wang > >Sometimes it is not desirable to probe the virtual functions after >SRIOV is enabled. This can save host side resource usage by VF >instances which would be eventually probed to VMs. >

Re: [PATCH v2 1/6] arm64: dts: Add symlinks for cros-ec-keyboard and cros-ec-sbs

2017-03-20 Thread Brian Norris
In case this thread is easier to notice... Olof, On Mon, Feb 27, 2017 at 07:20:48PM +0100, Heiko Stuebner wrote: > Am Dienstag, 21. Februar 2017, 15:47:31 CET schrieb Olof Johansson: > > On Thu, Feb 9, 2017 at 5:05 PM, Brian Norris > > wrote: > > > From: Douglas

Re: [PATCH v5 4/4] fpga pr ip: Platform driver for Altera Partial Reconfiguration IP.

2017-03-20 Thread matthew . gerlach
On Sat, 18 Mar 2017, Anatolij Gustschin wrote: Hi Matthew, Hi Anatolij, Thanks for all the feedback. I will create another patch set incorporating your suggestions. On Fri, 10 Mar 2017 11:40:27 -0800 matthew.gerl...@linux.intel.com matthew.gerl...@linux.intel.com wrote: ...

Re: [PATCH v5 38/39] media: imx: csi: fix crop rectangle reset in sink set_fmt

2017-03-20 Thread Steve Longerbeam
On 03/20/2017 07:00 AM, Philipp Zabel wrote: On Mon, 2017-03-20 at 12:08 +, Russell King - ARM Linux wrote: On Mon, Mar 20, 2017 at 12:55:26PM +0100, Philipp Zabel wrote: The above paragraph suggests we skip any rectangles that are not supported. In our case that would be 3. and 4.,

Re: [PATCH 4/4] iio: accel: adxl345: Add support for triggered buffer

2017-03-20 Thread Lars-Peter Clausen
On 03/15/2017 10:50 PM, Jonathan Cameron wrote: > On 13/03/17 12:16, Andy Shevchenko wrote: >> On Mon, Mar 13, 2017 at 1:11 PM, Eva Rachel Retuya >> wrote: >>> Provide an all-axes read for triggered buffering. >> >> Better description is needed. >> >>> -static int

[PATCH 08/13] perf, tools: Update Intel uncore JSON event files

2017-03-20 Thread Andi Kleen
From: Andi Kleen - Add MetricName to describe Metric - Remove redundant "derived from" in descriptions - Rename UNC_M_CAS_COUNT to LLC_MISSES.READ Signed-off-by: Andi Kleen --- .../arch/x86/broadwellde/uncore-cache.json | 28 ++--

[PATCH 04/13] perf, tools: Factor out PMU matching in parser

2017-03-20 Thread Andi Kleen
From: Andi Kleen Factor out the PMU name matching in the event parser into a separate function, to use the same code for other grammar rules later. Signed-off-by: Andi Kleen --- tools/perf/util/parse-events.c | 46

[PATCH 05/13] perf, tools: Expand PMU events by prefix match

2017-03-20 Thread Andi Kleen
From: Andi Kleen When the user specifies a pmu directly, expand it automatically with a prefix match for all available PMUs, similar as we do for the normal aliases now. This allows to specify attributes for duplicated boxes quickly. For example uncore_cbox_{0,6}/.../ can

[PATCH 09/13] perf, tools: Support MetricExpr header in JSON event list

2017-03-20 Thread Andi Kleen
From: Andi Kleen Add support for parsing the MetricExpr header in the JSON event lists and storing them in the alias structure. Used in the next patch. v2: Change DividedBy to MetricExpr v3: Really catch all uses of DividedBy Signed-off-by: Andi Kleen

[PATCH 12/13] perf, tools: Add support for MetricName JSON attribute

2017-03-20 Thread Andi Kleen
From: Andi Kleen Add support for a new JSON event attribute to name MetricExpr for better output in perf stat. If the event has no MetricName it uses the normal event name instead to describe the metric. Before % perf stat -a -I 1000 -e

Re: [RESEND PATCH] Bluetooth: btqcomsmd: fix compile-test dependency

2017-03-20 Thread Arnd Bergmann
On Mon, Mar 20, 2017 at 10:36 PM, Bjorn Andersson wrote: > On Mon 13 Mar 09:06 PDT 2017, Arnd Bergmann wrote: > >> compile-testing fails when QCOM_SMD is a loadable module: >> >> drivers/bluetooth/built-in.o: In function `btqcomsmd_send': >> btqca.c:(.text+0xa8):

[RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The way the schedutil governor uses the PELT metric causes it to underestimate the CPU utilization in some cases. That can be easily demonstrated by running kernel compilation on a Sandy Bridge Intel processor, running turbostat in parallel

Re: [PATCH net-next 10/12] dt-bindings: net: document bcmgenet WoL interrupt

2017-03-20 Thread Rob Herring
On Mon, Mar 13, 2017 at 05:41:40PM -0700, Doug Berger wrote: > A third interrupt cell can be provided to optionally specify > the interrupt used for handling Wake on LAN events. > > Typically the wake up handling uses a separate interrupt > controller, so the interrupts-extended property is used

[PATCH] irqchip/gic-v3: Support v2m frame backwards compatibility mode

2017-03-20 Thread Stephen Boyd
Some GIC configurations don't have an ITS or v2m frame, but they want to support MSIs through the distributor's "v2m backwards compatible" mode. This mode allows software written for the v2m to treat the distributor as the only frame and support a limited number of MSIs through a direct write to

Re: Dell Inspiron 5558/0VNM2T hangs at resume from suspend when USB 3 is enabled

2017-03-20 Thread Diego Viola
On Mon, Mar 20, 2017 at 3:27 PM, Diego Viola wrote: > On Mon, Mar 20, 2017 at 1:32 PM, Mathias Nyman > wrote: >> On 20.03.2017 17:39, Diego Viola wrote: >>> >>> On Mon, Mar 20, 2017 at 11:21 AM, Mathias Nyman >>>

Re: [PATCH] sched: Wake up all non-exclusive waiters in __wake_up_common()

2017-03-20 Thread Byungchul Park
On Mon, Mar 20, 2017 at 11:41:47AM +0100, Peter Zijlstra wrote: > On Wed, Mar 08, 2017 at 09:21:52AM +0900, Byungchul Park wrote: > > __wake_up_common() should wake up all non-exclusive waiters and > > exclusive waiters as many as nr_exclusive, but currently it does not. > > > > Consider a wait

[PATCH 2/3] soc: qcom: smd: Remove standalone driver

2017-03-20 Thread Bjorn Andersson
Remove the standalone SMD implementation as we have transitioned the client drivers to use the RPMSG based one. Also remove all dependencies on QCOM_SMD from Kconfig files, in order to keep them selectable in the absence of the removed symbol. Signed-off-by: Bjorn Andersson

[PATCH 1/3] soc: qcom: smd: Transition client drivers from smd to rpmsg

2017-03-20 Thread Bjorn Andersson
By moving these client drivers to use RPMSG instead of the direct SMD API we can reuse them ontop of the newly added GLINK wire-protocol support found in the 820 and 835 Qualcomm platforms. As the new (RPMSG-based) and old SMD implementations are mutually exclusive we have to change all client

[PATCH 3/3] soc: qcom: smd-rpm: Add msm8996 compatibility

2017-03-20 Thread Bjorn Andersson
With the RPM driver transitioned to RPMSG we can reuse the SMD-RPM driver ontop of GLINK for 8996, without any modifications. Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/smd-rpm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/smd-rpm.c

Re: [PATCH 2/4] perf annotate: Avoid division by zero when calculating percent

2017-03-20 Thread Taeung Song
And, I tested by perf-stat on the same situation as below. $ perf stat -e "{cycles,page-faults,branch-misses}" ./old sum' is zero.. util/annotate.c:1660~1661 1660h = annotation__histogram(notes, evidx + k); 1661src_line->samples[k].percent = 100.0 * h->addr[i] / h->sum;

Re: [net-next PATCH 1/2] net: Busy polling should ignore sender CPUs

2017-03-20 Thread Eric Dumazet
On Mon, 2017-03-20 at 14:48 -0700, Alexander Duyck wrote: > From: Alexander Duyck > > This patch is a cleanup/fix for NAPI IDs following the changes that made it > so that sender_cpu and napi_id were doing a better job of sharing the same > location in the sk_buff. >

[PATCH v2] Bluetooth: btqcomsmd: fix compile-test dependency

2017-03-20 Thread Bjorn Andersson
From: Arnd Bergmann compile-testing fails when QCOM_SMD is a loadable module: drivers/bluetooth/built-in.o: In function `btqcomsmd_send': btqca.c:(.text+0xa8): undefined reference to `qcom_smd_send' drivers/bluetooth/built-in.o: In function `btqcomsmd_probe':

Re: [Y2038] [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to use timespec64

2017-03-20 Thread Tomoyoshi ASANO
On Sun, 19 Mar 2017 11:51:34 +0100 (CET) Thomas Gleixner wrote: > On Sat, 18 Mar 2017, Deepa Dinamani wrote: > > > struct timespec is not y2038 safe. > > Replace the posix_clock ops interfaces to use > > struct timespec64. > > The patch also changes struct itimerspec

Re: [tpmdd-devel] [PATCH v3 2/7] tpm: validate TPM 2.0 commands

2017-03-20 Thread Ken Goldman
On 3/20/2017 5:54 AM, alexander.stef...@infineon.com wrote: There are a few special cases that need some thought though. For example, it is possible to use an upgrade to switch the TPM family from 1.2 to 2.0 (or vice versa). In this case it seems useful to let the kernel reinitialize the TPM

[RFC PATCH 1/1] nbd: replace kill_bdev() with __invalidate_device()

2017-03-20 Thread Ming Lin
From: Ratna Manoj Bolla When a filesystem is mounted on a nbd device and on a disconnect, because of kill_bdev(), and resetting bdev size to zero, buffer_head mappings are getting destroyed under mounted filesystem. After a bdev size reset(i.e bdev->bd_inode->i_size = 0) on

[RFC PATCH 0/1] nbd: fix crash when unmaping nbd device with fs still mounted

2017-03-20 Thread Ming Lin
Hi all, I run into a BUG_ON(!buffer_mapped(bh)) crash with below script. $ rbd-nbd map mypool/myimg $ mkfs.ext4 /dev/nbd0 $ mount /dev/nbd0 /mnt/ $ rbd-nbd unmap /dev/nbd0 $ umount /mnt [ 1248.870131] kernel BUG at /home/mlin/linux/fs/buffer.c:3103! [ 1248.871214] invalid opcode: [#1]

[PATCH] um: fix build error due to typo

2017-03-20 Thread Kyle Huey
Oops. Signed-off-by: Kyle Huey --- arch/x86/um/syscalls_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/um/syscalls_64.c b/arch/x86/um/syscalls_64.c index 81b9fe100f7c..58f51667e2e4 100644 --- a/arch/x86/um/syscalls_64.c +++

RE: [PATCH] HV: properly delay KVP packets when negotiation is in progress

2017-03-20 Thread Long Li
> -Original Message- > From: Long Li > Sent: Sunday, March 19, 2017 7:49 PM > To: 'Vitaly Kuznetsov' > Cc: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; de...@linuxdriverproject.org;

[PATCH v3 1/3] video: ARM CLCD: Move registers to a separate header.

2017-03-20 Thread Eric Anholt
We'd like to reuse these register definitions for the DRM CLCD driver, but there's a bunch of fbdev-specific code in the current header. Signed-off-by: Eric Anholt --- include/linux/amba/clcd-regs.h | 76 ++ include/linux/amba/clcd.h

[PATCH v3 2/3] drm/pl111: Initial drm/kms driver for pl111

2017-03-20 Thread Eric Anholt
From: Tom Cooksey This is a modesetting driver for the pl111 CLCD display controller found on various ARM platforms such as the Versatile Express. The driver has only been tested on the bcm911360_entphn platform so far, with PRIME-based buffer sharing between vc4 and clcd.

[PATCH v3 3/3] drm: Clarify the role of plane_state argument to drm_simple update().

2017-03-20 Thread Eric Anholt
Like the atomic update hook it's wrapping, the plane_state is the old one, and the new one is in plane->state. Both msxfb and tinydrm use it correctly, but I mistook it for the new state in pl111 due to its naming. Signed-off-by: Eric Anholt ---

RE: [PATCH] tpm/tpm_crb: mark PM functions as __maybe_unused

2017-03-20 Thread Winkler, Tomas
> > On Mon, Mar 20, 2017 at 11:01:36PM +, Winkler, Tomas wrote: > > > I believe that in this case the #ifdefs can be done correctly quite > > easily, but now I'm not against your solution as well, just maybe put > > some of this info to the commit message. > > I perfer fewer ifdefs, it

[PATCH] seccomp: Adjust selftests to avoid double-join

2017-03-20 Thread Kees Cook
While glibc's pthread implementation is rather forgiving about repeat thread joining, Bionic has recently become much more strict. To deal with this, actually track which threads have been successfully joined and kill the rest at teardown. Based on a patch from Paul Lawrence. Signed-off-by: Kees

[PATCH] staging: wilc1000: Fix sparse warning in wilc_wfi_cfgoperations.c

2017-03-20 Thread Jacob Zachariah
Fix the following warning reported by sparse: drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:2006:51: warning: incorrect type in assignment (different base types) drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:2006:51:expected unsigned short [unsigned] [assigned] [usertype]

Re: [PATCH v7 3/3] printk: fix double printing with earlycon

2017-03-20 Thread Sergey Senozhatsky
Hello, On (03/17/17 16:43), Aleksey Makarov wrote: [..] > +static void ensure_preferred_is_last(int i) > +{ > + int last; > + > + for (last = MAX_CMDLINECONSOLES - 1; > + last >= 0 && !console_cmdline[last].name[0]; > + last--) > + ; > + > + BUG_ON(last <

Re: [PATCH v6 06/15] mlx5: Replace PCI pool old API

2017-03-20 Thread Leon Romanovsky
On Sun, Mar 19, 2017 at 06:03:55PM +0100, Romain Perier wrote: > The PCI pool API is deprecated. This commit replaces the PCI pool old > API by the appropriate function with the DMA pool API. > > Signed-off-by: Romain Perier > Reviewed-by: Peter Senna Tschudin

Re: [PATCH] backlight: Add TI LMU backlight driver

2017-03-20 Thread Sebastian Reichel
Hi, On Mon, Mar 20, 2017 at 11:21:04AM +0900, Milo Kim wrote: > This is consolidated driver which supports backlight devices below. > LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697. > > Structure > - > It consists of two parts - core and data. > > Core part supports features

Re: [RFC 0/1] add support for reclaiming priorities per mem cgroup

2017-03-20 Thread peter enderborg
Hi Tim. Do you have a link to the new version lmkd? On 03/18/2017 12:16 AM, Tim Murray wrote: > Hi all, > > I've been working to improve Android's memory management and drop > lowmemorykiller from the kernel, and I'd like to get some feedback on a small > patch with a lot of side effects. > >

Re: [PATCH v21 03/13] clocksource: arm_arch_timer: remove arch_timer_detect_rate

2017-03-20 Thread Fu Wei
Hi Mark, On 18 March 2017 at 02:07, Mark Rutland wrote: > On Tue, Feb 07, 2017 at 02:50:05AM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> The original counter frequency detection call(arch_timer_detect_rate) >> include getting the frequency from

Re: [PATCH] kvmgt: Hold struct kvm reference

2017-03-20 Thread Zhenyu Wang
On 2017.03.20 14:58:06 +0800, Jike Song wrote: > On 03/20/2017 10:38 AM, Alex Williamson wrote: > > The kvmgt code keeps a pointer to the struct kvm associated with the > > device, but doesn't actually hold a reference to it. If we do unclean > > shutdown testing (ie. killing the user process),

Re: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-20 Thread Shawn Lin
Hi On 2017/3/19 8:45, Bean Huo (beanhuo) wrote: This patch fixes the issue that mmc_blk_issue_rq still flushes cache when eMMC cache has already been off through user space tool, such as mmc-utils. I did a quick test and see the case you refer to, so Tested-by: Shawn Lin

[PATCH 1/2] extcon: usb-gpio: Add level trigger support

2017-03-20 Thread Baolin Wang
Now extcon-usb-gpio only supports for GPIO egdge trigger, but VBUS/ID gpios' detection can be triggered by the level trigger on some platforms. Thus intoduce one property 'extcon-gpio,level-trigger' to identify this situation. Signed-off-by: Baolin Wang ---

[PATCH 2/2] extcon: usb-gpio: Add the GPIO level trigger support

2017-03-20 Thread Baolin Wang
GPIOs may need level trigger to detect VBUS/ID on some platforms, thus we should add GPIO level trigger to support this situation. Signed-off-by: Baolin Wang --- drivers/extcon/extcon-usb-gpio.c | 81 -- 1 file changed, 77

Re: [PATCH v15 6/9] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID

2017-03-20 Thread Kyle Huey
On Tue, Mar 14, 2017 at 1:36 PM, Thomas Gleixner wrote: > On Sat, 11 Mar 2017, Kyle Huey wrote: >> static void init_intel_misc_features(struct cpuinfo_x86 *c) >> { >> u64 msr; >> >> + if (rdmsrl_safe(MSR_MISC_FEATURES_ENABLES, )) >> + return; >> + >> +

Re: [PATCH v15 9/9] x86/arch_prctl: Rename 'code' argument to 'option'

2017-03-20 Thread Kyle Huey
On Tue, Mar 14, 2017 at 1:07 PM, Thomas Gleixner wrote: > On Sat, 11 Mar 2017, Kyle Huey wrote: > >> arch_prctl arbitrarily changed prctl's 'option' to 'code'. Now that we're >> adding additional options, fix that. > > And why is that at the end of the series instead of being

Re: [PATCH] power: supply: Add driver for TI BQ2416X battery charger

2017-03-20 Thread Sebastian Reichel
Hi, On Tue, Feb 07, 2017 at 01:09:09AM +, Wojciech Ziemba wrote: > There is interest in adding a Linux driver for TI BQ2416X battery > charger. This is a strange sentence to introduce a patch. If there wasn't you wouldn't have sent a patch... > The driver supports BQ24160 chip, thus can be

Re: [RFC 0/1] add support for reclaiming priorities per mem cgroup

2017-03-20 Thread Minchan Kim
Hello, On Fri, Mar 17, 2017 at 04:16:35PM -0700, Tim Murray wrote: > Hi all, > > I've been working to improve Android's memory management and drop > lowmemorykiller from the kernel, and I'd like to get some feedback on a small > patch with a lot of side effects. > > Currently, when an

Re: [PATCH v6 5/8] dt-bindings: input: touchscreen: Add max11801-ts binding

2017-03-20 Thread Jagan Teki
On Mon, Mar 20, 2017 at 8:06 AM, Shawn Guo wrote: > On Thu, Mar 16, 2017 at 12:35:38PM +0530, Jagan Teki wrote: >> From: Jagan Teki >> >> Add missing documentation of max11801-ts dt-binding details. >> >> Cc: Mark Rutland >>

[PATCH net 1/2] r8152: set the RMS of RTL8153 according to the mtu

2017-03-20 Thread Hayes Wang
Set the received maximum size (RMS) according to the mtu size. It is unnecessary to receive a packet which is more than the size we could transmit. Besides, this could let the rx buffer be used effectively. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 16

[PATCH net 2/2] r8152: fix the rx early size of RTL8153

2017-03-20 Thread Hayes Wang
revert commit a59e6d815226 ("r8152: correct the rx early size") and fix the rx early size as (rx buffer size - rx packet size - rx desc size - alignment) / 4 Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 7 --- 1 file changed, 4 insertions(+), 3

Re: [RFC][PATCH 2/2] cpufreq: schedutil: Force max frequency on busy CPUs

2017-03-20 Thread Vincent Guittot
On 20 March 2017 at 04:57, Viresh Kumar wrote: > On 19-03-17, 14:34, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> The PELT metric used by the schedutil governor underestimates the >> CPU utilization in some cases. The reason for

Re: [PATCH v5 3/4] dt-bindings: phy: Add support for QMP phy

2017-03-20 Thread Vivek Gautam
Hi Rob, On Thu, Mar 16, 2017 at 2:04 AM, Rob Herring wrote: > On Thu, Mar 09, 2017 at 02:37:20PM +0530, Vivek Gautam wrote: >> Qualcomm chipsets have QMP phy controller that provides >> support to a number of controller, viz. PCIe, UFS, and USB. >> Adding dt binding information

[PATCH] mm, swap: Remove WARN_ON_ONCE() in free_swap_slot()

2017-03-20 Thread Huang, Ying
From: Huang Ying Before commit 452b94b8c8c7 ("mm/swap: don't BUG_ON() due to uninitialized swap slot cache"), the following bug is reported, [ cut here ] kernel BUG at mm/swap_slots.c:270! invalid opcode: [#1] SMP CPU: 5 PID: 1745 Comm:

Re: [PATCH v2 3/3] arm64: KVM: add guest SEI support

2017-03-20 Thread Xie XiuQi
Hi James, Thank you for your comments and detail explanation. On 2017/3/14 17:45, James Morse wrote: > Hi Xie XiuQi, > > On 08/03/17 04:09, Xie XiuQi wrote: >> Add ghes handling for SEI so that the host kernel could parse and >> report detailed error information for SEI which occur in the guest

[PATCH] kvm: pass the virtual SEI syndrome to guest OS

2017-03-20 Thread Dongjiu Geng
In the RAS implementation, hardware pass the virtual SEI syndrome information through the VSESR_EL2, so set the virtual SEI syndrome using physical SEI syndrome el2_elr to pass to the guest OS Signed-off-by: Dongjiu Geng Signed-off-by: Quanming wu

[RESEND PATCH v4 4/9] mfd: axp20x: add AC power supply cells for AXP22X PMICs

2017-03-20 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs expose the status of AC power supply. This adds the AC power supply driver to the MFD cells of the AXP22X PMICs. Signed-off-by: Quentin Schulz Acked-by: Maxime Ripard Acked-By: Sebastian

[PATCH] stm class: Document the stm_ftrace

2017-03-20 Thread Chunyan Zhang
This patch adds a description of the stm_ftrace device source, an interface for collecting Function trace information via STM devices. Signed-off-by: Chunyan Zhang --- Documentation/trace/stm.txt | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff

Re: [PATCH] kvmgt: Hold struct kvm reference

2017-03-20 Thread Jike Song
On 03/20/2017 10:38 AM, Alex Williamson wrote: > The kvmgt code keeps a pointer to the struct kvm associated with the > device, but doesn't actually hold a reference to it. If we do unclean > shutdown testing (ie. killing the user process), then we can see the > kvm association to the device

RE: linux-next: build warning after merge of the netfilter-next tree

2017-03-20 Thread Reshetova, Elena
> Hi all, > > After merging the netfilter-next tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > net/netfilter/nfnetlink_acct.c: In function 'nfnl_acct_try_del': > net/netfilter/nfnetlink_acct.c:329:15: warning: unused variable 'refcount' [- > Wunused-variable] >

Re: [PATCH v21 01/13] clocksource: arm_arch_timer: introduce two functions to get the frequency from mmio and sysreg.

2017-03-20 Thread Fu Wei
Hi Mark, On 18 March 2017 at 02:05, Mark Rutland wrote: > On Tue, Feb 07, 2017 at 02:50:03AM +0800, fu@linaro.org wrote: >> +static u32 arch_timer_get_sysreg_freq(void) >> +{ >> + /* >> + * Try to get the frequency from the CNTFRQ of sysreg. >> + */ >> +

[PATCH v2] ohci-pci: add qemu quirk

2017-03-20 Thread Gerd Hoffmann
On a loaded virtualization host (dozen guests booting at the same time) it may happen that the ohci controller emulation doesn't manage to do timely frame processing, with the result that the io watchdog fires and considers the controller being dead, even though it's only the emulation being

linux-next: build warnings after merge of the net-next tree

2017-03-20 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc allyesconfig) produced thie warnings: In file included from include/linux/byteorder/big_endian.h:4:0, from arch/powerpc/include/uapi/asm/byteorder.h:13, from

Re: sound: another deadlock in snd_seq_pool_done

2017-03-20 Thread Takashi Iwai
On Fri, 10 Mar 2017 10:19:13 +0100, Dmitry Vyukov wrote: > > On Sat, Mar 4, 2017 at 5:31 PM, Dmitry Vyukov wrote: > > Hello, > > > > The following program creates processes deadlocked in snd_seq_pool_done: > > > >

Re: [PATCH 1/2] ARM: dts: sun4i: Add CAN node and can0_pins_a pinctrl settings

2017-03-20 Thread Maxime Ripard
Hi Patrick, On Sun, Mar 12, 2017 at 02:28:10PM +0100, Patrick Menschel wrote: > The A10 SoC has an on-board CAN controller. This patch adds the device node > and the corresponding pinctrl settings for pins PH20 and PH21. > > This patch is adapted from the description in >

3% Loans

2017-03-20 Thread Kingfisher Finance
Apply for a 3% interest rate loan today. To apply, Contact us with amount needed and duration to pay back loan.. Regards Kingfisher Finance

Re: linux-next: build failure after merge of the drm tree

2017-03-20 Thread Daniel Vetter
On Mon, Mar 20, 2017 at 9:03 AM, Daniel Vetter wrote: > On Mon, Mar 20, 2017 at 1:51 AM, Stephen Rothwell > wrote: >> This cherry picking of fixes from new development back to Linus' tree >> can be a real pain when so many other changes happen in

Re: linux-next: build failure after merge of the drm tree

2017-03-20 Thread Daniel Vetter
On Mon, Mar 20, 2017 at 1:51 AM, Stephen Rothwell wrote: > This cherry picking of fixes from new development back to Linus' tree > can be a real pain when so many other changes happen in the same files. One possible fix for this would be if you reuse our rerere cache. The

[PATCH] drm: bridge: dw-hdmi: add HDMI vendor specific infoframe config

2017-03-20 Thread Nickey Yang
Vendor specific infoframe is mandatory for 4K2K resolution. Without this, the HDMI protocol compliance fails. Signed-off-by: Nickey Yang --- drivers/gpu/drm/bridge/dw-hdmi.c | 50 drivers/gpu/drm/bridge/dw-hdmi.h | 4 2

Re: ZONE_NORMAL vs. ZONE_MOVABLE

2017-03-20 Thread Joonsoo Kim
2017-03-17 4:01 GMT+09:00 Andrea Arcangeli : > Hello Joonsoo, Hello, Andrea. > On Thu, Mar 16, 2017 at 02:31:22PM +0900, Joonsoo Kim wrote: >> I don't follow up previous discussion so please let me know if I miss >> something. I'd just like to mention about sticky

Re: [PATCH v6 05/15] mlx4: Replace PCI pool old API

2017-03-20 Thread Leon Romanovsky
On Sun, Mar 19, 2017 at 06:03:54PM +0100, Romain Perier wrote: > The PCI pool API is deprecated. This commit replaces the PCI pool old > API by the appropriate function with the DMA pool API. > > Signed-off-by: Romain Perier > Acked-by: Peter Senna Tschudin

[PATCH v6 4/4] mfd: mt6397: Align the placement at which the mfd_cell of LED is defined

2017-03-20 Thread sean.wang
From: Sean Wang Align the placement as which the mfd_cell of LED is defined as the other members done on the structure. Signed-off-by: Sean Wang Acked-by: Lee Jones --- drivers/mfd/mt6397-core.c | 3 +-- 1 file changed, 1

[PATCH v6 3/4] leds: Add LED support for MT6323 PMIC

2017-03-20 Thread sean.wang
From: Sean Wang MT6323 PMIC is a multi-function device that includes LED function. It allows attaching up to 4 LEDs which can either be on, off or dimmed and/or blinked with the controller. Signed-off-by: Sean Wang Reviewed-by: Jacek Anaszewski

[PATCH v6 0/4] leds: add leds-mt6323 support on MT7623 SoC

2017-03-20 Thread sean.wang
From: Sean Wang MT7623 SoC uses MT6323 PMIC as the default power supply which has LED function insides. The patchset introduces the LED support for MT6323 with on, off and hardware dimmed and blinked and it should work on other similar SoCs if also using MT6323. Changes

  1   2   3   4   5   6   7   8   9   10   >