[PATCHv9 0/3] Addition of Altera EDAC support.

2014-07-30 Thread tthayer
From: Thor Thayer The Altera SDRAM controller and EDAC support are added in this patch series. The SDRAM controller is an MFD so that multiple drivers can access it's registers. Thor Thayer (3): mfd: altera: Add Altera SDRAM Controller edac: altera: Add Altera EDAC support. arm: dts: Add A

[PATCH v14 5/8] ata: ahci_platform: add a generic AHCI compatible

2014-07-30 Thread Antoine Ténart
The ahci_platform driver is a generic driver using the libahci_platform functions. Add a generic compatible to avoid having an endless list of compatibles with no differences for the same driver. Signed-off-by: Antoine Ténart --- drivers/ata/ahci_platform.c | 2 ++ 1 file changed, 2 insertions(+

[PATCHv9 1/3] mfd: altera: Add Altera SDRAM Controller

2014-07-30 Thread tthayer
From: Thor Thayer Add a simple MFD for the Altera SDRAM Controller. Signed-off-by: Alan Tull Signed-off-by: Thor Thayer --- v1-8: The MFD implementation was not included in the original series. v9: New MFD implementation. --- MAINTAINERS|5 ++ drivers/mfd/Kconfig

[PATCHv9 3/3] arm: dts: Add Altera SDRAM controller bindings

2014-07-30 Thread tthayer
From: Thor Thayer Add the Altera SDRAM controller bindings and device tree changes to the Altera SoC project. Signed-off-by: Thor Thayer --- v2: Changes to SoC SDRAM EDAC code. v3: Implement code suggestions for SDRAM EDAC code. v4: Remove syscon from SDRAM controller bindings. v5: No Chang

[PATCHv9 2/3] edac: altera: Add Altera EDAC support.

2014-07-30 Thread tthayer
From: Thor Thayer This patch adds support for the CycloneV and ArriaV SDRAM controllers. Correction and reporting of SBEs, Panic on DBEs. Signed-off-by: Thor Thayer --- v2: Use the SDRAM controller registers to calculate memory size instead of the Device Tree. Update To & Cc list. Add maint

[PATCH v14 6/8] Documentation: bindings: document the sub-nodes AHCI bindings

2014-07-30 Thread Antoine Ténart
The libahci now allows to use multiple PHYs and to represent each port as a sub-node. Add these bindings to the documentation. Signed-off-by: Antoine Ténart --- .../devicetree/bindings/ata/ahci-platform.txt | 41 ++ 1 file changed, 41 insertions(+) diff --git a/Document

[PATCH v14 7/8] ARM: berlin: add the AHCI node for the BG2Q

2014-07-30 Thread Antoine Ténart
The BG2Q has an AHCI SATA controller. Add the corresponding nodes (AHCI, PHY) into its device tree. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q.dtsi | 39 +++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arc

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-30 Thread Mark Rutland
[...] > >> +Multiple-master IOMMU: > >> +-- > >> + > >> + iommu { > >> + /* the specifier represents the ID of the master */ > >> + #iommu-cells = <1>; > >> + }; > >> + > >> + master@1 { > >> + /* device has master ID 42 in the IO

Re: [PATCH 07/19] ARM64 / ACPI: Parse MADT to map logical cpu to MPIDR and get cpu_possible/present_map

2014-07-30 Thread Sudeep Holla
On 24/07/14 14:00, Hanjun Guo wrote: MADT contains the information for MPIDR which is essential for SMP initialization, parse the GIC cpu interface structures to get the MPIDR value and map it to cpu_logical_map(), and add enabled cpu with valid MPIDR into cpu_possible_map and cpu_present_map.

Re: [PATCH -tip/master 2/7] locking/mutex: Document quick lock release when unlocking

2014-07-30 Thread Davidlohr Bueso
On Wed, 2014-07-30 at 08:10 -0700, Jason Low wrote: > On Sun, 2014-07-27 at 22:18 -0700, Davidlohr Bueso wrote: > > - * Release the lock, slowpath: > > + * Release the lock, slowpath. > > + * At this point, the lock counter is 0 or negative. > > Hmm, so in the !__mutex_slowpath_needs_to_unlock()

Re: [PATCH 08/19] ACPI / table: Print GIC information when MADT is parsed

2014-07-30 Thread Sudeep Holla
On 24/07/14 14:00, Hanjun Guo wrote: When MADT is parsed, print GIC information to make the boot log look pretty. Signed-off-by: Hanjun Guo Signed-off-by: Tomasz Nowicki --- drivers/acpi/tables.c | 39 ++- 1 file changed, 38 insertions(+), 1 deletion(

Re: [PATCH 1/3] ARM: dts: Turn on USB host vbus on rk3288-evb

2014-07-30 Thread Heiko Stübner
Hi Doug, Am Mittwoch, 30. Juli 2014, 08:13:52 schrieb Doug Anderson: > On Wed, Jul 30, 2014 at 4:24 AM, Heiko Stübner wrote: > > Am Dienstag, 29. Juli 2014, 16:24:31 schrieb Doug Anderson: > >> There is no phy driver that works on the Rockchip board for either USB > >> host port yet. For now jus

Re: [PATCH v13 0/8] ARM: berlin: add AHCI support

2014-07-30 Thread Sebastian Hesselbarth
On 07/30/2014 07:09 PM, Tejun Heo wrote: > Applied 3-5 to libata/for-3.17. I suppose 6-8 are gonna routed > through a different tree? Tejun, IMHO you should also take 6 ("Documentation: bindings: document the sub-nodes AHCI bindings"). Sebastian -- To unsubscribe from this list: send the line "

Re: [PATCH] crypto/testmgr: add missing spaces to drbg error strings

2014-07-30 Thread Stephan Mueller
Am Dienstag, 29. Juli 2014, 15:47:56 schrieb Jarod Wilson: Hi Jarod, >There are a few missing spaces in the error text strings for >drbg_cavs_test, trivial fix. Thanks a lot. > >CC: Stephan Mueller >CC: Herbert Xu >CC: "David S. Miller" >CC: linux-cry...@vger.kernel.org >Signed-off-by: Jarod

Re: [PATCH RFC tip/core/rcu 8/9] rcu: Make RCU-tasks track exiting tasks

2014-07-30 Thread Paul E. McKenney
On Wed, Jul 30, 2014 at 07:04:42PM +0200, Oleg Nesterov wrote: > On 07/28, Paul E. McKenney wrote: > > > > This commit adds synchronization with exiting tasks, so that RCU-tasks > > avoids waiting on tasks that no longer exist. > > I don't understand this patch yet, but it seems that it adds more

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-07-30 Thread Mark Rutland
On Wed, Jul 30, 2014 at 07:12:17PM +0100, Olof Johansson wrote: > On Wed, Jul 30, 2014 at 8:06 AM, Robert Richter wrote: > > From: Radha Mohan Chintakuntla > > > > Add initial device tree nodes for Cavium Thunder SoCs with support of > > 48 cores and gicv3. The dts file requires further changes,

Re: [PATCH/RFC] autofs: the documentation I wanted to read

2014-07-30 Thread Randy Dunlap
On 07/28/14 19:00, NeilBrown wrote: > > > This documents autofs from the perspective of what the module actually > supports rather than how automount is expected to use it. > It is based mostly on code review and very little on testing so it > may be inaccurate in some places. > > The document a

Re: [PATCH 1/2] brd: Fix the partitions BUG

2014-07-30 Thread Boaz Harrosh
On 07/30/2014 07:50 PM, Ross Zwisler wrote: <> >> + */ >> +printk(KERN_EROR "brd: brd_find unexpected device %d\n", i); > > s/KERN_EROR/KERN_ERR/ > Yes thanks, sigh, code should compile driver error. I used pr_err but last inspection I saw that printk is used everywhere and, crapped ...

Re: [PATCH] vfs: Fix RCU usage in __propagate_umount()

2014-07-30 Thread Paul E. McKenney
On Wed, Jul 30, 2014 at 03:59:16PM +0200, Richard Weinberger wrote: > If we use the plain list_empty() we might not see the > hlist_del_init_rcu() and therefore miss one member of the > list. > > It fixes the following issue: > $ unshare -m /usr/bin/sleep 1 & > $ mkdir -p foo/proc > $ mount -t

Re: [PATCH 1/2] kbuild: Support split debug info v4

2014-07-30 Thread Andi Kleen
> The failure mode with ccache is that the *.dwo files are not stored, but > the build proceeds, right? This is at least what I'm seeing. I'm just That's right. > wondering if the config option should be inverted to make > all{yes,mod}config builds happy. But it's probably not necessary if the >

Re: General flags to turn things off (getrandom, pid lookup, etc)

2014-07-30 Thread Eric W. Biederman
One Thousand Gnomes writes: >> Andy you seem to be arguing here for two system calls. >> get_urandom() and get_random(). >> >> Where get_urandom only blocks if there is not enough starting entropy, >> and get_random(GRND_RANDOM) blocks if there is currently not enough >> entropy. >> >> That wou

[PATCH] Update my email addresses and related info

2014-07-30 Thread Josh Triplett
My IBM email addresses haven't worked for years; also map some old-but-functional forwarding addresses to my canonical address. Update my GPG key fingerprint; I moved to 4096R a long time ago. Update description. Signed-off-by: Josh Triplett --- .mailmap| 5 + CREDITS

Re: [PATCH RFC v3 net-next 3/3] samples: bpf: eBPF dropmon example in C

2014-07-30 Thread Alexei Starovoitov
On Wed, Jul 30, 2014 at 10:36 AM, Frank Ch. Eigler wrote: >> > What kind of locking/serialization is provided by the ebpf runtime >> > over shared variables such as my_map? >> >> it's traditional rcu scheme. > > OK, that protects the table structure, but: > >> [...] In such case concurrent write a

RE: [PATCH 1/4] Documentation: dt-bindings: add dt binding info for Rockchip dwc2

2014-07-30 Thread Paul Zimmerman
> From: Kever Yang [mailto:kever.y...@rock-chips.com] > Sent: Tuesday, July 29, 2014 6:31 PM > > This add necessary dwc2 binding documentation for Rockchip socs: > rk3066, rk3188 and rk3288 > > add dr_mode as optional properties. > > Signed-off-by: Kever Yang > --- > Documentation/devicetree/b

RE: [PATCH 3/4] usb: dwc2: add compatible data for rockchip soc

2014-07-30 Thread Paul Zimmerman
> From: Kever Yang [mailto:kever.y...@rock-chips.com] > Sent: Tuesday, July 29, 2014 6:35 PM > > This patch add compatible data for dwc2 controller found on > rk3066, rk3188 and rk3288 processors from rockchip. > > Signed-off-by: Kever Yang > --- > drivers/usb/dwc2/platform.c | 29 +++

RE: [PATCH 4/4] usb: dwc2: add dr_mode support for dwc2

2014-07-30 Thread Paul Zimmerman
> From: Kever Yang [mailto:kever.y...@rock-chips.com] > Sent: Tuesday, July 29, 2014 6:35 PM > > Some devices with A female host port and without use of usb_id pin > will need this for the otg controller works as device role > during firmware period and works as host role in rich os. > > Signed-o

Re: [PATCH] Staging: vt6655: staticfy variable

2014-07-30 Thread Guillaume Clement
Hello, > Add static to variable. > Signed-off-by: Fernando Apesteguia > --- > drivers/staging/vt6655/ioctl.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/vt6655/ioctl.c > b/drivers/staging/vt6655/ioctl.c > index 65e5933..cc6e47b 100644 > --- a/drive

[PATCH] ARM: dts: DRA7: fix interrupt-cells for GPIO

2014-07-30 Thread Nishanth Menon
GPIO modules are also interrupt sources. However, they require both the GPIO number and IRQ type to function properly. By declaring that GPIO uses interrupt-cells=<1>, we essentially do not allow users of the nodes to use the interrupt property appropritely. With this change, the following now wo

Re: [PATCH 3.12 00/94] 3.12.26-stable review

2014-07-30 Thread Guenter Roeck
On Wed, Jul 30, 2014 at 02:15:03PM +0200, Jiri Slaby wrote: > This is the start of the stable review cycle for the 3.12.26 release. > There are 94 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > R

[PATCH] efi-bgrt: Add error handling; inform the user when ignoring the BGRT

2014-07-30 Thread Josh Triplett
Gracefully handle failures to allocate memory for the image, which might be arbitrarily large. efi_bgrt_init can fail in various ways as well, usually because the BIOS-provided BGRT structure does not match expectations. Add appropriate error messages rather than failing silently. Reported-by: S

[PATCH] irq: gic-v3: Tag all low level accessors __maybey_unused

2014-07-30 Thread Mark Brown
From: Mark Brown This is only really needed for gic_write_sgi1r in the !SMP case since it is only referenced in the SMP initialisation code but it seems better to have these functions all next to each other and declared consistently. Signed-off-by: Mark Brown --- drivers/irqchip/irq-gic-v3.c |

Re: Bug: retry of clone() on Alpha can result in zeroed process thread pointer

2014-07-30 Thread Richard Henderson
Ok, I think I've actually found it this time. It's here: > 281 childregs->r20 = 1; /* OSF/1 has some strange fork() > semantics. */ > 282 regs->r20 = 0; We need to delay this r20 silliness until after restarts or something. Or just kill it -- it's not like glibc uses t

[REVERT][v3.16-rc7][STABLE] usb: xhci: Prefer endpoint context dequeue pointer over stopped_trb

2014-07-30 Thread Joseph Salisbury
Hello, A bug report was opened against Ubuntu[0]. After a kernel bisect, it was found that reverting the following commit resolved this bug: commit 1f81b6d22a5980955b01e08cf27fb745dc9b686f Author: Julius Werner Date: Fri Apr 25 19:20:13 2014 +0300 usb: xhci: Prefer endpoint context deque

Re: [PATCH] tcp: don't require root to read tcp_metrics

2014-07-30 Thread Julian Anastasov
Hello, On Wed, 30 Jul 2014, Debabrata Banerjee wrote: > commit d23ff701643a4a725e2c7a8ba2d567d39daa29ea introduced netlink support for > the new tcp_metrics, however it restricted getting of tcp_metrics to root user > only. This is a change from how these values could have been fetched w

Re: [PATCH v7 4/5] PCI: add PCI controller for keystone PCIe h/w

2014-07-30 Thread Murali Karicheri
On 07/23/2014 01:42 PM, Jason Gunthorpe wrote: On Tue, Jul 22, 2014 at 05:52:00PM -0600, Bjorn Helgaas wrote: If there is a hardware defect, a PCI quirk is a reasonable way to work around it, since that's the main purpose of quirks. fixup_mpss_256() is an example of something that sounds superf

Re: [PATCH v14 0/8] ARM: berlin: add AHCI support

2014-07-30 Thread Tejun Heo
Applied 3, 4, 5, 6 to libata/for-3.17. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/l

Re: [PATCH v8 04/22] Change direct_access calling convention

2014-07-30 Thread Matthew Wilcox
On Wed, Jul 30, 2014 at 07:03:24PM +0300, Boaz Harrosh wrote: > > +long bdev_direct_access(struct block_device *bdev, sector_t sector, > > + void **addr, unsigned long *pfn, long size) > > +{ > > + const struct block_device_operations *ops = bdev->bd_disk->fops; > > + if (!ops

Re: [PATCH v8 11/11] drm: sti: Add DRM driver itself

2014-07-30 Thread Daniel Vetter
On Wed, Jul 30, 2014 at 7:42 PM, Benjamin Gaignard wrote: > @@ -87,11 +90,50 @@ static int sti_compositor_bind(struct device *dev, struct > device *master, > struct sti_compositor *compo = dev_get_drvdata(dev); > struct drm_device *drm_dev = data; > unsigned int i, crtc =

[PATCH] xen-netback: Using a new state bit instead of carrier

2014-07-30 Thread Zoltan Kiss
This patch introduces a new state bit VIF_STATUS_CONNECTED to track whether the vif is in a connected state. Using carrier will not work with the next patch in this series, which aims to turn the carrier temporarily off if the guest doesn't seem to be able to receive packets. Signed-off-by: Zoltan

[PATCH] xen-netback: Turn off the carrier if the guest is not able to receive

2014-07-30 Thread Zoltan Kiss
Currently when the guest is not able to receive more packets, qdisc layer starts a timer, and when it goes off, qdisc is started again to deliver a packet again. This is a very slow way to drain the queues, consumes unnecessary resources and slows down other guests shutdown. This patch change the b

[PATCH] ACPI: fix test for hex digit.

2014-07-30 Thread Arjun Sreedharan
decimal 0 is ascii for NULL. Hex digit matching should be from '0' (decimal 30 of ascii) to '9' and 'A' to 'F'. Unfixed version returns true for #,$,%,& etc. Signed-off-by: Arjun Sreedharan --- drivers/acpi/acpi_pnp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ac

Re: [PATCH] ARM: multi_v7_defconfig: Enable TI PIPE3 PHY driver

2014-07-30 Thread Olof Johansson
On Tue, Jul 29, 2014 at 12:15:28PM +0300, Roger Quadros wrote: > This driver is needed by SATA, PCIe and USB modules on TI SoCs. > > Signed-off-by: Roger Quadros > Acked-by: Tony Lindgren What's this based on? It doesn't apply on top of next/defconfig. Please base it on there and resend. (or li

Re: [PATCH 1/3] ARM: dts: Turn on USB host vbus on rk3288-evb

2014-07-30 Thread Doug Anderson
Heiko, On Wed, Jul 30, 2014 at 11:24 AM, Heiko Stübner wrote: > Hi Doug, > > Am Mittwoch, 30. Juli 2014, 08:13:52 schrieb Doug Anderson: >> On Wed, Jul 30, 2014 at 4:24 AM, Heiko Stübner wrote: >> > Am Dienstag, 29. Juli 2014, 16:24:31 schrieb Doug Anderson: >> >> There is no phy driver that wor

Re: [PATCH] s390: net: claw.c: Fix a define larger than in a sizeof in conjunction with strncpy

2014-07-30 Thread Rickard Strandqvist
2014-07-30 10:10 GMT+02:00 Ursula Braun : > On Sun, 2014-07-27 at 13:50 +0200, Rickard Strandqvist wrote: >> The MAX_NAME_LEN is larger than sizeof, which could potentially >> giving lots of error here. >> >> Signed-off-by: Rickard Strandqvist >> --- >> drivers/s390/net/claw.c | 31

Re: [PATCH] x86, efi: print debug values in Kib not MB

2014-07-30 Thread Borislav Petkov
On Wed, Jul 30, 2014 at 10:21:26AM -0700, H. Peter Anvin wrote: > Arguably the exactness is available in the range... ... and the size too. FWIW, other region dumps don't even print size: [0.00] e820: BIOS-provided physical RAM map: [0.00] BIOS-e820: [mem 0x-0x

Re: [PATCH] tcp: don't require root to read tcp_metrics

2014-07-30 Thread Banerjee, Debabrata
Hi, On 7/30/14, 3:33 PM, "Julian Anastasov" wrote: >On Wed, 30 Jul 2014, Debabrata Banerjee wrote: > >> commit d23ff701643a4a725e2c7a8ba2d567d39daa29ea introduced netlink >>support for >> the new tcp_metrics, however it restricted getting of tcp_metrics to >>root user >> only. This is a change fr

Re: [PATCH] ACPI: fix test for hex digit.

2014-07-30 Thread Joe Perches
On Thu, 2014-07-31 at 01:22 +0530, Arjun Sreedharan wrote: > decimal 0 is ascii for NULL. Hex digit matching should be from '0' > (decimal 30 of ascii) to '9' and 'A' to 'F'. > Unfixed version returns true for #,$,%,& etc. [] > diff --git a/drivers/acpi/acpi_pnp.c b/drivers/acpi/acpi_pnp.c [] > @@

[PATCH v2 0/3] Enable EHCI port on rk3288-evb

2014-07-30 Thread Doug Anderson
This series enables the EHCI port on the rk3288-evb boards. A later patch series (from Kever) will enable the dwc2 ports. Changes in v2: - usb_host_vbus => vcc_host to match supply name, not pin name. - pin name now matches in name in schematic - Kever is now the author - Node is now named usb D

[PATCH v2 1/3] ARM: dts: Turn on USB host vbus on rk3288-evb

2014-07-30 Thread Doug Anderson
There is no phy driver that works on the Rockchip board for either USB host port yet. For now just hardcode the vbus signal to be on all the time which makes both the dwc2 host and the EHCI port work. Signed-off-by: Doug Anderson --- Changes in v2: - usb_host_vbus => vcc_host to match supply nam

[PATCH v2 3/3] ARM: dts: Enable USB host0 (EHCI) on rk3288-evb

2014-07-30 Thread Doug Anderson
This is the top USB port on the evb (the one closest to the Ethernet connector). Signed-off-by: Doug Anderson Signed-off-by: Kever Yang --- Changes in v2: None arch/arm/boot/dts/rk3288-evb.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/ar

[PATCH v2 2/3] ARM: dts: add rk3288 ehci usb devices

2014-07-30 Thread Doug Anderson
From: Kever Yang rk3288 has two kind of usb controller; this adds the ehci variant for host0 and hsic. At the moment we don't add any phys for these controllers, but the default settings seem to work OK. There is a hardware problem in ohci controller which make it unavailable and host0 controll

Re: [PATCH] svcrdma: delete double assignment

2014-07-30 Thread Steve Wise
On 7/29/2014 5:50 PM, David Miller wrote: From: Himangi Saraogi Date: Mon, 28 Jul 2014 20:59:38 +0530 Delete successive assignments to the same location. A simplified version of Coccinelle semantic match that finds this problem is as follows: // @@ expression i; @@ *i = ...; i = ...; //

Re: [PATCH v7 4/5] PCI: add PCI controller for keystone PCIe h/w

2014-07-30 Thread Jason Gunthorpe
On Wed, Jul 30, 2014 at 03:34:44PM -0400, Murali Karicheri wrote: > • Maximum remote read request size of 256 bytes The PCI spec simply does not permit a completer to impose this limitation. See spec 2.3.1.1 It is not an option to error a read request because it is too long. All requests must b

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-30 Thread Arnd Bergmann
On Wednesday 30 July 2014, Thierry Reding wrote: se? > > I think there weren't any comments left for me to address and I've > mostly been waiting for Joerg to pick it up. > > Joerg, can you take this through the iommu tree for 3.17? Will acked > this, but perhaps you were waiting for an ACK from

Re: [x86_64,vsyscall] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

2014-07-30 Thread Andy Lutomirski
On Wed, Jul 30, 2014 at 8:33 AM, Fengguang Wu wrote: > On Wed, Jul 30, 2014 at 07:58:13AM -0700, Andy Lutomirski wrote: >> On Wed, Jul 30, 2014 at 7:29 AM, Fengguang Wu wrote: >> > Greetings, >> > >> > 0day kernel testing robot got the below dmesg and the first bad commit is >> > >> > git://git.k

Re: [PATCH] VFS: allow ->d_manage() to declare -EISDIR in rcu_walk mode.

2014-07-30 Thread Christoph Hellwig
This looks good enough that I'll apply it to the interim vfs queue. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www

Re: [PATCH v5 1/7] kernel: Add support for kernel restart handler call chain

2014-07-30 Thread Stephen Boyd
On 07/18/14 00:34, Guenter Roeck wrote: > +/** > + * do_kernel_restart - Execute kernel restart handler call chain > + * > + * Calls functions registered with register_restart_handler. > + * > + * Expected to be called from machine_restart as last step of the restart > + * sequence. > + * >

[PATCH] clk-rcar-gen2: RCAN clock support

2014-07-30 Thread Sergei Shtylyov
Add RCAN clock support to the R-Car generation 2 CPG driver. This clock gets derived from the USB_EXTAL clock by dividing it by 6. The layout of RCANCKCR register is close to those of the clocks supported by the 'clk-div6' driver but has no divider field, and so can't be supported by that driver..

[PATCH] s390: net: claw.c: Cleaning up possible error if incorrect in parameter

2014-07-30 Thread Rickard Strandqvist
Possible error if incorrect in parameter, count = 0. And clarified what the code actually does significantly. Signed-off-by: Rickard Strandqvist --- drivers/s390/net/claw.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/s390/net/claw.c b/

Re: [PATCH v8 04/22] Change direct_access calling convention

2014-07-30 Thread Matthew Wilcox
On Wed, Jul 30, 2014 at 07:12:44PM +0300, Boaz Harrosh wrote: > Off course I was wrong here size is in bytes not in sectors. Which points > out that maybe this API needs to be in sectors. > > [Actually it needs to be in pages both size and offset, because of return of > pfn, but its your call.] I

[PATCH -tip v2 1/7] locking/mutex: Standardize arguments in lock/unlock slowpaths

2014-07-30 Thread Davidlohr Bueso
Just how the locking-end behaves, when unlocking, go ahead and obtain the proper data structure immediately after the previous (asm-end) call exits and there are (probably) pending waiters. This simplifies a bit some of the layering. Signed-off-by: Davidlohr Bueso --- kernel/locking/mutex.c | 7

[PATCH -tip v2 4/7] locking/mutex: Refactor optimistic spinning code

2014-07-30 Thread Davidlohr Bueso
When we fail to acquire the mutex in the fastpath, we end up calling __mutex_lock_common(). A *lot* goes on in this function. Move out the optimistic spinning code into mutex_optimistic_spin() and simplify the former a bit. Furthermore, this is similar to what we have in rwsems. No logical changes.

[PATCH -tip v2 7/7] Documentation: Update locking/mutex-design.txt disadvantages

2014-07-30 Thread Davidlohr Bueso
Fortunately Jason was able to reduce some of the overhead we had introduced in the original rwsem optimistic spinning - an it is now the same size as mutexes. Update the documentation accordingly. Acked-by: Jason Low Signed-off-by: Davidlohr Bueso --- Documentation/locking/mutex-design.txt | 6

[PATCH] Remove certain calls for releasing page cache

2014-07-30 Thread Nicholas Krause
This patch removes the lines for releasing the page cache in certain files as this may aid in perfomance with writes in the compression rountines of btrfs. Please note that this patch has not been tested on my own hardware due to no compression based btrfs volumes of my own. Signed-off-by: Nichola

[PATCH -tip v2 3/7] locking/mcs: Remove obsolete comment

2014-07-30 Thread Davidlohr Bueso
... as we clearly inline mcs_spin_lock() now. Acked-by: Jason Low Signed-off-by: Davidlohr Bueso --- kernel/locking/mcs_spinlock.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/locking/mcs_spinlock.h b/kernel/locking/mcs_spinlock.h index 23e89c5..4d60986 100644 --- a/kernel/locki

[PATCH -tip v2 5/7] locking/mutex: Use MUTEX_SPIN_ON_OWNER when appropriate

2014-07-30 Thread Davidlohr Bueso
4badad35 (locking/mutex: Disable optimistic spinning on some architectures) added a ARCH_SUPPORTS_ATOMIC_RMW flag to disable the mutex optimistic feature on specific archs. Because CONFIG_MUTEX_SPIN_ON_OWNER only depended on DEBUG and SMP, it was ok to have the ->owner field conditional a bit flex

[PATCH -tip v2 2/7] locking/mutex: Document quick lock release when unlocking

2014-07-30 Thread Davidlohr Bueso
When unlocking, we always want to reach the slowpath with the lock's counter indicating it is unlocked. -- as returned by the asm fastpath call or by explicitly setting it. While doing so, at least in theory, we can optimize and allow faster lock stealing. When unlocking, we always want to reach t

Re: [PATCH] x86, efi: print debug values in Kib not MB

2014-07-30 Thread Randy Dunlap
On 07/30/14 12:58, Borislav Petkov wrote: > On Wed, Jul 30, 2014 at 10:21:26AM -0700, H. Peter Anvin wrote: >> Arguably the exactness is available in the range... > > ... and the size too. FWIW, other region dumps don't even print size: > > [0.00] e820: BIOS-provided physical RAM map: > [

[PATCH 0/3] therm_windtunnel doesn't work properly on PowerMac G4

2014-07-30 Thread Goffredo Baroncelli
Hi All, I am writing to you Jean and Benjamin because it seem that both worked on these items. On a PowerMac G4 I noticed that between the kernel v3.2 and v3.14 I lost the fan management. I found on internet other references to this kind of problem [2] **How reproduce: - booting with the kern

[PATCH 3/3] therm_windtunnel doesn't work properly on PowerMac G4

2014-07-30 Thread Goffredo Baroncelli
Add the "log_temp" and "verbose" module parameters. log_tempenable/disable the temperature logging verbose enable/disable the fan tune logging Signed-off-by: Goffredo Baroncelli --- drivers/macintosh/therm_windtunnel.c | 19 +-- 1 file changed, 13 insertions(+), 6

[PATCH 1/3] therm_windtunnel doesn't work properly on PowerMac G4

2014-07-30 Thread Goffredo Baroncelli
Rename the driver name therm_ds1775 -> MAC,ds1775 therm_adm1030 -> MAC,adm1030 Start the background fan control loop from the devices probing methods. Signed-off-by: Goffredo Baroncelli --- drivers/macintosh/therm_windtunnel.c | 15 +-- 1 file changed, 13 insertio

[PATCH 2/3] therm_windtunnel doesn't work properly on PowerMac G4

2014-07-30 Thread Goffredo Baroncelli
Remove attach_method because un-used: now i2c-powermac is in charge to instantiate the driver. Signed-off-by: Goffredo Baroncelli --- drivers/macintosh/therm_windtunnel.c | 35 -- 1 file changed, 35 deletions(-) diff --git a/drivers/macintosh/therm_windtunne

MNT_DETACH and mount namespace issue (was: Re: [PATCH] vfs: Fix RCU usage in __propagate_umount())

2014-07-30 Thread Richard Weinberger
Am 30.07.2014 15:59, schrieb Richard Weinberger: > If we use the plain list_empty() we might not see the > hlist_del_init_rcu() and therefore miss one member of the > list. > > It fixes the following issue: > $ unshare -m /usr/bin/sleep 1 & > $ mkdir -p foo/proc > $ mount -t proc none foo/proc

Re: [PATCH] Remove certain calls for releasing page cache

2014-07-30 Thread Josef Bacik
On 07/30/2014 04:42 PM, Nicholas Krause wrote: This patch removes the lines for releasing the page cache in certain files as this may aid in perfomance with writes in the compression rountines of btrfs. Please note that this patch has not been tested on my own hardware due to no compression based

[PATCH] scsi: ch.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-30 Thread Rickard Strandqvist
If you are going to use memset before strncpy you must copy sizeof -1. And removed unnecessary magic numbers. Signed-off-by: Rickard Strandqvist --- drivers/scsi/ch.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/ch.c b/drivers/scsi/ch.c index 2a

Re: [PATCH] Remove certain calls for releasing page cache

2014-07-30 Thread Zach Brown
On Wed, Jul 30, 2014 at 04:47:12PM -0400, Josef Bacik wrote: > On 07/30/2014 04:42 PM, Nicholas Krause wrote: > >This patch removes the lines for releasing the page cache in certain > >files as this may aid in perfomance with writes in the compression > >rountines of btrfs. Please note that this pa

Re: [PATCH v5 1/7] kernel: Add support for kernel restart handler call chain

2014-07-30 Thread Guenter Roeck
On 07/30/2014 01:18 PM, Stephen Boyd wrote: On 07/18/14 00:34, Guenter Roeck wrote: +/** + * do_kernel_restart - Execute kernel restart handler call chain + * + * Calls functions registered with register_restart_handler. + * + * Expected to be called from machine_restart as last step

[PATCH] trace-cmd: make sure we have a pending pid in trace-hist

2014-07-30 Thread Josef Bacik
I have a trace.dat file where we lost some events and so we didn't have the corresponding event to go with the stack trace. This made trace-cmd hist segfault because it unconditionally pushes the pending_pid's function onto the stack trace. In this case pending_pid < 0, which means we didn't have

Re: [PATCH 1/2] perf tools: Ensure --symfs ends with '/'

2014-07-30 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 30, 2014 at 12:19:32PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Jul 30, 2014 at 08:52:36AM +0900, Namhyung Kim escreveu: > > I also thought about that way first but changed my mind to the current > > approach because I don't want to change current behavior. > > > I worried a

Re: VFS tree for 3.17?

2014-07-30 Thread Christoph Hellwig
On Wed, Jul 30, 2014 at 01:20:09PM -0400, J. Bruce Fields wrote: > There's these fixes to d_splice_alias and related code: > > git://linux-nfs.org/~bfields/linux-topics.git for-viro > > (last posted in June). > > The project isn't really finished but I think those patches are > justifiable

[PATCH] scsi: csiostor: csio_init.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-30 Thread Rickard Strandqvist
If you use kzalloc before strncpy you must copy sizeof -1. And removed unnecessary magic numbers. Signed-off-by: Rickard Strandqvist --- drivers/scsi/csiostor/csio_init.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/csiostor/csio_init.c b/drivers/scsi/cs

Re: [PATCH -tip v2 6/7] locking: Move docs into Documentation/locking/

2014-07-30 Thread Randy Dunlap
On 07/30/14 13:41, Davidlohr Bueso wrote: > Specifically: > Documentation/locking/lockdep-design.txt > Documentation/locking/lockstat.txt > Documentation/locking/mutex-design.txt > Documentation/locking/rt-mutex-design.txt > Documentation/locking/rt-mutex.txt > Documentation/locking/spi

Re: [PATCH v7 07/22] Replace the XIP page fault handler with the DAX page fault handler

2014-07-30 Thread Matthew Wilcox
On Wed, Jul 30, 2014 at 11:52:29AM +0200, Jan Kara wrote: > I see the problem now. How about an attached patch? Do you see other > lockdep warnings with it? This patch fixes the problem, thanks! Regardless of DAX, I think this patch should be applied in order to avoid creating a dependency betw

Re: [PATCH v8 11/11] drm: sti: Add DRM driver itself

2014-07-30 Thread Rob Clark
On Wed, Jul 30, 2014 at 3:48 PM, Daniel Vetter wrote: > On Wed, Jul 30, 2014 at 7:42 PM, Benjamin Gaignard > wrote: >> @@ -87,11 +90,50 @@ static int sti_compositor_bind(struct device *dev, >> struct device *master, >> struct sti_compositor *compo = dev_get_drvdata(dev); >> struc

[patch] Documentation: SubmittingPatches: overhaul changelog howto

2014-07-30 Thread Johannes Weiner
Maintainers often repeat the same feedback on poorly written changelogs - describe the problem, justify your changes, quantify optimizations, describe user-visible changes - but our documentation on writing changelogs doesn't include these things. Fix that. Signed-off-by: Johannes Weiner --- Do

Re: [PATCH] x86, crypto: Check if gas supports CRC32

2014-07-30 Thread Mathias Krause
On Wed, Jul 30, 2014 at 06:47:01PM +0200, Borislav Petkov wrote: > Building current kernel with some old toolchain (gcc 4.1.2 and gas 2.17) > chokes with: > > arch/x86/crypto/crc32c-pcl-intel-asm_64.S: Assembler messages: > arch/x86/crypto/crc32c-pcl-intel-asm_64.S:128: Error: no such instruction:

Re: [PATCH] Staging: vt6655: staticfy variable

2014-07-30 Thread Fernando Apesteguía
On Wed, Jul 30, 2014 at 9:16 PM, Guillaume Clement wrote: > Hello, > >> Add static to variable. >> Signed-off-by: Fernando Apesteguia >> --- >> drivers/staging/vt6655/ioctl.c |2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/staging/vt6655/ioctl.c >> b/driver

Re: [PATCH] cpufreq, store_scaling_governor requires policy->rwsem to be held for duration of changing governors [v2]

2014-07-30 Thread Rafael J. Wysocki
On Wednesday, July 30, 2014 10:18:25 AM Prarit Bhargava wrote: > > On 07/29/2014 08:03 PM, Rafael J. Wysocki wrote: > > On Tuesday, July 29, 2014 07:46:02 AM Prarit Bhargava wrote: [cut] > >> This patch effectively reverts commit 955ef483. > > > > OK, I'm convinced by this. > > > > I suppose w

Re: [patch] Documentation: SubmittingPatches: overhaul changelog howto

2014-07-30 Thread Davidlohr Bueso
On Wed, 2014-07-30 at 17:11 -0400, Johannes Weiner wrote: > Maintainers often repeat the same feedback on poorly written > changelogs - describe the problem, justify your changes, quantify > optimizations, describe user-visible changes - but our documentation > on writing changelogs doesn't include

Re: [patch] Documentation: SubmittingPatches: overhaul changelog howto

2014-07-30 Thread David Miller
From: Johannes Weiner Date: Wed, 30 Jul 2014 17:11:01 -0400 > Maintainers often repeat the same feedback on poorly written > changelogs - describe the problem, justify your changes, quantify > optimizations, describe user-visible changes - but our documentation > on writing changelogs doesn't inc

Re: [PATCH v2 2/5] sched: Teach scheduler to understand ONRQ_MIGRATING state

2014-07-30 Thread Kirill Tkhai
В Ср, 30/07/2014 в 16:41 +0200, Oleg Nesterov пишет: > On 07/30, Kirill Tkhai wrote: > > > > В Вт, 29/07/2014 в 18:19 +0200, Oleg Nesterov пишет: > > > On 07/29, Kirill Tkhai wrote: > > > > > > > > How about this? Everything is inside task_rq_lock() now. The patch > > > > became much less. > > > >

Re: [PATCH] x86, crypto: Check if gas supports CRC32

2014-07-30 Thread Mathias Krause
On Wed, Jul 30, 2014 at 11:19:37PM +0200, Mathias Krause wrote: > On Wed, Jul 30, 2014 at 06:47:01PM +0200, Borislav Petkov wrote: > > [...] > > This looks too complicated. We do have as-instr for exactly those kind > of tests. And, in fact, looking at arch/x86/Makefile we already have one > for c

[PATCH v3] Documentation: devicetree: Fix tps65090 typos in example

2014-07-30 Thread Andreas Färber
Specification and existing device trees use vsys-l{1,2}-supply, not vsys_l{1,2}-supply. Fix the example to match the specification. Reviewed-by: Doug Anderson Acked-by: Mark Rutland Fixes: 21d2202158e9 ("mfd: tps65090: add DT support for tps65090") Signed-off-by: Andreas Färber --- v2 -> v3:

Re: General flags to turn things off (getrandom, pid lookup, etc)

2014-07-30 Thread One Thousand Gnomes
On Wed, 30 Jul 2014 11:41:41 -0700 ebied...@xmission.com (Eric W. Biederman) wrote: > One Thousand Gnomes writes: > > >> Andy you seem to be arguing here for two system calls. > >> get_urandom() and get_random(). > >> > >> Where get_urandom only blocks if there is not enough starting entropy, >

[PATCH] Staging: rtl8192u: Staticfy debug method.

2014-07-30 Thread fernando . apesteguia
From: Fernando Apesteguia Add static to debug method. Signed-off-by: Fernando Apesteguia --- drivers/staging/rtl8192u/r8192U_core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 7640

[PATCH 3/3] gpio-keys / PM: use enable/disable_device_irq_wake()

2014-07-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Use enable/disable_device_irq_wake() instead of enable/disable_irq_wake(), respectively, to prepare the gpio-keys interrupt for waking up the system from sleep states. That is safe with respect to shared interrupts and allows the IRQ subsystem to take care of IRQ configur

[PATCH 2/3] PCI / PM: Make PCIe PME interrupts wake up from "freeze" sleep state

2014-07-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The "freeze" sleep state, also known as suspend-to-idle, is entered without taking nonboot CPUs offline, right after devices have been suspended. It works by waiting for at least one wakeup source object to become "active" as a result of handling a hardware interrupt. Of

[PATCH 1/3] irq / PM: New driver interface for wakeup interrupts

2014-07-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Device drivers currently use enable_irq_wake() to configure their interrupts for system wakeup, but that API is not particularly well suited for this purpose, because it goes directly all the way to the hardware and attempts to change the IRQ configuration at the chip leve

[PATCH 0/3] irq / PM: wakeup interrupt interface for drivers (was: Re: [RFC][PATCH] irq: Rework IRQF_NO_SUSPENDED)

2014-07-30 Thread Rafael J. Wysocki
On Tuesday, July 29, 2014 03:33:23 PM Rafael J. Wysocki wrote: > On Tuesday, July 29, 2014 02:46:41 PM Thomas Gleixner wrote: > > On Tue, 29 Jul 2014, Rafael J. Wysocki wrote: > > > > > On Monday, July 28, 2014 11:53:15 PM Rafael J. Wysocki wrote: > > > > On Monday, July 28, 2014 02:33:41 PM Thoma

Re: [PATCH] kbuild, LLVMLinux: only use warnings when using clang

2014-07-30 Thread Behan Webster
On 07/30/14 06:04, Michal Marek wrote: On 2014-07-01 12:12, Borislav Petkov wrote: On Mon, Jun 30, 2014 at 05:42:26PM -0700, beh...@converseincode.com wrote: From: Behan Webster Only consider clang warnings in Kbuild when using the clang compiler. Signed-off-by: Behan Webster --- scripts/

<    1   2   3   4   5   6   7   8   9   >