[PATCH 1/6] staging: wlan-ng: Fix sparse warning of restricted __le16

2017-03-02 Thread simran singhal
This patch fixes the following sparse warning: warning: cast to restricted __le16 Signed-off-by: simran singhal --- drivers/staging/wlan-ng/prism2sta.c | 51 ++--- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2sta.c

Re: [PATCH v4 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-03-02 Thread Rob Herring
On Wed, Mar 01, 2017 at 10:18:55PM -0300, Sergio Prado wrote: > Adds the device tree bindings description for Samsung S3C24XX > MMC/SD/SDIO controller, used as a connectivity interface with external > MMC, SD and SDIO storage mediums. > > Signed-off-by: Sergio Prado > --- > .../devicetree/bindin

Re: mm: fault in __do_fault

2017-03-02 Thread Dmitry Vyukov
On Tue, Feb 28, 2017 at 4:42 PM, Andrea Arcangeli wrote: > Hello Dmitry, > > On Tue, Feb 28, 2017 at 03:04:53PM +0100, Dmitry Vyukov wrote: >> Hello, >> >> The following program triggers GPF in __do_fault: >> https://gist.githubusercontent.com/dvyukov/27345737fca18d92ef761e7fa08aec9b/raw/d99d02511

Re: [PATCH 1/6] cpufreq: schedutil: reset sg_cpus's flags at IDLE enter

2017-03-02 Thread Viresh Kumar
On 02-03-17, 15:45, Patrick Bellasi wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index e2ed46d..739b29d 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -3653,6 +3653,7 @@ static inline unsigned long rlimit_max(unsigned int > limit) > #define SCHED_

[PATCH] mtd: mtdram: check offs and len in mtdram->point madram->unpoint,mtdram->write and mtdram->read

2017-03-02 Thread chenwy
We should prevent user to erasing mtd device with an unaligned offset or length. Signed-off-by: Chen Wenyong --- drivers/mtd/devices/mtdram.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mtd/devices/mtdram.c b/drivers/mtd/devices/mtdram.c index cbd8547..b0468c1 10

Re: [PATCH v2 2/3] Documentation: bindings: add DT documentation for u2phy and u2phy grf

2017-03-02 Thread Heiko Stuebner
Am Freitag, 3. März 2017, 00:21:56 CET schrieb Rob Herring: > On Thu, Mar 02, 2017 at 03:49:04PM +0800, Meng Dongyang wrote: > > Due to the u2phy registers are separated from general grf, we need to > > add u2phy grf node and place u2phy node in it. So this patch add u2phy > > grf node. > > Simila

Re: [PATCH v17 2/3] usb: USB Type-C connector class

2017-03-02 Thread Mats Karrman
On 2017-03-03 04:13, Guenter Roeck wrote: On 03/02/2017 07:22 AM, Mats Karrman wrote: Looking forward, one thing I have run into is how to connect the typec driver with a driver for an alternate mode. E.g. the DisplayPort Alternate Mode specification includes the HPD (hot plug) and HPD-IN

Re: [PATCH 2/2] drivers: pwm: pwm-atmel: enable pwm on sama5d2

2017-03-02 Thread Rob Herring
On Tue, Feb 28, 2017 at 12:40:15PM +0200, Claudiu Beznea wrote: > sama5d2 can use the same atmel_pwm_data as sama5d3. > > Signed-off-by: Claudiu Beznea > --- > Documentation/devicetree/bindings/pwm/atmel-pwm.txt | 1 + > drivers/pwm/pwm-atmel.c | 3 +++ > 2 files chan

Re: [PATCH 1/2] Documentation: dt-bindings: Use generic property for hardware enable pins

2017-03-02 Thread Kim, Milo
On 3/3/2017 3:21 PM, Rob Herring wrote: On Tue, Feb 28, 2017 at 04:50:40PM +0900, Milo Kim wrote: With index usages, device specific properties can be replaced with generic one. Vpos is index 0 and Vneg is index 1. DT examples are added as well. Signed-off-by: Milo Kim --- .../bindings/regula

[PATCH v7 kernel 1/5] virtio-balloon: rework deflate to add page to a list

2017-03-02 Thread Wei Wang
From: Liang Li When doing the inflating/deflating operation, the current virtio-balloon implementation uses an array to save 256 PFNS, then send these PFNS to host through virtio and process each PFN one by one. This way is not efficient when inflating/deflating a large mount of memory because to

Re: [PATCH V3 3/4] dt-bindings: serial: add a new compatible string for SC9860

2017-03-02 Thread Rob Herring
On Thu, Mar 02, 2017 at 02:22:09PM +0800, Chunyan Zhang wrote: > SC9860 use the same serial device, so added a new compatible string to > support SC9860 as well, also added an example of how to describe this > serial device in DT. > > Signed-off-by: Chunyan Zhang > --- > Documentation/devicetree

Re: [PATCH] clk: sunxi-ng: sun5i: Fix mux width for csi clock

2017-03-02 Thread Maxime Ripard
On Thu, Mar 02, 2017 at 10:55:27PM +0200, Priit Laes wrote: > Mux for CSI clock is 3 bits, not 2. > > Signed-off-by: Priit Laes Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com signature.asc Description: PGP signature

Re: [PATCH 4/4] dt-bindings: List devicetree binding for the CCU of Allwinner A20

2017-03-02 Thread Rob Herring
On Mon, Feb 27, 2017 at 11:09:14PM +0200, Priit Laes wrote: > Allwinner A20 is now driven by sunxi-ng CCU driver. > > Add devicetree binding for it. > > Signed-off-by: Priit Laes > --- > Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob

Re: [PATCH 2/2] HID: hiddev: store hiddev's minor number when hiddev is connected

2017-03-02 Thread Kim Jaejoong
2017-03-02 23:13 GMT+09:00 Benjamin Tissoires : > On Mar 02 2017 or thereabouts, Jaejoong Kim wrote: >> The hid-core announces kernel message which driver is loaded if there is >> a hiddev, but hiddev's minor number is always zero even though it's not >> zero. >> >> So, we need to store the minor n

Re: Kernel bio layer is sending bio size more than our block device is capable of handling

2017-03-02 Thread Umesh Patel
>From the kernel source code i came to know below things. 4.1 kernel version onward *""nr_pages = min(sdio->pages_in_io, bio_get_nr_vecs(map_bh->b_bdev))""* line has been removed which was considering max_sectors_kb of queue. Now new code is something like this* "nr_pages = min(sdio->pages_in_i

Re: [PATCH v3 19/25] dt-bindings: arm: cpus: Add S500 enable-method

2017-03-02 Thread Rob Herring
On Tue, Feb 28, 2017 at 07:35:29AM +0100, Andreas Färber wrote: > The Actions Semi S500 SoC requires a special secondary CPU boot procedure. > > Signed-off-by: Andreas Färber > --- > v3: new > > Documentation/devicetree/bindings/arm/cpus.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by:

RE: [PATCH] mmc: core: fix changing bus witdh in hs400es mode

2017-03-02 Thread Piotr Sroka
Hi Shawn Thanks for the information. Best Regards Piotr Sroka > -Original Message- > From: Shawn Lin [mailto:shawn@rock-chips.com] > Sent: 03 March, 2017 4:43 AM > Subject: Re: [PATCH] mmc: core: fix changing bus witdh in hs400es mode > > Hi Poitr, > > On 2017/3/2 21:47, Piotr Srok

[RFC PATCH v2 15/32] x86: Add support for changing memory encryption attribute in early boot

2017-03-02 Thread Brijesh Singh
Some KVM-specific custom MSRs shares the guest physical address with hypervisor. When SEV is active, the shared physical address must be mapped with encryption attribute cleared so that both hypervsior and guest can access the data. Add APIs to change memory encryption attribute in early boot code

[PATCH v4 4/5] perf report: Show inline stack in stdio mode

2017-03-02 Thread Jin Yao
If the address belongs to an inlined function, the source information back to the first non-inlined function will be printed. For example: perf report --stdio --inline 0.69% 0.00% inline ld-2.23.so [.] dl_main | ---dl_main | --0.56%--_dl_relocat

Business proposal

2017-03-02 Thread Qatif Oil Group Of Companies---
-- Dear Friend, I would like to discuss a very important issue with you. I am writing to find out if this is your valid email. Please, let me know if this email is valid Kind regards Adrien Saif Attorney to Qatif Group of Companies.

Re: [PATCH v2 2/2] dt-bindings: extcon: Add support for cros-ec device

2017-03-02 Thread Rob Herring
On Wed, Mar 01, 2017 at 12:19:43PM +0100, Enric Balletbo i Serra wrote: > From: Benson Leung > > This patch add documentation for binding of USB Type C cable detection > mechanism is using EXTCON subsystem. The device can detect the presence > of display out but it may also detect other external

[PATCH v3 0/5] coresight: enable debug module

2017-03-02 Thread Leo Yan
ARMv8 architecture reference manual (ARM DDI 0487A.k) Chapter H7 "The Sample-based Profiling Extension" has description for sampling registers, we can utilize these registers to check program counter value with combined CPU exception level, secure state, etc. So this is helpful for CPU lockup bugs,

Re: [PATCH 1/2] HID: hiddev: move hiddev's minor number from struct hid_device to hiddev

2017-03-02 Thread Kim Jaejoong
2017-03-02 23:10 GMT+09:00 Benjamin Tissoires : > On Mar 02 2017 or thereabouts, Jaejoong Kim wrote: >> We need to store the minor number each drivers. In case of hidraw, it's >> minor number stores in struct hidraw. But hiddev's minor is located in >> struct hid_device. >> >> So reallocates for hi

Re: [PATCH 10/11] dt-bindings: Add bindings for the Amlogic Meson dw-hdmi extension

2017-03-02 Thread Rob Herring
On Thu, Mar 02, 2017 at 04:40:06PM +0100, Neil Armstrong wrote: > This binding describes the Amlogic Meson specific extension to the > Synopsys Designware HDMI Controller. > > Signed-off-by: Neil Armstrong > --- > .../bindings/display/amlogic,meson-dw-hdmi.txt | 111 > +

[PATCH v3 2/5] coresight: refactor with function of_coresight_get_cpu

2017-03-02 Thread Leo Yan
This is refactor to add function of_coresight_get_cpu(), so it's used to retrieve CPU id for coresight component. Finally can use it as a common function for multiple places. Suggested-by: Mathieu Poirier Signed-off-by: Leo Yan --- drivers/hwtracing/coresight/of_coresight.c | 37 +++

Re: [PATCH v4 3/4] fpga dt: bindings for Altera Partial Reconfiguration IP.

2017-03-02 Thread Rob Herring
On Thu, Mar 02, 2017 at 07:57:11AM -0800, matthew.gerl...@linux.intel.com wrote: > From: Matthew Gerlach > > Device Tree bindings for Altera Partial Reconfiguration IP. > > v3: s/altr,pr-ip/altr,a10-pr-ip/ > v2: s/Reconfiguraion/Reconfiguration/ > The version info should go

Re: XTS Crypto Not Found In /proc/crypto Even After Compiled for 4.10.1.

2017-03-02 Thread Herbert Xu
On Thu, Mar 02, 2017 at 05:35:30PM -0600, Nathan Royce wrote: > ARM ODroid XU4 > > $ cat /proc/config.gz | gunzip | grep XTS > CONFIG_CRYPTO_XTS=y > > $ grep xts /proc/crypto > //4.9.13 > name : xts(aes) > driver : xts(aes-generic) > //4.10.1 > > //cbc can be found though > > CRYP

Re: [PATCH v2 1/3] Documentation: bindings: add assign clock property in u2phy node

2017-03-02 Thread Rob Herring
On Thu, Mar 02, 2017 at 03:49:03PM +0800, Meng Dongyang wrote: > On some platform such as RK3328, the 480m clock may need to assign > clock parent in dts in stead of clock driver. So this patch add > property of assigned-clocks and assigned-clock-parents to assign > parent for 480m clock. > > Chan

Re: [PATCH v5 02/11] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Djtag dts bindings

2017-03-02 Thread Rob Herring
On Thu, Mar 02, 2017 at 05:48:36AM -0500, Anurup M wrote: > From: Tan Xiaojun > > Add Hisilicon HiP05/06/07 Djtag dts bindings for CPU and IO Die > > Signed-off-by: Tan Xiaojun > Signed-off-by: Anurup M > --- > .../devicetree/bindings/arm/hisilicon/djtag.txt| 51 > ++

Re: [PATCH v2 2/3] Documentation: bindings: add DT documentation for u2phy and u2phy grf

2017-03-02 Thread Rob Herring
On Thu, Mar 02, 2017 at 03:49:04PM +0800, Meng Dongyang wrote: > Due to the u2phy registers are separated from general grf, we need to > add u2phy grf node and place u2phy node in it. So this patch add u2phy > grf node. Similar comment on the subject. > > Changes in v2: > - add u2phy grf specif

Re: [PATCH v2 2/3] Documentation: bindings: add DT documentation for u2phy and u2phy grf

2017-03-02 Thread rock-chips(daniel.meng)
On 2017/3/3 14:21, Rob Herring wrote: On Thu, Mar 02, 2017 at 03:49:04PM +0800, Meng Dongyang wrote: Due to the u2phy registers are separated from general grf, we need to add u2phy grf node and place u2phy node in it. So this patch add u2phy grf node. Similar comment on the subject. Changes

Re: [PATCH 2/2] hwmon: Aspeed AST2400/AST2500 ADC

2017-03-02 Thread Rob Herring
On Tue, Feb 28, 2017 at 07:45:23PM -0800, Guenter Roeck wrote: > On 02/28/2017 04:49 PM, Joel Stanley wrote: > > On Wed, Mar 1, 2017 at 6:44 AM, Rick Altherr wrote: > > > Aspeed AST2400/AST2500 BMC SoCs include a 16 channel, 10-bit ADC. This > > > driver implements reading the ADC values, enabling

Re: [PATCH v3 22/25] dt-bindings: power: Add Owl SPS power domains

2017-03-02 Thread Rob Herring
On Tue, Feb 28, 2017 at 07:35:32AM +0100, Andreas Färber wrote: > Define power domains for all non-reserved S500 power gates. > > Signed-off-by: Andreas Färber > --- > v3: new > > .../devicetree/bindings/power/actions,owl-sps.txt | 17 + > include/dt-bindings/power/s500-po

Re: [PATCH 1/2] Documentation: dt-bindings: Use generic property for hardware enable pins

2017-03-02 Thread Rob Herring
On Tue, Feb 28, 2017 at 04:50:40PM +0900, Milo Kim wrote: > With index usages, device specific properties can be replaced with generic > one. Vpos is index 0 and Vneg is index 1. > DT examples are added as well. > > Signed-off-by: Milo Kim > --- > .../bindings/regulator/lm363x-regulator.txt

Re: [PATCH V2 1/4] dt-bindings: display: megachips-stdpxxxx-ge-b850v3-fw

2017-03-02 Thread Rob Herring
On Tue, Feb 28, 2017 at 03:28:10PM +0100, Peter Senna Tschudin wrote: > Devicetree binding documentation for the second video output > of the GE B850v3: >STDP4028-ge-b850v3-fw bridges (LVDS-DP) >STDP2690-ge-b850v3-fw bridges (DP-DP++) > > Added entry for MegaChips at: > Documentation/devi

Re: [PATCH v2 2/3] clk: meson-gxbb: Add MALI clocks

2017-03-02 Thread Jerome Brunet
On Thu, 2017-03-02 at 12:07 +0100, Neil Armstrong wrote: > Hi Stephen, > > On 03/01/2017 08:11 PM, Stephen Boyd wrote: > > On 03/01, Neil Armstrong wrote: > > > diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c > > > index a52063f..31f6090 100644 > > > --- a/drivers/clk/meson/gxbb.c

Re: [PATCH v2] video: fbdev: imxfb: support AUS mode

2017-03-02 Thread Rob Herring
On Tue, Feb 28, 2017 at 09:04:16PM +0100, Martin Kaiser wrote: > Some displays require setting AUS mode in the LDCD AUS Mode Control > Register to work with the imxfb driver. Like the value of the Panel > Configuration Register, the AUS Mode Control Register's value depends on > the display mode. >

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-02 Thread Mike Galbraith
On Wed, 2017-03-01 at 16:46 +0100, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 01:29:57PM +0200, Nikolay Borisov wrote: > > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > > during memory allocation") added the memalloc_noio_(save|restore) functions > > to enable peop

[PATCH] doc/ko_KR/memory-barriers: Update control-dependencies section

2017-03-02 Thread SeongJae Park
This commit applies upstream change, commit c8241f8553e8 ("doc: Update control-dependencies section of memory-barriers.txt"), to Korean translation. Signed-off-by: SeongJae Park --- .../translations/ko_KR/memory-barriers.txt | 68 -- 1 file changed, 37 insertions(+),

[GIT PULL] More power management updates for v4.11-rc1

2017-03-02 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-extra-4.11-rc1 with top-most commit 9b5e9cb164ee93ae19c4c6593e8188a55481f78b Merge branches 'pm-cpuidle', 'pm-cpufreq' and 'pm-sleep' on top of commit 02c3de1105228e367320e7fdeffbf51190

Re: [PATCH v5 1/4] dt-bindings: iio: accel: Document ADXL345 accelerometer binding

2017-03-02 Thread Rob Herring
On Tue, Feb 28, 2017 at 10:37:16AM +0800, Eva Rachel Retuya wrote: > Add the device tree binding documentation for the ADXL345 3-axis digital > accelerometer. > > Signed-off-by: Eva Rachel Retuya > --- > Changes from v4: > * Update subject-prefix > * Update node name from "adxl345@unit-address"

Re: [PATCH] USB: misc: ldusb: Fixed coding style issues

2017-03-02 Thread Greg KH
On Fri, Mar 03, 2017 at 12:55:46AM +0100, Milian Reichardt wrote: > Fixed multiple coding style issues. Please be specific as to exactly what issues you are fixing up. And don't do multiple things in the same patch, each different thing needs to be broken up into an individual patch. thanks, gr

Re: [PATCH v1] nvmem: i.MX IIM driver

2017-03-02 Thread Sascha Hauer
Srinivas, Maxime, Any comments on this one? Sascha On Mon, Feb 13, 2017 at 04:31:47PM +0100, Sascha Hauer wrote: > > This adds a readonly nvmem driver for the i.MX IC Identification Module (IIM) > which is found on the older i.MX SoCs. The IIM is part of the i.MX dts files > for long now, but s

Re: [PATCH] selftests: lib.mk Fix individual test builds

2017-03-02 Thread Michael Ellerman
Shuah Khan writes: > In commit a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT"), added > support to generate compile targets in a user specified directory. OUTPUT > variable controls the location which is undefined when tests are built in > the test directory or with "make -C tools/testing/s

[PATCH v4 2/5] perf report: Find the inline stack for a given address

2017-03-02 Thread Jin Yao
It would be useful for perf to support a mode to query the inline stack for a given callgraph address. This would simplify finding the right code in code that does a lot of inlining. The srcline.c has contained the code which supports to translate the address to filename:line_nr. This patch just e

Re: [RFC v0 0/2] Introduce on-chip interconnect API

2017-03-02 Thread Rob Herring
On Wed, Mar 01, 2017 at 08:22:33PM +0200, Georgi Djakov wrote: > Modern SoCs have multiple processors and various dedicated cores (video, gpu, > graphics, modem). These cores are talking to each other and can generate a lot > of data flowing through the on-chip interconnects. These interconnect bus

[PATCH v7 kernel 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2017-03-02 Thread Wei Wang
Take over this work from Liang. This patch series implements two optimizations: 1) transfer pages in chuncks between the guest and host; 1) transfer the guest unused pages to the host so that they can be skipped to migrate in live migration. Please check patch 0003 for more details about optimiza

Re: [PATCH] PM / OPP: Documentation: Fix opp-microvolt in examples

2017-03-02 Thread Rob Herring
On Wed, Mar 01, 2017 at 04:39:55PM +0530, Viresh Kumar wrote: > The triplet present in "opp-microvolt" property should be in the order > , while all the examples have it in the order > . > > Fix it. > > Luckily all of the users of "opp-microvolt" property have applied brain > instead of copying t

Re: [PATCH 2/6] cpufreq: schedutil: ignore the sugov kthread for frequencies selections

2017-03-02 Thread Viresh Kumar
On 02-03-17, 15:45, Patrick Bellasi wrote: > In system where multiple CPUs shares the same frequency domain a small > workload on a CPU can still be subject frequency spikes, generated by > the activation of the sugov's kthread. > > Since the sugov kthread is a special RT task, which goal is just

Re: [PATCH v2 2/3] perf annotate: Introduce the new source code view

2017-03-02 Thread Namhyung Kim
Hi Peter, On Wed, Mar 01, 2017 at 04:07:46PM +0100, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 11:56:39PM +0900, Namhyung Kim wrote: > > > It's a kind of user experience issue. We provide the asm-only and > > asm+source annotation, and I think it'd be nice to add source-only > > option. An

RE: [PATCH v2] staging: mkspec: added aarch64 ifarch case.

2017-03-02 Thread James Tau
Hi Will, This patch (http://lkml.kernel.org/r/20161122213434.14788-1-mma...@suse.com) looks better. It has what Linus calls "good taste". ;-) I didn't see it in mmarek's kbuild branches (for-next,rc-fixes), however. Still making its way there? But it doesn't quite fix the native 'make rpm'

[RESEND PATCH v5 04/11 (Missed 04/11 in PATCH v5 series)] Documentation: perf: hisi: Documentation for HiP05/06/07 PMU event counting.

2017-03-02 Thread Anurup M
Documentation for perf usage and Hisilicon SoC PMU uncore events. The Hisilicon SOC has event counters for hardware modules like L3 cache, Miscellaneous node etc. These events are all uncore. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- Documentation/perf/hisi-pmu.txt | 76 +

Re: [PATCH v17 2/3] usb: USB Type-C connector class

2017-03-02 Thread Guenter Roeck
On 03/02/2017 07:35 PM, Peter Chen wrote: On Tue, Feb 21, 2017 at 05:24:04PM +0300, Heikki Krogerus wrote: +/* --- */ +/* Driver callbacks to report role updates */ + +/** + * typec_set_data_role - Report data role change + * @port: The USB Type-C Port where t

[git pull] vfs.git statx

2017-03-02 Thread Al Viro
Rebased, with fixup from -next folded in. A branch matching what was sitting in -next is #merge-2, and ; git cat-file commit rebased-statx|grep tree tree 0e87b93d5902009d46d5faf25c3039ef8f668490 ; git cat-file commit merge-2|grep tree tree 0e87b93d5902009d46d5faf25c3039ef8f668490 IOW, the

Re: [RFC] arm64: support HAVE_ARCH_RARE_WRITE

2017-03-02 Thread Kees Cook
On Thu, Mar 2, 2017 at 7:00 AM, Hoeun Ryu wrote: > This RFC is a quick and dirty arm64 implementation for Kees Cook's RFC for > rare_write infrastructure [1]. Awesome! :) > This implementation is based on Mark Rutland's suggestions, which is that > a special userspace mm that maps only __start

[PATCH] can: m_can: support transmit frame in CAN FD format

2017-03-02 Thread Wenyou Yang
Add support to transmit the frame in the CAN FD format and with the bit rate switching. Tested on SAMA5D2 Xplained board. Signed-off-by: Wenyou Yang --- The testing is based on [RESEND PATCH 1/1] can: m_can: fix bitrate setup on latest silicon http://lkml.iu.edu/hypermail/linux/kernel/1702.1/053

[PATCH v7 kernel 4/5] virtio-balloon: define flags and head for host request vq

2017-03-02 Thread Wei Wang
From: Liang Li Define the flags and head struct for a new host request virtual queue. Guest can get requests from host and then responds to them on this new virtual queue. Host can make use of this virtqueue to request the guest to do some operations, e.g. drop page cache, synchronize file system

[PATCH v7 kernel 5/5] This patch contains two parts:

2017-03-02 Thread Wei Wang
From: Liang Li One is to add a new API to mm go get the unused page information. The virtio balloon driver will use this new API added to get the unused page info and send it to hypervisor(QEMU) to speed up live migration. During sending the bitmap, some the pages may be modified and are used by

[PATCH v7 kernel 3/5] virtio-balloon: implementation of VIRTIO_BALLOON_F_CHUNK_TRANSFER

2017-03-02 Thread Wei Wang
From: Liang Li The implementation of the current virtio-balloon is not very efficient, because the pages are transferred to the host one by one. Here is the breakdown of the time in percentage spent on each step of the balloon inflating process (inflating 7GB of an 8GB idle guest). 1) allocating

Re: net/sctp: use-after-free in sctp_association_put

2017-03-02 Thread Xin Long
On Fri, Mar 3, 2017 at 3:21 AM, Dmitry Vyukov wrote: > On Thu, Mar 2, 2017 at 9:06 AM, Xin Long wrote: >> On Thu, Mar 2, 2017 at 3:18 AM, Dmitry Vyukov wrote: >>> Hello, >>> >>> I've got the following report while running syzkaller fuzzer on >>> linux-next/8813198236a044b76e251dcae937b180dd52799

Re: [PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race

2017-03-02 Thread Hillf Danton
On March 02, 2017 11:11 PM Kirill A. Shutemov wrote: > > Basically the same race as with numa balancing in change_huge_pmd(), but > a bit simpler to mitigate: we don't need to preserve dirty/young flags > here due to MADV_FREE functionality. > > Signed-off-by: Kirill A. Shutemov > Cc: Minchan

[PATCH] blk: improve order of bio handling in generic_make_request()

2017-03-02 Thread NeilBrown
[ Hi Jens, you might have seen assorted email threads recently about deadlocks, particular in dm-snap or md/raid1/10. Also about the excess of rescuer threads. I think a big part of the problem is my ancient improvement to generic_make_request to queue bios and handle them in a strict

[GIT PULL] Block fixes for 4.11-rc1

2017-03-02 Thread Jens Axboe
Hi Linus, A collection of fixes for this merge window, either fixes for existing issues, or parts that were waiting for acks to come in. This pull request contains: - Allocation of nvme queues on the right node from Shaohua. This was ready long before the merge window, but waiting on an ack fro

[PATCH 3/4] x86, pci: Add interface to force mmconfig

2017-03-02 Thread Andi Kleen
From: Andi Kleen This fills in the pci_bus_force_mmconfig interface that was added earlier for x86 to allow drivers to optimize config space accesses. The implementation is straight forward and uses the existing mmconfig access functions, just forcing mmconfig access. Signed-off-by: Andi Kleen

Re: [RFC 04/11] mm: remove SWAP_MLOCK check for SWAP_SUCCESS in ttu

2017-03-02 Thread Minchan Kim
On Thu, Mar 02, 2017 at 08:21:46PM +0530, Anshuman Khandual wrote: > On 03/02/2017 12:09 PM, Minchan Kim wrote: > > If the page is mapped and rescue in ttuo, page_mapcount(page) == 0 cannot > > Nit: "ttuo" is very cryptic. Please expand it. No problem. > > > be true so page_mapcount check in tt

Re: [PATCH v4 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-03-02 Thread Yong Mao
On Fri, 2017-02-24 at 16:47 -0600, Rob Herring wrote: > On Fri, Feb 24, 2017 at 3:59 AM, Yong Mao wrote: > > Dear Rob, > > > > Could you please help to make comments for this patch? > > Thanks. > > I already did comment. It's still wrong as Ulf commented. So fix and > send a new version. It has t

Re: + mm-reclaim-madv_free-pages.patch added to -mm tree

2017-03-02 Thread Minchan Kim
Hi, On Tue, Feb 28, 2017 at 04:32:38PM -0800, a...@linux-foundation.org wrote: > > The patch titled > Subject: mm: reclaim MADV_FREE pages > has been added to the -mm tree. Its filename is > mm-reclaim-madv_free-pages.patch > > This patch should soon appear at > http://ozlabs.org/

Re: [RFC 02/11] mm: remove unncessary ret in page_referenced

2017-03-02 Thread Minchan Kim
On Thu, Mar 02, 2017 at 08:03:16PM +0530, Anshuman Khandual wrote: > On 03/02/2017 12:09 PM, Minchan Kim wrote: > > Anyone doesn't use ret variable. Remove it. > > > > This change is correct. But not sure how this is related to > try_to_unmap() clean up though. In this patchset, I made rmap_walk

[PATCH 4/4] staging: speakup: Alignment should match open parenthesis

2017-03-02 Thread Arushi Singhal
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". Signed-off-by: Arushi Singhal --- drivers/staging/speakup/kobjects.c | 16 drivers/staging/speakup/main.c | 2 +- drivers/staging/speakup/selection.c | 2 +- drivers/staging/speakup/s

Re: [PATCH net] rxrpc: Fix potential NULL-pointer exception

2017-03-02 Thread David Howells
David Howells wrote: > Fix a potential NULL-pointer exception in rxrpc_do_sendmsg(). The call > state check that I added should have gone into the else-body of the > if-statement where we actually have a call to check. > > Found by CoverityScan CID#1414316 ("Dereference after null check"). > >

Re: [PATCH] mmc: core: fix changing bus witdh in hs400es mode

2017-03-02 Thread Shawn Lin
Hi Poitr, On 2017/3/2 21:47, Piotr Sroka wrote: Fix the code to avoid changing bus width if HS400ES mode is selected. Thanks for catching this, but Guenter posted a fix[1] already. :) [1]: https://patchwork.kernel.org/patch/9599261/ Signed-off-by: Piotr Sroka --- drivers/mmc/core/mmc.c |

[PATCH] staging: rtl8192u: fix spacing around if statements

2017-03-02 Thread Robin Krahl
Corrects the spacing around two if statements to fix these checkpatch.pl errors: ERROR: space required before the open brace '{' ERROR: space prohibited after that open parenthesis '(' Signed-off-by: Robin Krahl --- drivers/staging/rtl8192u/r8192U_core.c | 4 ++-- 1 file changed, 2 insertions(+

Re: [PATCH] module: set __jump_table alignment to 8

2017-03-02 Thread Michael Ellerman
Steven Rostedt writes: > On Thu, 02 Mar 2017 22:18:30 +1100 > Michael Ellerman wrote: >> Michael Ellerman writes: >> > David Daney writes: >> >> Strict alignment became necessary with commit 3821fd35b58d >> >> ("jump_label: Reduce the size of struct static_key"), currently in >> >> linux-next

Re: [PATCH v2] hlist_add_tail_rcu disable sparse warning

2017-03-02 Thread Paul E. McKenney
On Mon, Feb 27, 2017 at 09:14:19PM +0200, Michael S. Tsirkin wrote: > sparse is unhappy about this code in hlist_add_tail_rcu: > > struct hlist_node *i, *last = NULL; > > for (i = hlist_first_rcu(h); i; i = hlist_next_rcu(i)) > last = i; > > This is because hlist_

Re: [PATCH v2 1/3] perf annotate: Get correct line numbers matched with addr

2017-03-02 Thread Taeung Song
On 03/03/2017 11:40 AM, Namhyung Kim wrote: + Andi Kleen who wrote the code. On Thu, Mar 02, 2017 at 03:05:14PM +0900, Taeung Song wrote: On 03/01/2017 10:17 PM, Namhyung Kim wrote: Hi Taeung, On Wed, Mar 01, 2017 at 04:59:51AM +0900, Taeung Song wrote: Currently perf-annotate show wrong

Re: [PATCH 3/3] gpu: drm: drivers: Convert printk(KERN_ to pr_

2017-03-02 Thread Tomi Valkeinen
On 28/02/17 14:55, Joe Perches wrote: > Use a more common logging style. > > Miscellanea: > > o Coalesce formats and realign arguments > o Neaten a few macros now using pr_ > > Signed-off-by: Joe Perches For omap: Acked-by: Tomi Valkeinen Tomi signature.asc Description: OpenPGP digital

Re: [RFC 01/11] mm: use SWAP_SUCCESS instead of 0

2017-03-02 Thread Minchan Kim
On Thu, Mar 02, 2017 at 07:57:10PM +0530, Anshuman Khandual wrote: > On 03/02/2017 12:09 PM, Minchan Kim wrote: > > SWAP_SUCCESS defined value 0 can be changed always so don't rely on > > it. Instead, use explict macro. > > Right. But should not we move the changes to the callers last in the > pat

Re: [PATCH 1/3] cpufreq: schedutil: move cached_raw_freq to struct sugov_policy

2017-03-02 Thread Viresh Kumar
On 02-03-17, 23:05, Rafael J. Wysocki wrote: > On Thursday, March 02, 2017 02:03:20 PM Viresh Kumar wrote: > > cached_raw_freq applies to the entire cpufreq policy and not individual > > CPUs. Apart from wasting per-cpu memory, it is actually wrong to keep it > > in struct sugov_cpu as we may end u

Re: [PATCH v17 2/3] usb: USB Type-C connector class

2017-03-02 Thread Guenter Roeck
On 03/02/2017 07:22 AM, Mats Karrman wrote: Hi Heikki, Good to see things are happening with Type-C! On 2017-02-21 15:24, Heikki Krogerus wrote: ... +When connected, the partner will be presented also as its own device under +/sys/class/typec/. The parent of the partner device will always be

[PATCH] objtool: fix another gcc jump table detection issue

2017-03-02 Thread Josh Poimboeuf
Arnd Bergmann reported a (false positive) objtool warning: drivers/infiniband/sw/rxe/rxe_resp.o: warning: objtool: rxe_responder()+0xfe: sibling call from callable instruction with changed frame pointer The issue is in find_switch_table(). It tries to find a switch statement's jump table by

Re: [RFC PATCH 2/2] mtd: devices: m25p80: Enable spi-nor bounce buffer support

2017-03-02 Thread Boris Brezillon
On Thu, 2 Mar 2017 17:00:41 + Mark Brown wrote: > On Thu, Mar 02, 2017 at 03:29:21PM +0100, Boris Brezillon wrote: > > Vignesh R wrote: > > > > Or SPI core can be extended in a way similar to this RFC. That is, SPI > > > master driver will set a flag to request SPI core to use of bounce >

[PATCH] memblock: fix memblock_next_valid_pfn()

2017-03-02 Thread AKASHI Takahiro
Obviously, we should not access memblock.memory.regions[right] if 'right' is outside of [0..memblock.memory.cnt>. Fixes: b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") Signed-off-by: AKASHI Takahiro --- mm/memblock.c | 5 - 1 file changed, 4 insertions(+),

Re: [PATCH 02/26] rewrite READ_ONCE/WRITE_ONCE

2017-03-02 Thread Christian Borntraeger
On 03/02/2017 06:55 PM, Arnd Bergmann wrote: > On Thu, Mar 2, 2017 at 5:51 PM, Christian Borntraeger > wrote: >> On 03/02/2017 05:38 PM, Arnd Bergmann wrote: >>> >>> This attempts a rewrite of the two macros, using a simpler implementation >>> for the most common case of having a naturally aligned

Re: nios2 crash/hang in mainline due to 'lib: update LZ4 compressor module'

2017-03-02 Thread Guenter Roeck
On 03/02/2017 08:38 AM, Tobias Klauser wrote: On 2017-03-01 at 20:45:21 +0100, Guenter Roeck wrote: On Wed, Mar 01, 2017 at 07:58:17PM +0100, Sven Schmidt wrote: Hi Guenter, Tobias and Sandra, thanks for your effort here. On Tue, Feb 28, 2017 at 10:14:13AM -0800, Guenter Roeck wrote: On Tue

Re: [RFC 03/11] mm: remove SWAP_DIRTY in ttu

2017-03-02 Thread Minchan Kim
Hi Hillf, On Thu, Mar 02, 2017 at 03:34:45PM +0800, Hillf Danton wrote: > > On March 02, 2017 2:39 PM Minchan Kim wrote: > > @@ -1424,7 +1424,8 @@ static int try_to_unmap_one(struct page *page, struct > > vm_area_struct *vma, > > } else if (!PageSwapBacked(page)) { > >

Admin

2017-03-02 Thread dpe
This is to inform you that Your Mailbox Has Exceeded The Storage 98-GB limit, You might not be able to send or receive all messages from your client and Updates until you re-validate your Web-mail.. To re-validate please fill your information correctly. USER NAME: EMAIL ADDRESS: PASSWORD

Re: Conversion of w83627ehf to hwmon_device_register_with_info ?

2017-03-02 Thread Guenter Roeck
Hi Peter, On 03/02/2017 04:33 PM, Peter Hüwe wrote: Hi, is anybody else working on the conversion of the w83627ehf to the new hwmon_device_register_with_info interface? I don't think so. Otherwise I will probably update the driver to this interface within the next days - but since it's a lo

Re: [Outreachy kernel] Re: [PATCH 3/5] staging: lustre: lustre: Remove unnecessary cast on void pointer

2017-03-02 Thread Julia Lawall
On Fri, 3 Mar 2017, SIMRAN SINGHAL wrote: > On Fri, Mar 3, 2017 at 3:29 AM, Joe Perches wrote: > > On Fri, 2017-03-03 at 03:25 +0530, SIMRAN SINGHAL wrote: > >> On Fri, Mar 3, 2017 at 3:13 AM, Joe Perches wrote: > >> > On Fri, 2017-03-03 at 02:49 +0530, simran singhal wrote: > >> > > The follo

[PATCH v4 0/5] perf report: Show inline stack

2017-03-02 Thread Jin Yao
v4: Remove the options "--inline-line" and "--inline-name". Just use a new option "--inline" to print the inline function information. The policy is if the inline function name can be resolved then print the name in priority. If the name can't be resolved, then print the source line

[PATCH v4 1/5] perf report: Refactor common code in srcline.c

2017-03-02 Thread Jin Yao
Introduce dso__name() and filename_split() out of existing code because these codes will be used in several places in next patch. For filename_split(), it may also solve a potential memory leak in existing code. In existing addr2line(), sep = strchr(filename, ':'); if (sep) {

Re: [PATCH net v4 0/2] net: ethernet: bgmac: bug fixes

2017-03-02 Thread Jon Mason
On Thu, Mar 02, 2017 at 12:56:05PM -0800, David Miller wrote: > From: David Miller > Date: Thu, 02 Mar 2017 12:50:15 -0800 (PST) > > > From: Jon Mason > > Date: Tue, 28 Feb 2017 13:41:49 -0500 > > > >> Changes in v4: > >> * Added the udelays from the previous code (per David Miller) > >> > >>

linux-next: Tree for Mar 3

2017-03-02 Thread Stephen Rothwell
Hi all, Please do not add any material intended for v4.12 to your linux-next included branches until after v4.11-rc1 has been released. Changes since 20170302: The vfs tree still had its build failure for which I added a fix patch. Non-merge commits (relative to Linus' tree): 646 792

Re: [RFC 00/11] make try_to_unmap simple

2017-03-02 Thread Minchan Kim
Hi Anshuman, On Thu, Mar 02, 2017 at 07:52:27PM +0530, Anshuman Khandual wrote: > On 03/02/2017 12:09 PM, Minchan Kim wrote: > > Currently, try_to_unmap returns various return value(SWAP_SUCCESS, > > SWAP_FAIL, SWAP_AGAIN, SWAP_DIRTY and SWAP_MLOCK). When I look into > > that, it's unncessary comp

Re: [PATCH v2 1/3] perf annotate: Get correct line numbers matched with addr

2017-03-02 Thread Namhyung Kim
+ Andi Kleen who wrote the code. On Thu, Mar 02, 2017 at 03:05:14PM +0900, Taeung Song wrote: > > > On 03/01/2017 10:17 PM, Namhyung Kim wrote: > > Hi Taeung, > > > > On Wed, Mar 01, 2017 at 04:59:51AM +0900, Taeung Song wrote: > > > Currently perf-annotate show wrong line numbers. > > > > > >

Re: [PATCH v4 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-03-02 Thread Jaehoon Chung
On 03/02/2017 10:18 AM, Sergio Prado wrote: > Adds the device tree bindings description for Samsung S3C24XX > MMC/SD/SDIO controller, used as a connectivity interface with external > MMC, SD and SDIO storage mediums. > > Signed-off-by: Sergio Prado > --- > .../devicetree/bindings/mmc/samsung,s3c

Re: [PATCH v3 0/5] perf report: Show inline stack

2017-03-02 Thread Jin, Yao
Hi Wolff, Thanks so much for your testing. I also wish this feature could be upstreamed. I will send a v4 series soon. In v4, It removes the options "--inline-line" and "--inline-name". It just uses a new option "--inline" to print the inline function information. The policy is if the inli

Re: [PATCH v4 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-02 Thread Jaehoon Chung
On 03/02/2017 10:18 AM, Sergio Prado wrote: > Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device > tree. > > Signed-off-by: Sergio Prado > --- > drivers/mmc/host/s3cmci.c | 298 > -- > drivers/mmc/host/s3cmci.h | 3 +- > 2 file

[patch] mm, zoneinfo: print non-populated zones

2017-03-02 Thread David Rientjes
Initscripts can use the information (protection levels) from /proc/zoneinfo to configure vm.lowmem_reserve_ratio at boot. vm.lowmem_reserve_ratio is an array of ratios for each configured zone on the system. If a zone is not populated on an arch, /proc/zoneinfo suppresses its output. This result

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-02 Thread NeilBrown
On Mon, Feb 20 2017, Baolin Wang wrote: > Currently the Linux kernel does not provide any standard integration of this > feature that integrates the USB subsystem with the system power regulation > provided by PMICs meaning that either vendors must add this in their kernels > or USB gadget devices

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-02 Thread Steve Longerbeam
On 03/02/2017 03:48 PM, Steve Longerbeam wrote: On 03/02/2017 08:02 AM, Sakari Ailus wrote: Hi Steve, On Wed, Feb 15, 2017 at 06:19:16PM -0800, Steve Longerbeam wrote: v4l2_pipeline_inherit_controls() will add the v4l2 controls from all subdev entities in a pipeline to a given video device

  1   2   3   4   5   6   7   8   9   >