Re: [PATCH] net:wireless:Add proper locking for the function, b43_op_beacon_set_tim in main.c

2015-01-25 Thread Rafał Miłecki
On 25 January 2015 at 08:06, Nicholas Krause wrote: > Adds proper locking for the function, b43_op_beacon_set_tim in main.c that > internally calls b43_update_templates. > Due to the function that is being called internally,b43_update_templates > needing the mutex lock of the structure > pointer

[PATCH v3 0/5] Add support for Fujitsu USB host controller

2015-01-25 Thread Sneeker Yeh
These patches add support for XHCI compliant Host controller found on Fujitsu Socs, and are based on http://lwn.net/Articles/629162/ The first patch is to add Fujitsu glue layer of Synopsis DesignWare USB3 driver and last four patch is about quirk implementation of errata in Synopsis DesignWare USB

[PATCH v3 2/5] xhci: Platform: Set Synopsis device disconnection quirk based on platform data

2015-01-25 Thread Sneeker Yeh
If an xhci platform has Synopsis device disconnection errata then enable XHCI_DISCONNECT_QUIRK quirk flag. Signed-off-by: Sneeker Yeh --- drivers/usb/host/xhci-plat.c |3 +++ include/linux/usb/xhci_pdriver.h |4 2 files changed, 7 insertions(+) diff --git a/drivers/usb/host/xhc

[PATCH v3 4/5] usb: dwc3: Add quirk for Synopsis device disconnection errata

2015-01-25 Thread Sneeker Yeh
Synopsis Designware USB3 IP earlier than v3.00a which is configured in silicon with DWC_USB3_SUSPEND_ON_DISCONNECT_EN=1, would need a specific quirk to prevent xhci host controller from dying when device is disconnected. Since DWC_USB3_SUSPEND_ON_DISCONNECT_EN is an IP configuration whose state ca

[PATCH v3 1/5] xhci: add a quirk for device disconnection errata for Synopsis Designware USB3 core

2015-01-25 Thread Sneeker Yeh
This issue is defined by a three-way race at disconnect, between 1) Class driver interrupt endpoint resheduling attempts if the ISR gave an ep error event due to device detach (it would try 3 times) 2) Disconnect interrupt on PORTSC_CSC, which is cleared by hub thread asynchronously 3) The ha

[PATCH v3 5/5] usb: dwc3: add Fujitsu Specific Glue layer

2015-01-25 Thread Sneeker Yeh
This patch adds support for Synopsis DesignWare USB3 IP Core found on Fujitsu Socs. Signed-off-by: Sneeker Yeh --- .../devicetree/bindings/usb/fujitsu-dwc3.txt | 33 drivers/usb/dwc3/Kconfig | 11 ++ drivers/usb/dwc3/Makefile |

[PATCH v3 3/5] usb: dwc3: add revision number DWC3_REVISION_290A and DWC3_REVISION_300A

2015-01-25 Thread Sneeker Yeh
Add the contstant for v2.90a and v3.00a dwc3 IP detection Signed-off-by: Sneeker Yeh --- drivers/usb/dwc3/core.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 4bb9aa6..46f9f9a 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/us

Re: [PATCH] net: llc: use correct size for sysctl timeout entries

2015-01-25 Thread David Miller
From: Sasha Levin Date: Fri, 23 Jan 2015 20:47:00 -0500 > The timeout entries are sizeof(int) rather than sizeof(long), which > means that when they were getting read we'd also leak kernel memory > to userspace along with the timeout values. > > Signed-off-by: Sasha Levin Applied, thank you. -

[PATCH] hyperv: else branch not necessary

2015-01-25 Thread Nicholas Mc Guire
As the if completes with a unconditional goto the else branch is not needed here. Signed-off-by: Nicholas Mc Guire --- All paths of execution that did not exit through the if branch will go through the else branch so no need for an explicit else here Patch was compile tested only for x86_64_de

[PATCH] hyperv: fixup of wait_for_completion_timeout return type

2015-01-25 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this patch just fixes up the declarations. Signed-off-by: Nicholas Mc Guire --- The return type of wait_for_completion_timeout is unsigned long not int. This patch fixes up the declarations only. Patch was compile tested only

Re: [PATCH] mm: incorporate read-only pages into transparent huge pages

2015-01-25 Thread Vlastimil Babka
On 23.1.2015 20:18, Andrea Arcangeli wrote: >+ if (!pte_write(pteval)) { >+ if (++ro > khugepaged_max_ptes_none) >+ goto out_unmap; >+ } It's true this is maxed out at 511, so there must be at least one writable and not none pte (as

Re: [PATCH 1/3] gpio: sysfs: fix gpio-chip device-attribute leak

2015-01-25 Thread Alexandre Courbot
On Tue, Jan 13, 2015 at 9:00 PM, Johan Hovold wrote: > The gpio-chip device attributes were never destroyed when the device was > removed. > > Fix by using device_create_with_groups() to create the device attributes > of the chip class device. > > Note that this also fixes the attribute-creation r

Re: [PATCH 2/3] gpio: sysfs: fix gpio device-attribute leak

2015-01-25 Thread Alexandre Courbot
On Tue, Jan 13, 2015 at 9:00 PM, Johan Hovold wrote: > The gpio device attributes were never destroyed when the gpio was > unexported (or on export failures). > > Use device_create_with_groups() to create the default device attributes > of the gpio class device. Note that this also fixes the > att

[PATCH 3.19.0-rc5 01/03] STAGING: Fix pcl818.c coding style issue: code indent should use tabs where possible

2015-01-25 Thread Simon Guo
Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - code indent should use tabs where possible Signed-off-by: Simon Guo --- drivers/staging/comedi/drivers/pcl818.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/stag

[PATCH 3.19.0-rc5 02/03] STAGING: Fix pcl818.c coding style issue: line over 80 characters

2015-01-25 Thread Simon Guo
Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - line over 80 characters Signed-off-by: Simon Guo --- drivers/staging/comedi/drivers/pcl818.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/pcl818.c b/d

Re: [PATCH 2/3] gpio: sysfs: fix gpio device-attribute leak

2015-01-25 Thread Alexandre Courbot
On Sun, Jan 25, 2015 at 6:27 PM, Alexandre Courbot wrote: > On Tue, Jan 13, 2015 at 9:00 PM, Johan Hovold wrote: >> The gpio device attributes were never destroyed when the gpio was >> unexported (or on export failures). >> >> Use device_create_with_groups() to create the default device attribute

Re: [PATCH 3/3] gpio: sysfs: fix gpio attribute-creation race

2015-01-25 Thread Alexandre Courbot
On Tue, Jan 13, 2015 at 9:00 PM, Johan Hovold wrote: > Fix attribute-creation race with userspace by using the default group > to create also the contingent gpio device attributes. > > Fixes: d8f388d8dc8d ("gpio: sysfs interface") > Signed-off-by: Johan Hovold Same, this one does not apply to Li

[PATCH V2] clockevents: rockchip: Add rockchip timer for rk3288

2015-01-25 Thread Daniel Lezcano
The rk3288 board uses the architected timers and these ones are shutdown when the cpu is powered down. There is a need of a broadcast timer in this case to ensure proper wakeup when the cpus are in sleep mode and a timer expires. This driver provides the basic timer functionnality as a backup for

[PATCH 3.19.0-rc5 03/03] STAGING: Fix pcl818.c coding style issue: no space before tabs

2015-01-25 Thread Simon Guo
Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - please, no space before tabs Signed-off-by: Simon Guo --- drivers/staging/comedi/drivers/pcl818.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/pcl818.c b/drivers/stag

[PATCH] sh: Eliminate unused irq_reg_{readl,writel} accessors

2015-01-25 Thread Geert Uytterhoeven
From: Kevin Cernekee Defining these macros way down in arch/sh/.../irq.c doesn't cause kernel/irq/generic-chip.c to use them. As far as I can tell this code has no effect. Signed-off-by: Kevin Cernekee Tested-by: Geert Uytterhoeven (cpp/asm comparison) As of commit 332fd7c4fef5f3b1 ("genirq:

Re: [PATCH V4 01/14] sh: Eliminate unused irq_reg_{readl,writel} accessors

2015-01-25 Thread Geert Uytterhoeven
On Sat, Jan 24, 2015 at 6:51 PM, Thomas Gleixner wrote: > On Mon, 19 Jan 2015, Geert Uytterhoeven wrote: >> Will you still do so, or shall I forward the patch to Andrew Morton? > > akpm please. Forwarded with build failure descriptions added. Gr{oetje,eeting}s, Geert --

Re: [PATCH 3/3] gpio: sysfs: fix gpio attribute-creation race

2015-01-25 Thread Johan Hovold
On Sun, Jan 25, 2015 at 06:33:48PM +0900, Alexandre Courbot wrote: > On Tue, Jan 13, 2015 at 9:00 PM, Johan Hovold wrote: > > Fix attribute-creation race with userspace by using the default group > > to create also the contingent gpio device attributes. > > > > Fixes: d8f388d8dc8d ("gpio: sysfs in

Re: [PATCH] iio: light: Add support for Capella CM3323 color/light sensor

2015-01-25 Thread Jonathan Cameron
On 22/01/15 10:10, Daniel Baluta wrote: > Minimal implementation providing raw light intensity and illuminance > readings. For illuminance user can compute lux values using raw readings > and scale. > > This driver also supports CM3323E sensor chip. > > Cc: Kevin Tsai > Signed-off-by: Daniel Bal

Re: cleanup and refactor BLOCK_PC mapping helpers V2

2015-01-25 Thread Ming Lei
On 01/18/2015 11:16 PM, Christoph Hellwig wrote: This series is based on the first two patches from the reent series that Dongsu Park recently sent, and refactors and cleanups up various aspect of our BLOCK_PC mapping helpers. Changes since V1: - keep a separate blk_rq_map_user for now, it c

Re: [PATCH v2] modsign: use shred to overwrite the private key before deleting it

2015-01-25 Thread Alexander Holler
Am 25.01.2015 um 03:43 schrieb Alexander Holler: Am 25.01.2015 um 03:13 schrieb Pádraig Brady: On 24/01/15 12:29, Alexander Holler wrote: Am 24.01.2015 um 13:09 schrieb Alexander Holler: Am 24.01.2015 um 12:37 schrieb Alexander Holler: Am 24.01.2015 um 11:45 schrieb Alexander Holler: It use

Re: [PATCH] iio: light: Add support for Capella CM3323 color/light sensor

2015-01-25 Thread Daniel Baluta
On Sun, Jan 25, 2015 at 12:27 PM, Jonathan Cameron wrote: > On 22/01/15 10:10, Daniel Baluta wrote: >> Minimal implementation providing raw light intensity and illuminance >> readings. For illuminance user can compute lux values using raw readings >> and scale. >> >> This driver also supports CM33

Re: [PATCH v2] modsign: use shred to overwrite the private key before deleting it

2015-01-25 Thread Alexander Holler
Am 25.01.2015 um 11:32 schrieb Alexander Holler: So we are now at the point that the only way to keep some information private (forever) is to not store it on any computer. That should be written "any electronic device (including phones, tablets, cameras, TVs and clouds)" instead of "any comp

[PATCH] block: bio: stop to pin pages if bio can't hold more

2015-01-25 Thread Ming Lei
It doesn't make sense to continue to pin user pages when bio can't hold more pages. Also this patch fixes possible double page release issue when get_user_pages_fast() failure happens just after some of pages in last round weren't added in the bio. Signed-off-by: Ming Lei --- block/bio.c |8

Re: [PATCH v2 3/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-01-25 Thread Sebastian Reichel
Hi, On Thu, Jan 22, 2015 at 12:52:07PM -0800, Todd Brandt wrote: > New power_supply driver at driver/power which interfaces with the > axp20x mfd driver as a cell. Provides battery info, monitors for > changes, and generates alerts on temperature and capacity issues Apart from two issues the driv

[PATCH 3/3] hyperv: hid-hyperv.c: fixup-of-wait_for_completion_timeout-return-type

2015-01-25 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire --- The return type of wait_for_completion_timeout is unsigned long not int. This patch fixes up the declarations only. Patch was compile tested only for x86_64_defconfig + CONFIG_X86_VSMP=y CONFIG_HYPERV=m, CONFIG_HID_HYPERV_MOUSE=m Patch is against 3.19.0-rc5

[PATCH 2/3] hyperv: hyperv_fb.c: fixup-of-wait_for_completion_timeout-return-type

2015-01-25 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire --- The return type of wait_for_completion_timeout is unsigned long not int. This patch fixes up the declarations only. Patch was compile tested only for x86_64_defconfig + CONFIG_X86_VSMP=y CONFIG_HYPERV=m, CONFIG_FB_HYPERV=m Patch is against 3.19.0-rc5 -next-2

[PATCH 1/3] hyperv: netvsc.c: fixup-of-wait_for_completion_timeout-return-type

2015-01-25 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire --- The return type of wait_for_completion_timeout is unsigned long not int. This patch fixes up the declarations only. Patch was compile tested only for x86_64_defconfig + CONFIG_X86_VSMP=y CONFIG_HYPERV=m, CONFIG_HYPERV_NET=m Patch is against 3.19.0-rc5 -next-

Re: [PATCH 1/3] hyperv: netvsc.c: fixup-of-wait_for_completion_timeout-return-type

2015-01-25 Thread Sergei Shtylyov
Hello. On 1/25/2015 2:03 PM, Nicholas Mc Guire wrote: You probably want to replace hyphens with spaces in the subject of this and other patches. And you're not fixing the return type of wait_for_completion_timeout(), you're fixing the variables to match this type. Signed-off-by: Nicho

Re: [PATCH v2] modsign: use shred to overwrite the private key before deleting it

2015-01-25 Thread Alexander Holler
Now, after I ended up into flaming a lot (sorry again, but this topic made me angry for so long and I had to spent too much time to get rid of unwanted content and answering other peoples question in regard to that topic), I should offer something more useful. So I've written down in some shor

Re: [PATCH v5 4/5] can: kvaser_usb: Retry the first bulk transfer on -ETIMEDOUT

2015-01-25 Thread Ahmed S. Darwish
On Wed, Jan 21, 2015 at 03:24:46PM +0300, Sergei Shtylyov wrote: > Hello. > > On 1/21/2015 12:48 AM, Ahmed S. Darwish wrote: > > >From: Ahmed S. Darwish > > >On some x86 laptops, plugging a Kvaser device again after an > >unplug makes the firmware always ignore the very first command. > >For su

Re: [PATCH v2] modsign: use shred to overwrite the private key before deleting it

2015-01-25 Thread Alexander Holler
Am 25.01.2015 um 12:42 schrieb Alexander Holler: Now, after I ended up into flaming a lot (sorry again, but this topic made me angry for so long and I had to spent too much time to get rid of unwanted content and answering other peoples question in regard to that topic), I should offer something

Re: [PATCH v2] modsign: use shred to overwrite the private key before deleting it

2015-01-25 Thread Richard Weinberger
On Sun, Jan 25, 2015 at 12:42 PM, Alexander Holler wrote: > Now, after I ended up into flaming a lot (sorry again, but this topic made > me angry for so long and I had to spent too much time to get rid of unwanted > content and answering other peoples question in regard to that topic), I > should

[PATCH v2 4/9] ARM: dts: sun9i: Add usb phy nodes to a80 dtsi

2015-01-25 Thread Chen-Yu Tsai
On sun9i, there are 3 independent usb phys for EHCI/OHCI. Add device nodes for them. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/su

[PATCH v2 0/9] ARM: sun9i: Add USB host controller support for A80

2015-01-25 Thread Chen-Yu Tsai
Hi everyone, This is v2 of the sun9i A80 USB host support series. This series adds USB host controller (EHCI/OHCI) support for the Allwinner A80 SoC. The A80 has 3 pairs of host controllers and USB PHYs. The PHYs, unlike in previous SoCs, do not have low level control registers anymore. As such,

[PATCH v2 1/9] clk: sunxi: Add support for sun9i a80 usb clocks and resets

2015-01-25 Thread Chen-Yu Tsai
The USB controller/phy clocks and reset controls are in a separate address block, unlike previous SoCs where they were in the clock controller. This patch copies the original gates clk functions used for usb clocks into a separate file, and renames them to *_usb_*. Also add a per-gate parent index

[PATCH v2 5/9] ARM: dts: sun9i: Add USB host controller nodes to a80 dtsi

2015-01-25 Thread Chen-Yu Tsai
The A80 has 3 EHCI/OHCI USB controllers. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 70 1 file changed, 70 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index d7ebd9390b01..9483b15b

[PATCH v2 3/9] phy: Add driver to support individual USB PHYs on sun9i

2015-01-25 Thread Chen-Yu Tsai
Unlike previous Allwinner SoCs, there is no central PHY control block on the A80. Also, OTG support is completely split off into a different controller. This adds a new driver to support the regular USB PHYs. Signed-off-by: Chen-Yu Tsai --- .../devicetree/bindings/phy/sun9i-usb-phy.txt |

[PATCH v2 7/9] ARM: dts: sun9i: Enable USB support on A80 Optimus board

2015-01-25 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80-optimus.dts | 60 + 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80-optimus.dts b/arch/arm/boot/dts/sun9i-a80-optimus.dts index c4de9cb9a5f6..16d30bb3a872 100644 --- a/arch/arm/

[PATCH v2 8/9] ARM: sunxi_defconfig: Enable CONFIG_PHY_SUN9I_USB

2015-01-25 Thread Chen-Yu Tsai
On sun9i we have a new PHY driver for USB. Signed-off-by: Chen-Yu Tsai --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 38840a812924..6b271645eb43 100644 --- a/arch/arm/configs/sunxi

[PATCH v2 9/9] ARM: multi_v7_defconfig: Enable CONFIG_PHY_SUN9I_USB

2015-01-25 Thread Chen-Yu Tsai
On sun9i we have a new PHY driver for USB. Signed-off-by: Chen-Yu Tsai --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index eec304487e6d..63fcc5522393 100644 --- a/arch/arm/con

[PATCH v2 6/9] ARM: dts: sunxi: Add usb3_vbus regulator to common regulators dtsi

2015-01-25 Thread Chen-Yu Tsai
Some SoCs have a total of 4 possible USB controllers. One such example is the A80, which has one USB3 dual role device and 3 EHCI/OHCI pairs. Add a common VBUS regulator for the last host controller. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sunxi-common-regulators.dtsi | 10 ++

[PATCH v2 2/9] ARM: dts: sun9i: Add usb clock nodes to a80 dtsi

2015-01-25 Thread Chen-Yu Tsai
The USB controller and phy clocks and resets have a separate address block and driver. Add the nodes to represent them. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/

Re: [PATCH v2] modsign: use shred to overwrite the private key before deleting it

2015-01-25 Thread Alexander Holler
Am 25.01.2015 um 13:08 schrieb Richard Weinberger: On Sun, Jan 25, 2015 at 12:42 PM, Alexander Holler wrote: Now, after I ended up into flaming a lot (sorry again, but this topic made me angry for so long and I had to spent too much time to get rid of unwanted content and answering other people

Re: [PATCH v2] modsign: use shred to overwrite the private key before deleting it

2015-01-25 Thread Richard Weinberger
Am 25.01.2015 um 13:24 schrieb Alexander Holler: > Am 25.01.2015 um 13:08 schrieb Richard Weinberger: >> On Sun, Jan 25, 2015 at 12:42 PM, Alexander Holler >> wrote: >>> Now, after I ended up into flaming a lot (sorry again, but this topic made >>> me angry for so long and I had to spent too much

Re: [PATCH v2] modsign: use shred to overwrite the private key before deleting it

2015-01-25 Thread Alexander Holler
Am 25.01.2015 um 13:24 schrieb Alexander Holler: Am 25.01.2015 um 13:08 schrieb Richard Weinberger: Or add support for the "s" chattr to major filesystems. And change the manpage for the 's' attribute to change the "overwriting with zero" with some other wording. But thanks for the hint. I w

Re: [PATCH v2 1/3] mfd/axp20x: change battery cell name to fuel gauge

2015-01-25 Thread Sebastian Reichel
On Thu, Jan 22, 2015 at 12:52:05PM -0800, Todd Brandt wrote: > Name changes to the battery cell structure to a > more generic cell type: fuel gauge. > > Signed-off-by: Todd Brandt > --- > drivers/mfd/axp20x.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > v1: 01/07/14 > v2:

Re: [PATCH v2] modsign: use shred to overwrite the private key before deleting it

2015-01-25 Thread Alexander Holler
Am 25.01.2015 um 13:28 schrieb Richard Weinberger: Am 25.01.2015 um 13:24 schrieb Alexander Holler: Am 25.01.2015 um 13:08 schrieb Richard Weinberger: On Sun, Jan 25, 2015 at 12:42 PM, Alexander Holler wrote: Now, after I ended up into flaming a lot (sorry again, but this topic made me angry

Re: [PATCH v2 2/3] mfd/axp20x: add support for fuel gauge cell

2015-01-25 Thread Sebastian Reichel
On Thu, Jan 22, 2015 at 12:52:06PM -0800, Todd Brandt wrote: > Register definitions and platform data structure > for fuel gauge cell devices. > > Signed-off-by: Todd Brandt > --- > include/linux/mfd/axp20x.h | 43 +-- > 1 file changed, 41 insertions(+), 2

Re: [PATCH 2/2] iommu/amd: use handle_mm_fault directly v2

2015-01-25 Thread Oded Gabbay
On 11/13/2014 12:10 AM, Jesse Barnes wrote: This could be useful for debug in the future if we want to track major/minor faults more closely, and also avoids the put_page trick we used with gup. In order to do this, we also track the task struct in the PASID state structure. This lets us upda

[PATCH 1/2] tools/liblockdep: ignore generated .so file

2015-01-25 Thread Baruch Siach
Signed-off-by: Baruch Siach --- tools/lib/lockdep/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/lib/lockdep/.gitignore diff --git a/tools/lib/lockdep/.gitignore b/tools/lib/lockdep/.gitignore new file mode 100644 index ..cc0e7a9f99e3 --- /dev/null +++ b/t

[PATCH 2/2] tools/liblockdep: don't include host headers

2015-01-25 Thread Baruch Siach
Adding host headers to include path may cause unexpected surprises when cross compiling. Remove /usr/local/include from the default include path. Signed-off-by: Baruch Siach --- tools/lib/lockdep/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lib/lockdep/Makef

Re: [PATCH v2 1/4] aio: add aio_kernel_() interface

2015-01-25 Thread Christoph Hellwig
> +struct kiocb *aio_kernel_alloc(gfp_t gfp) > +{ > + return kzalloc(sizeof(struct kiocb), gfp); > +} > +EXPORT_SYMBOL_GPL(aio_kernel_alloc); > + > +void aio_kernel_free(struct kiocb *iocb) > +{ > + kfree(iocb); > +} > +EXPORT_SYMBOL_GPL(aio_kernel_free); Both functions don't actually seem

Re: [PATCH 08/12] pm: at91: rename file name: pm_slowclock.S -->pm_suspend.S

2015-01-25 Thread Sylvain Rochet
Hello Alexandre, On Sat, Jan 24, 2015 at 12:17:38AM +0100, Alexandre Belloni wrote: > > This is a rework, what is part of linux-3.10-at91 and not yet present in > mainline should be part of a following series. I would prefer not mixing > reworks and "new" functionalities (they have been present

Re: [PATCH v4 1/6] of: iommu: add ptr to OF node arg to of_iommu_configure()

2015-01-25 Thread Laurent Pinchart
Hi Murali, Thank you for the patch. On Friday 23 January 2015 17:32:34 Murali Karicheri wrote: > Function of_iommu_configure() is called from of_dma_configure() to > setup iommu ops using DT property. This API is currently used for > platform devices for which DMA configuration (including iommu o

Re: [PATCH v2 2/4] fd/direct-io: introduce should_dirty for kernel aio

2015-01-25 Thread Christoph Hellwig
On Tue, Jan 13, 2015 at 11:44:46PM +0800, Ming Lei wrote: > > - if (dio->is_async && dio->rw == READ) > + if (dio->is_async && dio->rw == READ && dio->should_dirty) > bio_set_pages_dirty(bio); > > if (sdio->submit_io) > @@ -463,13 +464,14 @@ static int dio_bio_comple

Re: [PATCH v2 3/4] block: loop: introduce 'use_aio' sysfs file

2015-01-25 Thread Christoph Hellwig
On Tue, Jan 13, 2015 at 11:44:47PM +0800, Ming Lei wrote: > So that users can control if kernel aio is used to submit I/O. Why do you want a sysfs flag for this instead of a flags in ->lo_flags at setup time? That's how all other loop-related ABI flags work. -- To unsubscribe from this list: sen

Re: [PATCH v2 4/4] block: loop: support to submit I/O via kernel aio based

2015-01-25 Thread Christoph Hellwig
> +{ > + unsigned int i = 0; > + struct iov_iter iter; > + struct bio_vec *bvec, bv; > + size_t nr_segs = 0; > + struct req_iterator r_iter; > + > + rq_for_each_segment(bv, cmd->rq, r_iter) > + nr_segs++; > + > + if (nr_segs > LOOP_CMD_BVEC_CNT) { > +

[PATCH v5 0/4] ARM:sunxi:ps2 Added support for A10/A20 ps2 controller

2015-01-25 Thread Vishnu Patekar
This adds PS2 controller support for Allwinner A10, A20 SOCs. I've tested PS2 keyboard on A20 Olimex-Lime2 board. Hans had tested previous patch on A10 as well. v4 --> v5 1. used legagy calls instead of devm* interfaces to avoid mixing of managed and manually freed resources. 2. shutoff inter

[PATCH v5 3/4] ARM: sunxi: dts: Add PS2 nodes to dtsi for A10,A20

2015-01-25 Thread Vishnu Patekar
Signed-off-by: VishnuPatekar Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10.dtsi | 16 arch/arm/boot/dts/sun7i-a20.dtsi | 16 2 files changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi in

[PATCH v5 2/4] ARM:sunxi:drivers:input Add support for A10/A20 PS2

2015-01-25 Thread Vishnu Patekar
Signed-off-by: VishnuPatekar --- drivers/input/serio/Kconfig | 11 ++ drivers/input/serio/Makefile|1 + drivers/input/serio/sun4i-ps2.c | 347 +++ 3 files changed, 359 insertions(+) create mode 100644 drivers/input/serio/sun4i-ps2.c diff --git

[PATCH v5 4/4] ARM: sunxi: dts: Add A10/A20 PS2 pin muxing options

2015-01-25 Thread Vishnu Patekar
Signed-off-by: VishnuPatekar --- arch/arm/boot/dts/sun4i-a10.dtsi | 14 ++ arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++ 2 files changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 134100b..5536b01 100644 --- a/

[PATCH v5 1/4] sunxi:dts-bindings:input: bindings for A10/A20 ps2

2015-01-25 Thread Vishnu Patekar
Signed-off-by: VishnuPatekar --- .../bindings/serio/allwinner,sun4i-ps2.txt | 23 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt diff --git a/Documentation/devicetree/bindings/serio/allwinner,su

Re: [PATCHv3 0/8] perf tools: Add perf data CTF conversion

2015-01-25 Thread Jiri Olsa
On Fri, Jan 16, 2015 at 11:46:36AM -0500, Jérémie Galarneau wrote: > On Fri, Jan 16, 2015 at 10:26 AM, Alexandre Montplaisir > wrote: > > On 2015-01-15 03:57 PM, Alexandre Montplaisir wrote: > >> > >> Hi, > >> > >> I'm a developer for the Trace Compass tool (see links [3], [4] in Jiri's > >> email

Re: [PATCH v2] modsign: use shred to overwrite the private key before deleting it

2015-01-25 Thread Alexander Holler
Am 25.01.2015 um 13:36 schrieb Alexander Holler: Am 25.01.2015 um 13:24 schrieb Alexander Holler: Am 25.01.2015 um 13:08 schrieb Richard Weinberger: Or add support for the "s" chattr to major filesystems. (...) So maybe shred should first set the 's' attribute before calling unlink on that

Re: [PATCH v2 2/4] sh-pfc: Add emev2 pinmux support

2015-01-25 Thread Niklas Söderlund
Hi Laurent, Thanks for your comments. As note in your comments I have not grouped pins in groups where I have been uncertain if they can be used independently or not. I have read your input and made a v3 of the patch which address better grouping. I am a bit uncertain on how to best submit the u

[PATCH v3] sh-pfc: Add emev2 pinmux support

2015-01-25 Thread Niklas Söderlund
Add PFC support for the EMMA Mobile EV2 SoC including pin groups for on-chip devices. Signed-off-by: Niklas Söderlund --- .../bindings/pinctrl/renesas,pfc-pinctrl.txt |1 + drivers/pinctrl/sh-pfc/Kconfig |5 + drivers/pinctrl/sh-pfc/Makefile|

Re: [PATCH 5/5] perf: Make perf aware of tracefs

2015-01-25 Thread Namhyung Kim
Hi Steve, On Sat, Jan 24, 2015 at 01:13:35PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > As tracefs may be mounted instead of debugfs to get to the event directories, > have perf know about tracefs, and use that file system over debugfs if it > is present. > > Signed-off

Re: [PATCH 4/6] power: max77843_battery: Add Max77843 fuel gauge device driver

2015-01-25 Thread Sebastian Reichel
Hi, On Fri, Jan 23, 2015 at 02:02:45PM +0900, Jaewon Kim wrote: > From: Beomho Seo > > This patch adds device driver of max77843 fuel gauge. > The driver support for battery fuel gauge in Maxim Max77843. > It is fuel-gauge systems for lithuum-ion batteries in handled and > portable devices. > >

Re: [PATCH 1/2] clockevents: introduce ->set_dev_mode() which can return error

2015-01-25 Thread Viresh Kumar
Hi Thomas, On 23 January 2015 at 17:27, Thomas Gleixner wrote: > static int __clockevents_set_mode(dev, mode) > { > /* Transition mode */ > if (dev->set_mode) { >if (mode > CLOCK_EVT_MODE_RESUME) > return -ENOSYS; >dev->set_mode(mode, dev);

Re: [PATCH] staging: rtl8712: fix Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ...

2015-01-25 Thread Aya Mahfouz
On Sat, Jan 24, 2015 at 10:20:53PM +0200, Heba Aamer wrote: > This patch fixes the following checkpatch.pl warning: > fix Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then > dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... > > netdev_info was used since it is a network subsyst

[GIT pull] timer fixes for 3.19

2015-01-25 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus A set of small fixes: - Regression fix for exynos_mct clocksource - Trivial build fix for kona clocksource - Functional one liner fix f

[PATCH] media: (stb0899) use sign_extend32() for sign extension

2015-01-25 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- drivers/media/dvb-frontends/stb0899_algo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/stb0899_algo.c b/drivers/media/dvb-frontends/stb0899_algo.c index 93596e0..7bbcfde 100644 --- a/drivers/media/dvb-f

[GIT pull] irq fixes for 3.19

2015-01-25 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus >From the irqchip departement you get: - Regression fix for omap-intc - Regression fix for atmel-aic-common - Functional correctness fix for

[GIT pull] x86 fixes for 3.19

2015-01-25 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus Hopefully the last round of fixes for 3.19 - Regression fix for the LDT changes - Regression fix for XEN interrupt handling caused by the APIC

Re: [PATCH 2/2] zram: protect zram->stat race with init_lock

2015-01-25 Thread Sergey Senozhatsky
Hello, On (01/24/15 21:17), Ganesh Mahendran wrote: > Hello Sergey > > 2015-01-23 22:38 GMT+08:00 Sergey Senozhatsky : > > On (01/23/15 14:58), Minchan Kim wrote: > >> The zram->stat handling should be procted by init_lock. > >> Otherwise, user could see stale value from the stat. > >> > >> Signe

[GIT PULL] : cpuidle-big.little fix when mcpm is not available

2015-01-25 Thread Daniel Lezcano
Hi Rafael, This pull request has a single patch which is a fix for the cpuidle-big.little driver. If the mcpm backend is not available because the CCI is not defined in the DT, the cpuidle driver will unconditionally assume it is and call the mcpm functions leading to a kernel WARNING. Sude

Re: [PATCH 1/1] NVMe: Do not take nsid while a passthrough IO command is being issued via a block device file descriptor

2015-01-25 Thread Christoph Hellwig
On Fri, Jan 23, 2015 at 05:50:33PM +, Keith Busch wrote: > No argument against removing the hidden attribute handling, but there > are unadvertised NSID's that have special meaning. Like NSID 0x > means to apply a command to all namespaces. Vendor specific commands > may have other spec

Re: [PATCH v3 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-25 Thread Baruch Siach
Hi Daniel, On Thu, Jan 22, 2015 at 01:54:39PM +0100, Daniel Lezcano wrote: > On 01/21/2015 07:36 AM, Baruch Siach wrote: > >+ * Based on: > >+ * Allwinner SoCs hstimer driver > > If this is based on the Allwinnner driver, may be you can have a look at the > patchset sent by Maxim to make sure yo

Re: [PATCH] mm: incorporate read-only pages into transparent huge pages

2015-01-25 Thread Zhang Yanfei
Hello 在 2015/1/25 17:25, Vlastimil Babka 写道: > On 23.1.2015 20:18, Andrea Arcangeli wrote: >>> >+if (!pte_write(pteval)) { >>> >+if (++ro > khugepaged_max_ptes_none) >>> >+goto out_unmap; >>> >+} >> It's true this is maxed out at 511, so there must be at

[PATCH v2] media: (stb0899) use sign_extend32() for sign extension

2015-01-25 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- Sorry. I should have at least built my change. This is the correct version. drivers/media/dvb-frontends/stb0899_algo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/stb0899_algo.c b/drivers/media/dvb-fr

[PATCH 1/3 v2] hyperv: netvsc.c: match wait_for_completion_timeout return type

2015-01-25 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire --- v2: fixed subject line The return type of wait_for_completion_timeout is unsigned long not int. This patch fixes up the declarations only. Patch was compile tested only for x86_64_defconfig + CONFIG_X86_VSMP=y CONFIG_HYPERV=m, CONFIG_HYPERV_NET=m Patch is a

[PATCH 2/3 v2] hyperv: hyperv_fb.c: match wait_for_completion_timeout return type

2015-01-25 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire --- v2: fixed subject line The return type of wait_for_completion_timeout is unsigned long not int. This patch fixes up the declarations only. Patch was compile tested only for x86_64_defconfig + CONFIG_X86_VSMP=y CONFIG_HYPERV=m, CONFIG_FB_HYPERV=m Patch is ag

Re: Progress on system crash traces with LTTng using DAX and pmem

2015-01-25 Thread Mathieu Desnoyers
- Original Message - > From: "Matthew Wilcox" > To: "Mathieu Desnoyers" > Cc: "Matthew Wilcox" , "Ross Zwisler" > , "lttng-dev" > , linux-fsde...@vger.kernel.org, > linux...@kvack.org, linux-kernel@vger.kernel.org > Sent: Monday, October 27, 2014 2:48:09 PM > Subject: Re: Progress on sy

[PATCH 3/3 v2] hyperv: hid-hyperv.c: match wait_for_completion_timeout return type

2015-01-25 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire --- v2: fixed subject line The return type of wait_for_completion_timeout is unsigned long not int. This patch fixes up the declarations only. Patch was compile tested only for x86_64_defconfig + CONFIG_X86_VSMP=y CONFIG_HYPERV=m, CONFIG_HID_HYPERV_MOUSE=m Patc

[PATCH v2] hyperv: match wait_for_completion_timeout return type

2015-01-25 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this patch just fixes up the declarations. Signed-off-by: Nicholas Mc Guire --- v2: fixed subject line The return type of wait_for_completion_timeout is unsigned long not int. This patch fixes up the declarations only. Patch

Re: [PATCH 1/1] NVMe: Do not take nsid while a passthrough IO command is being issued via a block device file descriptor

2015-01-25 Thread Christoph Hellwig
On Fri, Jan 23, 2015 at 03:57:06PM -0800, Yan Liu wrote: > When a passthrough IO command is issued with a specific block device file > descriptor. It should be applied at > the namespace which is associated with that block device file descriptor. > This patch makes such passthrough > command igno

Re: [PATCH v3 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-25 Thread Daniel Lezcano
On 01/25/2015 03:46 PM, Baruch Siach wrote: Hi Daniel, On Thu, Jan 22, 2015 at 01:54:39PM +0100, Daniel Lezcano wrote: On 01/21/2015 07:36 AM, Baruch Siach wrote: + * Based on: + * Allwinner SoCs hstimer driver If this is based on the Allwinnner driver, may be you can have a look at the

Re: [PATCH 1/2] clockevents: introduce ->set_dev_mode() which can return error

2015-01-25 Thread Thomas Gleixner
> > case CLOCK_EVT_MODE_RESUME: > > return dev->setup_resume(dev); > > Because setting to all these existing modes isn't allowed > to fail currently, shouldn't we make return type of all the new > callbacks as 'void' and return 0 from this routine ? That way, these > callbacks

Re: [PATCH v2 2/4] sh-pfc: Add emev2 pinmux support

2015-01-25 Thread Laurent Pinchart
Hi Niklas, On Sunday 25 January 2015 14:48:23 Niklas Söderlund wrote: > Hi Laurent, > > Thanks for your comments. > > As note in your comments I have not grouped pins in groups where I have > been uncertain if they can be used independently or not. I have read > your input and made a v3 of the p

Re: perf not capturing stack traces

2015-01-25 Thread Russell King - ARM Linux
On Sat, Jan 24, 2015 at 04:23:42PM -0600, Felipe Balbi wrote: > yeah, I'll try a few older kernels, also see if I can reproduce on other > boards. Perf works for me with CONFIG_FRAME_POINTER=y, but that's only for kernel space, and for userspace where the programs have been built for ARM mode with

Re: [perf] WARNING: CPU: 0 PID: 1457 at kernel/events/core.c:890 add_event_to_ctx()

2015-01-25 Thread Mark Rutland
On Sun, Jan 25, 2015 at 04:34:28AM +, Fengguang Wu wrote: > Greetings, Hi Fengguang, Thanks very much for the report. > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/core > > commit d26bb7f7

Re: [GIT PULL] qcom SoC changes for v3.20

2015-01-25 Thread Rob Clark
On Fri, Jan 23, 2015 at 1:43 PM, Olof Johansson wrote: >>> I'd be OK with merging this, send a request and tag. Would that let >>> the DRM folks make progress too? >> >> Will do, I don’t think it will address the DRM folks needs as they need >> access to make firmware calls from the DRM driver. >

Re: [PATCH v2 1/9] clk: sunxi: Add support for sun9i a80 usb clocks and resets

2015-01-25 Thread Maxime Ripard
Hi, On Sun, Jan 25, 2015 at 08:22:02PM +0800, Chen-Yu Tsai wrote: > The USB controller/phy clocks and reset controls are in a separate > address block, unlike previous SoCs where they were in the clock > controller. > > This patch copies the original gates clk functions used for usb > clocks into

Re: [PATCH v3] sh-pfc: Add emev2 pinmux support

2015-01-25 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Sunday 25 January 2015 14:49:52 Niklas Söderlund wrote: > Add PFC support for the EMMA Mobile EV2 SoC including pin groups for > on-chip devices. > > Signed-off-by: Niklas Söderlund Acked-by: Laurent Pinchart > --- > .../bindings/pinctrl/renesas,pfc-pi

Re: [PATCH v2 6/9] ARM: dts: sunxi: Add usb3_vbus regulator to common regulators dtsi

2015-01-25 Thread Maxime Ripard
On Sun, Jan 25, 2015 at 08:22:07PM +0800, Chen-Yu Tsai wrote: > Some SoCs have a total of 4 possible USB controllers. One such example > is the A80, which has one USB3 dual role device and 3 EHCI/OHCI pairs. > > Add a common VBUS regulator for the last host controller. > > Signed-off-by: Chen-Yu

  1   2   3   4   5   6   7   >