Re: [PATCH] perf hist browser: change print format from lu to llu to fit u64 type

2014-11-25 Thread Jiri Olsa
On Tue, Nov 25, 2014 at 03:51:30PM -0800, Matt Mullins wrote: > On Tue, Nov 18, 2014 at 05:00:27PM -0600, Tom Huynh wrote: > > nr_events in tools/perf/ui/browsers/hists.c is of type u64, thus it should > > be printed as %llu instead of %lu. The print format %lu causes perf report > > to show 0

Re: [PATCH] ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf

2014-11-25 Thread Pankaj Dubey
Hi Bartilomiej, On Tuesday 08 July 2014 05:33 PM, Bartlomiej Zolnierkiewicz wrote: Values stored in val[] are never bigger than a byte. textdata bss dec hex filename 5264 4 452721498 arch/arm/mach-exynos/pmu.o.before 2992 4 43000

Re: [PATCH v5 4/7] fs/fuse: support compiling out splice

2014-11-25 Thread Pieter Smith
On Tue, Nov 25, 2014 at 12:49:16PM -0800, j...@joshtriplett.org wrote: > On Tue, Nov 25, 2014 at 08:42:42PM +0100, Pieter Smith wrote: > > On Tue, Nov 25, 2014 at 03:17:13PM +0100, Miklos Szeredi wrote: > > > [Trimming CC. Please do the same for other patches. I for one am not > > > interested

Re: [PATCH v5 4/7] fs/fuse: support compiling out splice

2014-11-25 Thread Pieter Smith
On Tue, Nov 25, 2014 at 08:42:42PM +0100, Pieter Smith wrote: > On Tue, Nov 25, 2014 at 03:17:13PM +0100, Miklos Szeredi wrote: > > [Trimming CC. Please do the same for other patches. I for one am not > > interested in the general tinification discussion] > > > > On Tue, Nov 25, 2014 at

[PATCH net-next V2] tun/macvtap: use consume_skb() instead of kfree_skb() when needed

2014-11-25 Thread Jason Wang
To be more friendly with drop monitor, we should only call kfree_skb() when the packets were dropped and use consume_skb() in other cases. Cc: Eric Dumazet Signed-off-by: Jason Wang --- Changes from V1: - check the return value of tun/macvtap_put_user() --- drivers/net/macvtap.c | 5 -

[GIT PULL] irqchip: Core changes for v3.19 (round 3)

2014-11-25 Thread Jason Cooper
Thomas, This round of changes includes the legacy orion platform gpio build regression fix. This adds a dependency on mvebu/fixes. Both patches are already a part of v3.18-rc5. This is the cleanest way I could come up with the resolve the issue. Please let me know if you know of a better way.

Re: [PATCH v2 net-next 3/3] tuntap: reduce the size of tun_struct by using flex array.

2014-11-25 Thread Pankaj Gupta
> > From: Pankaj Gupta > Date: Tue, 25 Nov 2014 00:04:04 +0530 > > > This patch switches to flex array to implement the flow caches, it brings > > several advantages: > > > > - Reduce the size of the tun_struct structure, which allows us to increase > > the > > upper limit of queues in

Re: [PATCH v14 0/3] Add drm driver for Rockchip Socs

2014-11-25 Thread Joerg Roedel
On Wed, Nov 26, 2014 at 01:37:51AM +0100, Heiko Stübner wrote: > > Joerg, is your arm/rockchip branch [0] considered stable? > > [0] > https://git.kernel.org/cgit/linux/kernel/git/joro/iommu.git/log/?h=arm/rockchip > Yes, this branch will not be rebased. It can be pulled into another tree.

[PATCH v2] staging: lustre: fix pointer declarations

2014-11-25 Thread Zahari Doychev
This patch fixes pointer declarations from void * to void __user * in order to remove some sparse warnings. The patch also enables again commented named initializers for the iovec structures. The corrected pointers are used in these structures as field member values. lib-lnet.h:798:48: warning:

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

2014-11-25 Thread Tim Kryger
On Tue, Nov 25, 2014 at 11:40 AM, Scott Branden wrote: > From: Arun Ramamurthy > > - Added helper functions to set and clear smooth and trigger bits > - Added 400ns delays when clearing and setting trigger bit as requied > by spec > - Added helper function to write prescale and other settings

Re: [PATCH v3 3/3] mtd: block2mtd: Removes PAGE_MASK as a index to partition size

2014-11-25 Thread Brian Norris
On Sun, Nov 09, 2014 at 07:23:12AM -0500, Rodrigo Freire wrote: > From: Felix Fietkau > > mtd: block2mtd: Removes PAGE_MASK as a index to partition size You don't need to repeat the subject here. > > PAGE_MASK is no longer needed with the new term. This isn't too descriptive. What you

[GIT PULL] irqchip: Core changes for v3.19 (round 2)

2014-11-25 Thread Jason Cooper
Thomas, Here's the second round of changes for v3.19. These have been in -next for a while. I'm sending this as a separate pull request so that the next one doesn't color the summary with the contents of mvebu/fixes. This is an incremental pull request from tags/irqchip-core-3.19 up to

Re: Re: [PATCH ftrace/core v6 5/5] kselftest, ftrace: Add ftrace IPMODIFY flag test

2014-11-25 Thread Masami Hiramatsu
(2014/11/25 23:44), Shuah Khan wrote: > On 11/25/2014 07:42 AM, Shuah Khan wrote: >> On 11/24/2014 06:23 PM, Masami Hiramatsu wrote: >>> (2014/11/25 1:18), Shuah Khan wrote: On 11/24/2014 07:11 AM, Masami Hiramatsu wrote: > (CC'ed Shuah, since this is related to kselftest) > >

linux-next: manual merge of the tty tree with the tty.current tree

2014-11-25 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in drivers/tty/serial/of_serial.c between commit a5e9ab291c60 ("Revert "serial: of-serial: add PM suspend/resume support"") from the tty.current tree and commit 513e43858102 ("serial: of-serial: fix up PM ops on no_console_suspend

Re: [PATCH 1/2] virito: introduce methods of fixing device features

2014-11-25 Thread Jason Wang
- Original Message - > Jason Wang writes: > > Buggy host may advertised buggy host features (a usual case is that host > > advertise a feature whose dependencies were missed). In this case, driver > > should detect and disable the buggy features by itself. > > Sorry, I've been

Re: [RFC 0/2] Reenable might_sleep() checks for might_fault() when atomic

2014-11-25 Thread Michael S. Tsirkin
On Tue, Nov 25, 2014 at 12:43:24PM +0100, David Hildenbrand wrote: > I recently discovered that commit 662bbcb2747c2422cf98d3d97619509379eee466 > removed/skipped all might_sleep checks for might_fault() calls when in atomic. Yes. You can add e.g. might_sleep in your code if, for some reason, it

Re: frequent lockups in 3.18rc4

2014-11-25 Thread Juergen Gross
On 11/26/2014 07:21 AM, Linus Torvalds wrote: On Tue, Nov 25, 2014 at 9:52 PM, Linus Torvalds wrote: And leave it running for a while, and see if the trace is always the same, or if there are variations on it... Amusing. Lookie here:

Re: [RFC PATCH] fs/binfmt_elf.c: fix inconsistent vma dump size

2014-11-25 Thread Jungseung Lee
Hello, Andrew. 2014-11-26 6:38 GMT+09:00 Andrew Morton : > On Sun, 23 Nov 2014 04:16:39 +0900 Jungseung Lee wrote: > >> vma_dump_size() has been used several times on actual dumper >> and it is supposed to be same values for same vma. >> But vma_dump_size() could be different, while coredump is

Re: [PATCH 1/1] MTD: Deletion of unnecessary checks before two function calls

2014-11-25 Thread Brian Norris
On Thu, Nov 20, 2014 at 01:55:23PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 20 Nov 2014 13:50:43 +0100 > > The functions kfree() and pci_dev_put() test whether their argument is NULL > and then return immediately. Thus the test around the call is not needed. > > This

Re: [PATCH v3 1/5] arm64: Kprobes with single stepping support

2014-11-25 Thread David Long
On 11/19/14 09:55, David Long wrote: On 11/19/14 06:25, Will Deacon wrote: On Wed, Nov 19, 2014 at 11:21:24AM +, Sandeepa Prabhu wrote: On 18 November 2014 20:26, Will Deacon wrote: One thing I noticed looking through this patch is that we're effectively reinventing a bunch of the

[GIT PULL] irqchip: Fixes for v3.18 (round 2)

2014-11-25 Thread Jason Cooper
Thomas, Here's the last couple of fixes. This is an incremental pull request from tags/irqchip-urgent-3.18 up to tags/irqchip-urgent-3.18-2 in the irqchip/urgent branch. Please pull. thx, Jason. The following changes since commit 758e8366754d3fa57da978fef9d2c652f7b55c02: irqchip:

Re: [PATCH net-next] tun/macvtap: use consume_skb() instead of kfree_skb() in tun/macvtap_do_read()

2014-11-25 Thread Jason Wang
On 11/26/2014 02:26 PM, Eric Dumazet wrote: > On Wed, 2014-11-26 at 14:08 +0800, Jason Wang wrote: >> To be more friendly with drop monitor, we should use comsume_skb() instead >> of kfree_skb() in tun/macvtap_do_read(). Otherwise, the packets will be >> marked as dropped. >> >> Signed-off-by:

Re: [PATCH v4 0/2] mtd: hisilicon: add a new driver for NAND controller of hisilicon hip04 Soc

2014-11-25 Thread Haojian Zhuang
On Tue, Nov 4, 2014 at 8:46 PM, Zhou Wang wrote: > This patchset adds the support for NAND controller of hisilicon hip04 Soc. > The NAND controller IP was developed by hisilicon and needs a new driver to > support it. This patchset is based on v3.18-rc1. I have tested that NAND flash > controller

Re: [PATCH] irqchip: bcm7120-l2: fix error handling of irq_of_parse_and_map

2014-11-25 Thread Jason Cooper
On Fri, Nov 14, 2014 at 02:16:14PM -0800, Dmitry Torokhov wrote: > Return value of irq_of_parse_and_map() is unsigned int, with 0 > indicating failure, so testing for negative result never works. > > Signed-off-by: Dmitry Torokhov > --- > > Not tested, found by casual code inspection. > >

Re: Value for policy-cpuinfo.transition_latency

2014-11-25 Thread Viresh Kumar
On 26 November 2014 at 03:30, nick wrote: > Greeting Viresh and Rafael, Hi, > I am wondering what the values for transition latency are set to in this file > our they nanoseconds or microseconds. > As there seem to be two rather easy FIX MEs in this file, if someone tells me > the units of

Re: [PATCH] mtd: phram: Allow multiple phram devices on cmd line

2014-11-25 Thread Brian Norris
On Sun, Nov 09, 2014 at 04:24:44PM +, Rob Ward wrote: > From 4e9b8ff3a6731a0ac43eac2e8bdf47101ff20ede Mon Sep 17 00:00:00 2001 > From: Rob Ward > Date: Tue, 21 Oct 2014 17:46:53 +0100 > Subject: [PATCH] mtd: phram: Allow multiple phram devices on cmd line > > Allow the phram module the

Re: [PATCH net-next] tun/macvtap: use consume_skb() instead of kfree_skb() in tun/macvtap_do_read()

2014-11-25 Thread Eric Dumazet
On Wed, 2014-11-26 at 14:08 +0800, Jason Wang wrote: > To be more friendly with drop monitor, we should use comsume_skb() instead > of kfree_skb() in tun/macvtap_do_read(). Otherwise, the packets will be > marked as dropped. > > Signed-off-by: Jason Wang > --- > drivers/net/macvtap.c | 2 +- >

Re: [PATCH 01/19] usb: common: drd-lib: Add DRD lib for USB.

2014-11-25 Thread Peter Chen
On Tue, Nov 25, 2014 at 06:41:37PM +0530, George Cherian wrote: > Add USB DRD library. This Library facilitates to > switch roles between HOST and Device modes. > > A DRD should be added to the library using usb_drd_add(). > Register the HOST and UDC using usb_drd_register_hcd/udc(). >

Re: virtio_blk: fix defaults for max_hw_sectors and max_segment_size

2014-11-25 Thread Rusty Russell
Mike Snitzer writes: > On Thu, Nov 20 2014 at 3:30pm -0500, > Michael S. Tsirkin wrote: > >> On Thu, Nov 20, 2014 at 02:00:59PM -0500, Mike Snitzer wrote: >> > virtio_blk incorrectly established -1U as the default for these >> > queue_limits. Set these limits to sane default values to avoid

Re: [PATCH v2 2/4] pwm: kona: Fix incorrect enable after channel polarity change

2014-11-25 Thread Tim Kryger
On Tue, Nov 25, 2014 at 11:40 AM, Scott Branden wrote: > From: Arun Ramamurthy > > The pwm core code requires a separate call for enabling the channel > and hence the driver does not need to set pwm_trigger after a > polarity change The framework does restrict when polarity changes can occur

Re: frequent lockups in 3.18rc4

2014-11-25 Thread Linus Torvalds
On Tue, Nov 25, 2014 at 9:52 PM, Linus Torvalds wrote: > > And leave it running for a while, and see if the trace is always the > same, or if there are variations on it... Amusing. Lookie here: http://lists.xenproject.org/archives/html/xen-changelog/2005-08/msg00310.html That's from 2005.

linux-next: manual merge of the kvm-arm tree with the kvm tree

2014-11-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in arch/ia64/kvm/kvm-ia64.c between commit 003f7de62589 ("KVM: ia64: remove") from the kvm tree and commit bf4bea8e9a90 ("kvm: fix kvm_is_mmio_pfn() and rename to kvm_is_reserved_pfn()") from the kvm-arm tree. I fixed it up (the

Re: [PATCH] x86: Allow 1GB pages to be SPECIAL similar to 2MB

2014-11-25 Thread Kirill A. Shutemov
On Tue, Nov 25, 2014 at 01:23:04PM -0800, Andrew Morton wrote: > On Thu, 25 Sep 2014 09:40:24 -0500 James Custer wrote: > > > Superpages allocated by SGI's superpages module can be backed by 1GB pages, > > but direct i/o cannot be used. The superpages module uses _PAGE_BIT_SPECIAL > > to disable

RE: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer C720

2014-11-25 Thread Dudley Du
More info: I did all testings based on kernel 3.14.0 on Acer C70. Thanks, Dudley > -Original Message- > From: Dudley Du > Sent: 2014?11?26? 14:01 > To: 'Jeremiah Mahler' > Cc: 'linux-kernel@vger.kernel.org' > Subject: RE: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer

[PATCH net-next] tun/macvtap: use consume_skb() instead of kfree_skb() in tun/macvtap_do_read()

2014-11-25 Thread Jason Wang
To be more friendly with drop monitor, we should use comsume_skb() instead of kfree_skb() in tun/macvtap_do_read(). Otherwise, the packets will be marked as dropped. Signed-off-by: Jason Wang --- drivers/net/macvtap.c | 2 +- drivers/net/tun.c | 2 +- 2 files changed, 2 insertions(+), 2

Re: frequent lockups in 3.18rc4

2014-11-25 Thread Linus Torvalds
On Tue, Nov 25, 2014 at 9:24 PM, Juergen Gross wrote: > > Working on it. Triggering it via sysrq(l) isn't working: machine hung > up. I'll try a dump, but this might take some time due to the machine > size... Actually, in that patch that did this: - pgd = pgd_offset(current->active_mm,

Re: [PATCH v2 1/4] pwm: kona: Remove setting default smooth type and polarity for all channels

2014-11-25 Thread Tim Kryger
On Tue, Nov 25, 2014 at 11:40 AM, Scott Branden wrote: > From: Arun Ramamurthy > > The probe routine unnecessarily sets the smooth type and polarity for > all channels. This causes the channel for the speaker to click at the same > time the backlight turns on. The smooth type and polarity should

Re: [PATCH v2 1/2] Input: add regulator haptic driver

2014-11-25 Thread Pankaj Dubey
Hi Jaewon, On Monday 24 November 2014 08:20 PM, Jaewon Kim wrote: This patch adds support for haptic driver controlled by voltage of regulator. And this driver support for Force Feedback interface from input framework Signed-off-by: Jaewon Kim Signed-off-by: Hyunhee Kim Acked-by: Kyungmin

Re: [PATCH 1/2] virito: introduce methods of fixing device features

2014-11-25 Thread Rusty Russell
Jason Wang writes: > Buggy host may advertised buggy host features (a usual case is that host > advertise a feature whose dependencies were missed). In this case, driver > should detect and disable the buggy features by itself. Sorry, I've been focussing elsewhere. I would really prefer that

Re: frequent lockups in 3.18rc4

2014-11-25 Thread Juergen Gross
On 11/26/2014 06:09 AM, Linus Torvalds wrote: On Nov 25, 2014 8:39 PM, "Jürgen Groß" mailto:jgr...@suse.com>> wrote: > > I COULD trigger it with 3.17. Took much longer, but I've seen it once. > And from Xen hypervisor data it was clear it was the same bug (cpu > spinning in pmd_lock()).

Re: [PATCH v4 6/7] ARM: mvebu: add PHY support to the dts for the USB controllers on Armada 375

2014-11-25 Thread Kishon Vijay Abraham I
On Wednesday 26 November 2014 10:47 AM, Jason Cooper wrote: > On Wed, Nov 26, 2014 at 10:43:08AM +0530, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Wednesday 26 November 2014 09:29 AM, Jason Cooper wrote: >>> On Sat, Nov 22, 2014 at 10:20:43AM +0100, Gregory CLEMENT wrote: Hi Jason,

Re: [PATCH V3 06/11] irqchip: bcm7120-l2: Change DT binding to allow non-contiguous IRQEN/IRQSTAT

2014-11-25 Thread Kevin Cernekee
On Mon, Nov 24, 2014 at 6:31 AM, Jonas Gorski wrote: > On Mon, Nov 24, 2014 at 3:40 AM, Kevin Cernekee wrote: >> To date, all supported controllers have had the IRQEN register at offset >> 0x00 and the IRQSTAT register at 0x04. So in DT we would typically see >> something like: >> >> reg =

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-25 Thread Wanpeng Li
Hi Vincent, On 11/25/14, 9:52 PM, Vincent Guittot wrote: On 25 November 2014 at 03:24, Wanpeng Li wrote: Hi Vincent, On 11/4/14, 12:54 AM, Vincent Guittot wrote: The average running time of RT tasks is used to estimate the remaining compute capacity for CFS tasks. This remaining capacity is

Re: [PATCH v4 6/7] ARM: mvebu: add PHY support to the dts for the USB controllers on Armada 375

2014-11-25 Thread Jason Cooper
On Wed, Nov 26, 2014 at 10:43:08AM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 26 November 2014 09:29 AM, Jason Cooper wrote: > > On Sat, Nov 22, 2014 at 10:20:43AM +0100, Gregory CLEMENT wrote: > >> Hi Jason, > >> > >> On 22/11/2014 03:08, Jason Cooper wrote: > >>> On Thu, Nov

Re: [PATCH v3] Bluetooth: automatically flushable packets aren't allowed on LE links

2014-11-25 Thread Marcel Holtmann
Hi Steven, I think Marcel was after just providing a clarifying code comment in both places - having two branches of an if-statement doing exactly the same thing looks a bit weird to me. To make thins completely clear I'd suggest adding a simple helper function that you can

Re: [PATCH v2 0/4] powernv: cpuidle: Redesign idle states management

2014-11-25 Thread Preeti U Murthy
Hi, I ran hackbench to evaluate this patchset and found good improvements in the results. I modified hackbench to take in a 'loops' parameter along with num_groups which ensures that the test runs long enough to observe and debug issues. The idea was to find out how latency sensitive workloads

Re: bluetooth related firmware loader spew on resume.

2014-11-25 Thread Marcel Holtmann
Hi Takashi, >> Since the addition of 10d4c6736ea "Bluetooth: btusb: Add Broadcom patch >> RAM support", I (and a number of other people[*]) have been seeing >> this trace on resume from suspend. >> >> WARNING: CPU: 1 PID: 8565 at drivers/base/firmware_class.c:1127 >>

Re: [PATCH v4 6/7] ARM: mvebu: add PHY support to the dts for the USB controllers on Armada 375

2014-11-25 Thread Kishon Vijay Abraham I
Hi, On Wednesday 26 November 2014 09:29 AM, Jason Cooper wrote: > On Sat, Nov 22, 2014 at 10:20:43AM +0100, Gregory CLEMENT wrote: >> Hi Jason, >> >> On 22/11/2014 03:08, Jason Cooper wrote: >>> On Thu, Nov 13, 2014 at 12:47:48PM +0100, Gregory CLEMENT wrote: Now that the USB cluster node

Re: frequent lockups in 3.18rc4

2014-11-25 Thread Dave Jones
On Tue, Nov 25, 2014 at 09:09:45PM -0800, Linus Torvalds wrote: > On Nov 25, 2014 8:39 PM, "Jürgen Groß" wrote: > > > > I COULD trigger it with 3.17. Took much longer, but I've seen it once. > > And from Xen hypervisor data it was clear it was the same bug (cpu > > spinning in pmd_lock()).

Re: [V5 7/7] selftests, powerpc: Add test case for TM related ptrace interface

2014-11-25 Thread Anshuman Khandual
On 11/25/2014 10:36 PM, Shuah Khan wrote: > On 11/25/2014 01:05 AM, Anshuman Khandual wrote: >> > This patch adds one more test case called 'tm-ptrace' targeting TM >> > related ptrace interface. This test creates one child process to >> > run some basic TM transactions and the parent process

Re: [PATCH v6] ath3k: Add support of MCI 13d3:3408 bt device

2014-11-25 Thread Marcel Holtmann
Hi Dmitry, > Add support for bluetooth MCI WB335 (AR9565) Wi-Fi+bt module. > This bluetooth module requires loading patch and sysconfig by ath3k driver. > > T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 20 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P:

Re: [PATCH 3.17 100/141] x86, microcode: Fix accessing dis_ucode_ldr on 32-bit

2014-11-25 Thread Boris Ostrovsky
On 11/25/2014 05:18 PM, Borislav Petkov wrote: Adding x86 people. On Tue, Nov 25, 2014 at 04:59:34PM -0500, Boris Ostrovsky wrote: This should be cpuid(0x1, , , , ). Otherwise we are not getting bits that the hypervisor wants the guest to see (on Xen cpuid() turns into hypercall, on baremetal

Re: [PATCH v2] block: fix regression where bio_integrity_process uses wrong bio_vec iterator

2014-11-25 Thread Martin K. Petersen
> "Darrick" == Darrick J Wong writes: Darrick> Therefore, teach bio_integrity_process() to use Darrick> bio_for_each_segment() to iterate the bio_vecs, since the Darrick> per-bio iterator tracks which bio_vecs are associated with that Darrick> particular bio. The integrity handling code is

[PATCH V5] arm64: amd-seattle: Adding device tree for AMD Seattle platform

2014-11-25 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit Initial revision of device tree for AMD Seattle Development platform. Cc: Arnd Bergmann Cc: Marc Zyngier Cc: Mark Rutland Cc: Will Deacon Cc: Catalin Marinas Signed-off-by: Suravee Suthikulpanit Signed-off-by: Thomas Lendacky Signed-off-by: Joel Schopp --- V5

[PATCH v9 6/6] arm64: add seccomp support

2014-11-25 Thread AKASHI Takahiro
secure_computing() is called first in syscall_trace_enter() so that a system call will be aborted quickly without doing succeeding syscall tracing if seccomp rules want to deny that system call. On compat task, syscall numbers for system calls allowed in seccomp mode 1 are different from those on

[PATCH v9 5/6] arm64: add SIGSYS siginfo for compat task

2014-11-25 Thread AKASHI Takahiro
SIGSYS is primarily used in secure computing to notify tracer of syscall events. This patch allows signal handler on compat task to get correct information with SA_SIGINFO specified when this signal is delivered. Reviewed-by: Kees Cook Signed-off-by: AKASHI Takahiro ---

[PATCH v9 3/6] asm-generic: add generic seccomp.h for secure computing mode 1

2014-11-25 Thread AKASHI Takahiro
Those values (__NR_seccomp_*) are used solely in secure_computing() to identify mode 1 system calls. If compat system calls have different syscall numbers, asm/seccomp.h may override them. Acked-by: Arnd Bergmann Reviewed-by: Kees Cook Signed-off-by: AKASHI Takahiro ---

[PATCH v9 4/6] arm64: add seccomp syscall for compat task

2014-11-25 Thread AKASHI Takahiro
This patch allows compat task to issue seccomp() system call. Reviewed-by: Kees Cook Signed-off-by: AKASHI Takahiro --- arch/arm64/include/asm/unistd32.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/unistd32.h

[PATCH v9 2/6] arm64: ptrace: allow tracer to skip a system call

2014-11-25 Thread AKASHI Takahiro
If tracer modifies a syscall number to -1, this traced system call should be skipped with a return value specified in x0. This patch implements this semantics. Please note: * syscall entry tracing and syscall exit tracing (ftrace tracepoint and audit) are always executed, if enabled, even when

[PATCH v9 0/6] arm64: add seccomp support

2014-11-25 Thread AKASHI Takahiro
This patch series enables secure computing (system call filtering) on arm64, and contains related enhancements and bug fixes. NOTE: This versions contain a workaround against possible BUG_ON() failure at audit_syscall_exit(), but doesn't contain an extra optimization, as I submitted for

[PATCH v9 1/6] arm64: ptrace: add NT_ARM_SYSTEM_CALL regset

2014-11-25 Thread AKASHI Takahiro
This regeset is intended to be used to get and set a system call number while tracing. There was some discussion about possible approaches to do so: (1) modify x8 register with ptrace(PTRACE_SETREGSET) indirectly, and update regs->syscallno later on in syscall_trace_enter(), or (2) define a

[PATCHv4 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-11-25 Thread Chang Rebecca Swee Fun
ntel Quark X1000 GPIO controller supports interrupt handling for both core power well and resume power well. This patch is to enable the IRQ support and provide IRQ handling for Intel Quark X1000 GPIO-SCH device driver. This piece of work is derived from Dan O'Donovan's initial work for Quark

[PATCHv4 2/3] gpio: sch: Add support for Intel Quark X1000 SoC

2014-11-25 Thread Chang Rebecca Swee Fun
Intel Quark X1000 provides a total of 16 GPIOs. The GPIOs are split between the legacy I/O bridge and the GPIO controller. GPIO-SCH is the GPIO pins on legacy bridge for Intel Quark SoC. Intel Quark X1000 has 2 GPIOs powered by the core power well and 6 from the suspend power well. This piece of

[PATCHv4 1/3] gpio: sch: Consolidate similar algorithms

2014-11-25 Thread Chang Rebecca Swee Fun
Consolidating similar algorithms into common functions to make GPIO SCH simpler and manageable. Signed-off-by: Chang Rebecca Swee Fun --- drivers/gpio/gpio-sch.c | 81 --- 1 file changed, 28 insertions(+), 53 deletions(-) diff --git

[PATCHv4 0/3] Enable Quark X1000 support in gpio-sch

2014-11-25 Thread Chang Rebecca Swee Fun
Hi all, This is a revised version for enabling Quark X1000 support in gpio-sch. This version of patch series had changed according to the feedback provided by Alexandre and Mika. Change log for V4: Patch 1: - Removed redundant/duplicated functions of sch_gpio_register_set() and

linux-next: manual merge of the devicetree tree with the pm, mfd and regulator trees

2014-11-25 Thread Stephen Rothwell
Hi Grant, Today's linux-next merge of the devicetree tree got a conflict in include/linux/of.h between commits b31384fa5de3 ("Driver core: Unified device properties interface for platform firmware") from the pm tree and a4b4e0461ec5 ("of: Add standard property for poweroff capability") from the

Re: frequent lockups in 3.18rc4

2014-11-25 Thread Jürgen Groß
On 11/26/2014 02:48 AM, Linus Torvalds wrote: On Tue, Nov 25, 2014 at 4:25 PM, Dave Jones wrote: The reason I'm checking in at this point, is that I'm starting to see different bugs at this point, so I don't know if I can call this good or bad, unless someone has a fix for what I'm seeing

linux-next: manual merge of the devicetree tree with the i2c tree

2014-11-25 Thread Stephen Rothwell
Hi Grant, Today's linux-next merge of the devicetree tree got a conflict in drivers/i2c/i2c-core.c between commit 2fd36c552649 ("i2c: core: Map OF IRQ at probe time") from the i2c tree and commit a430a3455f2c ("i2c/of: Factor out Devicetree registration code") from the devicetree tree. I fixed

Re: [V5 PATCH 1/1] driver:mtd:spi-nor: Add quad I/O support for Micron spi nor

2014-11-25 Thread Brian Norris
On Thu, Nov 06, 2014 at 03:09:06AM +, bpqw wrote: > This patch adds code which enables Quad I/O mode on Micron SPI NOR flashes. > > For Micron SPI NOR flash,enabling or disabling quad I/O protocol is controlled > by EVCR (Enhanced Volatile Configuration Register), Quad I/O protocol bit 7. >

Re: [PATCH 0/4] support GMAC driver for RK3288

2014-11-25 Thread Kever Yang
Hi Roger, Please use the --in-reply-to option for patches other than 0/4 with the git send-email. On 11/25/2014 05:07 PM, Roger Chen wrote: Roger Chen (4): patch1: add driver for Rockchip RK3288 SoCs integrated GMAC patch2: modify CRU config for Rockchip RK3288 SoCs integrated GMAC

Re: [PATCHv3 08/16] clk: mvebu: add suspend/resume for gatable clocks

2014-11-25 Thread Jason Cooper
On Tue, Nov 25, 2014 at 07:48:01AM +0100, Thomas Petazzoni wrote: > Mike, > > On Mon, 24 Nov 2014 22:07:00 -0800, Mike Turquette wrote: > > Quoting Thomas Petazzoni (2014-11-21 08:00:05) > > > This commit adds suspend/resume support for the gatable clock driver > > > used on Marvell EBU

Re: [dm-devel] dm-bufio: fix memleak when using a dm_buffer's inline bio

2014-11-25 Thread Darrick J. Wong
On Tue, Nov 25, 2014 at 10:41:04PM -0500, Mike Snitzer wrote: > On Tue, Nov 25 2014 at 8:45pm -0500, > Darrick J. Wong wrote: > > > When dm-bufio sets out to use the bio built into a struct dm_buffer to > > issue an IO, it needs to call bio_reset after it's done with the bio > > so that we can

Re: [PATCH v4 6/7] ARM: mvebu: add PHY support to the dts for the USB controllers on Armada 375

2014-11-25 Thread Jason Cooper
On Sat, Nov 22, 2014 at 10:20:43AM +0100, Gregory CLEMENT wrote: > Hi Jason, > > On 22/11/2014 03:08, Jason Cooper wrote: > > On Thu, Nov 13, 2014 at 12:47:48PM +0100, Gregory CLEMENT wrote: > >> Now that the USB cluster node has been added, use it as a PHY provider > >> for the USB controller

Re: [PATCH v4 7/7] MAINTAINERS: add entry for the Armada 375 USB cluster PHY driver

2014-11-25 Thread Jason Cooper
On Thu, Nov 13, 2014 at 12:47:49PM +0100, Gregory CLEMENT wrote: > Add MAINTAINERS add entry for the Armada 375 USB cluster PHY driver. > > Signed-off-by: Gregory CLEMENT > --- > MAINTAINERS | 6 ++ > 1 file changed, 6 insertions(+) Not that i do anything with, phy, but just so you know

Re: dm-bufio: fix memleak when using a dm_buffer's inline bio

2014-11-25 Thread Mike Snitzer
On Tue, Nov 25 2014 at 8:45pm -0500, Darrick J. Wong wrote: > When dm-bufio sets out to use the bio built into a struct dm_buffer to > issue an IO, it needs to call bio_reset after it's done with the bio > so that we can free things attached to the bio such as the integrity > payload.

Re: [PATCH V2] mtd: block2mtd: Present block2mtd timely on boot time

2014-11-25 Thread Brian Norris
On Sun, Nov 09, 2014 at 07:18:05AM -0500, Rodrigo Freire wrote: > > From: "Brian Norris" > > Sent: Wednesday, November 5, 2014 6:23:03 PM > > > This still seems like a bad idea (using a block device + block2mtd + > > JFFS2). Why are you doing this? See comments here: > >

Re: pseries/le: Fix endiannes issue in RTAS call from xmon

2014-11-25 Thread Michael Ellerman
On Mon, 2014-24-11 at 14:07:53 UTC, Laurent Dufour wrote: > On pseries system (LPAR) xmon failed to enter when running in LE mode, system > is hunging. Inititating xmon will lead to such an output on the console: OK. You say "LPAR", by which you mean "under phyp" I think. I haven't seen this

Re: [PATCH v2 3/3] ARM: at91: sama5d4: Add SFR

2014-11-25 Thread Josh Wu
Hi, Alexandre On 11/26/2014 12:40 AM, Alexandre Belloni wrote: The sama4d4 has Special Function Registers that allow to manage DDR, OHCI, EBI and AIC interrupt redirection. Just a nitpick, It should be sama5d4, not sama4d4. Best Regards, Josh Wu Signed-off-by: Alexandre Belloni Acked-by:

Re: [PATCH v2 07/14] of/reconfig: Always use the same structure for notifiers

2014-11-25 Thread Nathan Fontenot
On 11/25/2014 05:07 PM, Benjamin Herrenschmidt wrote: > On Mon, 2014-11-24 at 22:33 +, Grant Likely wrote: >> The OF_RECONFIG notifier callback uses a different structure depending >> on whether it is a node change or a property change. This is silly, and >> not very safe. Rework the code to

Re: [PATCH v3 4/5] arm64: Add support for Spreadtrum's Sharkl64 Platform in Kconfig and defconfig

2014-11-25 Thread Lyra Zhang
2014-11-25 20:57 GMT+08:00 Arnd Bergmann : > > On Tuesday 25 November 2014 20:16:57 Chunyan Zhang wrote: > > > > +menuconfig ARCH_SPRD > > + bool "Spreadtrum SoC platform" > > + depends on ARM64 > > + help > > + Support for Spreadtrum ARM based SoCs > > + > > +if

Re: [PATCH 1/5] hwmon: ina2xx: bail-out from ina2xx_probe() in case of configuration errors

2014-11-25 Thread Guenter Roeck
On 11/25/2014 10:30 AM, Guenter Roeck wrote: On 11/25/2014 10:22 AM, Bartosz Golaszewski wrote: 2014-11-25 18:59 GMT+01:00 Guenter Roeck : It seems to me this is a problem of your architecture. That doesn't make it a generic problem. Your architecture should detect that a probe was

Re: [PATCH 3/4] GMAC: dts: add gmac info for rk3288

2014-11-25 Thread Roger
On 2014/11/25 22:39, Heiko Stübner wrote: Am Dienstag, 25. November 2014, 16:40:59 schrieb Sergei Shtylyov: Hello. On 11/25/2014 12:08 PM, Roger Chen wrote: add gmac info in rk3288.dtsi for GMAC driver Signed-off-by: Roger Chen --- arch/arm/boot/dts/rk3288.dtsi | 59

[PATCH 1/2 v4] SPI: spi-pxa2xx: Add helpers for regiseters' accessing

2014-11-25 Thread Weike Chen
There are several registers for SPI, and the registers of 'SSCR0' and 'SSCR1' are accessed frequently. This path is to introduce helper functions to simplify the accessing of 'SSCR0' and 'SSCR1'. Reviewed-by: Andy Shevchenko Acked-by: Mika Westerberg Signed-off-by: Weike Chen ---

[PATCH 0/2 v4] SPI: spi-pxa2xx: Add support for Intel Quark X1000 SPI controller

2014-11-25 Thread Weike Chen
Hi, Intel Quark X1000 consists of two SPI controllers which can be PCI enumerated. SPI-PXA2XX PCI layer doesn't support it. Thus, we add support for Intel Quark X1000 SPI as well. --- v4: [PATCH 1/2] * No changes. [PATCH 2/2] * Move all Quark specific macros out of #ifdef 'CONFIG_ARCH_PXA'. v3:

[PATCH 2/2 v4] SPI: spi-pxa2xx: SPI support for Intel Quark X1000

2014-11-25 Thread Weike Chen
There are two SPI controllers exported by PCI subsystem for Intel Quark X1000. The SPI memory mapped I/O registers supported by Quark are different from the current implementation, and Quark only supports the registers of 'SSCR0', 'SSCR1', 'SSSR', 'SSDR', and 'DDS_RATE'. This patch is to enable

Re: [PATCH v3 0/3] Support PMIC operation region for CrystalCove and XPower

2014-11-25 Thread Aaron Lu
On 11/26/2014 10:35 AM, Aaron Lu wrote: > On 11/26/2014 04:41 AM, Rafael J. Wysocki wrote: >> On Tuesday, November 25, 2014 07:52:31 PM Aaron Lu wrote: >>> On 11/25/2014 09:47 AM, Rafael J. Wysocki wrote: On Friday, November 21, 2014 03:11:48 PM Aaron Lu wrote: > v3: > Only some

linux-next: manual merge of the block tree with the ext4 tree

2014-11-25 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in fs/fs-writeback.c between commit 74ba19abbeae ("vfs: add support for a lazytime mount option") from the ext4 tree and commit 9c6ac78eb352 ("writeback: fix a subtle race condition in I_DIRTY clearing") from the block tree. I

Re: frequent lockups in 3.18rc4

2014-11-25 Thread Dave Jones
On Tue, Nov 25, 2014 at 05:48:15PM -0800, Linus Torvalds wrote: > You have also marked 3.18-rc1 bad *twice*, along with the network > merge, and the tty merge. That's just odd. But it doesn't make the > bisect wrong, it just means that you fat-fingered thing and marked the > same thing bad a

Re: [PATCH v3 0/3] Support PMIC operation region for CrystalCove and XPower

2014-11-25 Thread Aaron Lu
On 11/26/2014 04:41 AM, Rafael J. Wysocki wrote: > On Tuesday, November 25, 2014 07:52:31 PM Aaron Lu wrote: >> On 11/25/2014 09:47 AM, Rafael J. Wysocki wrote: >>> On Friday, November 21, 2014 03:11:48 PM Aaron Lu wrote: v3: Only some function/variable name changes, no functiona

Re: [PATCH 1/4] GMAC: add driver for Rockchip RK3288 SoCs integrated GMAC

2014-11-25 Thread Roger
Hi! Giuseppe CAVALLARO 在 2014/11/25 18:05, Giuseppe CAVALLARO 写道: Hello Roger thx for these patches, my comments inline below On 11/25/2014 10:07 AM, Roger Chen wrote: This driver is based on stmmac driver. Signed-off-by: Roger Chen --- drivers/net/ethernet/stmicro/stmmac/Makefile

Re: [PATCH v12 0/11] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-11-25 Thread Andy Yan
Hi Fabio: On 2014年11月26日 10:14, Fabio Estevam wrote: Hi Andy, On Mon, Nov 17, 2014 at 8:53 AM, Andy Yan wrote: Andy Yan (11): staging: imx-drm: imx-hdmi: make checkpatch happy staging: imx-drm: imx-hdmi: return defer if can't get ddc i2c adapter staging: imx-drm: imx-hdmi: convert

[PATCH] xen-netfront: Remove BUGs on paged skb data which crosses a page boundary

2014-11-25 Thread Seth Forshee
These BUGs can be erroneously triggered by frags which refer to tail pages within a compound page. The data in these pages may overrun the hardware page while still being contained within the compound page, but since compound_order() evaluates to 0 for tail pages the assertion fails. The code

[Patch Part3 v4] x86, PCI, MSI: Use hierarchy irqdomain to manage MSI interrupts

2014-11-25 Thread Jiang Liu
Enhance MSI code to support hierarchy irqdomain, it helps to make the architecture more clear. Signed-off-by: Jiang Liu --- Hi Thomas, Sorry, my branch hasn't been updated to the latest tip/x86/apic branch. With this patch rebased, all following patches should apply cleanly without

Re: [PATCH v12 0/11] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-11-25 Thread Fabio Estevam
Hi Andy, On Mon, Nov 17, 2014 at 8:53 AM, Andy Yan wrote: > Andy Yan (11): > staging: imx-drm: imx-hdmi: make checkpatch happy > staging: imx-drm: imx-hdmi: return defer if can't get ddc i2c adapter > staging: imx-drm: imx-hdmi: convert imx-hdmi to drm_bridge mode > staging: imx-drm:

LED-LENSER flashlight

2014-11-25 Thread LED-LENSER flashlight and headlamp Wholesale
Many thanks for your valuable time to read my letter. This is Hellen from JRS Technology Co.,Ltd. We do LED LENSER flashlight and headlamp Wholesale business. Many models are available with competitive price. For more information, please contact us in any time it will be our honor to serve you

[PATCH] f2fs: fix to recover converted inline_data

2014-11-25 Thread Jaegeuk Kim
If an inode has converted inline_data which was written to the disk, we should set its inode flag for further fsync so that this inline_data can be recovered from sudden power off. Signed-off-by: Jaegeuk Kim --- fs/f2fs/inline.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH 1/2] media: v4l2-image-sizes.h: add SVGA, XGA and UXGA size definitions

2014-11-25 Thread Josh Wu
Hi, Sylwester and Mauro On 11/25/2014 6:34 PM, Sylwester Nawrocki wrote: Hi Josh, On 25/11/14 09:54, Josh Wu wrote: Add SVGA, UXGA and XGA size definitions to v4l2-image-sizes.h. The definitions are sorted by alphabet order. Signed-off-by: Josh Wu --- include/media/v4l2-image-sizes.h | 9

[PATCH 2/2 v2] f2fs: make clean the page before writing

2014-11-25 Thread Jaegeuk Kim
Change log from v1: o fix to handle # of dirty pages If a page is set to be written to the disk, we can make clean the page. Signed-off-by: Jaegeuk Kim --- fs/f2fs/inline.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c index

Re: [PATCH] staging: lustre: fix pointer declarations

2014-11-25 Thread Joe Perches
On Tue, 2014-11-25 at 21:44 +0100, Zahari Doychev wrote: > This patch fixes pointer declarations from void * to void __user * in order > to remove some sparse warnings. This patch does more than that. Please make sure to describe all of the changes in a patch in the commit message. > diff --git

Re: [PATCH 2/2] MAINTAINERS: ARM Versatile Express platform

2014-11-25 Thread Joe Perches
On Tue, 2014-11-25 at 17:54 -0800, Mike Turquette wrote: > Quoting Pawel Moll (2014-11-25 10:17:35) > > This patch adds a separate section for the ARM > > Versatile Express platform maintainers, listing > > all different bits and bobs used by it. [] > > diff --git a/MAINTAINERS b/MAINTAINERS [] >

  1   2   3   4   5   6   7   8   9   10   >