RE: [RFC PATCH] f2fs: add extent cache base on rb-tree

2014-12-24 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, December 23, 2014 3:36 PM > To: Chao Yu > Cc: 'Changman Lee'; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [RFC PATCH] f2fs: add extent cache base on

RE: [f2fs-dev][PATCH] f2fs: cleanup trace event of f2fs_submit_page_{m,}bio with DECLARE_EVENT_CLASS

2014-12-24 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, December 24, 2014 2:51 AM > To: Chao Yu > Cc: Changman Lee; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [f2fs-dev][PATCH] f2fs: cleanup trace event

[f2fs-dev][PATCH] f2fs: cleanup parameters for trace_f2fs_submit_{read_,write_,page_,page_m}bio with fio

2014-12-24 Thread Chao Yu
Cleanup parameters for trace_f2fs_submit_{read_,write_,page_,page_m}bio with fio as one parameter. Suggested-by: Jaegeuk Kim Signed-off-by: Chao Yu --- fs/f2fs/data.c | 10 -- include/trace/events/f2fs.h | 37 - 2 files changed, 24 insert

Re: regression bisected; KVM: entry failed, hardware error 0x80000021

2014-12-24 Thread Chen, Tiejun
On 2014/12/23 15:26, Jamie Heilman wrote: Chen, Tiejun wrote: On 2014/12/23 9:50, Chen, Tiejun wrote: On 2014/12/22 17:23, Jamie Heilman wrote: Chen, Tiejun wrote: On 2014/12/21 20:46, Jamie Heilman wrote: With v3.19-rc1 when I run qemu-system-x86_64 -machine pc,accel=kvm I get: KVM: entry

[PATCH RFC v5 00/21] Add support for i.MX MIPI DSI DRM driver

2014-12-24 Thread Liu Ying
Hi, This series addresses comments from Andrzej Hajda on v4. Most comments are about the Himax HX8369A DRM panel driver. And, a single comment is about the Synopsys DesignWare MIPI DSI host controller DRM bridge driver. The i.MX MIPI DSI is a Synopsys DesignWare MIPI DSI host controller IP. This

[PATCH RFC v5 02/21] of: Add vendor prefix for Himax Technologies Inc.

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * Fix an ordering issue to address Stefan Wahren's comment. v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendo

[PATCH RFC v5 04/21] ARM: imx6q: Add GPR3 MIPI muxing control register field shift bits definition

2014-12-24 Thread Liu Ying
This patch adds a macro to define the GPR3 MIPI muxing control register field shift bits. Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * None. include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/li

[PATCH RFC v5 06/21] ARM: imx6q: clk: Change hdmi_isfr clock's parent to be video_27m clock

2014-12-24 Thread Liu Ying
According to the table 33-1 in the i.MX6Q reference manual, the hdmi_isfr clock's parent should be the video_27m clock. The i.MX6DL reference manual has the same statement. This patch changes the hdmi_isfr clock's parent from the pll3_pfd1_540m clock to the video_27m clock. Suggested-by: Philipp

[PATCH RFC v5 15/21] Documentation: dt-bindings: Add bindings for Himax HX8369A DRM panel driver

2014-12-24 Thread Liu Ying
This patch adds device tree bindings for Himax HX8369A DRM panel driver. Signed-off-by: Liu Ying --- v4->v5: * Merge the bs[3:0]-gpios properties into one property - bs-gpios. This addresses Andrzej Hajda's comment. v3->v4: * Newly introduced in v4. This is separated from the relevant driv

[PATCH RFC v5 12/21] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2014-12-24 Thread Liu Ying
This patch adds Synopsys DesignWare MIPI DSI host controller driver support. Currently, the driver supports the burst with sync pulses mode only. Signed-off-by: Liu Ying --- v4->v5: * Remove 'dsi->panel = NULL;' in dw_mipi_dsi_host_detach() to address Andrzej Hajda's comment. v3->v4: * Move

[PATCH RFC v5 13/21] Documentation: dt-bindings: Add bindings for i.MX specific Synopsys DW MIPI DSI driver

2014-12-24 Thread Liu Ying
This patch adds device tree bindings for i.MX specific Synopsys DW MIPI DSI driver. Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * Newly introduced in v4. This is separated from the relevant driver patch in v3 to address Stefan Wahren's comment. .../devicetree/bindings/drm/imx/mi

[PATCH RFC v5 10/21] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * Thierry Reding suggested that the mipi_dsi_pixel_format_to_bpp() function could be placed at the common DRM MIPI DSI driver. This patch is newly added. include/drm/drm_mipi_dsi.h | 14 +

[PATCH RFC v5 08/21] ARM: imx6q: clk: Add support for mipi_core_cfg clock as a shared clock gate

2014-12-24 Thread Liu Ying
The CG8 field of the CCM CCGR3 register is named as 'mipi_core_cfg' clock, according to the i.MX6q/sdl reference manuals. This clock is actually the gate for several clocks, including the hsi_tx_sel clock's output and the video_27m clock's output. The MIPI DSI host controller embedded in the i.MX

[PATCH v8 2/2] drivers/gpio: Altera soft IP GPIO driver

2014-12-24 Thread thloh
From: Tien Hock Loh Adds a new driver for Altera soft GPIO IP. The driver is able to do read/write and allows GPIO to be a interrupt controller. Tested on Altera GHRD on interrupt handling and IO. Signed-off-by: Tien Hock Loh --- MAINTAINERS|6 + drivers/gpio/Kconfig

[PATCH RFC v5 19/21] ARM: imx_v6_v7_defconfig: Cleanup for imx drm being moved out of staging

2014-12-24 Thread Liu Ying
The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm savedefconfig * cp defconfig arch/arm/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * None. arch/arm/configs/imx_v6_

[PATCH RFC v5 18/21] ARM: dts: imx6qdl-sabresd: Add support for TRULY TFT480800-16-E MIPI DSI panel

2014-12-24 Thread Liu Ying
The TRULY TFT480800-16-E panel is driven by the Himax HX8369A driver IC. The driver IC supports several display/control interface modes, including the MIPI DSI video mode and command mode. Signed-off-by: Liu Ying --- v4->v5: * Replace the bs[3:0]-gpios properties with the bs-gpios property. T

[PATCH RFC v5 21/21] ARM: imx_v6_v7_defconfig: Add support for Himax HX8369A panel

2014-12-24 Thread Liu Ying
This patch adds support for Himax HX8369A panel. The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm menuconfig and manually choose to build in the Himax HX8369A panel driver * make ARCH=arm savedefconfig * cp defconfig arch/arm/configs/imx_v

[PATCH RFC v5 20/21] ARM: imx_v6_v7_defconfig: Add support for MIPI DSI host controller

2014-12-24 Thread Liu Ying
This patch adds support for MIPI DSI host controller. The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm menuconfig and manually choose to build in the MIPI DSI host controller driver * make ARCH=arm savedefconfig * cp defconfig arch/arm/con

[PATCH RFC v5 17/21] ARM: dtsi: imx6qdl: Add support for MIPI DSI host controller

2014-12-24 Thread Liu Ying
This patch adds support for MIPI DSI host controller. Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * As suggested by Phillip Zabel, change the clocks and the clock-names properties to use the pllref and core_cfg clocks only. v1->v2: * None. arch/arm/boot/dts/imx

[PATCH RFC v5 16/21] drm: panel: Add support for Himax HX8369A MIPI DSI panel

2014-12-24 Thread Liu Ying
This patch adds support for Himax HX8369A MIPI DSI panel. Signed-off-by: Liu Ying --- v4->v5: * Address Andrzej Hajda's comments. * Get the bs-gpios property instead of the bs[3:0]-gpios properties. * Implement error propagation for panel register configurations. * Other minor changes to impr

[PATCH v8 0/2] drivers/gpio: Altera soft IP GPIO driver

2014-12-24 Thread thloh
From: Tien Hock Loh Adds a new device tree binding and driver for Altera soft GPIO IP. The driver is able to do read/write and allows GPIO to be a interrupt controller. Tested on Altera GHRD on interrupt handling and IO. v8: Using for_each_set_bit added const for struct definition removed naggy

[PATCH RFC v5 11/21] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2014-12-24 Thread Liu Ying
This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * Newly introduced in v4. This is separated from the relevant driver patch in v3 to address Stefan Wahren's comment. .../devicetree

[PATCH RFC v5 14/21] drm: imx: Support Synopsys DesignWare MIPI DSI host controller

2014-12-24 Thread Liu Ying
This patch adds support for Synopsys DesignWare MIPI DSI host controller which is embedded in the i.MX6q/sdl SoCs. Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * Move the relevant dt-bindings to a separate patch to address Stefan Wahren's comment. v2->v3: * To address Andy Yan's co

[PATCH RFC v5 07/21] ARM: imx6q: clk: Change hsi_tx clock to be a shared clock gate

2014-12-24 Thread Liu Ying
The CG8 field of the CCM CCGR3 register is named as 'mipi_core_cfg' clock, according to the i.MX6q/sdl reference manuals. This clock is actually the gate for several clocks, including the hsi_tx_sel clock's output and the video_27m clock's output. So, this patch changes the hsi_tx clock to be a s

[PATCH RFC v5 09/21] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-24 Thread Liu Ying
The MIPI DSI node contains some ports which represent possible DRM CRTCs it can connect with. Each port has a 'reg' property embedded. This property will be wrongly interpretted by the MIPI DSI bus driver, because the driver will take each subnode which contains a 'reg' property as a DSI peripher

[PATCH RFC v5 05/21] ARM: imx6q: clk: Add the video_27m clock

2014-12-24 Thread Liu Ying
This patch supports the video_27m clock which is a fixed factor clock of the pll3_pfd1_540m clock. Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * None. arch/arm/mach-imx/clk-imx6q.c | 1 + include/dt-bindings/clock/imx6qdl-clock.h | 3 ++

[PATCH RFC v5 01/21] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2014-12-24 Thread Liu Ying
If no best divider is normally found, we will try to use the maximum divider. We should not set the parent clock rate to be 1Hz by force for being rounded. Instead, we should take the maximum divider as a base and calculate a correct parent clock rate for being rounded. Signed-off-by: Liu Ying --

[PATCH RFC v5 03/21] of: Add vendor prefix for Truly Semiconductors Limited

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/

Re: [PATCH v2 3/4] arm64: dts: Add mediatek MT8173 SoC and evaluation board dts and Makefile

2014-12-24 Thread Marc Zyngier
On 2014-12-23 21:07, Arnd Bergmann wrote: On Tuesday 23 December 2014 08:43:55 Marc Zyngier wrote: > Neverthless, MT8173 SoC already use 0x10224000 and 0x10225000 as VGIC > base address. Then its fate is sealed virtualization wise. It should still work with 4kb pages on the host, right? Wo

Re: [PATCH v5 3/8] crypto: AF_ALG: add AEAD support

2014-12-24 Thread Stephan Mueller
Am Mittwoch, 24. Dezember 2014, 07:24:01 schrieb Herbert Xu: Hi Herbert, > On Tue, Dec 23, 2014 at 03:52:27PM +0100, Stephan Mueller wrote: > > Am Dienstag, 23. Dezember 2014, 22:56:26 schrieb Herbert Xu: > > > In fact AEAD is rather awkward because you need to do everything > > > in one go. Per

[PATCH v8 1/2] drivers/gpio: Altera soft IP GPIO driver device tree binding

2014-12-24 Thread thloh
From: Tien Hock Loh Adds a new driver device tree binding for Altera soft GPIO IP Signed-off-by: Tien Hock Loh --- .../devicetree/bindings/gpio/gpio-altera.txt | 43 1 files changed, 43 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bind

RE: [PATCH 0/3] usb: chipidea: add one errata for revision 2.40a

2014-12-24 Thread Peter Chen
> > On 12/23/2014 05:39 AM, Peter Chen wrote: > > On Mon, Dec 22, 2014 at 06:39:42PM +0530, Sanchayan Maity wrote: > >> On 12/22/2014 06:48 AM, Peter Chen wrote: > >>> On Fri, Dec 19, 2014 at 03:25:26PM +0530, Sanchayan Maity wrote: > The first two patches add identification register API's.

Re: algif_hash: splice of data > 2**16

2014-12-24 Thread Stephan Mueller
Am Dienstag, 23. Dezember 2014, 18:16:01 schrieb leroy christophe: Hi leroy, > Le 20/12/2014 07:37, Stephan Mueller a écrit : > > Am Donnerstag, 18. Dezember 2014, 13:22:20 schrieb leroy christophe: > > > > Hi Christophe, > > > >> Le 18/12/2014 13:15, Stephan Mueller a écrit : > >>> Hi Herbert,

Re: [PATCH] Drivers: bcma: Fix three coding style issues, more than 80 characters per line.

2014-12-24 Thread Arend van Spriel
On 12/24/14 08:20, Kalle Valo wrote: Oscar Forner Martinez writes: Three lines with more than 80 characters per line have been split in several lines. Signed-off-by: Oscar Forner Martinez --- drivers/bcma/driver_chipcommon.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-)

Re: [PATCH] NFC: port100: Introduce the use of function put_unaligned_le16

2014-12-24 Thread Arend van Spriel
On 12/24/14 03:35, Vaishali Thakkar wrote: On Wed, Dec 24, 2014 at 12:54 AM, Arend van Spriel wrote: On 12/23/14 16:27, Vaishali Thakkar wrote: This patch introduces the use of function put_unaligned_le16. This is done using Coccinelle and semantic patch used is as follows: @a@ typedef u16,

Re: [PATCH 0/3] Dell Airplane Mode Switch driver

2014-12-24 Thread Alex Hung
I uploaded acpidump files [1] (except for XPS 13 which is not available), and this should help clarify what has been tested. Does Inspirion 5721 does not have either DELLABCE or DELRBTN. It is used for comparison. My apologies that I did not point this out in previous email. When calling ARBT(1),

[PATCH v2] usb: gadget: ffs: Fix sparse error

2014-12-24 Thread Rohith Seelaboyina
This patch fixes the sparse error in functionfs driver. drivers/usb/gadget/function/f_fs.c:400:44: error: bad constant experssion. Dynamic memory allocation through kcalloc is more safer than declaring variable array size, Fix this error by using kcalloc for memory allocation, Check if memory all

Re: [PATCH 0/3] usb: chipidea: add one errata for revision 2.40a

2014-12-24 Thread Sanchayan Maity
On 12/24/2014 02:30 PM, Peter Chen wrote: > >> >> On 12/23/2014 05:39 AM, Peter Chen wrote: >>> On Mon, Dec 22, 2014 at 06:39:42PM +0530, Sanchayan Maity wrote: On 12/22/2014 06:48 AM, Peter Chen wrote: > On Fri, Dec 19, 2014 at 03:25:26PM +0530, Sanchayan Maity wrote: >> The first t

Re: [RFC 1/1] driver core: re-order dpm_list after a succussful probe

2014-12-24 Thread Bill Huang
On 12/23/2014 10:26 PM, Bibek Basu wrote: sorry for the delay in responding. On Thu, Dec 18, 2014 at 1:35 PM, Bill Huang mailto:bilhu...@nvidia.com>> wrote: On 12/17/2014 10:47 PM, Bibek Basu wrote: Hi Bill, Though I like your solution, I have a usecase where the drive

[PATCH v2 2/3] ASoC: rockchip: i2s: set TDL and RDL to 16 samples

2014-12-24 Thread Jianqun Xu
Set Transmit Data Level(TDL) and Receive Data Level(RDL) to 16 samples. Without this setting, the TDL is default to be 0x00 (means 0 sample), and the RDL is default to be 0x1f (means 32 samples). Signed-off-by: Jianqun Xu --- changes since v1: - modify commit message "bit" to "sample", suggested

[PATCH v2 0/3] ASoC: rockchip: i2s: fix watermark to 16 and maxburst to 4

2014-12-24 Thread Jianqun Xu
To make Bus DMA works more efficiency, DMA may work in burst mode, we set the watermark of transmit and receive reach to 16 bits. Jianqun Xu (3): ASoC: rockchip: i2s: fix error defination of transmit data level ASoC: rockchip: i2s: set TDL and RDL to 16 samples ASoC: rockchip: i2s: fix ma

[PATCH v2 1/3] ASoC: rockchip: i2s: fix error defination of transmit data level

2014-12-24 Thread Jianqun Xu
According to description about "Transmit Data Level", This bit field controls the level at which a DMA request is made by the transmit logic. It is equal to the watermark level. That is, the dma_tx_req signal is generated when the number of valid data entries in the TXFIFO (TXFIFO0 if CSR=00 TX

[PATCH v2 3/3] ASoC: rockchip: i2s: fix maxburst of dma data to 4

2014-12-24 Thread Jianqun Xu
Since RK3288 DMAC's burst length only support max to 4, here set maxburst of playback and capture dma data to 4. Signed-off-by: Jianqun Xu --- changes since v1: - new patch since v1 sound/soc/rockchip/rockchip_i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/s

Re: [PATCH] Drivers: bcma: Fix three coding style issues, more than 80 characters per line.

2014-12-24 Thread Òscar Forner Martínez
Hi Kalle, I am doing it from London with the timezone of Spain, maybe is that the odd stuff? I can change it and do the patch again. I will check the style guide to do the changes properly this time. I have a couple of questions, as it is my first patch I am not sure how to do them. Do I have

Re: [PATCH] ARM: socfpga: dts: Add adxl34x

2014-12-24 Thread Steffen Trumtrar
Hi! On Tue, Dec 23, 2014 at 10:04:22AM -0300, Walter Lozano wrote: > This patch adds the DTS bindings for the adxl34x digital > accelerometer. > Thanks for doing this. Does the ADXL34 work now? Last time I tried it, I didn't get any interrupts, but as I didn't really care for the accelerometer I

[PATCH] rcu: remove "select IRQ_WORK" from config TREE_RCU

2014-12-24 Thread Lai Jiangshan
The 48a7639ce80c ("rcu: Make callers awaken grace-period kthread") removed the irq_work_queue(), so the TREE_RCU doesn't need irq work any more. Signed-off-by: Lai Jiangshan --- init/Kconfig |2 -- kernel/rcu/tree.h |1 - 2 files changed, 0 insertions(+), 3 deletions(-) diff --git

[PATCH] usb: host: ehci-tegra: request deferred probe when failing to get phy

2014-12-24 Thread Vince Hsu
The commit 1290a958d48e ("usb: phy: propagate __of_usb_find_phy()'s error on failure") changed the condition to return -EPROBE_DEFER to host driver. Originally the Tegra host driver depended on the returned -EPROBE_DEFER to get the phy device later when booting. Now we have to do that explicitly.

[PATCH 2/2] USB: ehci-platform: Support ehci reset after resume quirk

2014-12-24 Thread Wu Liang feng
The Rockchip rk3288 EHCI controller doesn't properly detect the case when a device is removed during suspend. Specifically, when usb resume from suspend, the EHCI controller maintaining the USB state (FLAG_CF is 1, Current Connect Status is 1), but a USB device (like a USB camera on rk3288) may hav

[PATCH v2 0/2] Support EHCI reset after resume quirk

2014-12-24 Thread Wu Liang feng
[PATCH v2 1/2]: Add an optional property "needs-reset-on-resume" in usb-ehci dt-bingdings. [PATCH v2 2/2]: modify ehci-platform driver to support ehci reset after resume quirk if necessary. Wu Liang feng (2): dt-bindings: usb-ehci: Add an optional property

[PATCH 1/2] dt-bindings: usb-ehci: Add an optional property "needs-reset-on-resume"

2014-12-24 Thread Wu Liang feng
Add device-tree bindings for EHCI so we can use "needs-reset-on-resume" property to force EHCI reset after resume if necessary. This is necessary on platforms like rk3288 that need a reset after resume to detect if a device has been disconnected during suspend time. Signed-off-by: Wu Liang feng R

Re: [RFC PATCH 01/17] block: make generic_make_request handle arbitrarily sized bios

2014-12-24 Thread Dongsu Park
On 23.12.2014 11:14, Geoff Levand wrote: > On Mon, 2014-12-22 at 12:48 +0100, Dongsu Park wrote: > > From: Kent Overstreet > > > --- a/drivers/block/ps3vram.c > > +++ b/drivers/block/ps3vram.c > > @@ -603,6 +603,8 @@ static void ps3vram_make_request(struct request_queue > > *q, struct bio *bio)

Re: regression bisected; KVM: entry failed, hardware error 0x80000021

2014-12-24 Thread Jamie Heilman
Chen, Tiejun wrote: > On 2014/12/23 15:26, Jamie Heilman wrote: > >Chen, Tiejun wrote: > >>On 2014/12/23 9:50, Chen, Tiejun wrote: > >>>On 2014/12/22 17:23, Jamie Heilman wrote: > KVM internal error. Suberror: 1 > emulation failure > EAX=000de494 EBX= ECX= EDX=0cfd >

Re: [PATCH v8 2/2] drivers/gpio: Altera soft IP GPIO driver

2014-12-24 Thread Joe Perches
On Wed, 2014-12-24 at 00:22 -0800, th...@altera.com wrote: > Adds a new driver for Altera soft GPIO IP. The driver is able to > do read/write and allows GPIO to be a interrupt controller. Some trivial comments, some not quite so trivial. > diff --git a/drivers/gpio/gpio-altera.c b/drivers/gpio/gp

[PATCH] cpupower: Correctly detect if running as root

2014-12-24 Thread Michal Privoznik
Some operations, like frequency-set, need root privileges. However, the way that this is detected is not correct. The getuid() is called, while in fact geteuid() should be. This way we can allow distributions or users to set SETUID flags on the cpupower binary if they want to and let regular users

Re: [PATCH v2] usb: gadget: ffs: Fix sparse error

2014-12-24 Thread Joe Perches
On Wed, 2014-12-24 at 14:48 +0530, Rohith Seelaboyina wrote: > Dynamic memory allocation through kcalloc is more safer > than declaring variable array size, Fix this error by > using kcalloc for memory allocation, Check if memory > allocation is successful and return -ENOMEM on failure. > > Signed

Re: regression bisected; KVM: entry failed, hardware error 0x80000021

2014-12-24 Thread Paolo Bonzini
On 24/12/2014 12:02, Jamie Heilman wrote: > Running qemu-system-x86_64 -machine pc,accel=kvm -nodefaults works, > my real (headless) kvm guests work, but this new patch makes running > "qemu-system-x86_64 -machine pc,accel=kvm" fail again, this time with > errors in the host to the tune of: > >

Re: [PATCH 0/3] Dell Airplane Mode Switch driver

2014-12-24 Thread Gabriele Mazzotta
On Wednesday 24 December 2014 17:13:45 Alex Hung wrote: > I uploaded acpidump files [1] (except for XPS 13 which is not > available), and this should help clarify what has been tested. > > Does Inspirion 5721 does not have either DELLABCE or DELRBTN. It is > used for comparison. My apologies that

Re: ARM64 Crypto validation

2014-12-24 Thread Jagannadha Teki
+ Yazen Ghannam + Herbert Xu + Steve Capper On Tue, Dec 23, 2014 at 3:45 PM, Jagan Teki wrote: > Hi, > > I need some information to validate arm64/crypto, do we have any > exact/defined way to validate this. > > Here are my findings: > 1. I see a dirty test module tcrypto.c where we need to give

Re: [PATCH] spi: unnecessary double init_completion removed

2014-12-24 Thread Mark Brown
On Tue, Dec 23, 2014 at 06:41:33PM +0100, Nicholas Mc Guire wrote: > The double call to init_completion(&mpc8xxx_spi->done); is not needed > presumably this is a editing mistake only. Applied, thanks. signature.asc Description: Digital signature

[PATCH v3] usb: gadget: ffs: Fix sparse error

2014-12-24 Thread Rohith Seelaboyina
This patch fixes the sparse error in functionfs driver. drivers/usb/gadget/function/f_fs.c:400:44: error: bad constant experssion. Dynamic memory allocation through kcalloc is more safer than declaring variable array size, Fix this error by using kcalloc for memory allocation, Check if memory all

Linux 3.19-rc1: i915.ko error messages at boot

2014-12-24 Thread Pali Rohár
lspci output: 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) dmesg output: [2.379847] [drm:hsw_unclaimed_reg_detect.isra.6 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 t

Re: [PATCH V2 1/2] spi: img-spfi: Increase DMA burst size

2014-12-24 Thread Mark Brown
On Mon, Dec 22, 2014 at 11:35:15AM -0800, Andrew Bresticker wrote: > A 1-byte burst size is rather inefficient and has been shown to cause > TX issues during testing. Increase the DMA burst size to 4-bytes for > both RX and TX DMA when using the 8-bit FIFO. Applied both, thanks. signature.asc D

[PATCH 00/38] mm: remove non-linear mess

2014-12-24 Thread Kirill A. Shutemov
We have remap_file_pages(2) emulation in -mm tree for few release cycles and we plan to have it mainline in v3.20. This patchset removes rest of VM_NONLINEAR infrastructure. Patches 1-8 take care about generic code. They are pretty straight-forward and can be applied without other of patches. Res

[PATCH 06/38] mm: replace vma->sharead.linear with vma->shared

2014-12-24 Thread Kirill A. Shutemov
After removing vma->shared.nonlinear we have only one member of vma->shared union, which doesn't make much sense. This patch drops the union and move struct vma->shared.linear to vma->shared. Signed-off-by: Kirill A. Shutemov --- include/linux/mm_types.h | 8 +++- mm/interval_tree.c

[PATCH 15/38] c6x: drop pte_file()

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Mark Salter Cc: Aurelien Jacquiot --- arch/c6x/include/asm/pgtable.h | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/c6x/include/asm/p

[PATCH 10/38] arc: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Vineet Gupta --- arch/arc/include/asm/pgtable.h | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/arch/arc/includ

[PATCH 24/38] mips: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Ralf Baechle --- arch/m68k/include/asm/mcf_pgtable.h | 6 ++ arch/mips/include/asm/pgtable-32.h | 36 a

[PATCH 28/38] parisc: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: "James E.J. Bottomley" Cc: Helge Deller --- arch/parisc/include/asm/pgtable.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/p

[PATCH 03/38] mm: drop vm_ops->remap_pages and generic_file_remap_pages() stub

2014-12-24 Thread Kirill A. Shutemov
Nobody uses it anymore. Signed-off-by: Kirill A. Shutemov --- fs/9p/vfs_file.c | 2 -- fs/btrfs/file.c| 1 - fs/ceph/addr.c | 1 - fs/cifs/file.c | 1 - fs/ext4/file.c | 1 - fs/f2fs/file.c | 1 - fs/fuse/file.c | 1 - fs/gfs2/file.c | 1 - fs/nfs/file.c | 1 -

[PATCH 08/38] asm-generic: drop unused pte_file* helpers

2014-12-24 Thread Kirill A. Shutemov
All users are gone. Signed-off-by: Kirill A. Shutemov Cc: Arnd Bergmann --- include/asm-generic/pgtable.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h index 177d5973b132..129de9204d18 100644 --- a/include/asm-g

[PATCH 02/38] mm: drop support of non-linear mapping from fault codepath

2014-12-24 Thread Kirill A. Shutemov
We don't create non-linear mappings anymore. Let's drop code which handles them on page fault. Signed-off-by: Kirill A. Shutemov --- include/linux/mm.h | 16 ++ mm/memory.c| 65 -- 2 files changed, 16 insertions(+), 65 delet

[PATCH 20/38] m32r: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov --- arch/m32r/include/asm/pgtable-2level.h | 4 arch/m32r/include/asm/pgtable.h| 11 --- 2 files changed, 15 deletions(-) diff --g

[PATCH 37/38] x86: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" --- arch/x86/include/asm/pgtable-2level.h | 38 +-- arch/x86/

[PATCH 23/38] microblaze: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Michal Simek --- arch/microblaze/include/asm/pgtable.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/microblaze/include/asm/p

[PATCH 38/38] xtensa: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Max Filippov --- arch/xtensa/include/asm/pgtable.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/xtensa/include/asm/pgtable.h

[PATCH 34/38] tile: drop pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Chris Metcalf --- arch/tile/include/asm/pgtable.h | 11 --- arch/tile/mm/homecache.c| 4 2 files changed, 15 deletions(-) dif

[PATCH 33/38] sparc: drop pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. This patch also increase number of bits availble for swap offset. Signed-off-by: Kirill A. Shutemov Cc: "David S. Miller" --- arch/sparc/include/asm/pgtable_32.h | 24 --

[PATCH 35/38] um: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Jeff Dike Cc: Richard Weinberger --- arch/um/include/asm/pgtable-2level.h | 9 - arch/um/include/asm/pgtable-3level.h | 20 ---

[PATCH 19/38] ia64: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. This patch also increase number of bits availble for swap offset. Signed-off-by: Kirill A. Shutemov Cc: Tony Luck Cc: Fenghua Yu --- arch/ia64/include/asm/pgtable.h | 25 +-

[PATCH 36/38] unicore32: drop pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Guan Xuetao --- arch/unicore32/include/asm/pgtable-hwdef.h | 1 - arch/unicore32/include/asm/pgtable.h | 14 -- 2 files changed,

[PATCH 30/38] s390: drop pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Martin Schwidefsky Cc: Heiko Carstens --- arch/s390/include/asm/pgtable.h | 29 - 1 file changed, 4 insertions(+), 25 d

[PATCH 29/38] powerpc: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman --- arch/powerpc/include/asm/pgtable-ppc32.h | 9 ++--- arch/powerpc/include/as

[PATCH 31/38] score: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. This patch also increase number of bits availble for swap offset. Signed-off-by: Kirill A. Shutemov Cc: Chen Liqin Cc: Lennox Wu --- arch/score/include/asm/pgtable-bits.h | 1 - arch/

[PATCH 26/38] nios2: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Ley Foon Tan --- arch/nios2/include/asm/pgtable-bits.h | 1 - arch/nios2/include/asm/pgtable.h | 10 +- 2 files changed, 1 insertion(+

[PATCH 32/38] sh: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: linux...@vger.kernel.org --- arch/sh/include/asm/pgtable_32.h | 31 --- arch/sh/include/asm/pgtable_64.h | 9 +

[PATCH 27/38] openrisc: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Jonas Bonn --- arch/openrisc/include/asm/pgtable.h | 8 arch/openrisc/kernel/head.S | 5 - 2 files changed, 13 deletions(-) di

[PATCH 21/38] m68k: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Geert Uytterhoeven --- arch/m68k/include/asm/mcf_pgtable.h | 17 - arch/m68k/include/asm/motorola_pgtable.h | 15 --

[PATCH 25/38] mn10300: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. This patch also increase number of bits availble for swap offset. Signed-off-by: Kirill A. Shutemov Cc: David Howells Cc: Koichi Yasutake --- arch/mn10300/include/asm/pgtable.h | 17 ++

[PATCH 22/38] metag: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: James Hogan --- arch/metag/include/asm/pgtable.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/metag/include/asm/pgtable.h b/arch/me

Re: [PATCH 10/38] arc: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Vineet Gupta
Hi Kirill, On Wednesday 24 December 2014 05:54 PM, Kirill A. Shutemov wrote: > We've replaced remap_file_pages(2) implementation with emulation. > Nobody creates non-linear mapping anymore. > > Signed-off-by: Kirill A. Shutemov > Cc: Vineet Gupta > --- > arch/arc/include/asm/pgtable.h | 15 ++--

[PATCH 07/38] mm: remove rest usage of VM_NONLINEAR and pte_file()

2014-12-24 Thread Kirill A. Shutemov
One bit in ->vm_flags is unused now! Signed-off-by: Kirill A. Shutemov --- drivers/gpu/drm/drm_vma_manager.c | 3 +- include/linux/mm.h| 1 - include/linux/swapops.h | 4 +- mm/debug.c| 1 - mm/gup.c | 2 +- mm/ksm.c

[PATCH 18/38] hexagon: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. This patch also increase number of bits availble for swap offset. Signed-off-by: Kirill A. Shutemov Cc: Richard Kuo --- arch/hexagon/include/asm/pgtable.h | 60 ++---

[PATCH 12/38] arm: drop L_PTE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. This patch also adjust __SWP_TYPE_SHIFT, effectively increase size of possible swap file to 128G. Signed-off-by: Kirill A. Shutemov Cc: Russell King --- arch/arm/include/asm/pgtable-2le

[PATCH 16/38] cris: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Mikael Starvik Cc: Jesper Nilsson --- arch/cris/include/arch-v10/arch/mmu.h | 3 --- arch/cris/include/arch-v32/arch/mmu.h | 3 --- arch/cris/inclu

Re: [PATCH] can: kvaser_usb: Don't free packets when tight on URBs

2014-12-24 Thread Olivier Sobrie
Hello Ahmed, On Tue, Dec 23, 2014 at 05:46:54PM +0200, Ahmed S. Darwish wrote: > From: Ahmed S. Darwish > > Flooding the Kvaser CAN to USB dongle with multiple reads and > writes in high frequency caused seemingly-random panics in the > kernel. > > On further inspection, it seems the driver erron

[PATCH 17/38] frv: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. This patch also increase number of bits availble for swap offset. Signed-off-by: Kirill A. Shutemov Cc: David Howells --- arch/frv/include/asm/pgtable.h | 27 +--

[PATCH 13/38] avr32: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Haavard Skinnemoen Cc: Hans-Christian Egtvedt --- arch/avr32/include/asm/pgtable.h | 25 - 1 file changed, 25 deletions(-)

[PATCH 14/38] blackfin: drop pte_file()

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Steven Miao --- arch/blackfin/include/asm/pgtable.h | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/blackfin/include/asm/pgtable.h b/a

[PATCH 11/38] arm64: drop PTE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. This patch also adjust __SWP_TYPE_SHIFT and increase number of bits availble for swap offset. Signed-off-by: Kirill A. Shutemov Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/inclu

[PATCH 09/38] alpha: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Kirill A. Shutemov
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner --- arch/alpha/include/asm/pgtable.h | 7 --- 1 file changed, 7 deletions(-) diff --git

  1   2   3   >