[PATCH] docs: add VmPMD description in proc

2015-04-24 Thread Chen Hanxiao
commit dc6c9a35b66b (mm: account pmd page tables to the process) add VmPMD in /proc/PID/status. This patch add a description in proc.txt for it. cc: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- Documentation/filesystems/proc.txt |

Re: [PATCH v2] Input - mt: Fix input_mt_get_slot_by_key

2015-04-24 Thread Henrik Rydberg
Peter, It may be a long time ago now, but we had very vocal discussions regarding the MT protocol back then, and I am quite sure all the subtleties are well understood. In order to fully appreciate the simplicity of the protocol, one only needs to stop misintepreting it. In order to do that,

Re: [PATCH v2 2/3] USB: ehci-tegra: fix inefficient copy of unaligned buffers

2015-04-24 Thread Johan Hovold
On Thu, Apr 23, 2015 at 02:32:26PM -0600, Stephen Warren wrote: On 04/23/2015 08:06 AM, Johan Hovold wrote: Make sure only to copy any actual data rather than the whole buffer, when releasing the temporary buffer used for unaligned non-isochronous transfers. Compile-tested only.

Re: [PATCH] docs: add VmPMD description in proc

2015-04-24 Thread Kirill A. Shutemov
On Fri, Apr 24, 2015 at 02:24:32AM -0400, Chen Hanxiao wrote: commit dc6c9a35b66b (mm: account pmd page tables to the process) add VmPMD in /proc/PID/status. This patch add a description in proc.txt for it. cc: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Chen Hanxiao

Re: [RFC][PATCHSET] non-recursive link_path_walk() and reducing stack footprint

2015-04-24 Thread NeilBrown
On Thu, 23 Apr 2015 19:07:55 +0100 Al Viro v...@zeniv.linux.org.uk wrote: On Thu, Apr 23, 2015 at 05:45:44PM +1000, NeilBrown wrote: follow_link calls link_path_walk - walk_component - lookup_fast which sets nd-seq. Is that not enough? I guess not when nd_jump_link is called. Is

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-24 Thread Greg Kroah-Hartman
On Thu, Apr 23, 2015 at 10:56:40PM +0200, Borislav Petkov wrote: Hm, this seems to be to be O(1), pretty constant, we do the same amount of work all the time. The same *pile* of unnecessary and needless work. You go and collect *all* that data on *every* packet send?! No, not at all, the

[PATCH] crypto: x86/sha512_ssse3 - fixup for asm function prototype change

2015-04-24 Thread Ard Biesheuvel
Patch e68410ebf626 (crypto: x86/sha512_ssse3 - move SHA-384/512 SSSE3 implementation to base layer) changed the prototypes of the core asm SHA-512 implementations so that they are compatible with the prototype used by the base layer. However, in one instance, the register that was used for

Re: [PATCH 1/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-04-24 Thread Pi-Cheng Chen
Hi Sascha, Thanks for reviewing. On Thu, Apr 23, 2015 at 8:01 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Apr 20, 2015 at 05:27:26PM +0800, pi-cheng.chen wrote: This patch implements MT8173 specific cpufreq driver with OPP table defined in the driver code. Signed-off-by:

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-24 Thread Greg Kroah-Hartman
On Fri, Apr 24, 2015 at 08:36:03AM +0200, Greg Kroah-Hartman wrote: On Thu, Apr 23, 2015 at 10:56:40PM +0200, Borislav Petkov wrote: Hm, this seems to be to be O(1), pretty constant, we do the same amount of work all the time. The same *pile* of unnecessary and needless work. You go

Re: [PATCH 1/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-04-24 Thread Pi-Cheng Chen
On Thu, Apr 23, 2015 at 8:56 PM, Mark Rutland mark.rutl...@arm.com wrote: +/* + * This is a temporary solution until we have new OPPv2 bindings. Therefore we + * could describe the OPPs with (freq, volt, volt) tuple properly in device + * tree. + */ + +/* OPP table for LITTLE cores of

Re: [PATCH v2 WIP 1/2] parport: add device-model to parport subsystem

2015-04-24 Thread Sudip Mukherjee
On Thu, Apr 23, 2015 at 06:18:37PM +0300, Dan Carpenter wrote: On Tue, Apr 21, 2015 at 07:22:34PM +0530, Sudip Mukherjee wrote: snip .owner = NULL, }; +struct bus_type parport_bus_type = { + .name = parport, +}; Can you make this static? The indenting

Re: regression from your recent change to x86's copy_user_handle_tail()

2015-04-24 Thread Jan Beulich
On 23.04.15 at 17:33, torva...@linux-foundation.org wrote: On Tue, Apr 21, 2015 at 11:33 PM, Jan Beulich jbeul...@suse.com wrote: while the description of commit cae2a173fe certainly makes sense, the change itself ignores the __probe_kernel_write() code path, for which the destination

[GIT PULL] target updates for v4.1-rc1

2015-04-24 Thread Nicholas A. Bellinger
Hi Linus, Here are the target-pending updates for v4.1-rc1 code. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git for-next Note you'll hit two minor merge conflicts as reported by SFR: linux-next: manual merge of the target-updates tree

Re: [PATCH RT 3.18] irq_work: Provide a soft-irq based queue

2015-04-24 Thread Mike Galbraith
On Thu, 2015-04-23 at 17:00 -0400, Steven Rostedt wrote: On Thu, 23 Apr 2015 09:19:26 +0200 Mike Galbraith umgwanakikb...@gmail.com wrote: CC kernel/irq_work.o In file included from ../include/asm-generic/percpu.h:6:0, from ../arch/x86/include/asm/percpu.h:522,

RE: [PATCH] docs: add VmPMD description in proc

2015-04-24 Thread Chen, Hanxiao
-Original Message- From: Kirill A. Shutemov [mailto:kir...@shutemov.name] Sent: Friday, April 24, 2015 2:33 PM To: Chen, Hanxiao/陈 晗霄 Cc: Jonathan Corbet; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Kirill A. Shutemov Subject: Re: [PATCH] docs: add VmPMD description

Re: Missing additional V4L2 caps in cx18

2015-04-24 Thread Hans Verkuil
Hi Laura, Thanks for the report. I've made a patch and CC-ed you on it. The TS and IDX streams are internal (i.e., they do not map to a V4L2 device node), but the PCM stream isn't, and that's the one causing the warning. Regards, Hans On 04/23/2015 07:57 PM, Laura Abbott wrote: Hi,

Re: [PATCH 1/6] mtd: nand_bbt: drop unnecessary header

2015-04-24 Thread Rafał Miłecki
On 24 April 2015 at 02:36, Peter Pan 潘栋 (peterpandong) peterpand...@micron.com wrote: On 23 April 2015 at 15:47, Rafał Miłecki wrote: On 22 April 2015 at 19:50, Brian Norris computersforpe...@gmail.com wrote: On Thu, Apr 16, 2015 at 02:09:41AM +, Peter Pan 潘栋 (peterpandong) wrote:

Re: [PATCH] staging: sm750fb: cleanup white space and indent

2015-04-24 Thread Sudip Mukherjee
On Thu, Apr 23, 2015 at 05:04:08PM -0400, Charles Rose wrote: This patch fixes space prohibited errors reported by checkpatch.pl and related indentation. The module builds without error. Signed-off-by: Charles Rose charles.rose.li...@gmail.com snip - if ( x == 800 y == 600 ) -

Re: [PATCH v5 6/8] virtio: add explicit big-endian support to memory accessors

2015-04-24 Thread Cornelia Huck
On Thu, 23 Apr 2015 21:27:19 +0200 Thomas Huth th...@redhat.com wrote: On Thu, 23 Apr 2015 17:29:06 +0200 Greg Kurz gk...@linux.vnet.ibm.com wrote: The current memory accessors logic is: - little endian if little_endian - native endian (i.e. no byteswap) if !little_endian If we

Re: [PATCH v10 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-04-24 Thread Dave Young
On 04/24/15 at 04:35pm, Baoquan He wrote: On 04/24/15 at 04:25pm, Dave Young wrote: Hi, Baoquan I support this patchset. We should not fear oldmem since reserved crashkernel region is similar. No one can guarantee that any crazy code won't step into crashkernel region just

Re: [PATCH 5/6] Drivers: hv: vmbus: distribute subchannels among all vcpus

2015-04-24 Thread Vitaly Kuznetsov
Dexuan Cui de...@microsoft.com writes: -Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Tuesday, April 21, 2015 22:28 To: KY Srinivasan Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- ker...@vger.kernel.org; Dexuan Cui Subject: [PATCH 5/6]

Re: [PATCH v1] watchdog: Use a reference cycle counter to avoid scaling issues

2015-04-24 Thread Thomas Gleixner
On Fri, 24 Apr 2015, Thomas Gleixner wrote: On Thu, 23 Apr 2015, Andi Kleen wrote: We can just detect the deviation in the callback itself: u64 now = ktime_get_mono_fast_ns(); if (now - __this_cpu_read(nmi_timestamp) period) return;

[PATCH perf/core v3 6/8] perf probe: Accept filter argument for --funcs

2015-04-24 Thread Masami Hiramatsu
This allows user to pass the filter pattern directly to --funcs option as below. # ./perf probe -F *kmalloc __kmalloc devm_kmalloc mempool_kmalloc sg_kmalloc sock_kmalloc We previously need --filter option for that. Signed-off-by: Masami Hiramatsu

[PATCH perf/core v3 7/8] perf probe: Remove redundant cleanup of params.filter

2015-04-24 Thread Masami Hiramatsu
Since params.filter will be released in cleanup_params, we don't need to clear it in each command. Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com --- tools/perf/builtin-probe.c |6 -- 1 file changed, 6 deletions(-) diff --git a/tools/perf/builtin-probe.c

Re: [RFC PATCH v3 00/10] an introduction of library operating system for Linux (LibOS)

2015-04-24 Thread Hajime Tazaki
At Fri, 24 Apr 2015 10:59:21 +0200, Richard Weinberger wrote: Am 24.04.2015 um 10:22 schrieb Hajime Tazaki: You *really* need to shape up wrt the build process. at the moment, the implementation of libos can't automate to follow such changes in the build process. but good news is it's

[PATCH perf/core v3 3/8] perf probe: Accept multiple filter options

2015-04-24 Thread Masami Hiramatsu
Accept multiple filter options. Each filters are combined by logical-or. E.g. --filter abc* --filter *def is same as --filter abc*|*def Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com --- tools/perf/builtin-probe.c | 14 +- 1 file changed, 9 insertions(+), 5

Re: [PATCH v4 00/17] media: blackfin: bfin_capture enhancements

2015-04-24 Thread Hans Verkuil
On 04/10/2015 12:42 PM, Scott Jiang wrote: Hi Hans, Hans, I tried to use v4l2-compliance but it failed to compile. Sorry for telling you it have passed compilation because I forgot to use blackfin toolchain. ./configure --without-jpeg --host=bfin-linux-uclibc --disable-libv4l The main

[RESEND RFC PATCH 1/2] x86/cpu hotplug: make apicid -- cpuid mapping persistent

2015-04-24 Thread Gu Zheng
Yasuaki Ishimatsu found that with node online/offline, cpu-node relationship is established. Because workqueue uses a info which was established at boot time, but it may be changed by node hotpluging. Once pool-node points to a stale node, following allocation failure happens. == SLUB:

[RESEND RFC PATCH 2/2] gfp: use the best near online node if the target node is offline

2015-04-24 Thread Gu Zheng
Since the change to the cpu -- mapping (map the cpu to the physical node for all possible at the boot), the node of cpu may be not present, so we use the best near online node if the node is not present in the low level allocation APIs. Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com ---

Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Chris Ward
There is a Linux driver here http://www.asus.com/Networking/USBN10_NANO/HelpDesk_download/ that needs integrating into the 'kernel.org' source. Please can you pass this to whoever should do this. Do we need formal permission from ASUS, or do we just take it ? Please cc: me on any replies as I am

[RFC v3 01/45] vfs: Minor documentation fix

2015-04-24 Thread Andreas Gruenbacher
The check_acl inode operation and the IPERM_FLAG_RCU are long gone. Document what get_acl does instead. Signed-off-by: Andreas Gruenbacher agrue...@redhat.com --- Documentation/filesystems/porting | 8 Documentation/filesystems/vfs.txt | 3 +++ 2 files changed, 7 insertions(+), 4

[RFC v3 07/45] vfs: Add MAY_DELETE_SELF and MAY_DELETE_CHILD permission flags

2015-04-24 Thread Andreas Gruenbacher
Normally, deleting a file requires write and execute access to the parent directory. With Richacls, a process with MAY_DELETE_SELF access to a file may delete the file even without write access to the parent directory. To support that, pass the MAY_DELETE_CHILD mask flag to inode_permission()

[RFC v3 09/45] vfs: Add permission flags for setting file attributes

2015-04-24 Thread Andreas Gruenbacher
Richacls support permissions that allow to take ownership of a file, change the file permissions, and set the file timestamps. Support that by introducing new permission mask flags and by checking for those mask flags in inode_change_ok(). Signed-off-by: Andreas Gruenbacher agrue...@redhat.com

Re: [PATCH v1] watchdog: Use a reference cycle counter to avoid scaling issues

2015-04-24 Thread Thomas Gleixner
On Fri, 24 Apr 2015, Andi Kleen wrote: There are better ways to do that than using heuristics. We have to deal with 3 variants of the reference counter: 1) Core and Atom: counts bus cycles and we know that frequency already from the local apic calibration 2) Nehalem,

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
On 2015-04-24 13:37, Chris Ward wrote: I just tried building the driver from ASUS with the current kernel from OpenSUSE (3.16.7-21), and got a trap when booting (in the insmod, I think) With an out-of-tree driver you are on your own, sorry. Did you enable the in-tree driver

Re: [PATCH] staging: sm750fb: cleanup white space and indent

2015-04-24 Thread Greg KH
On Thu, Apr 23, 2015 at 05:04:08PM -0400, Charles Rose wrote: This patch fixes space prohibited errors reported by checkpatch.pl and related indentation. The module builds without error. That's two different things, can you break this up into one logical patch per thing you are changing here?

Re: [RFC 0/4] arm64: add livepatch support

2015-04-24 Thread Jiri Kosina
On Fri, 24 Apr 2015, AKASHI Takahiro wrote: This patchset enables livepatch support on arm64. Livepatch was merged in v4.0, and allows replacying a function dynamically based on ftrace framework, but it also requires -mfentry option of gcc. Currently arm64 gcc doesn't support it, but by

Re: [PATCH 2/3] ASoC: tas571x: New driver for TI TAS571x power amplifiers

2015-04-24 Thread Mark Brown
On Thu, Apr 23, 2015 at 05:47:49PM -0700, Kevin Cernekee wrote: This is mostly working OK, but regcache_sync() assumes that the hardware registers have been reset back to the default values. The pdn GPIO doesn't actually reset the state of the tas571x; it just makes I2C inaccessible and

[PATCH v3 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-04-24 Thread Pantelis Antoniou
Documentation ABI entry for overlays sysfs entries. Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 23 ++ 1 file changed, 23 insertions(+) create mode 100644

[RESEND PATCH] configfs: init configfs module earlier at boot time

2015-04-24 Thread Daniel Baluta
We need this earlier in the boot process to allow various subsystems to use configfs (e.g Industrial IIO). Also, debugfs is at core_initcall level and configfs should be on the same level from infrastructure point of view. Suggested-by: Lars-Peter Clausen l...@metafoo.de Signed-off-by: Daniel

Re: [PATCH v1] watchdog: Use a reference cycle counter to avoid scaling issues

2015-04-24 Thread Alexander Shishkin
Thomas Gleixner t...@linutronix.de writes: On Fri, 24 Apr 2015, Thomas Gleixner wrote: On Thu, 23 Apr 2015, Andi Kleen wrote: We can just detect the deviation in the callback itself: u64 now = ktime_get_mono_fast_ns(); if (now - __this_cpu_read(nmi_timestamp)

Re: [v2 2/5] arm64: kdump: implement machine_crash_shutdown()

2015-04-24 Thread Mark Rutland
On Fri, Apr 24, 2015 at 08:53:05AM +0100, AKASHI Takahiro wrote: kdump calls machine_crash_shutdown() to shut down non-boot cpus and save per-cpu general-purpose registers before restarting the crash dump kernel. See kernel_kexec(). ipi_cpu_stop() is used and a bit modified to support this

Re: [PATCH 1/4] tty: serial: 8250_mtk: Use devm_clk_get

2015-04-24 Thread Matthias Brugger
2015-04-24 12:31 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: On Fri, Apr 24, 2015 at 12:28:33PM +0200, Matthias Brugger wrote: 2015-04-23 10:51 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: Just because of_clk_get() doesn't mean it should be used. Use devm_clk_get which is the correct

[RFC v3 34/45] nfsd: Use richacls as internal acl representation

2015-04-24 Thread Andreas Gruenbacher
When converting from NFSv4 ACLs to POSIX ACLs, nfsd so far was using struct nfs4_acl as its internal representation. This representation is a subset of richacls, so get rid of struct nfs4_acl. Richacls even have a more compact in-memory representation, so a few more ACL entries can easily be

[RFC v3 25/45] richacl: acl editing helper functions

2015-04-24 Thread Andreas Gruenbacher
The file masks in richacls make chmod and creating new files more efficient than having to apply file permission bits to the acl directly. They also allow us to regain permissions from an acl even after a restrictive chmod, because the permissions in the acl itself are not being destroyed. In

[RFC v3 27/45] richacl: Propagate everyone@ permissions to other aces

2015-04-24 Thread Andreas Gruenbacher
The trailing everyone@ allow ace can grant permissions to all file classes including the owner and group class. Before we can apply the other mask to this entry to turn it into an other class entry, we need to ensure that members of the owner or group class will not lose any permissions from that

[RFC v3 28/45] richacl: Isolate the owner and group classes

2015-04-24 Thread Andreas Gruenbacher
When applying the file masks to an acl, we need to ensure that no process gets more permissions than allowed by its file mask. This may require inserting an owner@ deny ace to ensure this if the owner mask contains fewer permissions than the group or other mask. For example, when applying mode

[RFC v3 17/45] richacl: Create-time inheritance

2015-04-24 Thread Andreas Gruenbacher
When a new file is created, it can inherit an acl from its parent directory; this is similar to how default acls work in POSIX (draft) ACLs. As with POSIX ACLs, if a file inherits an acl from its parent directory, the intersection between the create mode and the permissions granted by the

[RFC v3 29/45] richacl: Apply the file masks to a richacl

2015-04-24 Thread Andreas Gruenbacher
Put all the pieces of the acl transformation puzzle together for computing a richacl which has the file masks applied so that the standard nfsv4 access check algorithm can be used on the richacl. Signed-off-by: Andreas Gruenbacher agr...@kernel.org --- fs/richacl_compat.c | 103

[RFC v3 22/45] vfs: Add richacl permission checking

2015-04-24 Thread Andreas Gruenbacher
Hook the richacl permission checking function into the vfs. Signed-off-by: Andreas Gruenbacher agrue...@redhat.com --- fs/namei.c | 51 +-- fs/posix_acl.c | 6 +++--- 2 files changed, 52 insertions(+), 5 deletions(-) diff --git a/fs/namei.c

[PATCH v3 07/12] devicetree: Add bindings for the ATH79 PLL controllers

2015-04-24 Thread Alban Bedel
Signed-off-by: Alban Bedel al...@free.fr --- v2: * Fixed the node names to respect ePAPR * Fixed the missing 's' in 'fallbacks' and the 'clocks' property v3: * Fix the compatible string for qca9550 --- .../devicetree/bindings/clock/qca,ath79-pll.txt| 33 ++ 1 file

[PATCH v3 08/12] MIPS: ath79: Add OF support to the clocks

2015-04-24 Thread Alban Bedel
Allow using the SoC clocks in the device tree. --- v3: * Fix the compatible string for qca9550 --- arch/mips/ath79/clock.c | 63 ++--- 1 file changed, 44 insertions(+), 19 deletions(-) diff --git a/arch/mips/ath79/clock.c b/arch/mips/ath79/clock.c

[PATCH v3 10/12] MIPS: ath79: Add OF support to the GPIO driver

2015-04-24 Thread Alban Bedel
Replace the simple GPIO chip registration by a platform driver and make ath79_gpio_init() just register the device. Signed-off-by: Alban Bedel al...@free.fr --- v2: * Added an 'ngpios' property instead of the many matches * Use a platform data struct to store the device config on non-DT

[PATCH v3 06/12] MIPS: ath79: Add OF support to the IRQ controllers

2015-04-24 Thread Alban Bedel
Add OF support for the CPU and MISC interrupt controllers of most supported ATH79 devices. Signed-off-by: Alban Bedel al...@free.fr --- arch/mips/ath79/irq.c | 87 ++- 1 file changed, 86 insertions(+), 1 deletion(-) diff --git

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Chris Ward
I just got a trap when booting the current OpenSUSE kernel (in the insmod), so something is not right. 3.16.7-21 , I think -- Disclaimer: I work for IBM, but I do not represent IBM. Any opinions expressed in this email are personal and don’t necessarily represent my employer’s positions,

[PATCH v3 03/12] devicetree: Add bindings for the ATH79 DDR controllers

2015-04-24 Thread Alban Bedel
The DDR controller of the ARxxx and AR9xxx families provides an interface to flush the FIFO between various devices and the DDR. This is mainly used by the IRQ controller to flush the FIFO before running the interrupt handler of such devices. Signed-off-by: Alban Bedel al...@free.fr --- v2: * Fix

[PATCH v3 05/12] devicetree: Add bindings for the ATH79 MISC interrupt controllers

2015-04-24 Thread Alban Bedel
Signed-off-by: Alban Bedel al...@free.fr --- v2: * Fixed the node names to respect ePAPR --- .../interrupt-controller/qca,ath79-misc-intc.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644

[PATCH v3 04/12] devicetree: Add bindings for the ATH79 interrupt controllers

2015-04-24 Thread Alban Bedel
Signed-off-by: Alban Bedel al...@free.fr --- v2: * Fixed the node names to respect ePAPR * Removed the unneeded @0 on the node name --- .../interrupt-controller/qca,ath79-cpu-intc.txt| 44 ++ 1 file changed, 44 insertions(+) create mode 100644

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Chris Ward
lsusb shows Bus 003 Device 024: ID 0b05:17ba ASUSTek Computer, Inc. I've just built the OpenSUSE kernel from source, it has that CONFIG=m . I think ASUS have changed the chip set. Do we have to wait for ASUS to debug their driver ? Supposedly it worked with an older kernel (up to 3.10 I think)

Re: mmotm 2015-04-23-16-38 uploaded

2015-04-24 Thread Michal Hocko
I have just created since-4.0 branch in mm git tree (http://git.kernel.org/?p=linux/kernel/git/mhocko/mm.git;a=summary). It is based on v4.0 tag in Linus tree and mmotm-2015-04-23-16-38. I have pulled some cgroup wide changes from Tejun. As usual mmotm trees are tagged with signed tag (finger

Re: Broadcom 43340 module on iMX6DL

2015-04-24 Thread Arend van Spriel
On 04/24/15 03:04, John Tobias wrote: Btw, where I could get a copy of the latest driver?. The open-source bcmdhd is in AOSP [1]. I would stick to the android release branch you are running on your device. Regards, Arend [1] https://android.googlesource.com/platform/hardware/broadcom/wlan/

Re: [RFC PATCH v3 00/10] an introduction of library operating system for Linux (LibOS)

2015-04-24 Thread Hajime Tazaki
Hi Richard, At Fri, 24 Apr 2015 09:40:32 +0200, Richard Weinberger wrote: Hi! Am 19.04.2015 um 15:28 schrieb Hajime Tazaki: changes from v2: - Patch 02/11 (slab: add private memory allocator header for arch/lib) * add new allocator named SLIB (Library Allocator): Patch 04/11 is

Re: [PATCH] [Input: add a driver for wdt87xx touchscreen controller] The main function of this driver is to report touch events and update firmware for the controller.

2015-04-24 Thread Paul Bolle
Just a license mismatch. On Fri, 2015-04-24 at 00:21 +0800, HungNien Chen wrote: --- /dev/null +++ b/drivers/input/touchscreen/wdt87xx_i2c.c + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + *

Re: [PATCH] context_tracking: remove local_irq_save from __acct_update_integrals

2015-04-24 Thread Heiko Carstens
On Thu, Apr 23, 2015 at 09:57:13PM -0400, Rik van Riel wrote: diff --git a/kernel/tsacct.c b/kernel/tsacct.c index 975cb49e32bf..0b967f116a6b 100644 --- a/kernel/tsacct.c +++ b/kernel/tsacct.c @@ -126,23 +126,29 @@ static void __acct_update_integrals(struct task_struct *tsk, if

[PATCH] xen: vcpu_info reinit error after 'xl save -c' 'xl restore' on PVOPS VM which has multi-cpu

2015-04-24 Thread Ouyang Zhaowei (Charles)
If a PVOPS VM has multi-cpu the vcpu_info of cpu0 is the member of the structure HYPERVISOR_shared_info, and the others is not, but after 'xl save -c/restore' the vcpu_info will be reinitialized, the vcpu_info of all the vcpus will be considered as the member of HYPERVISOR_shared_info. This

Re: [PATCH v7 0/3] Add ktd2692 Flash LED driver using LED Flash class

2015-04-24 Thread Varka Bhadram
On 04/23/2015 06:48 PM, Ingi Kim wrote: This patch adds ktd2692 Flash LED driver with LED Flash class Change in v7: - Add flash-max-microamp property for Flash LED - Change gpio-legacy interface to gpio consumer interface Change in v6 resend: - Adjust indent using

Re: [PATCH v1] watchdog: Use a reference cycle counter to avoid scaling issues

2015-04-24 Thread Thomas Gleixner
On Fri, 24 Apr 2015, Alexander Shishkin wrote: Thomas Gleixner t...@linutronix.de writes: On Fri, 24 Apr 2015, Thomas Gleixner wrote: On Thu, 23 Apr 2015, Andi Kleen wrote: We can just detect the deviation in the callback itself: u64 now = ktime_get_mono_fast_ns();

Re: [v2 1/5] arm64: kdump: reserve memory for crash dump kernel

2015-04-24 Thread Mark Rutland
On Fri, Apr 24, 2015 at 08:53:04AM +0100, AKASHI Takahiro wrote: On system kernel, the memory region used by crash dump kernel must be specified by crashkernel=X@Y boot parameter. reserve_crashkernel() will allocate the region in System RAM and reserve it for later use. On crash dump kernel,

Re: [rtc-linux] [PATCH 2/5] RTC/i.MX/DryIce: add the unit recovery code

2015-04-24 Thread Juergen Borleis
Hi Alexandre, On Wednesday 22 April 2015 01:14:11 Alexandre Belloni wrote: On 14/04/2015 at 11:11:53 +0200, Juergen Borleis wrote : This code is requiered to recover the unit from a security violation. required ^ Sure :) [...] +/* do a write into the unit without interrupt

Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

2015-04-24 Thread Borislav Petkov
On Fri, Apr 24, 2015 at 11:59:42AM +0200, Denys Vlasenko wrote: I propose a more conservative check: if (ss_sel != __KERNEL_DS) loadsegment(ss, __KERNEL_DS); I would propose this even if I would see no real case where it matters... but I even do see

[RFC v3 33/45] nfsd: Keep list of acls to dispose of in compoundargs

2015-04-24 Thread Andreas Gruenbacher
We will decode acls in requests into richacls; those need to be richacl_put() at the end of the request instead of kfree()d; this allows the vfs to cache them whenever possible. NOTE: If we allow only a single acl per request, we can get rid of the list here. Signed-off-by: Andreas Gruenbacher

[RFC v3 24/45] ext4: Add richacl feature flag

2015-04-24 Thread Andreas Gruenbacher
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com This feature flag selects richacl instead of posix acl support on the file system. In addition, the acl mount option is needed for enabling either of the two kinds of acls. Signed-off-by: Andreas Gruenbacher agrue...@redhat.com ---

[RFC v3 23/45] ext4: Add richacl support

2015-04-24 Thread Andreas Gruenbacher
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Support the richacl permission model in ext4. The richacls are stored in system.richacl xattrs. Richacls need to be enabled by tune2fs or at file system create time. Signed-off-by: Andreas Gruenbacher agrue...@redhat.com ---

[PATCH v14 2/3] power-domain: rockchip: add power domain driver

2015-04-24 Thread Caesar Wang
In order to meet high performance and low power requirements, a power management unit is designed or saving power when RK3288 in low power mode. The RK3288 PMU is dedicated for managing the power ot the whole chip. Signed-off-by: jinkun.hong jinkun.h...@rock-chips.com Signed-off-by: Caesar Wang

[PATCH v14 3/3] ARM: dts: add RK3288 power-domain node

2015-04-24 Thread Caesar Wang
This patch add the needed clocks into power-controller. why need we do so that? Firstly, we always be needed turn off clocks to save power when the system enter suspend.So we need to enumerate the clocks are needed to switch power doamin no and off. Secondly, RK3288 reset circuit should be

[PATCH v14 0/3] ARM: rk3288: Add PM Domain support

2015-04-24 Thread Caesar Wang
Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Verified on url = https://chromium.googlesource.com/chromiumos/third_party/kernel. At the moment,there are mass of products are using the driver. I believe the driver can happy work

Re: [PATCH V2 1/4] mailbox: add support for APM X-Gene platform mailbox driver

2015-04-24 Thread Paul Bolle
On Wed, 2015-04-22 at 15:18 -0700, Feng Kan wrote: --- /dev/null +++ b/drivers/mailbox/mailbox-xgene-slimpro.c +static struct platform_driver slimpro_mbox_driver = { + .probe = slimpro_mbox_probe, + .remove = slimpro_mbox_remove, + .driver = { + .name =

Re: [PATCH v10 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-04-24 Thread Dave Young
Hi, Baoquan I support this patchset. We should not fear oldmem since reserved crashkernel region is similar. No one can guarantee that any crazy code won't step into crashkernel region just because 1st kernel says it's reversed for kdump kernel. Here the root table and context tables are

Re: [PATCH 3/6] Drivers: hv: vmbus: decrease num_sc on subchannel removal

2015-04-24 Thread Vitaly Kuznetsov
Dexuan Cui de...@microsoft.com writes: -Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Tuesday, April 21, 2015 22:28 To: KY Srinivasan Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- ker...@vger.kernel.org; Dexuan Cui Subject: [PATCH 3/6]

RE: [PATCH 4/6] Drivers: hv: vmbus: move init_vp_index() call to vmbus_process_offer()

2015-04-24 Thread Dexuan Cui
-Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Tuesday, April 21, 2015 22:28 To: KY Srinivasan Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- ker...@vger.kernel.org; Dexuan Cui Subject: [PATCH 4/6] Drivers: hv: vmbus: move init_vp_index() call

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-24 Thread Borislav Petkov
On Thu, Apr 23, 2015 at 10:02:52PM -0700, Steven Noonan wrote: On Thu, Apr 23, 2015 at 2:41 PM, Borislav Petkov b...@alien8.de wrote: On Thu, Apr 23, 2015 at 11:22:39PM +0200, David Herrmann wrote: No it's not. O(256) equals O(1). Ok, you're right. Maybe O() was not the right thing to use

[PATCH v2] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages on ARM

2015-04-24 Thread Stefano Stabellini
Make sure that xen_swiotlb_init allocates buffers that are DMA capable when at least one memblock is available below 4G. Otherwise we assume that all devices on the SoC can cope with 4G addresses. We do this on ARM and ARM64, where dom0 is mapped 1:1, so pfn == mfn in this case. No functional

[PATCH] of: unittest: overlay: Keep track of created overlays

2015-04-24 Thread Pantelis Antoniou
During the course of the overlay selftests some of them remain applied. While this does not pose a real problem, make sure you track them and destroy them at the end of the test. Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com --- drivers/of/unittest.c | 62

Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

2015-04-24 Thread Denys Vlasenko
On 04/24/2015 04:15 AM, Andy Lutomirski wrote: AMD CPUs don't reinitialize the SS descriptor on SYSRET, so SYSRET with SS == 0 results in an invalid usermode state in which SS is apparently equal to __USER_DS but causes #SS if used. Work around the issue by replacing NULL SS values with

Re: [PATCH RT 3.18] irq_work: Provide a soft-irq based queue

2015-04-24 Thread Mike Galbraith
On Fri, 2015-04-24 at 11:00 +0200, Jan Kiszka wrote: The approach looks good to me, but the commit log deserves a rework now. Yeah. While you're at it, you should change my chop to an ack or a tested-by too, as it's your patch, I just rearranged a bit. -Mike -- To unsubscribe from

[RFC v3 43/45] uapi/nfs: Add NFSv4.1 ACL definitions

2015-04-24 Thread Andreas Gruenbacher
Add the ACL related protocol definitions which were added in the NFSv4.1 specifiction. Signed-off-by: Andreas Gruenbacher agrue...@redhat.com --- include/uapi/linux/nfs4.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/uapi/linux/nfs4.h b/include/uapi/linux/nfs4.h index

[RFC v3 32/45] nfsd: Remove dead declarations

2015-04-24 Thread Andreas Gruenbacher
Signed-off-by: Andreas Gruenbacher agrue...@redhat.com --- fs/nfsd/nfs4acl.c | 12 1 file changed, 12 deletions(-) diff --git a/fs/nfsd/nfs4acl.c b/fs/nfsd/nfs4acl.c index 59fd766..c630651 100644 --- a/fs/nfsd/nfs4acl.c +++ b/fs/nfsd/nfs4acl.c @@ -52,10 +52,6 @@ #define

[RFC v3 44/45] nfsd: Add support for the v4.1 dacl attribute

2015-04-24 Thread Andreas Gruenbacher
Richacls support the Automatic Inheritance permission propagation mechanism as specified in NFSv4.1. Over NFS, this requires support for the dacl attribute: compared to the acl attribute, the dacl attribute has an additional flags field which indicates when Automatic Inheritance is in use. The

Re: [RFC 11/39] richacl: Compute maximum file masks from an acl

2015-04-24 Thread Andreas Grünbacher
2015-04-20 23:28 GMT+02:00 J. Bruce Fields bfie...@fieldses.org: Cripes, by the time I got to this point I'd already written one response where I complained this was wrong, another where I explained why it was right, and gone back and forth a couple more times. Feel free to add a

[RFC v3 41/45] rpc: Allow to demand-allocate pages to encode into

2015-04-24 Thread Andreas Gruenbacher
When encoding large, variable-length objects such as acls into xdr_bufs, it is easier to allocate buffer pages on demand rather than computing the required buffer size beforehand. Signed-off-by: Andreas Gruenbacher agrue...@redhat.com --- net/sunrpc/xdr.c | 8 1 file changed, 8

[RFC v3 26/45] richacl: Move everyone@ aces down the acl

2015-04-24 Thread Andreas Gruenbacher
The POSIX standard puts processes which are not the owner or a member in the owning group or which match any ace other then everyone@ on the other file class. We only know if a process is in the other class after processing the entire acl. Move all everyone@ aces in the acl down in the acl so

[RFC v3 12/45] richacl: Compute maximum file masks from an acl

2015-04-24 Thread Andreas Gruenbacher
Compute upper bound owner, group, and other file masks with as few permissions as possible without denying any permissions that the NFSv4 acl in a richacl grants. This algorithm is used when a file inherits an acl at create time and when an acl is set via a mechanism that does not provide file

[RFC v3 06/45] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2015-04-24 Thread Andreas Gruenbacher
Richacls distinguish between creating non-directories and directories. To support that, add an isdir parameter to may_create(). When checking inode_permission() for create permission, pass in an additional MAY_CREATE_FILE or MAY_CREATE_DIR mask flag. To allow checking for delete *and* create

[RFC v3 14/45] richacl: Permission check algorithm

2015-04-24 Thread Andreas Gruenbacher
A richacl grants a requested access if the NFSv4 acl in the richacl grants the requested permissions (according to the NFSv4 permission check algorithm) and the file mask that applies to the process includes the requested permissions. Signed-off-by: Andreas Gruenbacher agrue...@redhat.com ---

[RFC v3 10/45] richacl: In-memory representation and helper functions

2015-04-24 Thread Andreas Gruenbacher
A richacl consists of an NFSv4 acl and an owner, group, and other mask. These three masks correspond to the owner, group, and other file permission bits, but they contain NFSv4 permissions instead of POSIX permissions. Each entry in the NFSv4 acl applies to the file owner (OWNER@), the owning

Re: [PATCH 4/4] tty: serial: 8250_mtk: Add support for bus clock

2015-04-24 Thread Matthias Brugger
2015-04-23 10:51 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: The mtk 8250 needs two clocks, one for providing the baudrate and one that needs to be enabled for register accesses. The latter has not been supported, this patch adds support for it. It is optional for now since not all SoCs

[RFC v3 11/45] richacl: Permission mapping functions

2015-04-24 Thread Andreas Gruenbacher
We need to map from POSIX permissions to NFSv4 permissions when a chmod() is done, from NFSv4 permissions to POSIX permissions when an acl is set (which implicitly sets the file permission bits), and from the MAY_READ/MAY_WRITE/MAY_EXEC/MAY_APPEND flags to NFSv4 permissions when doing an access

[RFC v3 13/45] richacl: Update the file masks in chmod()

2015-04-24 Thread Andreas Gruenbacher
Doing a chmod() sets the file mode, which includes the file permission bits. When a file has a richacl, the permissions that the richacl grants need to be limited to what the new file permission bits allow. This is done by setting the file masks in the richacl to what the file permission bits

[PATCH] power_supply: Add support for Richtek rt9455 battery charger

2015-04-24 Thread Anda-Maria Nicolae
Based on the datasheet found here: http://www.richtek.com/download_ds.jsp?p=RT9455 Signed-off-by: Anda-Maria Nicolae anda-maria.nico...@intel.com --- .../devicetree/bindings/power/rt9455_charger.txt | 38 + .../devicetree/bindings/vendor-prefixes.txt|1 + drivers/power/Kconfig

Re: [PATCH v5 7/8] vhost: cross-endian support for legacy devices

2015-04-24 Thread Cornelia Huck
On Fri, 24 Apr 2015 10:06:19 +0200 Greg Kurz gk...@linux.vnet.ibm.com wrote: On Fri, 24 Apr 2015 09:19:26 +0200 Cornelia Huck cornelia.h...@de.ibm.com wrote: On Thu, 23 Apr 2015 17:29:42 +0200 Greg Kurz gk...@linux.vnet.ibm.com wrote: diff --git a/include/uapi/linux/vhost.h

  1   2   3   4   5   6   7   8   9   10   >