Re: [RFC PATCH 1/2] zap_pte_range: update addr when forcing flush after TLB batching faiure

2014-10-29 Thread Will Deacon
On Tue, Oct 28, 2014 at 09:40:35PM +, Linus Torvalds wrote: > On Tue, Oct 28, 2014 at 8:30 AM, Linus Torvalds > wrote: > > On Tue, Oct 28, 2014 at 4:44 AM, Will Deacon wrote: > >> > >> This patch fixes the problem by incrementing addr by the PAGE_SIZE > >> before breaking out of the loop on

Re: [PATCH RESEND V4 4/9] pinctrl: tegra-xusb: Add USB PHY support

2014-10-29 Thread Andrew Bresticker
>> diff --git a/drivers/pinctrl/pinctrl-tegra-xusb.c >> b/drivers/pinctrl/pinctrl-tegra-xusb.c > [...] >> struct tegra_xusb_padctl_function { >> const char *name; >> const char * const *groups; >> @@ -72,6 +222,16 @@ struct tegra_xusb_padctl_soc { >> >> const struct

[PATCH v2 01/02] staging:lustre:lnet:selftest: fix sparse warnings

2014-10-29 Thread Anton Saraev
Fix sparse warnings: symbol X was not declared. Should it be static? Some functions used only in files where they are declared. They can be static. Signed-off-by: Anton Saraev --- drivers/staging/lustre/lnet/selftest/conctl.c| 34

[PATCH v2 00/02] staging:lustre:lnet:selftest: fix sparse warnings

2014-10-29 Thread Anton Saraev
As I can understand warning in previous series is about unused function (I don't see other differences in output of make with C=1, W=1 and W=2). I remove "static" for lnet_selftest_structure_assertion from first patch. Maybe I should merge patches in one but I think that addition of static

[PATCH v2 02/02] staging:lustre:lnet:selftest: remove unused function

2014-10-29 Thread Anton Saraev
Function lnet_selftest_structure_assertion is never used and can be removed. Signed-off-by: Anton Saraev --- drivers/staging/lustre/lnet/selftest/module.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/staging/lustre/lnet/selftest/module.c

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Jeff Kirsher
On Wed, 2014-10-29 at 20:36 +0100, Peter Zijlstra wrote: > On Wed, Oct 29, 2014 at 07:33:00PM +0100, Thomas Gleixner wrote: > > Yuck. No. You are just papering over the problem. > > > > What happens if you add 'threadirqs' to the kernel command line? Or if > > the interrupt line is shared with a

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Peter Zijlstra
On Wed, Oct 29, 2014 at 07:33:00PM +0100, Thomas Gleixner wrote: > Yuck. No. You are just papering over the problem. > > What happens if you add 'threadirqs' to the kernel command line? Or if > the interrupt line is shared with a real threaded interrupt user? > > The proper solution is to have a

Re: randconfig build error with next-20141028, in net/bridge

2014-10-29 Thread David Miller
From: Jim Davis Date: Tue, 28 Oct 2014 07:52:47 -0700 > Building with the attached random configuration file, > > net/built-in.o: In function `br_handle_frame_finish': > (.text+0x40edf): undefined reference to `arp_tbl' > net/built-in.o: In function `br_handle_frame_finish': > (.text+0x40f3a):

Re: [PATCH v3] xen/smp: Use die_complete completion when taking CPU down

2014-10-29 Thread Boris Ostrovsky
On 10/22/2014 01:09 PM, Boris Ostrovsky wrote: Commit 2ed53c0d6cc9 ("x86/smpboot: Speed up suspend/resume by avoiding 100ms sleep for CPU offline during S3") introduced completions to CPU offlining process. These completions are not initialized on Xen kernels causing a panic in

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Benoit Parrot
Pantelis Antoniou wrote on Wed [2014-Oct-29 18:42:48 +0200]: > Hi Benoit, > > > On Oct 29, 2014, at 18:34 , Benoit Parrot wrote: > > > > Pantelis, > > > > Thanks for the feedback. > > > > Pantelis Antoniou wrote on Wed [2014-Oct-29 > > 10:53:44 +0200]: > >> Hi Benoit, > >> > >>> On Oct

Re: net: fec: fix regression on i.MX28 introduced by rx_copybreak support

2014-10-29 Thread David Miller
From: Lothar Waßmann Date: Tue, 28 Oct 2014 14:22:55 +0100 > Changes wrt. v1: > - added some cleanup patches > - simplify handling of 'quirks' flags as suggested by Russell King. > - remove DIV_ROUND_UP() from byte swapping loop as suggested by > Eric Dumazet > > Changes wrt. v2: > - rebased

Re: [PATCH tip/core/rcu 0/6] Torture-test changes for 3.19

2014-10-29 Thread Pranith Kumar
On Tue, Oct 28, 2014 at 6:29 PM, Paul E. McKenney wrote: > Hello! > > This series provides torture-testing updates: > > 1. Run the Linux-kernel binary out of the results directory, > easing re-runs. > > 2. Add early-boot callback-posting self-tests for RCU, courtesy > of

Re: [PATCH v1 0/4] Enable PCI controller for Keystone SoCs

2014-10-29 Thread Murali Karicheri
On 10/29/2014 03:07 PM, Santosh Shilimkar wrote: Murali, On 10/29/2014 09:45 AM, Murali Karicheri wrote: Now that Keystone PCI driver is merged to v3.18, this patch series add build options and DTS bindings to enable the driver for Keystone SoCs. v1: resend with some minor fix up of the

Re: [PATCH 1/3] mfd: stmpe: add pull up/down register offsets for STMPE

2014-10-29 Thread Dmitry Torokhov
On Wednesday, October 29, 2014 10:55:14 AM Linus Walleij wrote: > On Mon, Oct 20, 2014 at 8:46 AM, Lee Jones wrote: > > On Sat, 18 Oct 2014, Linus Walleij wrote: > >> This adds the register offsets for pull up/down for the STMPE > >> 1601, 1801 and 24xx expanders. This is used to bias GPIO lines

Re: [PATCH v6 4/7] ARM: rockchip: add suspend and resume for RK3288

2014-10-29 Thread Doug Anderson
Kevin, On Wed, Oct 29, 2014 at 12:01 PM, Kevin Hilman wrote: >> + /* set bit 8 so that system will resume to FAST_BOOT_ADDR */ >> + regmap_write(sgrf_regmap, RK3288_SGRF_SOC_CON0, >> + BIT(SGRF_FAST_BOOT_EN) | BIT(SGRF_FAST_BOOT_EN + 16)); > > Comment says "bit 8", but

[PATCH 3/3] char: misc: document behaviour of open()

2014-10-29 Thread Martin Kepplinger
an open syscall now assignes file->private_data to a pointer to the miscdevice structure. This reminds driver developers not to duplicate code if they need this. Signed-off-by: Martin Kepplinger --- drivers/char/misc.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 2/3] fbdev: pxa3xx-gcu: remove redundant implementation of open()

2014-10-29 Thread Martin Kepplinger
the miscdevice core now does the work in any case. Signed-off-by: Martin Kepplinger --- drivers/video/fbdev/pxa3xx-gcu.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/video/fbdev/pxa3xx-gcu.c b/drivers/video/fbdev/pxa3xx-gcu.c index 4df3657..7678a94 100644 ---

[PATCH 0/3] char: misc: assign file->private_data to miscdevice on open

2014-10-29 Thread Martin Kepplinger
This slightly changes the behaviour of miscdevice drivers at an open() syscall. Not only if the driver happens to implement an open() fop itself, but now just always file->private_data points to struct miscdevice, when a user opens the device file. This call for review once more: if anybody has

[PATCH 1/3] misc: always assign miscdevice to file->private_data in open()

2014-10-29 Thread Martin Kepplinger
As of now, a miscdevice driver has to provide an implementation of the open() file operation if it wants to have misc_open() assign a pointer to struct miscdevice to file->private_data for other file operations to use (given the user calls open()). This leads to situations where a miscdevice

Re: A desktop environment[1] kernel wishlist

2014-10-29 Thread Andy Lutomirski
On 10/27/2014 07:31 AM, Bastien Nocera wrote: > On Mon, 2014-10-27 at 10:28 +0100, Pavel Machek wrote: >> Hi! >> I suspect wakeup type reporting is maybe not the best way to go about this, since there may be a number of causes for wakeups and they can arrive closely together in

[PATCH] platform: hp_accel: add a i8042 filter to remove HPQ6000 data from kb bus stream

2014-10-29 Thread Giedrius Statkevicius
Add a i8042 filter to hp_accel to remove accelerometer's data with acpi id HPQ6000 from keyboard bus stream. The codes sent by accelerometer are e0 25, e0 26, e0 27 and e0 28. The relevant information is already passed through /dev/freefall so no need to send these undocumented weird signals

Re: [PATCH 01/11] irqchip: Allow irq_reg_{readl,writel} to use __raw_{readl_writel}

2014-10-29 Thread Arnd Bergmann
On Wednesday 29 October 2014 10:36:25 Florian Fainelli wrote: > On 10/29/2014 12:43 AM, Arnd Bergmann wrote: > > On Tuesday 28 October 2014 20:58:48 Kevin Cernekee wrote: > >> > >> +#ifdef CONFIG_RAW_IRQ_ACCESSORS > >> + > >> +#ifndef irq_reg_writel > >> +# define irq_reg_writel(val, addr)

Re: [PATCH v3] rtc: omap: add support for pmic_power_en

2014-10-29 Thread Andrew Morton
On Wed, 29 Oct 2014 13:50:05 +0100 Johan Hovold wrote: > On Tue, Oct 28, 2014 at 09:36:33AM +0100, Johan Hovold wrote: > > On Mon, Oct 27, 2014 at 03:40:31PM -0700, Andrew Morton wrote: > > > On Mon, 27 Oct 2014 09:09:28 +0100 Johan Hovold wrote: > > > But in general, how do you want to handle

Re: [PATCH 01/11] irqchip: Allow irq_reg_{readl,writel} to use __raw_{readl_writel}

2014-10-29 Thread Arnd Bergmann
On Wednesday 29 October 2014 11:48:39 Kevin Cernekee wrote: > On Wed, Oct 29, 2014 at 12:43 AM, Arnd Bergmann wrote: > > On Tuesday 28 October 2014 20:58:48 Kevin Cernekee wrote: > >> > >> +#ifdef CONFIG_RAW_IRQ_ACCESSORS > >> + > >> +#ifndef irq_reg_writel > >> +# define irq_reg_writel(val,

Re: [PATCH] CodingStyle: Add a chapter on conditional compilation

2014-10-29 Thread Geert Uytterhoeven
On Wed, Oct 29, 2014 at 7:15 PM, Josh Triplett wrote: > Document several common practices and conventions regarding conditional > compilation, most notably the preference for ifdefs in headers rather > than .c files. > > Signed-off-by: Josh Triplett > +If you have a function or variable which

Re: [PATCH 01/11] irqchip: Allow irq_reg_{readl,writel} to use __raw_{readl_writel}

2014-10-29 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Kevin Cernekee wrote: > Thomas: > > How does that work with multi arch kernels? > > I am assuming this question refers to e.g. CONFIG_ARCH_MULTIPLATFORM > > If GENERIC_IRQ_CHIP is being used, the current implementation of > generic-chip.c will have to pick one global

Re: [PATCH net-next 0/2] r8152: support nway_reset

2014-10-29 Thread David Miller
From: Hayes Wang Date: Tue, 28 Oct 2014 14:05:50 +0800 > Fix the CHECK from checkpatch.pl and support nway_reset. Series applied, thanks. -- 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

Re: [PATCH v1 0/4] Enable PCI controller for Keystone SoCs

2014-10-29 Thread Santosh Shilimkar
Murali, On 10/29/2014 09:45 AM, Murali Karicheri wrote: Now that Keystone PCI driver is merged to v3.18, this patch series add build options and DTS bindings to enable the driver for Keystone SoCs. v1: resend with some minor fix up of the commit description and fixing the email ID for

Re: [PATCH v12 09/11] pvqspinlock, x86: Add para-virtualization support

2014-10-29 Thread Waiman Long
On 10/27/2014 05:22 PM, Waiman Long wrote: On 10/27/2014 02:04 PM, Peter Zijlstra wrote: On Mon, Oct 27, 2014 at 01:38:20PM -0400, Waiman Long wrote: On 10/24/2014 04:54 AM, Peter Zijlstra wrote: On Thu, Oct 16, 2014 at 02:10:38PM -0400, Waiman Long wrote: Since enabling paravirt spinlock

PATCH: Add IFF_ALLMULTI support to cpsw (and fix IFF_PROMISC support too)

2014-10-29 Thread Lennart Sorensen
The cpsw driver did not support the IFF_ALLMULTI flag which makes dynamic multicast routing rather hard to handle. Related to this, when enabling IFF_PROMISC in non dual_emac mode, all registered vlans are flushed, and only broadcast and unicast are allowed which isn't what you would want from

Re: [PATCH v1 4/4] ARM: dts: keystone-k2e: add DT bindings for PCI controller for port 1

2014-10-29 Thread Santosh Shilimkar
On 10/29/2014 09:45 AM, Murali Karicheri wrote: K2E SoC has a second PCI port based on Synopsis Designware PCIe h/w. Add DT bindings to support PCI controller for port 1 for this SoC. Signed-off-by: Murali Karicheri CC: Santosh Shilimkar CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC:

Re: [PATCH v2] net: ethernet: realtek: atp: checkpatch errors and warnings corrected

2014-10-29 Thread David Miller
From: Roberto Medina Date: Tue, 28 Oct 2014 00:51:56 +0100 > From: Roberto Medina > > Several warnings and errors of coding style rules corrected. > Compile tested. > > Signed-off-by: Roberto Medina Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [RFC PATCH 1/5] block, ioprio: include caching advice via ionice

2014-10-29 Thread Jeff Moyer
"Jason B. Akers" writes: > From: Dan Williams > > Steal one unused bit from the priority class and two bits from the > priority data, to implement a 3 bit cache-advice field. Similar to the > page cache advice from fadvise() these hints are meant to be consumed > by hybrid drives. Solid State

Re: [PATCH] clk: rockchip: disable unused clocks

2014-10-29 Thread Heiko Stübner
Hi Kever, Am Mittwoch, 29. Oktober 2014, 18:06:07 schrieb Kever Yang: > The rockchip clock driver use CLK_IGNORE_UNUSED flag to make sure > all the clocks are available like default power on state. > We have implement the clock manage in most of rockchip drivers, > it is time to remove it for

Re: [PATCH v1 3/4] ARM: dts: keystone: add DT bindings for PCI controller for port 0

2014-10-29 Thread Santosh Shilimkar
On 10/29/2014 09:45 AM, Murali Karicheri wrote: Add common DT bindings to support PCI controller driver for port 0 on all of the K2 SoCs that has Synopsis Designware based pcie h/w. Signed-off-by: Murali Karicheri CC: Santosh Shilimkar CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC:

Re: [PATCH v6 4/7] ARM: rockchip: add suspend and resume for RK3288

2014-10-29 Thread Kevin Hilman
Chris Zhong writes: > It's a basic version of suspend and resume for rockchip, > it only support RK3288 now. > > Signed-off-by: Tony Xie > Signed-off-by: Chris Zhong > Tested-by: Doug Anderson > Reviewed-by: Doug Anderson > > --- > > Changes in v6: > - get rid of the save/restore of SRAM > -

Re: [PATCH] kbuild: collect shorthands into the top Makefile

2014-10-29 Thread Sam Ravnborg
On Wed, Oct 29, 2014 at 04:27:31PM +0900, Masahiro Yamada wrote: > The motivation of this commit is to avoid duplicated definitions > of "clean" and "hdr-inst" shorthands. > > The shorthand "clean" is defined in both the top Makefile and > scripts/Makefile.clean. > > Likewise, "hdr-inst" is

Re: [PATCH v1 2/4] ARM: keystone: defconfig: add options to enable PCI controller

2014-10-29 Thread Santosh Shilimkar
On 10/29/2014 09:45 AM, Murali Karicheri wrote: Please add some change log here even if it minimum. Signed-off-by: Murali Karicheri CC: Santosh Shilimkar CC: Russell King CC: Greg Kroah-Hartman --- v1 - fixed email ID for Santosh arch/arm/configs/keystone_defconfig |3 +++ 1 file

Re: [PATCH v1 1/4] ARM: keystone: add pcie related options

2014-10-29 Thread Santosh Shilimkar
On 10/29/2014 09:45 AM, Murali Karicheri wrote: Now that Keystone PCI controller is merged, add pcie related options by default for keystone architecture so that driver can be enabled in the build. Signed-off-by: Murali Karicheri CC: Russell King CC: Santosh Shilimkar --- - v1 - No change

Re: [PATCH 0/4] Enable PCI controller for Keystone SoCs

2014-10-29 Thread Santosh Shilimkar
On 10/29/2014 08:02 AM, Murali Karicheri wrote: On 10/28/2014 12:33 PM, Santosh Shilimkar wrote: On 10/28/2014 09:07 AM, Murali Karicheri wrote: On 10/28/2014 12:06 PM, Murali Karicheri wrote: On 10/24/2014 01:51 PM, Murali Karicheri wrote: Now that Keystone PCI driver is merged to

Re: [PATCH][STABLE] audit: correct AUDIT_GET_FEATURE return message type

2014-10-29 Thread Richard Guy Briggs
On 14/10/29, Richard Guy Briggs wrote: > On 14/10/29, Greg KH wrote: > > On Wed, Oct 29, 2014 at 09:35:06AM -0400, Richard Guy Briggs wrote: > > > When an AUDIT_GET_FEATURE message is sent from userspace to the kernel, it > > > should reply with a message tagged as an AUDIT_GET_FEATURE type with a

Re: [GIT PULL] Fix for Integrity subsystem null pointer deref

2014-10-29 Thread Andy Lutomirski
On Wed, Oct 29, 2014 at 11:36 AM, Dan Carpenter wrote: > On Wed, Oct 29, 2014 at 09:23:45AM -0700, Andy Lutomirski wrote: >> I have no idea what the semantics are. All I'm saying is that it >> looks like the code still accesses memory past the end of the buffer. >> The buffer isn't a null

Re: [PATCH 01/11] irqchip: Allow irq_reg_{readl,writel} to use __raw_{readl_writel}

2014-10-29 Thread Kevin Cernekee
On Wed, Oct 29, 2014 at 12:43 AM, Arnd Bergmann wrote: > On Tuesday 28 October 2014 20:58:48 Kevin Cernekee wrote: >> >> +#ifdef CONFIG_RAW_IRQ_ACCESSORS >> + >> +#ifndef irq_reg_writel >> +# define irq_reg_writel(val, addr) __raw_writel(val, addr) >> +#endif >> +#ifndef irq_reg_readl >> +#

Re: [PATCH tip/core/rcu 9/9] rcu: Provide counterpart to rcu_dereference() for non-RCU situations

2014-10-29 Thread Paul E. McKenney
On Wed, Oct 29, 2014 at 08:15:19PM +0100, Oleg Nesterov wrote: > On 10/29, Paul E. McKenney wrote: > > > > On Wed, Oct 29, 2014 at 11:57:04AM +0100, Peter Zijlstra wrote: > > > On Tue, Oct 28, 2014 at 03:10:02PM -0700, Paul E. McKenney wrote: > > > > From: "Paul E. McKenney" > > > > > > > >

Re: [PATCH RESEND 10/12] ARM: dts: berlin: Add SDHCI controller nodes to BG2/BG2CD

2014-10-29 Thread Sebastian Hesselbarth
On 21.10.2014 11:22, Sebastian Hesselbarth wrote: Marvell Berlin BG2 has three, BG2CD just one pxav3 compatible sdhci controllers, add them to the corresponding DT SoC includes. Signed-off-by: Sebastian Hesselbarth Applied the three DT patches to berlin/dt. Sebastian --- Cc: Chris Ball

Re: [PATCH v2 6/9] ARM: berlin: Add BG2 ethernet DT nodes

2014-10-29 Thread Sebastian Hesselbarth
On 22.10.2014 20:26, Sebastian Hesselbarth wrote: Marvell BG2 has two fast ethernet controllers with internal PHY, add the corresponding nodes to SoC dtsi. Tested-by: Antoine Ténart Reviewed-by: Florian Fainelli Signed-off-by: Sebastian Hesselbarth Applied the four DT patches to berlin/dt.

Re: [PATCH] mfd: tc6393xb fail ohci suspend if full state restore is required

2014-10-29 Thread Dmitry Eremin-Solenikov
2014-10-24 20:19 GMT+03:00 Dmitry Eremin-Solenikov : > Some boards with TC6393XB chip require full state restore during system > resume thanks to chip's VCC being cut off during suspend (Sharp SL-6000 > tosa is one of them). Failing to do so would result in ohci Oops on > resume due to internal

[RFC PATCH 2/5] block: ioprio hint to low-level device drivers

2014-10-29 Thread Jason B. Akers
From: Dan Williams The priority in the io_context is consumed by the io scheduler. For caching advice we need the request->ioprio field to be up-to-date. Set the bio ioprio at submit time. Signed-off-by: Dan Williams Signed-off-by: Jason B. Akers --- block/bio.c|1 + block/ioprio.c

[RFC PATCH 4/5] block, mm: Added the necessary plumbing to take ioprio hints down to block layer

2014-10-29 Thread Jason B. Akers
From: Kapil Karkra Added the necessary plumbing to take the ioprio hints down to the block layer from where they further flow down into the libata. For reads or direct IO, bio_associate_ioprio (invoked from blk_throtl_bio) copies the ioprio from the current io context into the bio in the

[RFC PATCH 5/5] libata: Enabling Solid State Hybrid Drives (SSHDs) based on SATA 3.2 standard

2014-10-29 Thread Jason B. Akers
From: Jason B. Akers Augment the libata to add support for SSHDs--hard disks with a small embedded NAND memory in them. The hybrid information feature is part of the SATA standard 3.2 that specifies a way for host drivers to pass hints to the drives over the SATA interface to guide the placement

[RFC PATCH 1/5] block, ioprio: include caching advice via ionice

2014-10-29 Thread Jason B. Akers
From: Dan Williams Steal one unused bit from the priority class and two bits from the priority data, to implement a 3 bit cache-advice field. Similar to the page cache advice from fadvise() these hints are meant to be consumed by hybrid drives. Solid State Hyrbid-Drives, as defined by the

Re: [GIT PULL] Fix for Integrity subsystem null pointer deref

2014-10-29 Thread Dan Carpenter
On Wed, Oct 29, 2014 at 09:23:45AM -0700, Andy Lutomirski wrote: > I have no idea what the semantics are. All I'm saying is that it > looks like the code still accesses memory past the end of the buffer. > The buffer isn't a null pointer, so the symptom is different, but it > may still be a

[RFC PATCH 3/5] block: untangle ioprio from BLK_CGROUP and BLK_DEV_THROTTLING

2014-10-29 Thread Jason B. Akers
From: Dan Williams If BLK_CGROUP is disabled, still enable ionice to set advice on bios. Signed-off-by: Dan Williams Signed-off-by: Jason B. Akers --- block/bio.c | 43 +++- block/blk.h |2 ++ include/linux/bio.h | 68

[RFC PATCH 0/5] Enable use of Solid State Hybrid Drives

2014-10-29 Thread Jason B. Akers
The following series enables the use of Solid State hybrid drives ATA standard 3.2 defines the hybrid information feature, which provides a means for the host driver to provide hints to the SSHDs to guide what to place on the SSD/NAND portion and what to place on the magnetic media. This

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Thomas Gleixner
gt; > Preemption disabled at:[] printk_emit+0x31/0x33 > > > > CPU: 1 PID: 1 Comm: systemd Not tainted 3.18.0-rc2-next-20141029-dirty #222 > > Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS > > 1.7.5-20140617_173321-var-lib-archbuild-testing-x86_64-tobias 04/01/2014

Re: [GIT PULL] Fix for Integrity subsystem null pointer deref

2014-10-29 Thread Mimi Zohar
On Wed, 2014-10-29 at 09:23 -0700, Andy Lutomirski wrote: > On Oct 29, 2014 6:00 AM, "Mimi Zohar" wrote: > > > > On Tue, 2014-10-28 at 22:08 -0700, Andy Lutomirski wrote: > > > On Tue, Oct 28, 2014 at 8:55 PM, James Morris wrote: > > > > These changes fix a bug in xattr handling, where the evm

Re: [PATCH] sched: Fix race between task_group and sched_task_group

2014-10-29 Thread Oleg Nesterov
On 10/29, Kirill Tkhai wrote: > > On 29.10.2014 01:52, Oleg Nesterov wrote: > > > And cgroup_task_migrate() can free ->cgroups via call_rcu(). Of course, > > in practice raw_spin_lock_irq() should also act as rcu_read_lock(), but > > we should not rely on implementation details. > > Do you mean

Re: [PATCH v3 00/15] net: dsa: Fixes and enhancements

2014-10-29 Thread Florian Fainelli
On 10/29/2014 10:44 AM, Guenter Roeck wrote: > Patch 01/15 addresses a bug indicated by an an annoying and unhelpful > log message. > > Patches 02/15 and 03/15 are minor enhancements, adding support for > known switch revisions. > > Patches 04/15 and 05/15 add support for MV88E6352 and

Re: Cache Allocation Technology Design

2014-10-29 Thread Tejun Heo
On Wed, Oct 29, 2014 at 10:41:47AM -0700, Vikas Shivappa wrote: > Was wondering if it is a requirement of the 'full hierarchy' for the child > to inherit the cbm of parent ? . > Alternately we can allocate the CLOSid when a cgroup is created and have an > empty cbm - but dont let the tasks to be

Re: [PATCH tip/core/rcu 9/9] rcu: Provide counterpart to rcu_dereference() for non-RCU situations

2014-10-29 Thread Oleg Nesterov
On 10/29, Paul E. McKenney wrote: > > On Wed, Oct 29, 2014 at 11:57:04AM +0100, Peter Zijlstra wrote: > > On Tue, Oct 28, 2014 at 03:10:02PM -0700, Paul E. McKenney wrote: > > > From: "Paul E. McKenney" > > > > > > Although rcu_dereference() and friends can be used in situations where > > >

Re: Cache Allocation Technology Design

2014-10-29 Thread Peter Zijlstra
On Wed, Oct 29, 2014 at 10:26:16AM -0700, Vikas Shivappa wrote: > >It appears to me this 'mode' thing is entirely superfluous and can be > >constructed by voluntary operation of this and cpusets or manual > >affinity calls. > > Do you mean user would would just user the cpusets for cpu affinity

[PATCH 1/2] tty: serial: msm: Fix sysrq spinlock recursion on non-DM

2014-10-29 Thread Stephen Boyd
The handle_rx() path calls uart_handle_sysrq_char() with the port lock held. This causes a spinlock recursion. Release and reacquire the lock here to avoid this. BUG: spinlock recursion on CPU#0, swapper/0 lock: msm_uart_ports+0x1e0/0x2d0, .magic: dead4ead, .owner: swapper/0, .owner_cpu: 0 CPU:

[PATCH] of/fdt: Don't clear initial_boot_params if fdt_check_header() fails

2014-10-29 Thread Bjorn Helgaas
If the device tree pointer is NULL, early_init_dt_verify() fails, leaving initial_boot_params unchanged. If the device tree pointer is non-NULL but invalid, early_init_dt_verify() again fails but this time it also clears initial_boot_params. Leave initial_boot_params unchanged if the device tree

[PATCH 2/2] tty: serial: msm: Support sysrq on uartDM devices

2014-10-29 Thread Stephen Boyd
To properly support sysrq on uartDM hardware we need to properly handle break characters. With the DM hardware the fifo can pack 4 characters at a time, where a break is indicated by an all zero byte. Unfortunately, we can't differentiate between an all zero byte for a break and an all zero byte

Re: [PATCH V2 4/5] cpuidle: menu: Fix the get_typical_interval

2014-10-29 Thread Daniel Lezcano
On 10/28/2014 03:48 AM, Len Brown wrote: On Thu, Oct 23, 2014 at 5:01 AM, Daniel Lezcano wrote: The first time the 'get_typical_function' is called, it computes an average of zero as no data is filled yet. That leads the 'data->predicted_us' variable to be set to zero too. The caller,

[PATCH] CodingStyle: Add a chapter on conditional compilation

2014-10-29 Thread Josh Triplett
Document several common practices and conventions regarding conditional compilation, most notably the preference for ifdefs in headers rather than .c files. Signed-off-by: Josh Triplett --- I found myself explaining a few of these unwritten rules in patch feedback, so I figured I'd document

Re: [PATCH 00/13] HID: add support of Logitech touchpads and special devices

2014-10-29 Thread Benjamin Tissoires
On Wed, Oct 29, 2014 at 12:14 PM, Jiri Kosina wrote: > On Wed, 29 Oct 2014, Benjamin Tissoires wrote: > >> No worries. I definitively understand. Being close to the merge window >> is never a good time to send you patches and I am sure SuSE asks you a >> lot also :) > > Indeed, sometimes the flow

[PATCH 0/2] Two msm_serial break fixes

2014-10-29 Thread Stephen Boyd
The first patch fixes a spinlock recursion. I suppose we can ship it back to stable but I doubt anyone has noticed or cares. The second one adds break support to the DM path, and allows sysrq to work. Stephen Boyd (2): tty: serial: msm: Fix sysrq spinlock recursion on non-DM tty: serial: msm:

Re: [PATCH v2] all arches, signal: Move restart_block to struct task_struct

2014-10-29 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Andy Lutomirski wrote: > If an attacker can cause a controlled kernel stack overflow, > overwriting the restart block is a very juicy exploit target. > Moving the restart block to struct task_struct prevents this > exploit. > > Note that there are other fields in thread_info

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Peter Zijlstra
77/0x6a0 > softirqs last enabled at (10102342): [] > __do_softirq+0x27a/0x6f0 > softirqs last disabled at (10102337): [] irq_exit+0x56/0xe0 > Preemption disabled at:[] printk_emit+0x31/0x33 > > CPU: 1 PID: 1 Comm: systemd Not tainted 3.18.0-rc2-next-20141029-dirty #222 > H

[GIT PULL rcu/urgent-for-mingo] Regression fixes

2014-10-29 Thread Paul E. McKenney
Hello, Ingo, This pull request contains a couple of fixes for RCU regressions: 1. Complete the work of commit dd56af42bd82 (rcu: Eliminate deadlock between CPU hotplug and expedited grace periods), which was intended to allow synchronize_sched_expedited() to be safely

Re: [PATCH RESEND V4 2/9] mailbox: Add NVIDIA Tegra XUSB mailbox driver

2014-10-29 Thread Andrew Bresticker
>> + for (i = 0; i < ARRAY_SIZE(mbox->vchan_allocated); i++) { >> + if (mbox->vchan_allocated[i]) >> + mbox_chan_received_data(>mbox.chans[i], ); >> + } > > It seems like the only reason why you need to explicitly check for an > allocated channel is that

Re: [PATCH V3 2/4] of: Add binding document for MIPS GIC

2014-10-29 Thread Mark Rutland
On Wed, Oct 29, 2014 at 04:55:56PM +, Andrew Bresticker wrote: > Hi James, > > On Wed, Oct 29, 2014 at 2:21 AM, James Hogan wrote: > > Hi Andrew, > > > > On 29/10/14 00:12, Andrew Bresticker wrote: > >> - changed compatible string to include CPU version > > > >> +Required properties: > >>

Re: [PATCH] serial: msm: Add magic SysRq support in dmmode

2014-10-29 Thread Stephen Boyd
On 10/29/2014 09:38 AM, Daniel Thompson wrote: > Currently the _dm RX handler detects breaks but does not pass any > characters to uart_handle_sysrq_char(). > > The _dm optimizations combined with the port's spin lock make if > difficult to pass all characters to the sysrq logic because we cannot

Re: [PATCH tip/core/rcu 0/5] Documentation updates for 3.19

2014-10-29 Thread Pranith Kumar
On Tue, Oct 28, 2014 at 5:59 PM, Paul E. McKenney wrote: > Hello! > > This series contains a few documentation updates: > > 1. Records limitations of bitfields and small variables. > Also rules out pre-EV56 Alpha, which lack 8- and 16-bit > memory-reference instructions.

Re: [PATCH v3 3/3] x86: Support compiling out userspace I/O (iopl and ioperm)

2014-10-29 Thread josh
On Wed, Oct 29, 2014 at 10:20:28AM -0700, H. Peter Anvin wrote: > On 10/29/2014 10:17 AM, j...@joshtriplett.org wrote: > >> > >> But this is entirely a style decision, so I leave it up to the x86 > >> maintainers ... > > > > I can certainly do that if the x86 maintainers prefer, but that tends to

Re: [PATCH] PM / Runtime: Rework RPM get callback routines

2014-10-29 Thread Kevin Hilman
Andrzej Hajda writes: > PM uses three separate functions to fetch RPM callbacks. > These functions uses quite complicated macro in their body. > The patch replaces these routines with one small macro and > one helper function. > > Signed-off-by: Andrzej Hajda Acked-by: Kevin Hilman -- To

Re: [Qemu-devel] [PATCH 00/17] RFC: userfault v2

2014-10-29 Thread Peter Maydell
On 29 October 2014 17:46, Andrea Arcangeli wrote: > After some chat during the KVMForum I've been already thinking it > could be beneficial for some usage to give userland the information > about the fault being read or write ...I wonder if that would let us replace the current nasty mess we use

Re: [RFCv1] Media Token API needs - Was: Re: [alsa-devel] [PATCH v2 5/6] sound/usb: pcm changes to use media token api

2014-10-29 Thread Mauro Carvalho Chehab
Em Wed, 29 Oct 2014 10:06:51 -0600 Shuah Khan escreveu: > On 10/28/2014 05:42 PM, Mauro Carvalho Chehab wrote: > > Hi Shuah, > > > > I'm understanding that you're collecting comments to write a RFC with the > > needs by the media token, right? > > > > I'm sending you my contributions to such

Re: [PATCH tip/core/rcu 10/10] cpu: Avoid puts_pending overflow

2014-10-29 Thread Pranith Kumar
On Tue, Oct 28, 2014 at 5:53 PM, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > A long string of get_online_cpus() with each followed by a > put_online_cpu() that fails to acquire cpu_hotplug.lock can result in > overflow of the cpu_hotplug.puts_pending counter. Although this is >

Re: [PATCH tip/core/rcu 0/9] Per-CPU-variable updates

2014-10-29 Thread Pranith Kumar
On Tue, Oct 28, 2014 at 5:51 PM, Paul E. McKenney wrote: > Hello! > > This series updates RCU's handling of per-CPU variables, mostly > moving from "cpu" function arguments to various "this_"-style accessors > for per-CPU variables: > > 1. Drop the rdtp argument from RCU's dyntick-idle and

[PATCH v3 01/15] net: dsa: Don't set skb->protocol on outgoing tagged packets

2014-10-29 Thread Guenter Roeck
Setting skb->protocol to a private protocol type may result in warning messages such as e1000e :00:19.0 em1: checksum_partial proto=dada! This happens if the L3 protocol is IP or IPv6 and skb->ip_summed is set to CHECKSUM_PARTIAL. Looking through the code, it appears that changing

Re: [PATCH] staging: skein: skein_api.c: removed space before ','

2014-10-29 Thread Jason Cooper
Mikael, On Wed, Oct 29, 2014 at 05:55:34PM +0100, Mikael Svantesson wrote: > Signed-off-by: Mikael Svantesson > --- > drivers/staging/skein/skein_api.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Jason Cooper For future patches, please remember to add the 'V3' to the

[PATCH v3 00/15] net: dsa: Fixes and enhancements

2014-10-29 Thread Guenter Roeck
Patch 01/15 addresses a bug indicated by an an annoying and unhelpful log message. Patches 02/15 and 03/15 are minor enhancements, adding support for known switch revisions. Patches 04/15 and 05/15 add support for MV88E6352 and MV88E6176. Patch 06/15 adds support for hardware monitoring,

[PATCH v3 02/15] net: dsa: Report known silicon revisions for Marvell 88E6060

2014-10-29 Thread Guenter Roeck
Report known silicon revisions when probing Marvell 88E6060 switches. Signed-off-by: Guenter Roeck --- v3: - No change v2: - No change drivers/net/dsa/mv88e6060.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/mv88e6060.c b/drivers/net/dsa/mv88e6060.c

Re: [PATCH V3 4/4] clocksource: mips-gic: Add device-tree support

2014-10-29 Thread Mark Rutland
On Wed, Oct 29, 2014 at 12:12:42AM +, Andrew Bresticker wrote: > Parse the GIC timer frequency and interrupt from the device-tree. > > Signed-off-by: Andrew Bresticker > --- > New for v3. > --- > drivers/clocksource/Kconfig | 1 + > drivers/clocksource/mips-gic-timer.c | 37 >

[PATCH v3 05/15] net: dsa/mv88e6352: Add support for MV88E6176

2014-10-29 Thread Guenter Roeck
MV88E6176 is mostly compatible to MV88E6352 and is documented in the same functional specification. Add support for it. Signed-off-by: Guenter Roeck --- v3: - No change v2: - No change drivers/net/dsa/Kconfig | 5 +++-- drivers/net/dsa/mv88e6352.c | 2 ++ 2 files changed, 5 insertions(+),

[PATCH v3 09/15] net: dsa: Add support for switch EEPROM access

2014-10-29 Thread Guenter Roeck
On some chips it is possible to access the switch eeprom. Add infrastructure support for it. Signed-off-by: Guenter Roeck --- v3: - Fix bug seen if devicetree is enabled; eeprom-length property is attached to switch devicetree node, not to dsa node. v2: - Add support for configuring switch

[PATCH v3 08/15] net: dsa/mv88e6123_61_65: Report chip temperature

2014-10-29 Thread Guenter Roeck
MV88E6123 and compatible chips support reading the chip temperature from PHY register 6:26. Signed-off-by: Guenter Roeck --- v3: - No change v2: - Make new functionality optional, depending on CONFIG_NET_DSA_HWMON drivers/net/dsa/mv88e6123_61_65.c | 68 +--

[PATCH v3 04/15] net: dsa: Add support for Marvell 88E6352

2014-10-29 Thread Guenter Roeck
Marvell 88E6352 is mostly compatible to MV88E6123/61/65, but requires indirect phy access. Also, its configuration registers are a bit different. Signed-off-by: Guenter Roeck --- v3: - No change v2: - No change MAINTAINERS | 5 + drivers/net/dsa/Kconfig | 8 +

[PATCH v3 03/15] net: dsa: Report known silicon revisions for Marvell 88E6131

2014-10-29 Thread Guenter Roeck
Report known silicon revisions when probing Marvell 88E6131 switches. Signed-off-by: Guenter Roeck --- v3: - No change v2: - No change drivers/net/dsa/mv88e6131.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/net/dsa/mv88e6131.c

[PATCH v3 07/15] net: dsa/mv88e6352: Report chip temperature

2014-10-29 Thread Guenter Roeck
MV88E6352 supports reading the chip temperature from two PHY registers, 6:26 and 6:27. Report it using the more accurate register 6:27. Also report temperature limit and alarm. Signed-off-by: Guenter Roeck --- v3: - No change v2: - Make new functionality optional, depending on

[PATCH v3 06/15] net: dsa: Add support for reporting switch chip temperatures

2014-10-29 Thread Guenter Roeck
Some switches provide chip temperature data. Add support for reporting it through the hwmon subsystem. Signed-off-by: Guenter Roeck --- v3: - No change v2: - Updated headline to reflect what is reported, not how. - Make added functionality optional with new Kconfig flag - Register with hwmon

[PATCH v3 10/15] dsa: Add new optional devicetree property to describe EEPROM size

2014-10-29 Thread Guenter Roeck
The dsa core now supports reading from and writing to a switch EEPROM if connected. Describe optional devicetree property indicating that an EEPROM is present and its size. Signed-off-by: Guenter Roeck --- v3: - eeprom-length property is attached to switch devicetree node, not to dsa node. v2:

[PATCH v3 11/15] net: dsa/mv88e6352: Implement EEPROM access functions

2014-10-29 Thread Guenter Roeck
MV88E6352 supports read and write access to its configuration eeprom. There is no means to detect if an EEPROM is connected to the switch. Also, the switch supports EEPROMs with different sizes, but can not detect or report the type or size of connected EEPROMs. Therefore, do not implement the

[PATCH v3 15/15] net: dsa: Provide additional RMON statistics

2014-10-29 Thread Guenter Roeck
Display sw_in_discards, sw_in_filtered, and sw_out_filtered for chips supported by mv88e6123_61_65 and mv88e6352 drivers. The variables are provided in port registers, not the normal status registers. Mark by adding 0x100 to the register offset and add special handling code to

[PATCH v3 13/15] net: dsa/mv88e6123_61_65: Add support for reading switch registers

2014-10-29 Thread Guenter Roeck
The infrastructure can now report switch registers to ethtool. Add support for it to the mv88e6123_61_65 driver. Signed-off-by: Guenter Roeck --- v3: - No change v2: - No change drivers/net/dsa/mv88e6123_61_65.c | 2 ++ drivers/net/dsa/mv88e6xxx.c | 24

[PATCH v3 14/15] net: dsa/mv88e6352: Add support for reading switch registers

2014-10-29 Thread Guenter Roeck
Report switch register values to ethtool. Signed-off-by: Guenter Roeck --- v3: - No change v2: - No change drivers/net/dsa/mv88e6352.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dsa/mv88e6352.c b/drivers/net/dsa/mv88e6352.c index 8a956f9..d5bbe49 100644 ---

[PATCH] ALSA: es1968: Replace timeval with ktime_t

2014-10-29 Thread Tina Ruchandani
es1968_measure_clock uses struct timeval, which on 32-bit systems will overflow in 2038, leading to incorrect interpretation of time.This patch changes the function to use ktime_t instead of struct timeval, which implies: - no y2038: ktime_t uses a 64-bit datatype explicitly. - efficent

Re: [PATCH 00/17] RFC: userfault v2

2014-10-29 Thread Andrea Arcangeli
Hi Zhanghailiang, On Mon, Oct 27, 2014 at 05:32:51PM +0800, zhanghailiang wrote: > Hi Andrea, > > Thanks for your hard work on userfault;) > > This is really a useful API. > > I want to confirm a question: > Can we support distinguishing between writing and reading memory for > userfault? >

<    1   2   3   4   5   6   7   8   9   10   >