[PATCH v7 7/7] clk: Add floor and ceiling constraints to clock rates

2014-12-01 Thread Tomeu Vizoso
Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set ceiling rates, or by misc. drivers to set floor rates to assure a minimum performance level. Signed-off-by: Tomeu Vizoso --- v7: * Update a few more instances in new code v6: *

[PATCH V6 6/9] powerpc, ptrace: Enable support for miscellaneous debug registers

2014-12-01 Thread Anshuman Khandual
This patch enables get and set of miscellaneous debug registers through ptrace PTRACE_GETREGSET-PTRACE_SETREGSET interface by implementing new powerpc specific register set REGSET_MISC support corresponding to the new ELF core note NT_PPC_MISC added previously in this regard. Signed-off-by:

[PATCH V6 9/9] selftests: Make GIT ignore all binaries in powerpc test suite

2014-12-01 Thread Anshuman Khandual
This patch includes all of the powerpc test binaries into the .gitignore file listing in their respective directories. This will make sure that GIT ignores all of these test binaries while displaying status. Signed-off-by: Anshuman Khandual --- .../testing/selftests/powerpc/copyloops/.gitignore

[PATCH V6 2/9] powerpc, process: Add the function flush_tmregs_to_thread

2014-12-01 Thread Anshuman Khandual
This patch creates a function flush_tmregs_to_thread which will then be used by subsequent patches in this series. The function checks for self tracing ptrace interface attempts while in the TM context and logs appropriate warning message. Signed-off-by: Anshuman Khandual ---

[PATCH V6 3/9] powerpc, ptrace: Enable fpr_(get/set) for transactional memory

2014-12-01 Thread Anshuman Khandual
This patch enables the fpr_get which gets the running value of all the FPR registers and the fpr_set which sets the running value of of all the FPR registers to accommodate in transaction ptrace interface based requests. Signed-off-by: Anshuman Khandual --- arch/powerpc/kernel/ptrace.c | 110

[PATCH V6 1/9] elf: Add new powerpc specifc core note sections

2014-12-01 Thread Anshuman Khandual
This patch adds four new ELF core note sections for powerpc transactional memory and one new ELF core note section for powerpc general miscellaneous debug registers. These addition of new ELF core note sections extends the existing ELF ABI without affecting it in any manner. Acked-by: Andrew

[PATCH V6 4/9] powerpc, ptrace: Enable vr_(get/set) for transactional memory

2014-12-01 Thread Anshuman Khandual
This patch enables the vr_get which gets the running value of all the VMX registers and the vr_set which sets the running value of of all the VMX registers to accommodate in transaction ptrace interface based requests. Signed-off-by: Anshuman Khandual --- arch/powerpc/kernel/ptrace.c | 104

[PATCH V6 7/9] selftests, powerpc: Add test case for TM related ptrace interface

2014-12-01 Thread Anshuman Khandual
This patch adds one more test case called 'tm-ptrace' targeting TM related ptrace interface. This test creates one child process to run some basic TM transactions and the parent process attaches the child to do some ptrace probing using the recently added regset interfaces. The parent process then

[PATCH V6 5/9] powerpc, ptrace: Enable support for transactional memory register sets

2014-12-01 Thread Anshuman Khandual
This patch enables get and set of transactional memory related register sets through PTRACE_GETREGSET-PTRACE_SETREGSET interface by implementing four new powerpc specific register sets i.e REGSET_TM_SPR, REGSET_TM_CGPR, REGSET_TM_CFPR, REGSET_CVMX support corresponding to these following new ELF

[PATCH V6 8/9] selftests, powerpc: Make GIT ignore all binaries related to TM

2014-12-01 Thread Anshuman Khandual
This patch includes all the TM test binaries into the .gitignore file listing in the same directory. This will make sure that GIT ignores all of them while displaying status. Signed-off-by: Anshuman Khandual --- tools/testing/selftests/powerpc/tm/.gitignore | 2 ++ 1 file changed, 2

[PATCH v7 3/7] clk: Don't expose __clk_get_accuracy

2014-12-01 Thread Tomeu Vizoso
As it's only used internally, in drivers/clk/clk.c. Signed-off-by: Tomeu Vizoso Reviewed-by: Stephen Boyd --- drivers/clk/clk.c| 2 +- include/linux/clk-provider.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index

[PATCH v7 2/7] clk: Don't try to use a struct clk* after it could have been freed

2014-12-01 Thread Tomeu Vizoso
As __clk_release could call kfree on clk and then we wouldn't have a safe way of getting the module that owns the clock. Signed-off-by: Tomeu Vizoso Fixes: fcb0ee6a3d33 ("clk: Implement clk_unregister") Reviewed-by: Stephen Boyd --- v4: * Move out module_put from the critical section

[PATCH v7 6/7] clk: Make clk API return per-user struct clk instances

2014-12-01 Thread Tomeu Vizoso
Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for backwards compatibility. The struct clk that clk_get_parent() returns isn't owned by the caller,

Re: [PULL] seccomp update (next)

2014-12-01 Thread James Morris
On Mon, 1 Dec 2014, Kees Cook wrote: > On Mon, Dec 1, 2014 at 2:56 PM, James Morris wrote: > > On Mon, 1 Dec 2014, Kees Cook wrote: > > > >> On Thu, Nov 27, 2014 at 3:37 PM, James Morris wrote: > >> > On Wed, 26 Nov 2014, Kees Cook wrote: > >> > > >> >> > That would be because your tree is

[PATCH v7 5/7] clk: Change clk_ops->determine_rate to return a clk_hw as the best parent

2014-12-01 Thread Tomeu Vizoso
This is in preparation for clock providers to not have to deal with struct clk. Signed-off-by: Tomeu Vizoso Reviewed-by: Stephen Boyd --- v7: * Update a few more instances in new code v4: * Make sure that best_parent_p is populated with the current parent before calling

[PATCH v7 0/7] Per-user clock constraints

2014-12-01 Thread Tomeu Vizoso
. They are based on top of linux-next 20141201. http://cgit.collabora.com/git/user/tomeu/linux.git/log/?h=per-user-clk-constraints-v7 Thanks, Tomeu Tomeu Vizoso (7): clk: Remove unused function __clk_get_prepare_count clk: Don't try to use a struct clk* after it could have been freed clk: Don't

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

2014-12-01 Thread Darren Hart
On Sun, Nov 23, 2014 at 04:09:18PM +0100, Pali Rohár wrote: > This patch series add new acpi Dell Airplane Mode Switch driver (DELLABCE and > DELRBTN acpi devices). It provides radio HW switch events (together with > current > state of radio devices) and export them via rfkill interface. These

[GIT PULL] Keyrings / NFS fixes

2014-12-01 Thread James Morris
tag 'keys-fixes-20141201' of git://git.kernel.org/.../dhowells/linux-fs into for-linus security/keys/internal.h |1 + security/keys/keyctl.c | 56 + security/keys/keyring.c | 10 --- security/keys/request_key.c |

RE: [PATCH 1/4] video: fsl-dcfb: Add dcfb framebuffer driver for LS1021A platform

2014-12-01 Thread li.xi...@freescale.com
Hi Alexander, Thanks very much for your comments. > On Monday 24 November 2014 18:20:51, Xiubo Li wrote: > > [...] > > +static int fsl_dcfb_init_fbinfo(struct fb_info *info) > > +{ > > + struct fsl_dcfb_mfb_info *mfbi = info->par; > > + struct fb_var_screeninfo *var = >var; > > + struct

Out-of-bounds access in nfnetlink_bind

2014-12-01 Thread Dmitry Vyukov
Hi, I am working on Kernel AddressSanitizer, a fast memory error detector for kernel: https://code.google.com/p/address-sanitizer/wiki/AddressSanitizerForKernel Here is an error report that I got while running trinity: == BUG:

Re: [PATCH v2] platform: x86: dell-laptop: Add support for keyboard backlight

2014-12-01 Thread Darren Hart
On Sun, Nov 23, 2014 at 03:50:45PM +0100, Pali Rohár wrote: > This patch adds support for configuring keyboard backlight settings on > supported > Dell laptops. It exports kernel leds interface and uses Dell SMBIOS tokens or > keyboard class interface. > > With this patch it is possible to set:

Re: [PATCH] media: v4l2-subdev.h: drop the guard CONFIG_VIDEO_V4L2_SUBDEV_API for v4l2_subdev_get_try_*()

2014-12-01 Thread Prabhakar Lad
Hi Hans, On Mon, Dec 1, 2014 at 11:26 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > On Sunday 30 November 2014 21:30:35 Prabhakar Lad wrote: >> On Sun, Nov 30, 2014 at 9:16 PM, Laurent Pinchart wrote: >> > On Sunday 30 November 2014 21:05:50 Prabhakar Lad wrote: >> >> On Sat, Nov 29, 2014 at

Re: [PATCH v2] mmc: dw_mmc: add quirk for broken data transfer over scheme

2014-12-01 Thread addy ke
Hi, On 2014/11/27 06:46, Doug Anderson wrote: > Hi, > > On Tue, Nov 25, 2014 at 12:10 AM, Addy Ke wrote: >> This patch add a new quirk to add a s/w timer to notify the driver >> to terminate current transfer and report a data timeout to the core, >> if DTO interrupt does NOT come within the

Re: [PATCH] media: platform: add VPFE capture driver support for AM437X

2014-12-01 Thread Prabhakar Lad
Hi Hans, On Tue, Dec 2, 2014 at 7:32 AM, Hans Verkuil wrote: > On 12/01/2014 11:27 PM, Prabhakar Lad wrote: >> Hi Hans, >> >> On Mon, Dec 1, 2014 at 11:00 AM, Hans Verkuil wrote: >>> On 12/01/2014 11:11 AM, Hans Verkuil wrote: Hi all, Thanks for the patch, review comments are

Re: [PATCH] media: platform: add VPFE capture driver support for AM437X

2014-12-01 Thread Prabhakar Lad
Hi Hans, On Tue, Dec 2, 2014 at 7:26 AM, Hans Verkuil wrote: > On 12/01/2014 11:17 PM, Prabhakar Lad wrote: >> Hi Hans, >> >> Thanks for the review. >> >> On Mon, Dec 1, 2014 at 10:11 AM, Hans Verkuil wrote: >>> Hi all, >>> >>> Thanks for the patch, review comments are below. >>> >>> For the

Re: [PATCH] platform: x86: hp_wireless: Inform the user if hp_wireless_input_setup()/add() fails

2014-12-01 Thread Darren Hart
On Sat, Nov 29, 2014 at 01:04:17AM +0100, Borislav Petkov wrote: > On Sat, Nov 29, 2014 at 01:48:31AM +0200, Giedrius Statkevicius wrote: > > On 2014.11.29 01:15, Borislav Petkov wrote: > > > On Sat, Nov 29, 2014 at 12:14:27AM +0200, Giedrius Statkevicius wrote: > > >> In hpwl_add() there is a

Re: [PATCH] media: v4l2-subdev.h: drop the guard CONFIG_VIDEO_V4L2_SUBDEV_API for v4l2_subdev_get_try_*()

2014-12-01 Thread Hans Verkuil
On 12/02/2014 12:26 AM, Laurent Pinchart wrote: > Hi Prabhakar, > > On Sunday 30 November 2014 21:30:35 Prabhakar Lad wrote: >> On Sun, Nov 30, 2014 at 9:16 PM, Laurent Pinchart wrote: >>> On Sunday 30 November 2014 21:05:50 Prabhakar Lad wrote: On Sat, Nov 29, 2014 at 7:12 PM, Laurent

[PATCH v15 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-01 Thread Andy Yan
Rockchip RK3288 hdmi is compatible with dw_hdmi this patch is depend on patch by Mark Yao Add drm driver for Rockchip Socs see https://lkml.org/lkml/2014/11/19/1153 Signed-off-by: Andy Yan --- Changes in v15: - remove THIS_MODULE in platform driver Changes in v14: None Changes in v13: None

[PATCH v15 11/12] dt-bindings: Add documentation for rockchip dw hdmi

2014-12-01 Thread Andy Yan
Signed-off-by: Andy Yan --- Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - Add documentation for rockchip dw hdmi Changes in v7: None Changes in v6: None Changes in v5: None

[PATCH v15 10/12] drm: bridge/dw_hdmi: add function dw_hdmi_phy_enable_spare

2014-12-01 Thread Andy Yan
RK3288 HDMI will not work without the spare bit of HDMI_PHY_CONF0 enable Signed-off-by: Andy Yan --- Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes

[PATCH v15 09/12] drm: bridge/dw_hdmi: clear i2cmphy_stat0 reg in hdmi_phy_wait_i2c_done

2014-12-01 Thread Andy Yan
HDMI_IH_I2CMPHY_STAT0 is a clear on write register, which indicates i2cm operation status(i2c transfer done or error), every hdmi phy register configuration must check this register to make sure the configuration has complete. But the indication bit should be cleared after check, otherwise the

[PATCH v15 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-12-01 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it Signed-off-by: Andy Yan --- Changes in v15: None Changes in v14: - remove drm_connector_register, because imx-drm core has registered connector Changes in v13: None Changes in v12: None Changes in v11: None

[PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-01 Thread Andy Yan
Signed-off-by: Andy Yan --- Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - correct some spelling mistake - modify ddc-i2c-bus and interrupt description Changes in v7: None

[PATCH v15 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-12-01 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan --- Changes in v15: - remove unio of the multi-byte register access, adviced by Philipp Zabel Changes in v14:

Re: [PATCH v8 7/8] regulator: sky81452: Modify Device Tree structure

2014-12-01 Thread Gyungoh Yoo
On Wed, Nov 26, 2014 at 04:37:02PM +, Mark Brown wrote: > On Wed, Nov 26, 2014 at 10:40:07AM +0900, Gyungoh Yoo wrote: > > On Tue, Nov 25, 2014 at 12:19:16PM +, Mark Brown wrote: > > > On Tue, Nov 25, 2014 at 04:03:05PM +0900, gyun...@gmail.com wrote: > > > > From: Gyungoh Yoo > > > >

[PATCH v15 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-01 Thread Andy Yan
the original imx hdmi driver is under drm/imx/, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename it to dw_hdmi Signed-off-by: Andy Yan --- Changes in v15: - add prefix dw_hdmi/DW_HDMI for public used dw_hdmi structs adviced by Philipp Zabel - remove

Re: [PATCH] toshiba-acpi: Add missing ID (TOS6207)

2014-12-01 Thread Darren Hart
On Mon, Nov 10, 2014 at 12:11:54AM +0100, Ondrej Zary wrote: > toshiba-acpi was always missing TOS6207 ID so it did not load automatically > on some laptops (such as Portege R100). But it worked fine if loaded manually. > Commit 135740de7764 ("toshiba_acpi: Convert to use acpi_driver") broke that

[PATCH v15 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-01 Thread Andy Yan
IMX6 and Rockchip RK3288 and JZ4780 (Ingenic Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width, 4K support, clk useage, and the crtc mux configuration is also platform specific. To reuse the imx

[PATCH v15 04/12] drm: imx: imx-hdmi: split phy configuration to platform driver

2014-12-01 Thread Andy Yan
hdmi phy configuration is platform specific, which can be adusted according to the board to get the best SI Signed-off-by: Andy Yan --- Changes in v15: None Changes in v14: None Changes in v13: - split phy configuration from patch#4 Changes in v12: None Changes in v11: None Changes in v10:

[PATCH v15 02/12] drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter

2014-12-01 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan Reviewed-by: Daniel Kurtz --- Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: - refactor of_node_put(ddc_node) Changes in v11: None Changes

[PATCH v15 01/12] drm: imx: imx-hdmi: make checkpatch happy

2014-12-01 Thread Andy Yan
CHECK: Alignment should match open parenthesis + if ((hdmi->vic == 10) || (hdmi->vic == 11) || + (hdmi->vic == 12) || (hdmi->vic == 13) || CHECK: braces {} should be used on all arms of this statement + if (hdmi->hdmi_data.video_mode.mdvi) [...] + else { [...]

Re: [PATCH v2] fs-fat: Less function calls in fat_fill_super() after error detection

2014-12-01 Thread Julia Lawall
On Tue, 2 Dec 2014, Dan Carpenter wrote: > On Mon, Dec 01, 2014 at 10:22:38PM +0100, SF Markus Elfring wrote: > > >> Which names would be better acceptable for you? > > > > > > You named it after the goto location but the label name should be based > > > on the label location to say what the

[PATCH v15 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-12-01 Thread Andy Yan
We found Freescale imx6 and Rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width(imx hdmi register is one byte, but rk3288 is 4 bytes width and can only be

Re: [PATCH v2] fs-fat: Less function calls in fat_fill_super() after error detection

2014-12-01 Thread Dan Carpenter
On Mon, Dec 01, 2014 at 10:22:38PM +0100, SF Markus Elfring wrote: > >> Which names would be better acceptable for you? > > > > You named it after the goto location but the label name should be based > > on the label location to say what the goto does. > > I find it easier occasionally to name a

Re: [PATCH] media: platform: add VPFE capture driver support for AM437X

2014-12-01 Thread Hans Verkuil
On 12/01/2014 11:27 PM, Prabhakar Lad wrote: > Hi Hans, > > On Mon, Dec 1, 2014 at 11:00 AM, Hans Verkuil wrote: >> On 12/01/2014 11:11 AM, Hans Verkuil wrote: >>> Hi all, >>> >>> Thanks for the patch, review comments are below. >>> >>> For the next version I would appreciate if someone can test

Re: [PATCH 03/10] mm: Convert p[te|md]_numa users to p[te|md]_protnone_numa

2014-12-01 Thread Aneesh Kumar K.V
Benjamin Herrenschmidt writes: > On Fri, 2014-11-21 at 13:57 +, Mel Gorman wrote: >> void set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, >> pte_t pte) >> { >> -#ifdef CONFIG_DEBUG_VM >> - WARN_ON(pte_val(*ptep) & _PAGE_PRESENT); >> -#endif >> +

Re: [PATCH 2/3] platform: x86: dell-rbtn: Export notifier for other kernel modules

2014-12-01 Thread Darren Hart
On Sun, Nov 23, 2014 at 04:09:20PM +0100, Pali Rohár wrote: > This patch exports notifier functions so other modules can receive HW switch > events. By default when some module register notifier, dell-rbtn driver The commit message needs to describe the problem being addressed as well. Why is

Re: [PATCH 03/10] mm: Convert p[te|md]_numa users to p[te|md]_protnone_numa

2014-12-01 Thread Aneesh Kumar K.V
Benjamin Herrenschmidt writes: > On Fri, 2014-11-21 at 13:57 +, Mel Gorman wrote: >> Convert existing users of pte_numa and friends to the new helper. Note >> that the kernel is broken after this patch is applied until the other >> page table modifiers are also altered. This patch layout is

Re: [PATCH] media: platform: add VPFE capture driver support for AM437X

2014-12-01 Thread Hans Verkuil
On 12/01/2014 11:17 PM, Prabhakar Lad wrote: > Hi Hans, > > Thanks for the review. > > On Mon, Dec 1, 2014 at 10:11 AM, Hans Verkuil wrote: >> Hi all, >> >> Thanks for the patch, review comments are below. >> >> For the next version I would appreciate if someone can test this driver with >> the

Re: [PATCH] Documentation/email-clients.txt: add info about Claws Mail

2014-12-01 Thread Richard Leitner
Hi jon, thanks for your reply. On Mon, 1 Dec 2014 17:34:05 -0500 Jonathan Corbet wrote: > Interesting, I've sent an awful lot of patches with claws and I have > wrapping (a useful feature) enabled. I can't see it being a problem > unless you're writing the patch itself in the claws composition

RE: [PATCH v3] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-12-01 Thread Jason Wang
On Tue, Dec 2, 2014 at 1:33 PM, Dexuan Cui wrote: -Original Message- From: KY Srinivasan Sent: Monday, December 1, 2014 23:55 PM To: Dexuan Cui; Jason Wang Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org; o...@aepfle.de;

Re: [PATCH 1/3] platform: x86: dell-rbtn: Dell Airplane Mode Switch driver

2014-12-01 Thread Darren Hart
On Fri, Nov 28, 2014 at 01:54:57PM +0200, Mika Westerberg wrote: > On Fri, Nov 28, 2014 at 12:45:55PM +0100, Pali Rohár wrote: > > Hello, > > > > I will fix all those style problems and add some comments. > > > > On Friday 28 November 2014 12:33:28 Mika Westerberg wrote: > > > > + if

[PATCH] Thermal: introduce INT3406 thermal driver

2014-12-01 Thread Aaron Lu
On 11/30/2014 08:22 PM, Zhang Rui wrote: > On Fri, 2014-11-07 at 15:11 -0400, Eduardo Valentin wrote: >> Hi, >> >> On Tue, Oct 28, 2014 at 02:11:59PM +0800, Aaron Lu wrote: >>> Jim found that the current kernel may trigger a build error with some >>> config: drivers/built-in.o: In function

[PATCH v2 1/2] kvm: x86: revert mask out xsaves

2014-12-01 Thread Wanpeng Li
xsaves will be exported to guest in the next patch, so revert the mask out xsaves patch. Signed-off-by: Wanpeng Li --- arch/x86/kvm/cpuid.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index a4f5ac4..7af07571 100644

[PATCH v2 2/2] kvm: vmx: enable intel xsaves for guest

2014-12-01 Thread Wanpeng Li
Expose intel xsaves feature to guest. Signed-off-by: Wanpeng Li --- v1 -> v2: *auto switch msr ia32_xss if this msr is present arch/x86/include/asm/kvm_host.h | 1 + arch/x86/include/asm/vmx.h | 3 +++ arch/x86/include/uapi/asm/vmx.h | 6 +- arch/x86/kvm/vmx.c | 35

Re: [PATCHv4 1/1] HID: add BETOP game controller force feedback support

2014-12-01 Thread Huang Bo
On 12/02/2014 04:11 AM, Jiri Kosina wrote: > On Fri, 28 Nov 2014, Huang Bo wrote: > >> On 11/27/2014 05:05 PM, Jiri Kosina wrote: >>> except ... >> thanks firstly. >> 1. tested the BETOP2185 gamecontroller, it really not need it. >> 2. check with engineers of Betop, they design only one report

Re: [PATCH] iscsi-target: fix error path in iscsi_target_init_module()

2014-12-01 Thread Nicholas A. Bellinger
On Sun, 2014-11-30 at 12:00 +0100, Lino Sanfilippo wrote: > In iscsi_target_init_module() unwind transport protocol registration in case > that iscsit_load_discovery_tpg() failed. > > Signed-off-by: Lino Sanfilippo > --- > drivers/target/iscsi/iscsi_target.c | 1 + > 1 file changed, 1

Re: [PATCH 1/4] target: remove unneeded array

2014-12-01 Thread Nicholas A. Bellinger
On Sun, 2014-11-30 at 19:14 +0100, Julia Lawall wrote: > From: Julia Lawall > > Delete a local array that is only used to be initialized by memset. > > A semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > identifier x; > type T; > @@ > > { > ...

Re: [Gta04-owner] [PATCH 1/2] mmc: core: allow a reset gpio to be configured.

2014-12-01 Thread Dr. H. Nikolaus Schaller
Hi Neil, Am 02.12.2014 um 02:55 schrieb NeilBrown : > On Fri, 28 Nov 2014 12:56:33 +0100 Ulf Hansson wrote: > >> On 8 November 2014 at 01:14, NeilBrown wrote: >>> If the regulator supplying an SDIO device is shared >>> with another device, the turning the regulator 'on' and 'off' >>> will not

Linux 3.4.105

2014-12-01 Thread Zefan Li
I'm announcing the release of the 3.4.105 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: Checking to see if a bit is _not_ set in a ftrace event filter

2014-12-01 Thread Alexei Starovoitov
On Mon, Dec 1, 2014 at 9:04 PM, Theodore Ts'o wrote: > On Mon, Dec 01, 2014 at 07:52:11PM -0800, Alexei Starovoitov wrote: > >> It will change the workflow for folks who use 'echo expr > filter' >> directly. trace-cmd -e -f can be made to work transparently >> with new features. > > This will

[PATCH v2 0/2] fsl_ssi misc fix

2014-12-01 Thread Jiada Wang
Hi, Changes in v2: - fix error path in probe - replace irq_of_parse_and_map with platform_get_irq Changes in v1: - free IRQ before irq_dispose_mapping Jiada Wang (2): ASoC: fsl_ssi: fix error path in probe ASoC: fsl_ssi: use platform_get_irq instead of

[PATCH v2 1/2] ASoC: fsl_ssi: fix error path in probe

2014-12-01 Thread Jiada Wang
SSI component isn't unregistered if fsl_ssi_debugfs_create() fails in probe phase. To fix it, this commit replaces label error_asoc_register with error_irq. Signed-off-by: Jiada Wang --- sound/soc/fsl/fsl_ssi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 2/2] ASoC: fsl_ssi: use platform_get_irq instead of irq_of_parse_and_map

2014-12-01 Thread Jiada Wang
Use platform_get_irq as no mapping needs to be done. By using platform_get_irq, driver can avoid to free IRQ manually when SSI driver exits. Signed-off-by: Jiada Wang --- sound/soc/fsl/fsl_ssi.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git

Re: [PATCH 3/3] selftests/kcmp: Always try to build the test

2014-12-01 Thread Michael Ellerman
On Thu, 2014-10-23 at 10:09 +0400, Cyrill Gorcunov wrote: > On Thu, Oct 23, 2014 at 04:07:14PM +1100, Michael Ellerman wrote: > > Don't prevent the test building on non-x86. Just try and build it and > > let the chips fall where they may. > > > > Signed-off-by: Michael Ellerman > > kcmp depends

[PATCH 3/3] selftests/kcmp: Always try to build the test

2014-12-01 Thread Michael Ellerman
Don't prevent the test building on non-x86. Just try and build it and let the chips fall where they may. Add support for CROSS_COMPILE while we're at it. Also we don't need a custom rule for building kcmp_test. Signed-off-by: Michael Ellerman --- eg: $ uname -m x86_64 $ make ARCH=powerpc

[PATCH 1/3] kcmp: Move kcmp.h into uapi

2014-12-01 Thread Michael Ellerman
kcmp.h appears to be part of the API, it's documented in kcmp(2), and the selftests/kcmp code uses it. So move it to uapi so it's actually exported. Signed-off-by: Michael Ellerman --- include/linux/kcmp.h | 17 - include/uapi/linux/Kbuild | 1 + include/uapi/linux/kcmp.h

[PATCH 2/3] selftests/kcmp: Don't include kernel headers

2014-12-01 Thread Michael Ellerman
The kcmp test mucks with the include path to bring in the kernel headers, and x86 headers too for reasons that are not clear. Now that kcmp.h is exported none of that should be necessary. Signed-off-by: Michael Ellerman Acked-by: Cyrill Gorcunov --- tools/testing/selftests/kcmp/Makefile | 4

Re: Why not make kdbus use CUSE?

2014-12-01 Thread Greg Kroah-Hartman
On Tue, Dec 02, 2014 at 12:40:09AM -0500, Richard Yao wrote: > >> They regard a userland compatibility shim in the systemd repostory to > >> provide > >> backward compatibility for applications. Unfortunately, this is > >> insufficient to > >> ensure compatibility because dependency trees have

Re: [PATCH 3/3] selftests/kcmp: Always try to build the test

2014-12-01 Thread Michael Ellerman
On Thu, 2014-10-23 at 09:06 -0400, Christopher Covington wrote: > Hi Michael, > > On 10/23/2014 01:07 AM, Michael Ellerman wrote: > > Don't prevent the test building on non-x86. Just try and build it and > > let the chips fall where they may. > > As a user of kcmp via CRIU on arm and arm64,

Re: Why not make kdbus use CUSE?

2014-12-01 Thread Richard Yao
On 11/29/2014 12:59 PM, Greg Kroah-Hartman wrote: > On Sat, Nov 29, 2014 at 06:34:16AM +, Richard Yao wrote: >> I had the opportunity at LinuxCon Europe to chat with Greg and some other >> kdbus >> developers. A few things stood out from our conversation that I thought I >> would >> bring to

Re: [CFT PATCH v2 0/2] KVM: support XSAVES usage in the host

2014-12-01 Thread Wanpeng Li
Hi Paolo, On Tue, Nov 25, 2014 at 04:50:06PM +0200, Nadav Amit wrote: [...] >I am just worried that Wanpeng reported it fails, while I report it works... I just get a real skylake-client machine on hand, both the two patches from you can run normally, it seems that the silly emulator which I

Re: [PATCH 1/3] kcmp: Move kcmp.h into uapi

2014-12-01 Thread Michael Ellerman
On Mon, 2014-12-01 at 10:00 -0700, Shuah Khan wrote: > On 11/27/2014 07:18 PM, Michael Ellerman wrote: > > On Thu, 2014-10-23 at 16:07 +1100, Michael Ellerman wrote: > >> kcmp.h appears to be part of the API, it's documented in kcmp(2), and > >> the selftests/kcmp code uses it. So move it to uapi

RE: [PATCH v3] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-12-01 Thread Dexuan Cui
> -Original Message- > From: KY Srinivasan > Sent: Monday, December 1, 2014 23:55 PM > To: Dexuan Cui; Jason Wang > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com; Haiyang

Re: [PATCH V2 net-next] udp: Neaten and reduce size of compute_score functions

2014-12-01 Thread Joe Perches
On Mon, 2014-12-01 at 21:08 -0800, Eric Dumazet wrote: > On Mon, 2014-12-01 at 20:29 -0800, Joe Perches wrote: > > The compute_score functions are a bit difficult to read. > > > > Neaten them a bit to reduce object sizes and make them a > > bit more intelligible. > > > > Return early to avoid

Re: [PATCH v6] edac: synps: Added EDAC support for zynq ddr ecc controller

2014-12-01 Thread punnaiah choudary kalluri
Hi Boris On Mon, Dec 1, 2014 at 11:56 PM, Borislav Petkov wrote: > On Mon, Dec 01, 2014 at 09:35:09PM +0530, Punnaiah Choudary Kalluri wrote: >> Added EDAC support for reporting the ecc errors of synopsys ddr controller. >> The ddr ecc controller corrects single bit errors and detects double bit

[PATCH 1/2] kvm: x86: revert mask out xsaves

2014-12-01 Thread Wanpeng Li
xsaves will be exported to guest in the next patch, so revert the mask out xsaves patch. Signed-off-by: Wanpeng Li --- arch/x86/kvm/cpuid.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index a4f5ac4..7af07571 100644

[PATCH 2/2] KVM: vmx: Enable Intel xsaves for guest

2014-12-01 Thread Wanpeng Li
Expose Intel xsaves feature to guest. Signed-off-by: Wanpeng Li --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/include/asm/vmx.h | 3 +++ arch/x86/include/uapi/asm/vmx.h | 6 +- arch/x86/kvm/vmx.c | 30 +- 4 files changed, 38

Re: [PATCH V2 net-next] udp: Neaten and reduce size of compute_score functions

2014-12-01 Thread Eric Dumazet
On Mon, 2014-12-01 at 20:29 -0800, Joe Perches wrote: > The compute_score functions are a bit difficult to read. > > Neaten them a bit to reduce object sizes and make them a > bit more intelligible. > > Return early to avoid indentation and avoid unnecessary > initializations. > >

Re: [mm] BUG: unable to handle kernel paging request at c2446ffc

2014-12-01 Thread Fengguang Wu
Hi Joonsoo, On Tue, Dec 02, 2014 at 01:36:38PM +0900, Joonsoo Kim wrote: > On Fri, Nov 28, 2014 at 02:10:00AM -0800, Fengguang Wu wrote: > > Greetings, > > > > 0day kernel testing robot got the below dmesg and the first bad commit is > > > >

Re: Checking to see if a bit is _not_ set in a ftrace event filter

2014-12-01 Thread Theodore Ts'o
On Mon, Dec 01, 2014 at 07:52:11PM -0800, Alexei Starovoitov wrote: > Ted, I don't see 'writeback_mark_inode_dirty' event > in the tree. Some new stuff? Yep, see: http://thread.gmane.org/gmane.comp.file-systems.ext4/47092 Except instead of the mini-script which I gave in the above URL, I wanted

Re: [PATCH v11 1/7] ARM: probes: move all probe code to dedicate directory

2014-12-01 Thread Masami Hiramatsu
(2014/12/01 17:48), Wang Nan wrote: > In discussion on LKML (https://lkml.org/lkml/2014/11/28/158), Russell > King suggest to move all probe related code to arch/arm/probes. This > patch do the work. Due to dependency on 'arch/arm/kernel/patch.h', this > patch also move patch.h to

[PATCH v5][resend] of: replace Asahi Kasei Corp vendor prefix

2014-12-01 Thread Kuninori Morimoto
From: Kuninori Morimoto Current vendor-prefixes.txt already has "ak" prefix for Asahi Kasei Corp by ae8c4209af2c(of: Add vendor prefix for Asahi Kasei Corp.) It went through the appropriate review process. But, almost all Asahi Kasei chip drivers are using "asahi-kasei" prefix today.

Re: Checking to see if a bit is _not_ set in a ftrace event filter

2014-12-01 Thread Steven Rostedt
On Mon, 1 Dec 2014 22:57:25 -0500 Steven Rostedt wrote: > On Mon, 1 Dec 2014 19:52:11 -0800 > Alexei Starovoitov wrote: > > > yeah. teaching tree walk to do (state & 2048) == 0 is not trivial, > > since it doesn't have a concept of value of expression. > > Doing !(state & 2048) is probably a

[PATCH nouveau 3/4] platform: add GPU speedo information to nouveau platform

2014-12-01 Thread Vince Hsu
For GK20A we need the GPU speedo value to calculate voltage levels. Signed-off-by: Vince Hsu --- drm/nouveau_platform.c | 2 ++ drm/nouveau_platform.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drm/nouveau_platform.c b/drm/nouveau_platform.c index 9945c2ec2ca3..8871a21ad8fc 100644

[V3 PATCH nouveau 2/4] volt: allow non-bios voltage scaling

2014-12-01 Thread Vince Hsu
Move the vbios parsing out of init() and call it conditionally if the platform has a vbios. Non-vbios platforms can use the ctor() to init the data structures. Signed-off-by: Vince Hsu Acked-by: Alexandre Courbot Acked-by: Martin Peres --- v3: steal Martin's commit message and add his

[V3 PATCH nouveau 4/4] volt: add support for GK20A

2014-12-01 Thread Vince Hsu
The voltage value are calculated by the hardware characterized result. Signed-off-by: Vince Hsu Reviewed-by: Alexandre Courbot Acked-by: Martin Peres --- v3: remove the tegra fuse dependency v2: add Alex's Reviewed-by drm/Kbuild | 1 + drm/core/subdev/volt/gk20a.c | 1

[V3 PATCH 1/4] soc/tegra: fuse: export tegra_sku_info

2014-12-01 Thread Vince Hsu
Some Tegra drivers might be compiled as kernel modules, and they need the fuse information for initialization. One example is the GK20A Nouveau driver. It needs the GPU speedo value to calculate frequency-voltage table. So export the tegra_sku_info. Signed-off-by: Vince Hsu Acked-by: Alexandre

Re: [PATCH net-next] udp: Neaten and reduce size of compute_score functions

2014-12-01 Thread Eric Dumazet
On Mon, 2014-12-01 at 19:09 -0800, Joe Perches wrote: > On Mon, 2014-12-01 at 18:59 -0800, Eric Dumazet wrote: > > On Mon, 2014-12-01 at 17:39 -0800, Joe Perches wrote: > > > The compute_score functions are a bit difficult to read. > > > > > > Neaten them a bit to reduce object sizes and make

Re: [PATCH 0/2] fix some problems for cpufreq

2014-12-01 Thread Viresh Kumar
On 30 November 2014 at 13:53, Wang Weidong wrote: > No, there are not utilities and scripts relying on it. How can you be so sure about it ? There might be scripts/utils you aren't aware of and are depending on this.. > I just confuse that: > If the policy->min and policy-max is changed while

[PATCH 1/2] fs: introduce sendfd() syscall

2014-12-01 Thread Alex Dubov
Present patch introduces exceptionally easy to use, low latency and low overhead mechanism for transferring file descriptors between cooperating processes: int sendfd(pid_t pid, int sig, int fd) Given a target process pid, the sendfd() syscall will create a duplicate file descriptor in a

[PATCH 2/2] fs: Wire up sendfd() syscall (all architectures)

2014-12-01 Thread Alex Dubov
Signed-off-by: Alex Dubov --- arch/arm/include/uapi/asm/unistd.h| 1 + arch/arm/kernel/calls.S | 1 + arch/arm64/include/asm/unistd32.h | 2 ++ arch/ia64/include/uapi/asm/unistd.h | 1 + arch/ia64/kernel/entry.S | 1 +

Minimal effort/low overhead file descriptor duplication over Posix.1b s

2014-12-01 Thread Alex Dubov
A common requirement in parallel processing applications (relied upon by popular network servers, databases and various other applications) is to pass open file descriptors between processes. Historically, several mechanisms existed to support this requirement, such as those provided by "cmsg"

Re: [mm] BUG: unable to handle kernel paging request at c2446ffc

2014-12-01 Thread Joonsoo Kim
On Fri, Nov 28, 2014 at 02:10:00AM -0800, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > commit 1e491e9be4c97229a3a88763aada9582e37c7eaf > Author:

Re: Why not make kdbus use CUSE?

2014-12-01 Thread Richard Yao
On 12/01/2014 09:23 AM, One Thousand Gnomes wrote: >> told quite plainly that such distributions are not worth consideration. If >> kdbus >> is merged despite concerns about security and backward compatibility, could >> we >> at least have the shim moved to libc netural place, like Linus' tree?

[PATCH] kbuild: remove redundant -rR flag of hdr-inst

2014-12-01 Thread Masahiro Yamada
Passing -rR for "make headers_install" is redundant because the top Makefile has already set -rR to MAKEFLAGS. Signed-off-by: Masahiro Yamada --- scripts/Kbuild.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index

[PATCH V2 net-next] udp: Neaten and reduce size of compute_score functions

2014-12-01 Thread Joe Perches
The compute_score functions are a bit difficult to read. Neaten them a bit to reduce object sizes and make them a bit more intelligible. Return early to avoid indentation and avoid unnecessary initializations. (allyesconfig, but w/ -O2 and no profiling) $ size net/ipv[46]/udp.o.* text

[PATCH] kbuild: remove old information in headers_install.txt document

2014-12-01 Thread Masahiro Yamada
The arch header directories "include/asm-*" were moved long before. Signed-off-by: Masahiro Yamada --- Documentation/kbuild/headers_install.txt | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Documentation/kbuild/headers_install.txt

Re: [PATCH v2 3/4] pwm: kona: Fix enable, disable and config procedures

2014-12-01 Thread Tim Kryger
On Mon, Dec 1, 2014 at 11:37 AM, Arun Ramamurthy wrote: > > > On 14-11-28 06:30 PM, Tim Kryger wrote: >> >> On Fri, Nov 28, 2014 at 3:49 PM, Arun Ramamurthy >> wrote: >>> >>> >>> >>> On 14-11-25 11:29 PM, Tim Kryger wrote: On Tue, Nov 25, 2014 at 11:40 AM, Scott Branden

[PATCH] time: do a safe overflow check in ktime_add_safe

2014-12-01 Thread Sasha Levin
ktime_add_safe would check for overflows, but since ktime variables are signed, overflowing them is an undefined behaviour and should be avoided. Rather than checking for wraparound after the overflow, check for potential overflowing values prior to adding both ktimes. Signed-off-by: Sasha Levin

  1   2   3   4   5   6   7   8   9   10   >