Re: [PATCH 5/9] srpt: use the new CQ API

2015-11-17 Thread Bart Van Assche
On 11/13/2015 05:46 AM, Christoph Hellwig wrote: [ ... ] This patch contains two logical changes: - Conversion to the new CQ API. - Removal of the ib_srpt_compl thread. Had it been considered to implement these changes as two separate patches ? Thanks, Bart. -- To unsubscribe from this

[PATCH 0/2] ARM: dts: NSP: clean-ups and I2C support

2015-11-17 Thread Jon Mason
Minor changes to the Broadcom Northstar Plus device tree to make it more organized and clean, and adding I2C support (device tree only change needed for support). Jon Mason (2): ARM: dts: NSP: Device Tree clean-ups ARM: dts: NSP: Add I2C support to the DT arch/arm/boot/dts/bcm-nsp.dtsi |

Re: [PATCH V4 2/2] arm64: bpf: make BPF prologue and epilogue align with ARM64 AAPCS

2015-11-17 Thread David Miller
From: Yang Shi Date: Mon, 16 Nov 2015 14:35:35 -0800 > Save and restore FP/LR in BPF prog prologue and epilogue, save SP to FP > in prologue in order to get the correct stack backtrace. > > However, ARM64 JIT used FP (x29) as eBPF fp register, FP is subjected to > change during function call so

Re: Asterisk deadlocks since Kernel 4.1

2015-11-17 Thread Thomas Gleixner
On Tue, 17 Nov 2015, Stefan Priebe wrote: > I've now also two gdb backtraces from two crashes: > http://pastebin.com/raw.php?i=yih5jNt8 > > http://pastebin.com/raw.php?i=kGEcvH4T They don't tell me anything as I have no idea of the inner workings of asterisk. You might be better of to talk to

[PATCH 3/5] cgroup: implement cgroup_get_from_path() and expose cgroup_put()

2015-11-17 Thread Tejun Heo
Implement cgroup_get_path() using kernfs_walk_and_get() which obtains a default hierarchy cgroup from its path. This will be used to allow cgroup path based matching from outside cgroup proper - e.g. networking and perf. Signed-off-by: Tejun Heo --- include/linux/cgroup.h | 7 +++

[PATCH 1/5] cgroup: record ancestor IDs and reimplement cgroup_is_descendant() using it

2015-11-17 Thread Tejun Heo
cgroup_is_descendant() currently walks up the hierarchy and compares each ancestor to the cgroup in question. While enough for cgroup core usages, this can't be used in hot paths to test cgroup membership. This patch adds cgroup->ancestor_ids[] which records the IDs of all ancestors including

Re: [PATCH 7/8] tools/Makefile: minor whitespace cleanup

2015-11-17 Thread Joshua Clayton
On Tuesday, November 17, 2015 06:09:24 PM Mark Brown wrote: > On Tue, Nov 17, 2015 at 07:24:27AM -0800, Joshua Clayton wrote: > > Signed-off-by: Joshua Clayton > > --- > > tools/Makefile | 37 ++--- > > 1 file changed, 30 insertions(+), 7 deletions(-) > > > >

[PATCH iptables] libxt_cgroup2: add support for cgroup2 path matching

2015-11-17 Thread Tejun Heo
This patch adds the extension for the xt_cgroup2 which matches packets based on the v2 cgroup path of the associated socket. Signed-off-by: Tejun Heo Cc: Daniel Borkmann --- extensions/libxt_cgroup2.c | 70 +++ extensions/libxt_cgroup2.man |

[PATCH v3] PM / Domains: export symbols to add/remove devices from genpd

2015-11-17 Thread Maruthi Srinivas Bayyavarapu
Drivers which can be built as loadable module needs symbols - pm_genpd_add_device/pm_genpd_remove_device to add/remove devices to/from genpd. Those drivers create platform devices, which comes under a powerdomain. Signed-off-by: Maruthi Bayyavarapu --- drivers/base/power/domain.c | 2 ++ 1 file

[PATCH 4/5] sock, cgroup: add sock->sk_cgroup

2015-11-17 Thread Tejun Heo
In cgroup v1, dealing with cgroup membership was difficult because the number of membership associations was unbound. As a result, cgroup v1 grew several controllers whose primary purpose is either tagging membership or pull in configuration knobs from other subsystems so that cgroup membership

Re: [RESEND RFC/PATCH 4/8] dt-bindings: Add a binding for Mediatek Video Encoder

2015-11-17 Thread Rob Herring
On Tue, Nov 17, 2015 at 08:54:41PM +0800, Tiffany Lin wrote: > add a DT binding documentation of Video Encoder for the > MT8173 SoC from Mediatek. > > Signed-off-by: Tiffany Lin > --- > .../devicetree/bindings/media/mediatek-vcodec.txt | 58 > > 1 file changed, 58

[PATCH 2/5] kernfs: implement kernfs_walk_and_get()

2015-11-17 Thread Tejun Heo
Implement kernfs_walk_and_get() which is similar to kernfs_find_and_get() but can walk a path instead of just a name. Signed-off-by: Tejun Heo Cc: Greg Kroah-Hartman --- fs/kernfs/dir.c| 48 include/linux/kernfs.h | 12 2

[PATCH 5/5] netfilter: implement xt_cgroup2 match

2015-11-17 Thread Tejun Heo
This patch implements xt_cgroup2 which matches cgroup2 membership of the associated socket. The match is recursive and invertible. For rationales on introducing another cgroup based match, please refer to a preceding commit "sock, cgroup: add sock->sk_cgroup". Signed-off-by: Tejun Heo Cc:

[PATCHSET] netfilter, cgroup: implement xt_cgroup2 match

2015-11-17 Thread Tejun Heo
Hello, In cgroup v1, dealing with cgroup membership was difficult because the number of membership associations was unbound. As a result, cgroup v1 grew several controllers whose primary purpose is either tagging membership or pull in configuration knobs from other subsystems so that cgroup

Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit

2015-11-17 Thread Boris Ostrovsky
On 11/17/2015 02:37 PM, Boris Ostrovsky wrote: On 11/17/2015 02:16 PM, Andy Lutomirski wrote: Looks good to me. Does Xen have any sysexit/sysret32 equivalent to return to 32-bit user mode? If so, it could be worth trying to wire it up by patching the jz instead of the test instruction. We

Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit

2015-11-17 Thread Andy Lutomirski
On Tue, Nov 17, 2015 at 11:29 AM, Andrew Cooper wrote: > On 17/11/15 19:16, Andy Lutomirski wrote: >> On Tue, Nov 17, 2015 at 11:12 AM, Andrew Cooper >> wrote: >>> On 17/11/15 18:49, Andy Lutomirski wrote: On Nov 17, 2015 6:40 AM, "Boris Ostrovsky" wrote: > On 11/16/2015 04:55

Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit

2015-11-17 Thread Boris Ostrovsky
On 11/17/2015 02:16 PM, Andy Lutomirski wrote: Looks good to me. Does Xen have any sysexit/sysret32 equivalent to return to 32-bit user mode? If so, it could be worth trying to wire it up by patching the jz instead of the test instruction. We can actually make patching a little bit more

[PATCH 5/6] MIPS: ath79: Allow using ath79_ddr_wb_flush() from drivers

2015-11-17 Thread Alban Bedel
Move the declaration of ath79_ddr_wb_flush() to asm/mach-ath79/ath79.h to allow using it from drivers. This is needed to move the CPU IRQ driver to drivers/irqchip. Signed-off-by: Alban Bedel --- arch/mips/ath79/common.h | 1 - arch/mips/include/asm/mach-ath79/ath79.h | 1 + 2

[PATCH 6/6] MIPS: ath79: irq: Move the CPU IRQ driver to drivers/irqchip

2015-11-17 Thread Alban Bedel
Signed-off-by: Alban Bedel --- arch/mips/ath79/irq.c| 81 ++ arch/mips/include/asm/mach-ath79/ath79.h | 1 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-ath79-cpu.c | 97 4 files

[PATCH 3/6] MIPS: ath79: irq: Prepare moving the MISC driver to drivers/irqchip

2015-11-17 Thread Alban Bedel
To prepare moving out of the arch directory rework the MISC implementation to use irq domains instead of hard coded IRQ numbers. Also remove the uses of the ath79_reset_base global pointer in the IRQ methods. Signed-off-by: Alban Bedel --- arch/mips/ath79/irq.c | 58

[PATCH 4/6] MIPS: ath79: irq: Move the MISC driver to drivers/irqchip

2015-11-17 Thread Alban Bedel
The driver stays the same but the initialization changes a bit. For OF boards we now get the memory map from the OF node and use a linear mapping instead of the legacy mapping. For legacy boards we still use a legacy mapping and just pass down all the parameters from the board init code.

[PATCH 0/6] MIPS: ath79: Move the IRQ drivers to drivers/irqchip

2015-11-17 Thread Alban Bedel
Hi all, A first round of cleanup on the IRQ code to move most of it to drivers/irqchip. After this the handlers for the cascaded interrupts on the ar934x and qca955x is the only IRQ code left in the platform directory. For these two a new driver must be written first. Alban Alban Bedel (6):

[PATCH 1/6] MIPS: ath79: Fix the size of the MISC INTC registers in ar9132.dtsi

2015-11-17 Thread Alban Bedel
There is 2 registers that is 8 bytes long, not 4. Signed-off-by: Alban Bedel --- arch/mips/boot/dts/qca/ar9132.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/boot/dts/qca/ar9132.dtsi b/arch/mips/boot/dts/qca/ar9132.dtsi index 857ca48..3ad4ba9 100644 ---

[PATCH 2/6] MIPS: ath79: irq: Remove useless #ifdef CONFIG_IRQCHIP

2015-11-17 Thread Alban Bedel
IRQCHIP is always enabled, so the #ifdef can just be removed. Signed-off-by: Alban Bedel --- arch/mips/ath79/irq.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/mips/ath79/irq.c b/arch/mips/ath79/irq.c index eeb3953..26f8d1b 100644 --- a/arch/mips/ath79/irq.c +++

Re: [PATCH] PCI: iproc: hide CONFIG_PCIE_IPROC

2015-11-17 Thread Hauke Mehrtens
On 11/17/2015 05:08 PM, Arnd Bergmann wrote: > PCIE_IPROC_BCMA does not require CONFIG_OF in Kconfig, but > CONFIG_PCIE_IPROC does, so we can get a warning when building > for an ARM platform without DT support: > > warning: (PCIE_IPROC_PLATFORM && PCIE_IPROC_BCMA) selects PCIE_IPROC which > has

Re: [PATCH 3/8] Documentation/spi/spidev_test.c: accept input from a file

2015-11-17 Thread Joshua Clayton
On Tuesday, November 17, 2015 07:26:54 PM Anton Bondarenko wrote: > On 17.11.2015 16:24, Joshua Clayton wrote: > > + if (sb.st_size > 4096) > > + pabort("input file exceeds spidev's 4k limit"); > This is not a true. IIRC PAGE_SIZE is the default buffer size for > spidev, but can be

Re: [PATCH 1/2] Remove EFI memmap quirk for UV

2015-11-17 Thread Borislav Petkov
On Mon, Nov 16, 2015 at 11:59:40AM -0600, Alex Thorlton wrote: > Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to > efi_apply_memmap_quirks to force SGI UV systems to fall back to the old > EFI memmap mechanism. We have a BIOS fix for this issue now, so we no > longer need this

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-17 Thread Al Viro
On Tue, Nov 17, 2015 at 02:02:09PM -0500, Austin S Hemmelgarn wrote: > >_Static_ attacks, or change-image-under-mounted-fs attacks? > To properly protect against attacks on mounted filesystems, we'd > need some new concept of a userspace immutable file (that is, one > where nobody can write to it

Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit

2015-11-17 Thread Andrew Cooper
On 17/11/15 19:16, Andy Lutomirski wrote: > On Tue, Nov 17, 2015 at 11:12 AM, Andrew Cooper > wrote: >> On 17/11/15 18:49, Andy Lutomirski wrote: >>> On Nov 17, 2015 6:40 AM, "Boris Ostrovsky" >>> wrote: On 11/16/2015 04:55 PM, H. Peter Anvin wrote: > On 11/16/15 12:22, Borislav Petkov

Re: [RFC] User space to kernel space copy optimization

2015-11-17 Thread Jiang, Dave
On Mon, 2015-11-16 at 23:19 +, Sinan Kaya wrote: > On 11/16/2015 5:57 PM, Jiang, Dave wrote: > > > One of the things I'm interested in is to use a memcpy capable > > > DMA > > > > engine HW to optimize user space and kernel space parameter > > > > copying. > > Have you looked at why NET_DMA

Re: Asterisk deadlocks since Kernel 4.1

2015-11-17 Thread Stefan Priebe
Am 17.11.2015 um 20:15 schrieb Thomas Gleixner: On Tue, 17 Nov 2015, Stefan Priebe - Profihost AG wrote: since Upgrading our Asterisk System from Kernel 3.18.17 to 4.1.13 it deadlocks every few hours (kill -9 is the only thing working). Booting with 3.18 again let it run smooth again. An

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-17 Thread Richard Weinberger
Am 17.11.2015 um 20:21 schrieb Seth Forshee: > On Tue, Nov 17, 2015 at 08:12:31PM +0100, Richard Weinberger wrote: >> On Tue, Nov 17, 2015 at 7:34 PM, Seth Forshee >> wrote: >>> On Tue, Nov 17, 2015 at 05:55:06PM +, Al Viro wrote: On Tue, Nov 17, 2015 at 11:25:51AM -0600, Seth Forshee

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-17 Thread Octavian Purdila
On Tue, Nov 17, 2015 at 9:21 PM, Seth Forshee wrote: > > On Tue, Nov 17, 2015 at 08:12:31PM +0100, Richard Weinberger wrote: > > On Tue, Nov 17, 2015 at 7:34 PM, Seth Forshee > > wrote: > > > On Tue, Nov 17, 2015 at 05:55:06PM +, Al Viro wrote: > > >> On Tue, Nov 17, 2015 at 11:25:51AM

Re: [PATCH 1/3] iio: mma8452: add freefall detection for Freescale's accelerometers

2015-11-17 Thread Martin Kepplinger
Am 2015-11-14 um 20:03 schrieb Jonathan Cameron: > On 14/11/15 18:45, Martin Kepplinger wrote: >> Am 2015-11-14 um 19:03 schrieb Jonathan Cameron: >>> On 11/11/15 18:38, Martin Kepplinger wrote: This adds freefall event detection to the supported devices. It adds the

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-17 Thread Seth Forshee
On Tue, Nov 17, 2015 at 08:12:31PM +0100, Richard Weinberger wrote: > On Tue, Nov 17, 2015 at 7:34 PM, Seth Forshee > wrote: > > On Tue, Nov 17, 2015 at 05:55:06PM +, Al Viro wrote: > >> On Tue, Nov 17, 2015 at 11:25:51AM -0600, Seth Forshee wrote: > >> > >> > Shortly after that I plan to

Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit

2015-11-17 Thread Borislav Petkov
On Tue, Nov 17, 2015 at 11:16:11AM -0800, Andy Lutomirski wrote: > Works for me, too, although seeing "xen_pv_host" in the Linux cpu > features would be very strange indeed :) That feature would be, of course, *not* in /proc/cpuinfo. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails

Re: [PATCH 2/8] Documentation/spi/spidev_test.c: clean up input_tx

2015-11-17 Thread Joshua Clayton
On Tuesday, November 17, 2015 05:43:33 PM Mark Brown wrote: > On Tue, Nov 17, 2015 at 07:24:22AM -0800, Joshua Clayton wrote: > > Put input from string into its own function. > > Again, why are we doing this? I'm having a hard time seeing what the > gain is, the amount of code being moved is

[PATCH] s390-ctcm: Delete unnecessary checks before the function call "channel_remove"

2015-11-17 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 17 Nov 2015 20:10:02 +0100 The channel_remove() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: 37afb0003242 ("cpufreq: intel_pstate: Use ACPI perf configuration") makes intel_pstate kaputt

2015-11-17 Thread Srinivas Pandruvada
On Tue, 2015-11-17 at 19:17 +0100, Borislav Petkov wrote: > On Tue, Nov 17, 2015 at 08:54:00AM -0800, Srinivas Pandruvada wrote: > > Is it complete log? Can you send the complete log? > > See below. Thanks for your help. > > > I don't see call to intel_pstate_set_policy() from cpufreq in this

Re: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-17 Thread Arnd Bergmann
On Tuesday 17 November 2015 17:12:37 Will Deacon wrote: > On Tue, Nov 17, 2015 at 06:03:40PM +0100, Arnd Bergmann wrote: > > On Tuesday 17 November 2015 16:44:53 Will Deacon wrote: > > > > 8< > > > > Subject: ARM64: make smp_load_acquire() work with const arguments > > > > > > > >

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-17 Thread Seth Forshee
On Tue, Nov 17, 2015 at 02:02:09PM -0500, Austin S Hemmelgarn wrote: > On 2015-11-17 12:55, Al Viro wrote: > >On Tue, Nov 17, 2015 at 11:25:51AM -0600, Seth Forshee wrote: > > > >>Shortly after that I plan to follow with support for ext4. I've been > >>fuzzing ext4 for a while now and it has held

Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit

2015-11-17 Thread Andy Lutomirski
On Tue, Nov 17, 2015 at 11:12 AM, Andrew Cooper wrote: > On 17/11/15 18:49, Andy Lutomirski wrote: >> On Nov 17, 2015 6:40 AM, "Boris Ostrovsky" >> wrote: >>> On 11/16/2015 04:55 PM, H. Peter Anvin wrote: On 11/16/15 12:22, Borislav Petkov wrote: > Huh, so what's wrong with a jump:

Re: Asterisk deadlocks since Kernel 4.1

2015-11-17 Thread Thomas Gleixner
On Tue, 17 Nov 2015, Stefan Priebe - Profihost AG wrote: > since Upgrading our Asterisk System from Kernel 3.18.17 to 4.1.13 it > deadlocks every few hours (kill -9 is the only thing working). Booting > with 3.18 again let it run smooth again. > > An strace shows asterisk is looping like this: >

Re: [PATCH v2 4/7] ARM: at91/dt: sama5d2: add pio controller node

2015-11-17 Thread Olof Johansson
On Tue, Nov 17, 2015 at 3:06 AM, Linus Walleij wrote: > On Tue, Nov 10, 2015 at 1:30 AM, Olof Johansson wrote: >> On Mon, Sep 21, 2015 at 11:24 AM, Linus Walleij >> wrote: >>> On Wed, Sep 16, 2015 at 8:37 AM, Ludovic Desroches >>> wrote: >>> Add pio4 controller node to enable pinmux and

Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit

2015-11-17 Thread Andrew Cooper
On 17/11/15 18:49, Andy Lutomirski wrote: > On Nov 17, 2015 6:40 AM, "Boris Ostrovsky" wrote: >> On 11/16/2015 04:55 PM, H. Peter Anvin wrote: >>> On 11/16/15 12:22, Borislav Petkov wrote: Huh, so what's wrong with a jump: jmp 1f swapgs 1: >>>

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-17 Thread Richard Weinberger
On Tue, Nov 17, 2015 at 7:34 PM, Seth Forshee wrote: > On Tue, Nov 17, 2015 at 05:55:06PM +, Al Viro wrote: >> On Tue, Nov 17, 2015 at 11:25:51AM -0600, Seth Forshee wrote: >> >> > Shortly after that I plan to follow with support for ext4. I've been >> > fuzzing ext4 for a while now and it

Re: [PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Alex Deucher
On Tue, Nov 17, 2015 at 1:40 PM, Daniel Vetter wrote: > On Tue, Nov 17, 2015 at 04:58:06PM +, John Keeping wrote: >> On Tue, 17 Nov 2015 17:29:35 +0100, Daniel Vetter wrote: >> >> > On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: >> > > On Tue, 17 Nov 2015 17:39:32 +0200, Ville

Re: [PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Daniel Vetter
On Tue, Nov 17, 2015 at 06:47:28PM +, John Keeping wrote: > On Tue, 17 Nov 2015 19:31:32 +0100, Daniel Vetter wrote: > > > On Tue, Nov 17, 2015 at 12:07:24PM -0500, Alex Deucher wrote: > > > On Tue, Nov 17, 2015 at 11:29 AM, Daniel Vetter > > > wrote: > > > > On Tue, Nov 17, 2015 at

Re: [PATCH v7, 2/3] mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs

2015-11-17 Thread Boris Brezillon
Hi Harvey, On Tue, 17 Nov 2015 16:28:59 + Harvey Hunt wrote: > >> +/* Timeout for BCH calculation/correction in microseconds. */ > >> +#define BCH_TIMEOUT 10 > > > > Suffixing the macro name with _MS would make it clearer. > > Do you mean _US? Yes. > >>

Re: [PATCH 1/3] dell_wmi: Support new hotkeys on the XPS 13 Skylake

2015-11-17 Thread Andy Lutomirski
On Nov 17, 2015 12:36 AM, "Pali Rohár" wrote: > > On Saturday 14 November 2015 18:07:57 Andy Lutomirski wrote: > > [lots of people added] > > > > On Sat, Nov 14, 2015 at 8:13 AM, Pali Rohár > > wrote: > > > On Saturday 14 November 2015 16:48:25 Andy Lutomirski wrote: > > >> On Nov 14, 2015 1:27

Re: [PATCH v2 11/11] xfs: add support for DAX fsync/msync

2015-11-17 Thread Ross Zwisler
On Tue, Nov 17, 2015 at 10:12:22AM +1100, Dave Chinner wrote: > On Fri, Nov 13, 2015 at 05:06:50PM -0700, Ross Zwisler wrote: > > To properly support the new DAX fsync/msync infrastructure filesystems > > need to call dax_pfn_mkwrite() so that DAX can properly track when a user > > write faults on

Re: [PATCHv2 0/3] Devicetree bindings for Ion

2015-11-17 Thread Laura Abbott
On 11/17/15 7:15 AM, Arnd Bergmann wrote: On Monday 16 November 2015 16:57:32 Laura Abbott wrote: Hi, This is another attempt at devicetree bindings for Ion. The big complaint from v1 was that too much unnecessary data was being pushed into devicetree. v2 takes a different approach of using

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-17 Thread Austin S Hemmelgarn
On 2015-11-17 12:55, Al Viro wrote: On Tue, Nov 17, 2015 at 11:25:51AM -0600, Seth Forshee wrote: Shortly after that I plan to follow with support for ext4. I've been fuzzing ext4 for a while now and it has held up well, and I'm currently working on hand-crafted attacks. Ted has commented

Re: [PATCH] [MEDIA] dvb: usb: fix dib3000mc dependencies

2015-11-17 Thread Mauro Carvalho Chehab
Em Tue, 17 Nov 2015 17:24:23 +0100 Arnd Bergmann escreveu: > On Tuesday 17 November 2015 17:17:39 Arnd Bergmann wrote: > > The dibusb_read_eeprom_byte function is defined in dibusb-common.c, > > but that file is not compiled for CONFIG_DVB_USB_DIBUSB_MB as it > > is for the other driver using

Re: [PATCH 1/8] Documentation/spi/spidev_test.c: use one rx buffer

2015-11-17 Thread Joshua Clayton
On Tuesday, November 17, 2015 05:41:56 PM Mark Brown wrote: > On Tue, Nov 17, 2015 at 07:24:21AM -0800, Joshua Clayton wrote: > > > default_rx and rx are needlessly different. > > Use one buffer, local to transmit() > > Why? This isn't what I'd expect from black boxing the API, from a >

Re: ptrace() hangs on attempt to seize/attach stopped & frozen task

2015-11-17 Thread Tejun Heo
Hey, Oleg. On Tue, Nov 17, 2015 at 08:34:19PM +0100, Oleg Nesterov wrote: > On 11/16, Tejun Heo wrote: > > > > *** WARNING: THE ATTACHED DOCUMENT(S) CONTAIN MACROS *** > > *** MACROS MAY CONTAIN MALICIOUS CODE *** > > *** Open only if you can verify and trust the sender *** > > *** Please contact

Applied "regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C" to the regulator tree

2015-11-17 Thread Mark Brown
The patch regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "regulator: Make bulk API support optional supplies" to the regulator tree

2015-11-17 Thread Mark Brown
The patch regulator: Make bulk API support optional supplies has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

[PATCH] block: add calls to split trace point

2015-11-17 Thread Mike Krinkin
There is a split tracepoint that is supposed to be called before splitting a bio, and it was actually called in bio_split function until commit 4b1faf931650d4a35b2a ("block: Kill bio_pair_split()"). But now, no one reports splits, so this patch adds calls to trace_block_split back right before

Re: [PATCH V1] regulator: pv88060: new regulator driver

2015-11-17 Thread Mark Brown
On Tue, Nov 17, 2015 at 11:25:21AM +0900, James Ban wrote: A couple of minor points but overall this looks good: > + node = of_get_child_by_name(dev->of_node, "regulators"); > + if (!node) { > + dev_err(dev, "regulators node not found\n"); > + return

Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit

2015-11-17 Thread Andy Lutomirski
On Nov 17, 2015 6:40 AM, "Boris Ostrovsky" wrote: > > On 11/16/2015 04:55 PM, H. Peter Anvin wrote: >> >> On 11/16/15 12:22, Borislav Petkov wrote: >>> >>> Huh, so what's wrong with a jump: >>> >>> jmp 1f >>> swapgs >>> 1: >>> >> What is the point of that jump? >> If

Re: [PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread John Keeping
On Tue, 17 Nov 2015 19:31:32 +0100, Daniel Vetter wrote: > On Tue, Nov 17, 2015 at 12:07:24PM -0500, Alex Deucher wrote: > > On Tue, Nov 17, 2015 at 11:29 AM, Daniel Vetter > > wrote: > > > On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: > > >> On Tue, 17 Nov 2015 17:39:32

Re: [PATCH 3/8] Documentation/spi/spidev_test.c: accept input from a file

2015-11-17 Thread Mark Brown
On Tue, Nov 17, 2015 at 07:26:54PM +0100, Anton Bondarenko wrote: > On 17.11.2015 16:24, Joshua Clayton wrote: > >+if (sb.st_size > 4096) > >+pabort("input file exceeds spidev's 4k limit"); > This is not a true. IIRC PAGE_SIZE is the default buffer size for spidev, > but can be

[PATCH 2/2] arm-cci: CoreLink CCI-550 PMU driver

2015-11-17 Thread Suzuki K. Poulose
Add ARM CoreLink CCI-550 cache coherent interconnect PMU driver support. The CCI-550 PMU shares all the attributes of CCI-500 PMU, except for an additional master interface (MI-6 - 0xe). CCI-550 requires the same work around as for CCI-500 to write to the PMU counter. Cc: Punit Agrawal Cc: Mark

[PATCH 0/2] ARM CoreLink CCI-550 PMU driver

2015-11-17 Thread Suzuki K. Poulose
This series adds the driver for CCI-550 PMU. CCI-550 PMU shares most of the attributes (i.e, counters, event code format, event codes, PMU register file) with that of CCI-500, except for an additional master interface support (MI6). So, we share most of the CCI-500 PMU bits except for a CCI-550

[PATCH v11 02/24] perf tools: Add perf-config document

2015-11-17 Thread Taeung Song
Add perf-config document to describe the perf configuration and a subcommand 'list'. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 103 +++ 1 file changed, 103 insertions(+) create mode 100644

[PATCH 1/2] arm-cci500: Rearrange PMU driver for code sharing with CCI-550 PMU

2015-11-17 Thread Suzuki K. Poulose
CCI-550 PMU shares most of the CCI-500 PMU attributes including the event format, PMU event codes. The only difference is an additional master interface (MI6 - 0xe). Hence we share the driver code for both, except for a model specific event validate method. This patch renames the common CCI500

[PATCH v11 05/24] perf config: Document 'buildid.dir' variable in man page

2015-11-17 Thread Taeung Song
Explain 'buildid.dir' variable. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt

[PATCH v11 03/24] perf config: Document variables for 'color' section in man page

2015-11-17 Thread Taeung Song
Explain 'color' section and its variables. 'top', 'medium', 'normal', 'selected', 'code', 'addr' and 'root'. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 44 1 file changed, 44 insertions(+) diff

Re: [PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Daniel Vetter
On Tue, Nov 17, 2015 at 04:58:06PM +, John Keeping wrote: > On Tue, 17 Nov 2015 17:29:35 +0100, Daniel Vetter wrote: > > > On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: > > > On Tue, 17 Nov 2015 17:39:32 +0200, Ville Syrjälä wrote: > > > > > > > On Tue, Nov 17, 2015 at

[PATCH V2 net-next 1/5] net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem

2015-11-17 Thread Salil
From: Salil Mehta This patchset adds support of Hisilicon Hip06 SoC to the existing HNS ethernet driver. The changes in the driver are mainly due to changes in the DMA descriptor provided by the Hip06 ethernet hardware. These changes need to co-exist with already present Hip05 DMA descriptor

[PATCH v11 09/24] perf config: Document 'ui.show-headers' variable in man page

2015-11-17 Thread Taeung Song
Explain 'ui.show-headers' variable. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt index

Re: [PATCH] unix: avoid use-after-free in ep_remove_wait_queue

2015-11-17 Thread Rainer Weikusat
Jason Baron writes: > On 11/15/2015 01:32 PM, Rainer Weikusat wrote: > >> >> That was my original idea. The problem with this is that the code >> starting after the _lock and running until the main code path unlock has >> to be executed in one go with the other lock held as the results of the >>

[PATCH V2 net-next 0/5] net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem

2015-11-17 Thread Salil
From: Salil Mehta This is PATCH V2 created over previously sent PATCH V1 to add the support of Hip06 SoC to the HNS driver. In general, PATCH V2 adds below over the PATCH V1 sent earlier: 1) Bug Fixes and Clean-up: Internally identified 2) Addresses internal review comments by Kenneth Lee and

[PATCH V2 net-next 4/5] net:hns: Add support of ethtool TSO set option for Hip06 in HNS

2015-11-17 Thread Salil
This patch adds the support of ethtool TSO option to V1 patch, meant to add support of Hip06 SoC to HNS Signed-off-by: Salil Mehta Signed-off-by: lisheng --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 47 + 1 file changed, 47 insertions(+) diff --git

[PATCH V2 net-next 2/5] net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver

2015-11-17 Thread Salil
From: Salil Mehta This patch adds the support of "RSS (Receive Side Scaling)" feature provided by the Hip06 ethernet hardware to the HNS ethernet driver. This feature helps in distributing the different flows (mapped as hash by hardware using Toeplitz Hash) to different Queues asssociated with

[PATCH V2 net-next 5/5] net:hns: Add the init code to disable Hip06 "Hardware VLAN assist"

2015-11-17 Thread Salil
From: Salil Mehta This patch adds the initializzation code to disable the hardware vlan support for VLAN Tag stripping by default for now. Proper support of "hardware VLAN assitance" feature would soon come in the next coming patches. Signed-off-by: Salil Mehta ---

Re: ptrace() hangs on attempt to seize/attach stopped & frozen task

2015-11-17 Thread Oleg Nesterov
On 11/16, Tejun Heo wrote: > > *** WARNING: THE ATTACHED DOCUMENT(S) CONTAIN MACROS *** > *** MACROS MAY CONTAIN MALICIOUS CODE *** > *** Open only if you can verify and trust the sender *** > *** Please contact info...@redhat.com if you have questions or concerns ** Hmm, info...@redhat.com

[PATCH v11 11/24] perf config: Document variables for 'report' section in man page

2015-11-17 Thread Taeung Song
Explain 'report' section's variables. 'percent-limit', 'queue-size' and 'children'. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 17 + 1 file changed, 17 insertions(+) diff --git

[PATCH V2 net-next 3/5] net:hns: Add Hip06 "TSO(TCP Segment Offload)" support HNS Driver

2015-11-17 Thread Salil
From: Salil Mehta This patch adds the support of "TSO (TCP Segment Offload)" feature provided by the Hip06 ethernet hardware to the HNS ethernet driver. Enabling this feature would help offload the TCP Segmentation process to the Hip06 ethernet hardware. This eventually would help in saving

Re: net-scm: Delete an unnecessary check before the function call "kfree"

2015-11-17 Thread Daniel Borkmann
On 11/17/2015 07:05 PM, SF Markus Elfring wrote: Eric already mentioned that in some situations where it's critical, it actually slows down the code, i.e. you'll have an extra function call to get there and inside kfree() / kfree_skb() / etc, the test is actually marked as unlikely(). How do

[PATCH v11 13/24] perf config: Document 'man.viewer' variable in man page

2015-11-17 Thread Taeung Song
Explain 'man.viewer' variable. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt index

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-17 Thread Seth Forshee
On Tue, Nov 17, 2015 at 05:55:06PM +, Al Viro wrote: > On Tue, Nov 17, 2015 at 11:25:51AM -0600, Seth Forshee wrote: > > > Shortly after that I plan to follow with support for ext4. I've been > > fuzzing ext4 for a while now and it has held up well, and I'm currently > > working on

Re: [PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Daniel Vetter
On Tue, Nov 17, 2015 at 12:07:24PM -0500, Alex Deucher wrote: > On Tue, Nov 17, 2015 at 11:29 AM, Daniel Vetter wrote: > > On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: > >> On Tue, 17 Nov 2015 17:39:32 +0200, Ville Syrjälä wrote: > >> > >> > On Tue, Nov 17, 2015 at 03:05:34PM

[PATCH v11 15/24] perf config: Document 'kmem.default' variable in man page

2015-11-17 Thread Taeung Song
Explain 'kmem.default' variable. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt index

[PATCH v11 18/24] perf config: Add 'list-all' option to perf-config

2015-11-17 Thread Taeung Song
'list-all' option is to display both current config variables and all possible config variables with default values. The syntax examples are like below perf config [] [options] display all perf config with default values. # perf config -a | --list-all Cc: Namhyung Kim Cc: Jiri Olsa

[PATCH v11 20/24] perf config: Add --verbose option for showing config description

2015-11-17 Thread Taeung Song
To explain what each of variable options configures, this option can be used with --skel option, i.e. print the possible config variables with comments over each of them. # perf config -k -v | --skel --verbose Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song ---

[PATCH v11 17/24] perf config: Collect configs to handle config variables

2015-11-17 Thread Taeung Song
Collecting configs into list because of two reason. First of all, if there are same variables both user and system config file, they all will be printed when 'list' command work. But if config variables are duplicated, user config variables should only be printed because it has priority. Lastly,

Re: [PATCH 1/7] phy: brcmstb-sata: add missing of_node_put

2015-11-17 Thread Brian Norris
On Tue, Nov 17, 2015 at 10:30:36AM -0800, Brian Norris wrote: > I expect the same sort of problem shows up plenty of other places. I > don't think many people use CONFIG_OF_DYNAMIC, so the effects of these > failures probably aren't felt by many. Also, there's a quite-relevant todo item in

[PATCH v11 23/24] perf config: normalize a value depending on default type of it

2015-11-17 Thread Taeung Song
Whether or not user mis-type wrong data type to set config, normalize the value. If a config user enter isn't contained in default configs, just pass as it is. For the examples, # perf config report.queue-size=1M # perf config report.queue-size report.queue-size=1048576 Cc: Namhyung Kim

[PATCH v11 24/24] perf config: Add a option 'remove' to perf-config

2015-11-17 Thread Taeung Song
A option 'remove' is to remove specific config variables. For the syntax examples, # perf config [] -r | --remove [section.name ...] Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 6 ++ tools/perf/builtin-config.c

[PATCH v11 22/24] perf config: Add 'set' feature

2015-11-17 Thread Taeung Song
This patch consists of functions which can set specific config variables. For the syntax examples, perf config [] [options] [section.name[=value] ...] set specific config variables # perf config report.queue-size=100M report.children=true Cc: Namhyung Kim Cc: Jiri Olsa

[PATCH v11 19/24] perf config: Add a option 'skel' to perf-config

2015-11-17 Thread Taeung Song
Produce an skeleton with the possible config variables so that one could then use $EDITOR ~/.perfconfig or $(sysconfdir)/perfconfigand go on setting the knobs. For the syntax examples, # perf config -k | --skel Initialize the possible config variables on config file. # perf config

[PATCH v11 12/24] perf config: Document 'top.chidren' variable in man page

2015-11-17 Thread Taeung Song
Explain 'top.children' variable. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt index

[PATCH v11 08/24] perf config: Document 'hist.percentage' variable in man page

2015-11-17 Thread Taeung Song
Explain 'hist.percentage' variable. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 17 + 1 file changed, 17 insertions(+) diff --git a/tools/perf/Documentation/perf-config.txt

[PATCH v11 21/24] perf config: Add 'get' functionality

2015-11-17 Thread Taeung Song
This patch consists of functions which can get specific config variables. For the syntax examples, perf config [] [section.name ...] display key-value pairs of specific config variables # perf config report.queue-size report.children In addition, the functionality can work with

[PATCH v11 10/24] perf config: Document variables for 'call-graph' section in man page

2015-11-17 Thread Taeung Song
Explain 'call-graph' section and its variables. 'record-mode', 'dump-size', 'print-type', 'order', 'sort-key', 'threshold' and 'print-limit'. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 65 1 file

[PATCH v11 14/24] perf config: Document 'pager.' variables in man page

2015-11-17 Thread Taeung Song
Explain 'pager.' variables. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt index

[PATCH v11 16/24] perf config: Add '--system' and '--user' options to select which config file is used

2015-11-17 Thread Taeung Song
The file-options '--system' means $(sysconfdir)/perfconfig and '--user' means $HOME/.perfconfig. If file-option isn't used, both system and user config file is read. The syntax examples are like below. perf config [] [options] a specific config file. # perf config --user | --system

[PATCH v11 06/24] perf config: Document variables for 'annotate' section in man page

2015-11-17 Thread Taeung Song
Explain 'annotate' section and its variables. 'hide_src_code', 'use_offset', 'jump_arrows' and 'show_nr_jumps'. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 76 1 file changed, 76 insertions(+) diff

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