Re: [PATCH v2 5/5] clk: pxa: transfer CPU clock setting from pxa2xx-cpufreq

2016-11-01 Thread Stephen Boyd
On 10/23, Robert Jarzmik wrote: > diff --git a/drivers/clk/pxa/clk-pxa.c b/drivers/clk/pxa/clk-pxa.c > index 29cee9e8d4d9..7184819b7415 100644 > --- a/drivers/clk/pxa/clk-pxa.c > +++ b/drivers/clk/pxa/clk-pxa.c > @@ -15,9 +15,18 @@ > #include > #include > > +#include > +#include This is un

Re: [PATCH v2 3/5] clk: pxa: b bit of clkcfg means fast bus

2016-11-01 Thread Stephen Boyd
On 10/23, Robert Jarzmik wrote: > The meaning of this bit was inverted : > - when set to 0, system bus clock is half of the CPU run clock > - when set to 1, system bus clock is the CPU run clock > > Signed-off-by: Robert Jarzmik > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. i

Re: [PATCH v2 1/5] clk: pxa: remove unused variables

2016-11-01 Thread Stephen Boyd
On 10/23, Robert Jarzmik wrote: > This is a cleanup patch to remove unused values not used in their > respective functions. > > Signed-off-by: Robert Jarzmik > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH v2 2/5] clk: pxa: core pll is not affected by t bit

2016-11-01 Thread Stephen Boyd
On 10/23, Robert Jarzmik wrote: > The t bit of clkfcfg doesn't affect the core pll clock, but it makes core > clock select between core pll clock and core run clock. > > As such remove it from the core pll rate reporting function, while it > remains in clk_pxa27x_core_get_parent(). > > Signed-off

Re: [PATCH v2 4/5] clk: pxa: export core clocks

2016-11-01 Thread Stephen Boyd
On 10/23, Robert Jarzmik wrote: > pxaxxx_get_clk_frequency_khz() needs several clocks to be available > through clk_get(), ie. the cpu clocks, system bus clock and memory > clocks. > > Add the missing clkdev so that their rate can be acquired. > > Signed-off-by: Robert Jarzmik > --- Applied to

Re: [PATCH net-next 04/11] net: dsa: mv88e6xxx: add port FID accessors

2016-11-01 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: >> --- a/drivers/net/dsa/mv88e6xxx/port.c >> +++ b/drivers/net/dsa/mv88e6xxx/port.c >> @@ -61,6 +61,8 @@ int mv88e6xxx_port_set_state(struct mv88e6xxx_chip *chip, >> int port, u8 state) >> return 0; >> } >> >> +/* Offset 0x05: Port Control 1 */ >> + >> /*

Re: tmpfs returns incorrect data on concurrent pread() and truncate()

2016-11-01 Thread Dave Chinner
On Tue, Nov 01, 2016 at 04:51:30PM -0700, Hugh Dickins wrote: > On Wed, 26 Oct 2016, Jakob Unterwurzacher wrote: > > > tmpfs seems to be incorrectly returning 0-bytes when reading from > > a file that is concurrently being truncated. > > That is an interesting observation, and you got me worried;

Re: [PATCH 9/9] clocksource: import ARC timer driver

2016-11-01 Thread Vineet Gupta
On 11/01/2016 05:19 PM, Daniel Lezcano wrote: >>> >>> One question: >>> >>> Why ARC_TIMER_RTC can't be used in a SMP system ? Doesn't have each core its >>> own clocksource ? It seems you are assuming a clocksource can be used on SMP >>> only if the clocksource is unique and shared across the cores

Re: [Qemu-devel] [PATCH v10 00/19] Add Mediated device support

2016-11-01 Thread Jike Song
On 11/01/2016 11:24 PM, Gerd Hoffmann wrote: >> I rebased KVMGT upon v10, with 2 minor changes: >> >> 1, get_user_pages_remote has only 7 args > > Appears to be a 4.9 merge window change. v10 as-is applies and builds > fine against 4.8, after rebasing to 4.9-rc3 it stops building due to > th

[PATCH 1/1] xen-netfront: cast grant table reference first to type int

2016-11-01 Thread Dongli Zhang
IS_ERR_VALUE() in commit 87557efc27f6a50140fb20df06a917f368ce3c66 ("xen-netfront: do not cast grant table reference to signed short") would not return true for error code unless we cast ref first to type int. Signed-off-by: Dongli Zhang --- drivers/net/xen-netfront.c | 4 ++-- 1 file changed, 2

Re: [PATCH net-next 07/11] net: dsa: mv88e6xxx: add port link setter

2016-11-01 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: >> +#define LINK_UNKNOWN-1 >> + >> +/* Port's MAC link state >> + * LINK_UNKNOWN for normal link detection, 0 to force link down, >> + * otherwise force link up. >> + */ >> +int (*port_set_link)(struct mv88e6xxx_chip *chip, int port, int

Re: [PATCH net-next 08/11] net: dsa: mv88e6xxx: add port duplex setter

2016-11-01 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: >> int (*port_set_link)(struct mv88e6xxx_chip *chip, int port, int link); >> + >> +/* Port's MAC duplex mode >> + * >> + * Use DUPLEX_HALF or DUPLEX_FULL to force half or full duplex, or >> + * DUPLEX_UNKNOWN for normal duplex detection. >> +

Re: [PATCH] rtl8xxxu: Fix for agressive power saving by rtl8723bu wireless IC

2016-11-01 Thread John Heenan
Barry Day has submitted real world reports for the 8192eu and 8192cu. This needs to be acknowledged. I have submitted real world reports for the 8723bu. When it comes down to it, it looks like the kernel code changes are really going to be very trivial to fix this problem and we need to take the f

[PATCH v3] drm: bridge: add DesignWare HDMI I2S audio support

2016-11-01 Thread Kuninori Morimoto
From: Kuninori Morimoto Current dw-hdmi is supporting sound via AHB bus, but it has I2S audio feature too. This patch adds I2S audio support to dw-hdmi. This HDMI I2S is supported by using ALSA SoC common HDMI encoder driver. Tested-by: Jose Abreu Signed-off-by: Kuninori Morimoto --- v2 -> v3

Re: [PATCH v3 1/7] clk: qcom: ipq4019: Added the clock nodes and operations for pll

2016-11-01 Thread Stephen Boyd
On 09/21, Abhishek Sahu wrote: > The current ipq4019 clock driver registered the PLL clocks and > dividers as fixed clock. These fixed clock needs to be removed > from driver probe function and same need to be registered with > clock framework. These PLL clocks should be programmed only > once and

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-01 Thread Alexey Kardashevskiy
On 02/11/16 01:01, Kirti Wankhede wrote: > > > On 10/28/2016 7:48 AM, Alexey Kardashevskiy wrote: >> On 27/10/16 23:31, Kirti Wankhede wrote: >>> >>> >>> On 10/27/2016 12:50 PM, Alexey Kardashevskiy wrote: On 18/10/16 08:22, Kirti Wankhede wrote: > VFIO IOMMU drivers are designed for the

Re: [PATCH v3 4/7] clk: qcom: ipq4019: Added all the frequencies for apps cpu

2016-11-01 Thread Stephen Boyd
On 09/21, Abhishek Sahu wrote: > The APPS CPU clock does not contain all the frequencies in its > frequency table so this patch adds the same. > > Signed-off-by: Abhishek Sahu > --- > drivers/clk/qcom/gcc-ipq4019.c | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --

Re: [PATCH v3 5/7] clk: qcom: ipq4019: corrected sdcc frequency and parent name

2016-11-01 Thread Stephen Boyd
On 09/21, Abhishek Sahu wrote: > 1. The parent for sdcc clock is sdccpll so corrected the same >in its parent map. > 2. The frequency value was wrong so changed to correct >frequency. > > Signed-off-by: Abhishek Sahu > --- > drivers/clk/qcom/gcc-ipq4019.c | 16 > 1 file

Re: [PATCH v3 6/7] clk: qcom: ipq4019: changed the frequency value for ddr pll

2016-11-01 Thread Stephen Boyd
On 09/21, Abhishek Sahu wrote: > diff --git a/drivers/clk/qcom/gcc-ipq4019.c b/drivers/clk/qcom/gcc-ipq4019.c > index b2decd5..a2809db 100644 > --- a/drivers/clk/qcom/gcc-ipq4019.c > +++ b/drivers/clk/qcom/gcc-ipq4019.c > @@ -546,7 +546,7 @@ static const struct freq_tbl ftbl_gcc_sdcc1_apps_clk[] =

Re: [PATCH] kobject: set state_initialized to 0 in kobject_cleanup

2016-11-01 Thread Wu, Songjun
On 11/1/2016 22:56, Greg KH wrote: On Tue, Nov 01, 2016 at 06:41:44PM +0800, Songjun Wu wrote: If state_initialized is not set to 0 when a kobject is released, a device is registered, unregistered, and registered again, the error below will occur. kobject (dec04bb0): tried to init an initiali

Re: [PATCH v3 7/7] clk: qcom: ipq4019: changed i2c freq table

2016-11-01 Thread Stephen Boyd
On 09/21, Abhishek Sahu wrote: > The current I2C freq table uses MND values which is not > applicable for I2C since its RCG does not have MND > counter. This patch updates the freq table for 19.05 > MHz clk frequency with FEPLL_200 parent. That's concerning given that we read the registers, but I

Re: [linux-sunxi] Re: [PATCH v3 1/2] drm/bridge: dumb-vga-dac: Support a VDD regulator supply

2016-11-01 Thread Chen-Yu Tsai
On Mon, Oct 31, 2016 at 2:28 PM, Rob Herring wrote: > On Sat, Oct 29, 2016 at 07:06:10PM +0800, Chen-Yu Tsai wrote: >> Some dumb VGA DACs are active components which require external power. >> Add support for specifying a regulator as its power supply. >> >> Signed-off-by: Chen-Yu Tsai >> --- >>

Re: [PATCH] kexec: Export memory sections virtual addresses to vmcoreinfo

2016-11-01 Thread Baoquan He
Hi Dave, On 11/01/16 at 10:13am, Dave Anderson wrote: > > > > > But we have this in mainline which also introduced the VMCOREINFO > > > numbers, can you send a patch to revert them? > > > > OK, will do. > > > > However for find_vmemmap_x86_64() in makedumpfile, vmemmap_start is > > still neede

Re: tmpfs returns incorrect data on concurrent pread() and truncate()

2016-11-01 Thread Hugh Dickins
On Wed, 2 Nov 2016, Dave Chinner wrote: > On Tue, Nov 01, 2016 at 04:51:30PM -0700, Hugh Dickins wrote: > > On Wed, 26 Oct 2016, Jakob Unterwurzacher wrote: > > > > > tmpfs seems to be incorrectly returning 0-bytes when reading from > > > a file that is concurrently being truncated. > > > > That

Re: [PATCH 0/4 v2] Audio support for adv7511 hdmi bridge

2016-11-01 Thread Kuninori Morimoto
Hi John > > Above patch is using normal simple-card style for HDMI sound, but as Laurent > > said we want to use same DT style for HDMI video and sound (= OF graph > > style). > > Fortunately, I posted patch-set for OF graph support on sound card > > yesterday. > > Can you check this ? > > http

[PATCH V4] mtd: nand: add Loongson1 NAND driver

2016-11-01 Thread Keguang Zhang
From: Kelvin Cheung This patch adds NAND driver for Loongson1B. Signed-off-by: Kelvin Cheung --- v4: Retrieve the controller from nand_hw_control. v3: Replace __raw_readl/__raw_writel with readl/writel. Split ls1x_nand into two structures: ls1x_nand_chip and ls1x_nand_controller. V

Re: [PATCH 45/60] block: bio: introduce bio_for_each_segment_all_rd() and its write pair

2016-11-01 Thread Ming Lei
On Tue, Nov 1, 2016 at 10:17 PM, Theodore Ts'o wrote: > On Tue, Nov 01, 2016 at 07:51:27AM +0800, Ming Lei wrote: >> Sorry for forgetting to mention one important point: >> >> - after multipage bvec is introduced, the iterated bvec pointer >> still points to singlge page bvec, which is generated i

[PATCH] arch: blackfin: fix spelling mistake

2016-11-01 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake "parition" to "partition" in pr_info message Signed-off-by: Colin Ian King --- arch/blackfin/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index

Re: [GIT PULL] seccomp fixes for v4.9-rc4

2016-11-01 Thread Kees Cook
On Tue, Nov 1, 2016 at 4:43 PM, James Morris wrote: > On Tue, 1 Nov 2016, Kees Cook wrote: > >> Hi, >> >> Please pull these seccomp fixes for v4.9-rc4. > >> >> - fix function prototype documentation >> - fix samples to include NNP se

[PATCH] crypto: talitos: fix spelling mistake

2016-11-01 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake "pointeur" to "pointer" in dev_err message Signed-off-by: Colin Ian King --- drivers/crypto/talitos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index 0418a2f..0bba

[PATCH] drm/exynos: gsc: fix spelling mistakes

2016-11-01 Thread Colin King
From: Colin Ian King Trivial fixes to spelling mistakes "precalser" to "prescaler" in dev_err messages Signed-off-by: Colin Ian King --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --gi

Re: [PATCH] ARM: spear: Fix error handling

2016-11-01 Thread Viresh Kumar
On Sat, Oct 29, 2016 at 7:28 PM, Christophe JAILLET wrote: > 'clk_get_sys()' returns an error pointer in case of error, not NULL. So > test it with IS_ERR. > > Signed-off-by: Christophe JAILLET > --- > arch/arm/mach-spear/time.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by:

[PATCH] Use -mcount-record for dynamic ftrace

2016-11-01 Thread Andi Kleen
From: Andi Kleen gcc 5 supports a new -mcount-record option to generate ftrace tables directly. This avoids the need to run record_mcount manually. Use this option when available. It also has a -mcount-nop option to generate the mcount calls as nops. So far that is not implemented, but it could

[PATCH RFC 3/4] [media] subdev-formats.rst: don't use adjustbox on a longtable

2016-11-01 Thread Mauro Carvalho Chehab
adjustbox doesn't work on longtables. Also, this causes an error on LaTeX in interactive mode. So, use, instead, a tiny font. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/subdev-formats.rst | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/

[PATCH RFC 2/4] [media] subdev-formats.rst: we need a pdf picture for bayer

2016-11-01 Thread Mauro Carvalho Chehab
The png picture is not ok on Sphinx 1.4.8. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/subdev-formats.rst | 4 +--- .../media/uapi/v4l/subdev-formats_files/bayer.pdf | Bin 0 -> 11131 bytes 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100

[PATCH 1/1] usb: xhci: remove the use of xhci->addr_dev

2016-11-01 Thread Lu Baolu
xhci->addr_dev is used for the completion of both address device and enable slot commands. It's shared by enumerations of all USB devices connected to an xhci host. Hence, it's just a source for possible races. Since we've introduced command structure and the command queue to xhci driver. It is ti

Re: [RFC v3 2/6] Improve the tracking of active utilisation

2016-11-01 Thread luca abeni
On Tue, 1 Nov 2016 22:46:33 +0100 luca abeni wrote: [...] > > > @@ -1074,6 +1161,14 @@ select_task_rq_dl(struct task_struct *p, int cpu, > > > int sd_flag, int flags) > > > } > > > rcu_read_unlock(); > > > > > > + rq = task_rq(p); > > > + raw_spin_lock(&rq->lock); > > > + if (hrtimer_active

[PATCH v1] iio: adc: at91: add suspend and resume callback

2016-11-01 Thread Wenyou Yang
Add suspend/resume callback, support the pinctrl sleep state when the system suspend as well. Signed-off-by: Wenyou Yang --- drivers/iio/adc/at91_adc.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.

Re: [RFC v3 2/6] Improve the tracking of active utilisation

2016-11-01 Thread luca abeni
On Mon, 24 Oct 2016 16:06:34 +0200 Luca Abeni wrote: [...] > @@ -514,7 +556,20 @@ static void update_dl_entity(struct sched_dl_entity > *dl_se, > struct dl_rq *dl_rq = dl_rq_of_se(dl_se); > struct rq *rq = rq_of_dl_rq(dl_rq); > > - add_running_bw(dl_se, dl_rq); > + if (hrtim

Re: [PATCH] drm/exynos: gsc: fix spelling mistakes

2016-11-01 Thread Javier Martinez Canillas
Hello Colin, On 11/01/2016 11:23 PM, Colin King wrote: > From: Colin Ian King > > Trivial fixes to spelling mistakes "precalser" to "prescaler" > in dev_err messages > > Signed-off-by: Colin Ian King > --- Reviewed-by: Javier Martinez Canillas Best regards, -- Javier Martinez Canillas Open

[PATCH] staging: vt6655: card.c: Fixing multiple assignments

2016-11-01 Thread Nick Rosbrook
Running checkpath on card.c shows two locations where multiple assignments are used. This patch modifies the assignments into single assignments. Signed-off-by: Nick Rosbrook --- drivers/staging/vt6655/card.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/sta

Re: [PATCH 45/60] block: bio: introduce bio_for_each_segment_all_rd() and its write pair

2016-11-01 Thread Kent Overstreet
On Mon, Oct 31, 2016 at 08:11:23AM -0700, Christoph Hellwig wrote: > On Mon, Oct 31, 2016 at 09:59:43AM -0400, Theodore Ts'o wrote: > > What is _rd and _wt supposed to stand for? > > I think it's read and write, but I think the naming is highly > unfortunate. I started dabbling around with the pa

[PATCH v2] ARM: at91/dt: add dts file for sama5d36ek CMP board

2016-11-01 Thread Wenyou Yang
The sama5d36ek CMP board is the variant of sama5d3xek board. It is equipped with the low-power DDR2 SDRAM, PMIC ACT8865 and some power rail. Its main purpose is used to measure the power consumption. The difference of the sama5d36ek CMP dts from sama5d36ek dts is listed as below. 1. The USB host n

Re: [PATCH 28/60] block: introduce QUEUE_FLAG_SPLIT_MP

2016-11-01 Thread Kent Overstreet
On Mon, Oct 31, 2016 at 08:39:15AM -0700, Christoph Hellwig wrote: > On Sat, Oct 29, 2016 at 04:08:27PM +0800, Ming Lei wrote: > > Some drivers(such as dm) should be capable of dealing with multipage > > bvec, but the incoming bio may be too big, such as, a new singlepage bvec > > bio can't be clon

Re: [PATCH 09/60] dm: dm.c: replace 'bio->bi_vcnt == 1' with !bio_multiple_segments

2016-11-01 Thread Kent Overstreet
On Mon, Oct 31, 2016 at 08:29:01AM -0700, Christoph Hellwig wrote: > On Sat, Oct 29, 2016 at 04:08:08PM +0800, Ming Lei wrote: > > Avoid to access .bi_vcnt directly, because it may be not what > > the driver expected any more after supporting multipage bvec. > > > > Signed-off-by: Ming Lei > > I

Re: [PATCH 1/1] mm/hugetlb: fix huge page reservation leak in private mapping error paths

2016-11-01 Thread Hillf Danton
On Wednesday, November 02, 2016 12:37 AM Mike Kravetz wrote: > On 10/19/2016 08:11 PM, Mike Kravetz wrote: > > Error paths in hugetlb_cow() and hugetlb_no_page() may free a newly > > allocated huge page. If a reservation was associated with the huge > > page, alloc_huge_page() consumed the reserva

Re: Kernel regression introduced by "e1000e: Do not write lsc to ics in msi-x mode" and/or "e1000e: Do not read ICR in Other interrupt"

2016-11-01 Thread Benjamin Poirier
On 2016/11/01 19:56, Jack Suter wrote: > Hi there, > > I have some servers with an 82574L based NIC and recently upgraded from > a 4.4 series kernel to 4.7. Upon doing so, servers with this chipset > have begun frequently reporting "Link is Down" and "Link is Up" > messages. No other related netwo

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-01 Thread Kirti Wankhede
On 11/2/2016 6:54 AM, Alexey Kardashevskiy wrote: > On 02/11/16 01:01, Kirti Wankhede wrote: >> >> >> On 10/28/2016 7:48 AM, Alexey Kardashevskiy wrote: >>> On 27/10/16 23:31, Kirti Wankhede wrote: On 10/27/2016 12:50 PM, Alexey Kardashevskiy wrote: > On 18/10/16 08:22, Kirti W

Re: [PATCH v2 2/2] PM / sleep: don't suspend parent when async child suspend_{noirq,late} fails

2016-11-01 Thread Rafael J. Wysocki
On Tuesday, November 01, 2016 12:04:28 AM Dmitry Torokhov wrote: > On Mon, Oct 31, 2016 at 10:25 PM, Rafael J. Wysocki > wrote: > > On Thursday, October 27, 2016 09:05:34 AM Brian Norris wrote: > >> Consider two devices, A and B, where B is a child of A, and B utilizes > >> asynchronous suspend (

Re: [RFC PATCH 0/6] UART slave devices using serio

2016-11-01 Thread Rob Herring
On Mon, Oct 31, 2016 at 10:40 PM, Rob Herring wrote: > On Mon, Oct 31, 2016 at 3:00 PM, Peter Hurley > wrote: >> On Tue, Oct 25, 2016 at 4:02 PM, Rob Herring wrote: >>> >>> > Maybe you can try to find some minutes at the Kernel Summit to talk >>> > about this? >>> >>> Still waiting for my invit

Re: tmpfs returns incorrect data on concurrent pread() and truncate()

2016-11-01 Thread Dave Chinner
On Tue, Nov 01, 2016 at 06:38:26PM -0700, Hugh Dickins wrote: > On Wed, 2 Nov 2016, Dave Chinner wrote: > > On Tue, Nov 01, 2016 at 04:51:30PM -0700, Hugh Dickins wrote: > > > On Wed, 26 Oct 2016, Jakob Unterwurzacher wrote: > > > > > > > tmpfs seems to be incorrectly returning 0-bytes when readin

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-01 Thread Alexey Kardashevskiy
On 02/11/16 14:29, Kirti Wankhede wrote: > > > On 11/2/2016 6:54 AM, Alexey Kardashevskiy wrote: >> On 02/11/16 01:01, Kirti Wankhede wrote: >>> >>> >>> On 10/28/2016 7:48 AM, Alexey Kardashevskiy wrote: On 27/10/16 23:31, Kirti Wankhede wrote: > > > On 10/27/2016 12:50 PM, Alexe

[PATCH v2] EFI loader: remove redundant code

2016-11-01 Thread Eugene Korenevsky
*e820ext is always NULL in 'alloc_e820ext()' (see the code of 'exit_boot()'). Without loss of generality we can replace freeing with returning EFI_INVALID_PARAMETER. So if the caller would ever incorrectly pass non-NULL *e820ext, he will obtain a returned error code. --- arch/x86/boot/compressed/

Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any transmitting time for tx only devices

2016-11-01 Thread Andi Shyti
Hi Sean, > > > Andi, it would be good to know what the use-case for the original change > > > is. > > > > the use case is the ir-spi itself which doesn't need the lirc to > > perform any waiting on its behalf. > > Here is the crux of the problem: in the ir-spi case no wait will actually > happ

Re: [PATCH v3 0/4] PXA cpufreq conversion to clock API

2016-11-01 Thread Viresh Kumar
On 31-10-16, 20:54, Robert Jarzmik wrote: > Hi, > > This serie is a preparation to shift the cpufreq of pxa2xx platforms to clocks > API, next iteration. > > The first 3 patches are review and merge material : > - patch 1/4 for Viresh and Rafael > - patches 2/4 and 3/4 for me > > The 4th on is

Re: [PATCH V3 0/9] PM / OPP: Multiple regulator support

2016-11-01 Thread Viresh Kumar
On 26-10-16, 12:02, Viresh Kumar wrote: > Hi, > > Some platforms (like TI) have complex DVFS configuration for CPU > devices, where multiple regulators are required to be configured to > change DVFS state of the device. This was explained well by Nishanth > earlier [1]. > > One of the major compl

Re: [PATCH] drm/nouveau/tegra: Fix error handling

2016-11-01 Thread Alexandre Courbot
On Mon, Oct 31, 2016 at 3:35 PM, Christophe JAILLET wrote: > 'iommu_domain_alloc()' returns NULL in case of error, not an error pointer. > So test it accordingly. > > Signed-off-by: Christophe JAILLET Reviewed-by: Alexandre Courbot Indeed. Thanks for the fix!

Re: [PATCH v2 2/2] PM / sleep: don't suspend parent when async child suspend_{noirq,late} fails

2016-11-01 Thread Brian Norris
+ more genpd folks On Wed, Nov 02, 2016 at 04:51:08AM +0100, Rafael J. Wysocki wrote: > On Tuesday, November 01, 2016 12:04:28 AM Dmitry Torokhov wrote: > > On Mon, Oct 31, 2016 at 10:25 PM, Rafael J. Wysocki > > wrote: > > > On Thursday, October 27, 2016 09:05:34 AM Brian Norris wrote: > > >> d

[PATCH v7 00/11] implement vcpu preempted check

2016-11-01 Thread Pan Xinhui
change from v6: fix typos and remove uncessary comments. change from v5: spilt x86/kvm patch into guest/host part. introduce kvm_write_guest_offset_cached. fix some typos. rebase patch onto 4.9.2 change from v4: spilt x86 kvm vcpu preempted check into

[PATCH v7 07/11] KVM: Introduce kvm_write_guest_offset_cached

2016-11-01 Thread Pan Xinhui
It allows us to update some status or field of one struct partially. We can also save one kvm_read_guest_cached if we just update one filed of the struct regardless of its current value. Signed-off-by: Pan Xinhui Acked-by: Paolo Bonzini --- include/linux/kvm_host.h | 2 ++ virt/kvm/kvm_main.c

[PATCH v7 05/11] s390/spinlock: Provide vcpu_is_preempted

2016-11-01 Thread Pan Xinhui
From: Christian Borntraeger this implements the s390 backend for commit "kernel/sched: introduce vcpu preempted check interface" by reworking the existing smp_vcpu_scheduled into arch_vcpu_is_preempted. We can then also get rid of the local cpu_is_preempted function by moving the CIF_ENABLED_WAIT

[PATCH v7 03/11] kernel/locking: Drop the overload of {mutex,rwsem}_spin_on_owner

2016-11-01 Thread Pan Xinhui
An over-committed guest with more vCPUs than pCPUs has a heavy overload in the two spin_on_owner. This blames on the lock holder preemption issue. Kernel has an interface bool vcpu_is_preempted(int cpu) to see if a vCPU is currently running or not. So break the spin loops on true condition. test-

[PATCH v7 01/11] kernel/sched: introduce vcpu preempted check interface

2016-11-01 Thread Pan Xinhui
This patch support to fix lock holder preemption issue. For kernel users, we could use bool vcpu_is_preempted(int cpu) to detect if one vcpu is preempted or not. The default implementation is a macro defined by false. So compiler can wrap it out if arch dose not support such vcpu preempted check.

[PATCH v7 04/11] powerpc/spinlock: support vcpu preempted check

2016-11-01 Thread Pan Xinhui
This is to fix some lock holder preemption issues. Some other locks implementation do a spin loop before acquiring the lock itself. Currently kernel has an interface of bool vcpu_is_preempted(int cpu). It takes the cpu as parameter and return true if the cpu is preempted. Then kernel can break the

[PATCH v7 02/11] locking/osq: Drop the overload of osq_lock()

2016-11-01 Thread Pan Xinhui
An over-committed guest with more vCPUs than pCPUs has a heavy overload in osq_lock(). This is because vCPU A hold the osq lock and yield out, vCPU B wait per_cpu node->locked to be set. IOW, vCPU B wait vCPU A to run and unlock the osq lock. Kernel has an interface bool vcpu_is_preempted(int cpu

[PATCH v7 09/11] x86, kernel/kvm.c: support vcpu preempted check

2016-11-01 Thread Pan Xinhui
Support the vcpu_is_preempted() functionality under KVM. This will enhance lock performance on overcommitted hosts (more runnable vcpus than physical cpus in the system) as doing busy waits for preempted vcpus will hurt system performance far worse than early yielding. struct kvm_steal_time::preem

[PATCH v7 06/11] x86, paravirt: Add interface to support kvm/xen vcpu preempted check

2016-11-01 Thread Pan Xinhui
This is to fix some lock holder preemption issues. Some other locks implementation do a spin loop before acquiring the lock itself. Currently kernel has an interface of bool vcpu_is_preempted(int cpu). It takes the cpu as parameter and return true if the cpu is preempted. Then kernel can break the

[PATCH v7 10/11] x86, xen: support vcpu preempted check

2016-11-01 Thread Pan Xinhui
From: Juergen Gross Support the vcpu_is_preempted() functionality under Xen. This will enhance lock performance on overcommitted hosts (more runnable vcpus than physical cpus in the system) as doing busy waits for preempted vcpus will hurt system performance far worse than early yielding. A quic

[PATCH v7 11/11] Documentation: virtual: kvm: Support vcpu preempted check

2016-11-01 Thread Pan Xinhui
Commit ("x86, kvm: support vcpu preempted check") add one field "__u8 preempted" into struct kvm_steal_time. This field tells if one vcpu is running or not. It is zero if 1) some old KVM deos not support this filed. 2) the vcpu is not preempted. Other values means the vcpu has been preempted. Sig

[PATCH v7 08/11] x86, kvm/x86.c: support vcpu preempted check

2016-11-01 Thread Pan Xinhui
Support the vcpu_is_preempted() functionality under KVM. This will enhance lock performance on overcommitted hosts (more runnable vcpus than physical cpus in the system) as doing busy waits for preempted vcpus will hurt system performance far worse than early yielding. Use one field of struct kvm_

Re: [PATCH V4] pinctrl: qcom: Add msm8994 pinctrl driver

2016-11-01 Thread Michael Scott
On 11/01/2016 04:53 PM, Stephen Boyd wrote: On 10/31, Michael Scott wrote: + +static const struct msm_pingroup msm8994_groups[] = { + PINGROUP(0, blsp_spi1, blsp_uart1, blsp_uim1, NA, NA, NA, NA, NA, NA, +NA, NA), I see an hdmi_rcv group here after blsp_uim1. Please add

Re: [PATCH v2] ARM: at91/dt: add dts file for sama5d36ek CMP board

2016-11-01 Thread kbuild test robot
Hi Wenyou, [auto build test ERROR on at91/at91-next] [also build test ERROR on v4.9-rc3 next-20161028] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Wenyou-Yang/ARM-at91-dt-add-dts-file-for-sam

[PATCH v1] ARM:dmaengine:sun6i:fix the uninitialized value for v_lli

2016-11-01 Thread Axl-zhang
dma_pool_alloc does not initialize the value of the newly allocated block for the v_lli, and the uninitilize value make the tests failed which is on pine64 with dmatest. we can fix it just change the "|=" to "=" for the v_lli->cfg. Signed-off-by: Hao Zhang --- drivers/dma/sun6i-dma.c | 2 +- 1 f

Re: [PATCH 1/4] block: add scalable completion tracking of requests

2016-11-01 Thread Jens Axboe
On Tue, Nov 01 2016, Johannes Thumshirn wrote: > On Tue, Nov 01, 2016 at 03:05:22PM -0600, Jens Axboe wrote: > > For legacy block, we simply track them in the request queue. For > > blk-mq, we track them on a per-sw queue basis, which we can then > > sum up through the hardware queues and finally t

[PATCH v2 2/6] usb: chipidea: use bus->sysdev for DMA configuration

2016-11-01 Thread Sriram Dash
From: Arnd Bergmann Set the dma for chipidea from sysdev. This is inherited from its parent node. Also, do not set dma mask for child as it is not required now. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v2: - integrate chipidea driver changes together. drivers/

[PATCH v2 5/6] usb: dwc3: use bus->sysdev for DMA configuration

2016-11-01 Thread Sriram Dash
From: Arnd Bergmann The dma ops for dwc3 devices are not set properly. So, use a physical device sysdev, which will be inherited from parent, to set the hardware / firmware parameters like dma. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v2: - integrate dwc3 driver

[PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration

2016-11-01 Thread Sriram Dash
From: Arnd Bergmann For the dual role ehci fsl driver, sysdev will handle the dma config. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v2: - fix compile warnings drivers/usb/host/ehci-fsl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d

[PATCH v2 1/6] usb: separate out sysdev pointer from usb_bus

2016-11-01 Thread Sriram Dash
From: Arnd Bergmann For xhci-hcd platform device, all the DMA parameters are not configured properly, notably dma ops for dwc3 devices. The idea here is that you pass in the parent of_node along with the child device pointer, so it would behave exactly like the parent already does. The differenc

RE: [PATCH v2] ARM: at91/dt: add dts file for sama5d36ek CMP board

2016-11-01 Thread Wenyou.Yang
> -Original Message- > From: kbuild test robot [mailto:l...@intel.com] > Sent: 2016年11月2日 13:28 > To: Wenyou Yang - A41535 > Cc: kbuild-...@01.org; Nicolas Ferre ; Alexandre > Belloni ; Russell King > ; Rob Herring ; Pawel Moll > ; Mark Rutland ; Ian Campbell > ; Kumar Gala ; linux- >

Re: [PATCH] base memory: introduce CONFIG_MEMORY_DEVICE

2016-11-01 Thread Yisheng Xie
On 2016/10/14 18:53, Yisheng Xie wrote: > ping Could someone help to give some comment? Really thanks for that. Thanks. Yisheng > > On 2016/10/10 19:26, Yisheng Xie wrote: >> MEMORY_FAILURE do not depend on SPARSEMEM_MANUAL, >> nor MEMORY_HOTPLUG_SPARSE. However, when I tried to use sysf

[REVISED DOC on v3] Crossrelease Lockdep

2016-11-01 Thread Byungchul Park
Crossrelease Started by Byungchul Park Contents: (*) Background. - What causes deadlock. - What lockdep detects. - How lockdep works. (*) Limitation. - Limit to typical locks. - Pros from the limitation. - Cons from the limitation. (*) Generaliz

[PATCH v2 6/6] usb: dwc3: Do not set dma coherent mask

2016-11-01 Thread Sriram Dash
From: Arnd Bergmann The dma mask is correctly set up by the DT probe function, no need to override it any more. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v2: - club the cleanup for dma coherent mask for device drivers/usb/dwc3/dwc3-exynos.c | 10 -- dri

[PATCH v2 0/6] inherit dma configuration from parent dev

2016-11-01 Thread Sriram Dash
For xhci-hcd platform device, all the DMA parameters are not configured properly, notably dma ops for dwc3 devices. The idea here is that you pass in the parent of_node along with the child device pointer, so it would behave exactly like the parent already does. The difference is that it also hand

Re: [PATCH] EFI loader: remove dead code

2016-11-01 Thread Eugene Korenevsky
Applied your notice. Sent v2 patch. -- Eugene

Re: [PATCH v2 2/6] usb: chipidea: use bus->sysdev for DMA configuration

2016-11-01 Thread Peter Chen
On Wed, Nov 02, 2016 at 11:08:09AM +0530, Sriram Dash wrote: > From: Arnd Bergmann > > Set the dma for chipidea from sysdev. This is inherited from its > parent node. Also, do not set dma mask for child as it is not required > now. > > Signed-off-by: Arnd Bergmann > Signed-off-by: Sriram Dash

[PATCH v2 4/6] usb: xhci: use bus->sysdev for DMA configuration

2016-11-01 Thread Sriram Dash
From: Arnd Bergmann For xhci-hcd platform device, all the DMA parameters are not configured properly, notably dma ops for dwc3 devices. So, set the dma for xhci from sysdev. sysdev is pointing to device that is known to the system firmware or hardware. Signed-off-by: Arnd Bergmann Signed-off-by

[PATCH] Staging:media:davinci_vpfe: used devm_kzalloc in place of kzalloc

2016-11-01 Thread Nadim Almas
Switch to resource-managed function devm_kzalloc instead of kzolloc and remove unneeded kzfree Also, remove kzfree in probe function and remove function,vpfe_remove as it is now has nothing to do. The Coccinelle semantic patch used to make this change is as follows: / @platform@ identifier p, pro

Re: [PATCH] Staging:media:davinci_vpfe: used devm_kzalloc in place of kzalloc

2016-11-01 Thread Julia Lawall
On Wed, 2 Nov 2016, Nadim Almas wrote: > Switch to resource-managed function devm_kzalloc instead > of kzolloc and remove unneeded kzfree > > Also, remove kzfree in probe function and remove > function,vpfe_remove as it is now has nothing to do. > The Coccinelle semantic patch used to make this

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

2016-11-01 Thread 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 too many times of t

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

2016-11-01 Thread Liang Li
This patch set contains two parts of changes to the virtio-balloon. One is the change for speeding up the inflating & deflating process, the main idea of this optimization is to use bitmap to send the page information to host instead of the PFNs, to reduce the overhead of virtio data transmission

[PATCH kernel v4 2/7] virtio-balloon: define new feature bit and head struct

2016-11-01 Thread Liang Li
Add a new feature which supports sending the page information with a bitmap. The current implementation uses PFNs array, which is not very efficient. Using bitmap can improve the performance of inflating/deflating significantly The page bitmap header will used to tell the host some information abo

[PATCH kernel v4 7/7] virtio-balloon: tell host vm's unused page info

2016-11-01 Thread Liang Li
Support the request for vm's unused page information, response with a page bitmap. QEMU can make use of this bitmap and the dirty page logging mechanism to skip the transportation of some of these unused pages, this is very helpful to reduce the network traffic and speed up the live migration proc

[PATCH kernel v4 5/7] mm: add the related functions to get unused page

2016-11-01 Thread Liang Li
Save the unused page info into a split page bitmap. The virtio balloon driver will use this new API to get the unused page bitmap and send the bitmap to hypervisor(QEMU) to speed up live migration. During sending the bitmap, some the pages may be modified and are no free anymore, this inaccuracy ca

[PATCH kernel v4 3/7] mm: add a function to get the max pfn

2016-11-01 Thread Liang Li
Expose the function to get the max pfn, so it can be used in the virtio-balloon device driver. Simply include the 'linux/bootmem.h' is not enough, if the device driver is built to a module, directly refer the max_pfn lead to build failed. Signed-off-by: Liang Li Cc: Andrew Morton Cc: Mel Gorman

[PATCH kernel v4 6/7] virtio-balloon: define flags and head for host request vq

2016-11-01 Thread 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 virtual queue to request the guest do some operations, e.g. drop page cache, synchronize file system, etc. And the h

[PATCH kernel v4 4/7] virtio-balloon: speed up inflate/deflate process

2016-11-01 Thread Liang Li
The implementation of the current virtio-balloon is not very efficient, the time spends on different stages of inflating the balloon to 7GB of a 8GB idle guest: a. allocating pages (6.5%) b. sending PFNs to host (68.3%) c. address translation (6.1%) d. madvise (19%) It takes about 4126ms for the

Re: [PATCH (net.git) 2/3] stmmac: fix PTP support for GMAC4

2016-11-01 Thread Giuseppe CAVALLARO
Hello Rayagond if patches are ok, can we consider you Acked-by ? Thx Peppe On 10/27/2016 12:51 PM, Rayagond Kokatanur wrote: On Thu, Oct 27, 2016 at 4:02 PM, Giuseppe CAVALLARO wrote: Hello Rayagond ! On 10/27/2016 12:25 PM, Rayagond Kokatanur wrote: +static int dwmac4_wrback_get_rx_times

RE: [PATCH 1/3] clk: qcom: gdsc: Add support for gdscs with HW control

2016-11-01 Thread Sricharan
Hi Stephen, >On 10/24, Sricharan R wrote: >> @@ -164,6 +171,10 @@ static int gdsc_enable(struct generic_pm_domain *domain) >> */ >> udelay(1); >> >> +/* Turn on HW trigger mode if supported */ >> +if (sc->flags & HW_CTRL) >> +gdsc_hwctrl(sc, true); >> + > >It sounds

[PATCH] MAINTAINERS: add GCC plugins Makefile

2016-11-01 Thread Andrew Donnellan
Signed-off-by: Andrew Donnellan --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4012c2f..76049e0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5202,6 +5202,7 @@ L:kernel-harden...@lists.openwall.com S: Maintained F: scripts/gc

RE: [PATCH 1/3] clk: qcom: gdsc: Add support for gdscs with HW control

2016-11-01 Thread Sricharan
Hi, >-Original Message- >From: linux-arm-msm-ow...@vger.kernel.org >[mailto:linux-arm-msm-ow...@vger.kernel.org] On Behalf Of Sricharan >Sent: Wednesday, November 02, 2016 12:21 PM >To: 'Stephen Boyd' >Cc: mturque...@baylibre.com; linux-...@vger.kernel.org; >linux-arm-...@vger.kernel.or

<    1   2   3   4   5   6   7   >