[patch 09/11] perf_event_open.2: 4.1 add PERF_RECORD_ITRACE_START

2015-07-23 Thread Vince Weaver
This manpage patch relates to the addition of the PERF_RECORD_ITRACE_START record type in the following commit: commit ec0d7729bbaed4b9d2d3fada693278e13a3d1368 Author: Alexander Shishkin perf: Add ITRACE_START record to indicate that tracing has started

Re: Kernel broken on processors without performance counters

2015-07-23 Thread Peter Zijlstra
On Thu, Jul 23, 2015 at 11:34:50AM -0400, Steven Rostedt wrote: > On Thu, 23 Jul 2015 12:42:15 +0200 > Peter Zijlstra wrote: > > > static __always_inline bool arch_static_branch_jump(struct static_key *key, > > bool inv) > > { > > if (!inv) { > > asm_volatile_goto("1:" > >

[patch 01/11] perf_event_open.2: 4.1 PERF_SAMPLE_BRANCH_CALL_STACK

2015-07-23 Thread Vince Weaver
This manpage patch relates to the addition of the PERF_SAMPLE_BRANCH_CALL_STACK functionaliry added in the following commit: commit 2c44b1936bb3b135a3fac8b3493394d42e51cf70 Author: Peter Zijlstra perf/x86/intel: Expose LBR callstack to user space tooling

Re: Lockdep warning in VFIO using v4.2-rc3

2015-07-23 Thread Alex Williamson
On Thu, 2015-07-23 at 11:15 +0200, Joerg Roedel wrote: > Hi Alex, > > I stumbled over this lockdep warning yesterday while testing my VT-d > changes. It looks like one code path is taking the locks: > > group->device_lock > driver_lock > pci_bus_sem > > while another path is

[patch 08/11] perf_event_open.2: 4.1 add aux_watermark

2015-07-23 Thread Vince Weaver
This manpage patch relates to the addition of the aux_watermark attr field in the following commit: commit 1a5941312414c71dece6717da9a0fa1303127afa Author: Alexander Shishkin perf: Add wakeup watermark control to the AUX area Signed-off-by: Alexander Shishkin

Re: [PATCH 8/8] power: bq27xxx_battery: Cleanup health checking

2015-07-23 Thread Joe Perches
On Thu, 2015-07-23 at 18:22 +0200, Pali Rohár wrote: > On Wednesday 22 July 2015 16:52:00 Andrew F. Davis wrote: > > Reorganize the logic checking battery health and under temperature > > condition checking. [] > > diff --git a/drivers/power/bq27xxx_battery.c > > b/drivers/power/bq27xxx_battery.c

[patch 07/11] perf_event_open.2: 4.1 add AUX_FLAG_OVERWRITE support

2015-07-23 Thread Vince Weaver
This manpage patch relates to the addition of the AUX sample flag AUX_FLAG_OVERWRITE as added in the following commit: commit 2023a0d2829e521fe6ad6b9907f3f90bfbf57142 Author: Alexander Shishkin perf: Support overwrite mode for the AUX area Signed-off-by:

[patch 06/11] perf_event_open.2: 4.1 add AUX sample support

2015-07-23 Thread Vince Weaver
This manpage patch relates to the addition of the AUX sample type as added in the following commit: commit 68db7e98c3a6ebe7284b6cf14906ed7c55f3f7f0 Author: Alexander Shishkin perf: Add AUX record Signed-off-by: Alexander Shishkin Signed-off-by: Peter

Re: [PATCH v4 00/10] hugetlbfs: add fallocate support

2015-07-23 Thread Mike Kravetz
On 07/23/2015 08:17 AM, Eric B Munson wrote: On Wed, 22 Jul 2015, Mike Kravetz wrote: On 07/22/2015 03:30 PM, Andrew Morton wrote: On Wed, 22 Jul 2015 15:19:54 -0700 Davidlohr Bueso wrote: I didn't know that libhugetlbfs has tests. I wonder if that makes tools/testing/selftests/vm's

Re: [PATCH] mm: Flush the TLB for a single address in a huge page

2015-07-23 Thread Catalin Marinas
On Thu, Jul 23, 2015 at 03:13:03PM +0100, Andrea Arcangeli wrote: > On Thu, Jul 23, 2015 at 11:49:38AM +0100, Catalin Marinas wrote: > > On Thu, Jul 23, 2015 at 12:05:21AM +0100, Dave Hansen wrote: > > > On 07/22/2015 03:48 PM, Catalin Marinas wrote: > > > > You are right, on x86 the

[patch v2 00/11] perf_event_open.2: Changes introduced in Linux 4.1 and 4.0

2015-07-23 Thread Vince Weaver
The following series of patches for the perf_event_open manpage document the large number of changes made to the interface in Linux 4.0 and 4.1. This is an updated version of the patches originally posted in April, addressing feedback from the previous posting as well as adding extra

[patch 05/11] perf_event_open.2: aux_{head,tail,offset,size} support

2015-07-23 Thread Vince Weaver
This manpage patch relates to the addition of the AUX mmap region as added in the following commit: commit 45bfb2e50471abbbfd83d40d28c986078b0d24ff Author: Peter Zijlstra perf: Add AUX area to ring buffer for raw data streams Signed-off-by: Peter Zijlstra

Re: [PATCH 08/11] MTD: m25p80: Add option to limit SPI transfer size.

2015-07-23 Thread Michal Suchanek
On 23 July 2015 at 18:46, Michal Suchanek wrote: > On 22 July 2015 at 11:01, Marek Vasut wrote: >> On Wednesday, July 22, 2015 at 10:38:14 AM, Michal Suchanek wrote: >>> On 22 July 2015 at 10:24, Marek Vasut wrote: >>> > On Wednesday, July 22, 2015 at 10:18:04 AM, Michal Suchanek wrote: >>> >>

[patch 02/11] perf_event_open.2: 4.1 clockid support

2015-07-23 Thread Vince Weaver
This manpage patch relates to the addition of the clockid functionaliry added in the following commit: commit 34f439278cef7b1177f8ce24f9fc81dfc6221d3b Author: Peter Zijlstra perf: Add per event clockid support Signed-off-by: Peter Zijlstra (Intel) Cc:

[patch 04/11] perf_event_open.2: 4.1 data_offset and data_size fields

2015-07-23 Thread Vince Weaver
This manpage patch relates to the addition of the data_offset and data_size fields to the perf_event mmap buffer, as added in the following commit: commit e8c6deac69629c0cb97c3d3272f8631ef17f8f0f Author: Alexander Shishkin perf: Add data_{offset,size} to user_page

[patch 03/11] perf_event_open.2: 4.1 PERF_EVENT_IOC_SET_BPF support

2015-07-23 Thread Vince Weaver
This manpage patch relates to the addition of the PERF_EVENT_IOC_SET_BPF ioctl in the following commit: commit 2541517c32be2531e0da59dfd7efc1ce844644f5 Author: Alexei Starovoitov tracing, perf: Implement BPF programs attached to kprobes Signed-off-by:

fs: circular locking dependency cred_guard_mutex vs i_mutex_key

2015-07-23 Thread Sasha Levin
Hi all, While fuzzing with trinity in a KVM tools guest running mainline, I've stumbled on: [4660967.565503] == [4660967.566475] [ INFO: possible circular locking dependency detected ] [4660967.568699] 4.2.0-rc3-sasha-00059-g77b356f #2377 Not

Re: [PATCH 0/8] Add support for additional bq27xxx devices

2015-07-23 Thread Andreas Dannenberg
On 07/23/2015 11:27 AM, Pali Rohár wrote: > On Wednesday 22 July 2015 16:51:52 Andrew F. Davis wrote: > And I have another question for you: I see that there are now more > bq24*_charger.c drivers for TI BQ charger chips. Do you think if it is > possible to do some cleanup & merge? Or all those

Re: [PATCH 2/5] x86/entry/64, entry: Set up a valid sysenter stack and prepare for 32-bit merge

2015-07-23 Thread Steven Rostedt
On Thu, 23 Jul 2015 09:46:45 -0700 Andy Lutomirski wrote: > It is referenced by the SWAPGS_UNSAFE_STACK -> SWAPGS thing, and I'm > planning on referencing it more by removing #DB from the debug stack > soon (patches written but not tested), so the window of confusion > should be short. Fair

[GIT PULL] namespace: Infinite loop bugfixes for 4.2-rc4

2015-07-23 Thread Eric W. Biederman
Linus, Please pull the for-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: fe78fcc85a2046c51f1535710996860557eeec20 mnt: In detach_mounts detach the appropriate unmounted mount While reading through the code of

Re: [PATCH] iommu/vt-d: Fix VM domain ID leak

2015-07-23 Thread Joerg Roedel
On Wed, Jul 22, 2015 at 03:01:04PM -0600, Alex Williamson wrote: > In the meantime, we're still leaking domain IDs, do you see any problem > with the proposed patch for 4.2 and stable? Thanks, Applied and pull-request sent. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v2 06/11] mfd: qcom-smd-rpm: Driver for the Qualcomm RPM over SMD

2015-07-23 Thread Bjorn Andersson
On Thu 23 Jul 06:22 PDT 2015, Lee Jones wrote: > On Mon, 13 Jul 2015, Bjorn Andersson wrote: > > > On Tue 07 Jul 05:37 PDT 2015, Lee Jones wrote: > > > > > On Fri, 26 Jun 2015, bj...@kryo.se wrote: > > > > > > > From: Bjorn Andersson > > [..] > > > > > > diff --git a/drivers/mfd/Kconfig

Re: [PATCH] mm: Flush the TLB for a single address in a huge page

2015-07-23 Thread Dave Hansen
On 07/23/2015 09:16 AM, Catalin Marinas wrote: > Anyway, if you want to keep the option of a full TLB flush for x86 on > huge pages, I'm happy to repost a v2 with a separate > flush_tlb_pmd_huge_page that arch code can define as it sees fit. I think your patch is fine on x86. We need to keep an

Re: [PATCH 07/10] sched: Migrate sched to use new tick dependency mask model

2015-07-23 Thread Frederic Weisbecker
On Thu, Jul 23, 2015 at 06:42:12PM +0200, Frederic Weisbecker wrote: > Instead of providing asynchronous checks for the nohz subsystem to verify > sched tick dependency, migrate sched to the new mask. > > The easiest is to recycle the current asynchronous tick dependency check > which verifies

[PATCH 1/3] Docs: dt: add generic MSI bindings

2015-07-23 Thread Mark Rutland
Currently msi-parent is used in a couple of drivers despite being fairly underspecified. This patch adds a generic binding for MSIs (including the existing msi-parent property) enabling the description of platform devices capable of using MSIs. While MSIs are primarily distinguished by doorbell

[PATCH 2/3] Docs: dt: Add PCI MSI map bindings

2015-07-23 Thread Mark Rutland
Currently msi-parent is used by a few bindings to describe the relationship between a PCI root complex and a single MSI controller, but this property does not have a generic binding document. Additionally, msi-parent is insufficient to describe more complex relationships between MSI controllers

[PATCH 3/3] Docs: dt: add PCI IOMMU map bindings

2015-07-23 Thread Mark Rutland
The existing IOMMU bindings are able to specify the relationship between masters and IOMMUs, but they are insufficient for describing the general case of hotpluggable busses such as PCI where the set of masters is not known until runtime, and the relationship between masters and IOMMUs is a

Re: [PATCH] mm: Flush the TLB for a single address in a huge page

2015-07-23 Thread Dave Hansen
On 07/23/2015 08:58 AM, Andrea Arcangeli wrote: > You wrote the patch that uses the tlb_single_page_flush_ceiling, so if > the above discussion would be relevant with regard to flush_tlb_page, > are you implying that the above optimization in the kernel, should > also be removed? When I put that

[PATCH 0/3] Generic PCI MSI + IOMMU topology bindings

2015-07-23 Thread Mark Rutland
Hi all, Currently we have no generic/standard mechanisms for describing the relationship between PCI root complexes and other components which may be required to make them usable, specifically IOMMUs and MSI controllers. There is an existing binding for IOMMUs, and there is a de-facto standard

[git pull] IOMMU Fixes for Linux v4.2-rc3

2015-07-23 Thread Joerg Roedel
Hi Linus, The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v4.2-rc3 for you to fetch changes up to

Re: linux-next: build failure after merge of the ext4 tree

2015-07-23 Thread Theodore Ts'o
On Thu, Jul 23, 2015 at 10:56:23AM +1000, Stephen Rothwell wrote: > Hi Theodore, > > After merging the ext4 tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > ERROR: "wbc_account_io" [fs/ext4/ext4.ko] undefined! > ERROR: "bio_associate_blkcg" [fs/ext4/ext4.ko]

Getting rid of invalid SYSCALL RSP under Xen?

2015-07-23 Thread Andy Lutomirski
Hi- In entry_64.S, we have: ENTRY(entry_SYSCALL_64) /* * Interrupts are off on entry. * We do not frame this tiny irq-off block with TRACE_IRQS_OFF/ON, * it is too small to ever cause noticeable irq latency. */ SWAPGS_UNSAFE_STACK /* * A hypervisor

Re: [RFT PATCH v3] PCI: move pci_read_bridge_bases to the generic PCI layer

2015-07-23 Thread Guenter Roeck
On 07/23/2015 09:12 AM, Bjorn Helgaas wrote: On Thu, Jul 09, 2015 at 11:59:16AM +0100, Lorenzo Pieralisi wrote: When a PCI bus is scanned, upon PCI bridge detection the kernel has to read the bridge registers to set-up its resources so that the PCI resource hierarchy can be validated properly.

Re: [PATCH 08/11] MTD: m25p80: Add option to limit SPI transfer size.

2015-07-23 Thread Michal Suchanek
On 22 July 2015 at 11:01, Marek Vasut wrote: > On Wednesday, July 22, 2015 at 10:38:14 AM, Michal Suchanek wrote: >> On 22 July 2015 at 10:24, Marek Vasut wrote: >> > On Wednesday, July 22, 2015 at 10:18:04 AM, Michal Suchanek wrote: >> >> On 22 July 2015 at 09:58, Marek Vasut wrote: >> >> > On

Re: [PATCH 3/5] x86/entry: Merge 32-bit and 64-bit sysenter setup code

2015-07-23 Thread Andy Lutomirski
On Thu, Jul 23, 2015 at 9:06 AM, Steven Rostedt wrote: > On Thu, 23 Jul 2015 08:31:41 -0700 > Andy Lutomirski wrote: > > >> - if (!boot_cpu_has(X86_FEATURE_SEP)) >> + /* >> + * On 64-bit CPUs, enable SEP unconditionally. On Intel CPUs, >> + * it works and we use it. On AMD

Re: [PATCH 2/5] x86/entry/64, entry: Set up a valid sysenter stack and prepare for 32-bit merge

2015-07-23 Thread Andy Lutomirski
On Thu, Jul 23, 2015 at 9:10 AM, Steven Rostedt wrote: > On Thu, 23 Jul 2015 09:04:38 -0700 > Andy Lutomirski wrote: > >> On Thu, Jul 23, 2015 at 9:01 AM, Steven Rostedt wrote: >> > On Thu, 23 Jul 2015 08:31:40 -0700 >> > Andy Lutomirski wrote: >> > >> >> Oddly, 64-bit kernels already allocate

[PATCH 01/10] nohz: Remove idle task special case

2015-07-23 Thread Frederic Weisbecker
On nohz full early days, idle dynticks and full dynticks weren't well integrated and we couldn't risk full dynticks calls on idle without risking messing up tick idle statistics. This is why we prevented such thing to happen. Nowadays full dynticks and idle dynticks are better integrated and

[PATCH 06/10] perf: Migrate perf to use new tick dependency mask model

2015-07-23 Thread Frederic Weisbecker
Instead of providing asynchronous checks for the nohz subsystem to verify perf event tick dependency, migrate perf to the new mask. Perf needs the tick for two situations: 1) Freq events. We could set the tick dependency when those are installed on a CPU context. But setting a global dependency

[PATCH v7 0/2] mfd: flexcom: add a driver for Flexcom

2015-07-23 Thread Cyrille Pitchen
ChangeLog v7: - read the operating mode from the very first u32 of the reg property from the first available child node (should be unique). - update the DT bindings documentation accordingly. v6: - select the operating mode according to the "compatible" DT property of the first available

[PATCH 07/10] sched: Migrate sched to use new tick dependency mask model

2015-07-23 Thread Frederic Weisbecker
Instead of providing asynchronous checks for the nohz subsystem to verify sched tick dependency, migrate sched to the new mask. The easiest is to recycle the current asynchronous tick dependency check which verifies the class of the current task and its requirements for periodic preemption

[PATCH 08/10] posix-cpu-timers: Migrate to use new tick dependency mask model

2015-07-23 Thread Frederic Weisbecker
Instead of providing asynchronous checks for the nohz subsystem to verify posix cpu timers tick dependency, migrate the latter to the new mask. In order to keep track of the running timers and expose the tick dependency accordingly, we must probe the timers queuing and dequeuing on threads and

[PATCH 10/10] nohz: Remove task switch obsolete tick dependency check

2015-07-23 Thread Frederic Weisbecker
The task switch check was there to evaluate task level tick dependencies. Now all of them have been converted to the new CPU or system wide tick dependency masks that are toggled by the concerned subsystems. We can safely remove it. Cc: Christoph Lameter Cc: Ingo Molnar Cc: Peter Zijlstra Cc:

[PATCH 09/10] sched-clock: Migrate to use new tick dependency mask model

2015-07-23 Thread Frederic Weisbecker
Instead of checking sched_clock_stable from the nohz subsystem to verify its tick dependency, migrate it to the new mask in order to include it to the all-in-one check. Cc: Christoph Lameter Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Preeti U Murthy Cc: Rik van Riel Cc: Thomas Gleixner Cc:

Re: [PATCH v9 0/7] FPGA Manager Framework and Simple FPGA Bus

2015-07-23 Thread atull
On Thu, 23 Jul 2015, Greg KH wrote: > On Fri, Jul 17, 2015 at 10:51:10AM -0500, at...@opensource.altera.com wrote: > > From: Alan Tull > > > > This patchset adds two chunks plus documentation: > > * fpga manager core: exports ABI functions that write an image to a FPGA > > * DT Overlay

[PATCH 02/10] nohz: Restart nohz full tick from irq exit

2015-07-23 Thread Frederic Weisbecker
Restart the tick when necessary from the irq exit path. It makes nohz full more flexible, simplify the related IPIs and doesn't bring significant overhead on irq exit. In a longer term view, it will allow us to piggyback the nohz kick on the scheduler IPI in the future instead of sending a

Re: [RFC PATCH] block: xfs: dm thin: train XFS to give up on retrying IO if thinp is out of space

2015-07-23 Thread Vivek Goyal
On Thu, Jul 23, 2015 at 03:10:43PM +1000, Dave Chinner wrote: [..] > I don't think knowing the bdev timeout is necessary because the > default is most likely to be "fail fast" in this case. i.e. no > retries, just shut down. IOWs, if we describe the configs and > actions in neutral terms, then

[PATCH v7 1/2] mfd: devicetree: add bindings for Atmel Flexcom

2015-07-23 Thread Cyrille Pitchen
This patch documents the DT bindings for the Atmel Flexcom which will be introduced by sama5d2x SoCs. These bindings will be used by the actual Flexcom driver to be sent in another patch. Signed-off-by: Cyrille Pitchen --- .../devicetree/bindings/mfd/atmel-flexcom.txt | 68

[PATCH v7 2/2] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-07-23 Thread Cyrille Pitchen
This driver supports the new Atmel Flexcom. The Flexcom is a wrapper which integrates one SPI controller, one I2C controller and one USART. Only one function can be enabled at a time. This driver selects the function once for all, when the Flexcom is probed, using the "reg" property of the first

[PATCH 04/10] nohz: Remove useless argument on tick_nohz_task_switch()

2015-07-23 Thread Frederic Weisbecker
Leftover from early code. Cc: Christoph Lameter Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Preeti U Murthy Cc: Rik van Riel Cc: Thomas Gleixner Cc: Viresh Kumar Signed-off-by: Frederic Weisbecker --- include/linux/tick.h | 8 kernel/sched/core.c | 2 +-

[PATCH 00/10] nohz: Tick dependency mask v2

2015-07-23 Thread Frederic Weisbecker
Currently in nohz full configs, the tick dependency is checked asynchronously by nohz code from interrupt and context switch for each concerned subsystem with a set of function provided by these. These functions are made of many conditions and details that can be heavyweight:

Re: [PATCH v6 2/2] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-07-23 Thread Cyrille Pitchen
Hi all, Le 23/07/2015 14:50, Boris Brezillon a écrit : > On Thu, 23 Jul 2015 10:13:11 +0100 > Lee Jones wrote: > >> On Thu, 23 Jul 2015, Boris Brezillon wrote: >> >>> Hi Lee, >>> >>> On Thu, 23 Jul 2015 08:32:17 +0100 >>> Lee Jones wrote: >>> On Wed, 22 Jul 2015, Cyrille Pitchen wrote:

[PATCH 03/10] nohz: Move tick_nohz_restart_sched_tick() above its users

2015-07-23 Thread Frederic Weisbecker
Fix the function declaration/definition dance. Reviewed-by: Rik van Riel Cc: Christoph Lameter Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Preeti U Murthy Cc: Rik van Riel Cc: Thomas Gleixner Cc: Viresh Kumar Signed-off-by: Frederic Weisbecker --- kernel/time/tick-sched.c | 34

[PATCH 05/10] nohz: New tick dependency mask

2015-07-23 Thread Frederic Weisbecker
The tick dependency is evaluated on every IRQ. This is a batch of checks which determine whether it is safe to stop the tick or not. These checks are often split in many details: posix cpu timers, scheduler, sched clock, perf events. Each of which are made of smaller details: posix cpu timer

Re: Re: Re: [RFC PATCH perf/core v2 00/16] perf-probe --cache and SDT support

2015-07-23 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 24, 2015 at 01:24:53AM +0900, Masami Hiramatsu escreveu: > On 2015/07/23 23:01, Arnaldo Carvalho de Melo wrote: > > This needs refining, i.e. I should just warn that albeit > > "probe:vfs_getname" is available, > > it can't be used, unless we open the doors wide. > > > > Sorry for

Re: [PATCH v2 05/11] mfd: devicetree: bindings: Add Qualcomm SMD based RPM DT binding

2015-07-23 Thread Bjorn Andersson
On Thu 23 Jul 06:31 PDT 2015, Lee Jones wrote: > On Mon, 13 Jul 2015, Bjorn Andersson wrote: > > > On Tue 07 Jul 05:16 PDT 2015, Lee Jones wrote: > > > > > FAO Mark and DT chaps, > > > > > > > From: Bjorn Andersson > > > > > > > > Add binding documentation for the Qualcomm Resource Power

[PATCH] ASoC: xtensa: Remove unnecessary snd_pcm_lib_preallocate_free_for_all()

2015-07-23 Thread Vaishali Thakkar
The ALSA core takes care that all preallocated memory is freed when the PCM itself is freed. There is no need to do this manually in the driver. Signed-off-by: Vaishali Thakkar --- sound/soc/xtensa/xtfpga-i2s.c | 6 -- 1 file changed, 6 deletions(-) diff --git

Re: [PATCH v9 5/7] staging: fpga manager core

2015-07-23 Thread atull
On Wed, 22 Jul 2015, Moritz Fischer wrote: Hi Miritz, > Hi Alan, > > a couple of small things I found while reworking the Zynq version to > match the v9 patchset: > > On Fri, Jul 17, 2015 at 8:51 AM, wrote: > > From: Alan Tull > > ... > > + ret = mgr->mops->write_complete(mgr); > >

[RFC][PATCH] ipc: Use private shmem or hugetlbfs inodes for shm segments.

2015-07-23 Thread Stephen Smalley
The shm implementation internally uses shmem or hugetlbfs inodes for shm segments. As these inodes are never directly exposed to userspace and only accessed through the shm operations which are already hooked by security modules, mark the inodes with the S_PRIVATE flag so that inode security

Re: [PATCH 0/8] Add support for additional bq27xxx devices

2015-07-23 Thread Pali Rohár
On Wednesday 22 July 2015 16:51:52 Andrew F. Davis wrote: > This series adds support for several additional bq27xxx devices and > makes a few related fixes. > Thanks for some cleanup of bq27xxx battery driver! Did you tested your patches? On which devices (with which bq chips)? And I have

[PATCH V3 2/3] onkey: da9063: Add DA9062 OnKey capability to DA9063 OnKey driver

2015-07-23 Thread S Twiss
From: S Twiss Add DA9062 OnKey support into the existing DA9063 OnKey driver component by using generic access tables for common register and bit mask definitions. The following change will add generic register and bit mask support to the DA9063 OnKey. The following alterations have been made

Re: Re: Re: [RFC PATCH perf/core v2 00/16] perf-probe --cache and SDT support

2015-07-23 Thread Masami Hiramatsu
On 2015/07/23 23:01, Arnaldo Carvalho de Melo wrote: > Em Thu, Jul 23, 2015 at 10:13:22PM +0900, Masami Hiramatsu escreveu: >> On 2015/07/22 23:12, Hemant Kumar wrote: >>> On 07/17/2015 08:51 AM, Masami Hiramatsu wrote: On 2015/07/16 12:13, Hemant Kumar wrote: >>> The idea behind '%' was to

[PATCH V3 1/3] mfd: da9062: Support for the DA9063 OnKey in the DA9062 core

2015-07-23 Thread S Twiss
From: S Twiss Add MFD core driver support for a OnKey component - MFD core adds the resource da9062_onkey_resources[] for the OnKey - An appropriate value has been added into mfd_cell da9062_devs[] to support component .name = "da9062-onkey" and .of_compatible = "dlg,da9062-onkey"

Re: [PATCH 6/7] selinux: Ignore security labels on user namespace mounts

2015-07-23 Thread Seth Forshee
On Thu, Jul 23, 2015 at 11:36:03AM -0400, Stephen Smalley wrote: > On 07/23/2015 10:39 AM, Seth Forshee wrote: > > On Thu, Jul 23, 2015 at 09:57:20AM -0400, Stephen Smalley wrote: > >> On 07/22/2015 04:40 PM, Stephen Smalley wrote: > >>> On 07/22/2015 04:25 PM, Stephen Smalley wrote: > On

[PATCH V3 3/3] devicetree: da9062: Add device tree bindings for DA9062 OnKey

2015-07-23 Thread S Twiss
From: S Twiss Add device tree bindings for the DA9062 OnKey driver component Signed-off-by: Steve Twiss --- Changes in V3: - Child driver specifics separated out into separate document in this case ../input/da9062-onkey.txt Changes in V2: - No change This patch applies against

[PATCH V3 0/3] da9062: Add DA9062 OnKey support using the existing DA9063 OnKey driver

2015-07-23 Thread S Twiss
From: S Twiss This patch set adds OnKey support for the Dialog DA9062 Power Management IC. Changes are made to the existing DA9063 OnKey component so that functionality in this device driver can be re-used to support the DA9062 OnKey. This following patch set re-uses the existing kernel OnKey

Re: [PATCH 8/8] power: bq27xxx_battery: Cleanup health checking

2015-07-23 Thread Pali Rohár
On Wednesday 22 July 2015 16:52:00 Andrew F. Davis wrote: > Reorganize the logic checking battery health and under temperature > condition checking. > > Signed-off-by: Andrew F. Davis > --- > drivers/power/bq27xxx_battery.c | 62 > +++-- > 1 file changed, 41

Re: [RFC PATCH] tools lib traceevent: Allow setting an alternative symbol resolver

2015-07-23 Thread Steven Rostedt
On Thu, 23 Jul 2015 12:04:33 -0300 Arnaldo Carvalho de Melo wrote: > > +static struct func_map * > +find_func(struct pevent *pevent, unsigned long long addr) > +{ > + static struct func_map map; I know there's other cases of static variables in functions, but I plan on cleaning that up in

Re: [PATCH 7/8] power: bq27xxx_battery: Add support for additional bq27xxx family devices

2015-07-23 Thread Pali Rohár
On Wednesday 22 July 2015 16:51:59 Andrew F. Davis wrote: > Add support for additional devices and register equivalent family devices > including the bq27010, bq27210, bq272500, bq27510, bq27520, bq27530, > bq27531, bq27541, bq27542, bq27546, bq27545, bq27441, bq27421, and the > bq27641. > > To

Re: [PATCH v2 2/2] watchdog: add wdt shutdown callback to disable wdt if enabled

2015-07-23 Thread Guenter Roeck
On 07/22/2015 10:49 PM, Eddie Huang wrote: From: Greta Zhang Without .shutdown(), watchdog might reset the system during power off. For example, if watchdog's timeout is set to 30s, then it is reset to zero by mtk_wdt_ping(). During power off, no app will ping watchdog, but watchdog is still

Re: [PATCH 5/8] power: bq27x00_battery: Renaming for consistency

2015-07-23 Thread Pali Rohár
On Wednesday 22 July 2015 16:51:57 Andrew F. Davis wrote: > Rename functions that are used by multiple devices. New devices > have been added and the function names and driver name are no longer > general enough for the functionality they provide. > > Signed-off-by: Andrew F. Davis > --- >

Re: [PATCH] mm: Flush the TLB for a single address in a huge page

2015-07-23 Thread Catalin Marinas
On Thu, Jul 23, 2015 at 03:41:24PM +0100, Dave Hansen wrote: > On 07/23/2015 07:13 AM, Andrea Arcangeli wrote: > > On Thu, Jul 23, 2015 at 11:49:38AM +0100, Catalin Marinas wrote: > >> On Thu, Jul 23, 2015 at 12:05:21AM +0100, Dave Hansen wrote: > >>> On 07/22/2015 03:48 PM, Catalin Marinas wrote:

Re: [PATCH 6/8] power: bq27xxx_battery: Fix typos and change naming for state of charge functions

2015-07-23 Thread Pali Rohár
On Wednesday 22 July 2015 16:51:58 Andrew F. Davis wrote: > Fix typos and change "relative state of charge" to "state of charge" as not > all supported devices use relative state of charge. > > Signed-off-by: Andrew F. Davis > --- > drivers/power/bq27xxx_battery.c | 26

Re: [PATCHv2 0/3] regmap: Use different lockdep class for each regmap init call

2015-07-23 Thread Liviu Dudau
On Thu, Jul 23, 2015 at 09:45:53AM +0100, Nicolas Boichat wrote: > Hi Mark, > > On Wed, Jul 8, 2015 at 2:30 PM, Nicolas Boichat wrote: > > Second version. Small fixup in the regmap patch itself [3/3] (the > > declaration of __devm_regmap_init_ac97 was missing lock_key/name > > parameters). > > >

Re: [RFT PATCH v3] PCI: move pci_read_bridge_bases to the generic PCI layer

2015-07-23 Thread Bjorn Helgaas
On Thu, Jul 09, 2015 at 11:59:16AM +0100, Lorenzo Pieralisi wrote: > When a PCI bus is scanned, upon PCI bridge detection the kernel > has to read the bridge registers to set-up its resources so that > the PCI resource hierarchy can be validated properly. > > Most if not all architectures read

Re: [PATCH v2 1/2] watchdog: add wdt suspend/resume support

2015-07-23 Thread Guenter Roeck
On 07/22/2015 10:49 PM, Eddie Huang wrote: From: Greta Zhang add wdt driver suspend/resume support Signed-off-by: Greta Zhang Signed-off-by: Roger Lu Signed-off-by: Eddie Huang Subject line should identify the driver, ie mtk_wdt. "wdt" doesn't really help. Other than that,

Re: [PATCH v2 3/4] mfd: Add DT binding for Maxim MAX77802 IC

2015-07-23 Thread Javier Martinez Canillas
Hello Lee, Thanks for your feedback. On 07/23/2015 05:16 PM, Lee Jones wrote: > On Fri, 17 Jul 2015, Javier Martinez Canillas wrote: > >> The MAX77802 is a chip that contains regulators, 2 32kHz clocks, >> a RTC and an I2C interface to program the individual components. >> >> The are already DT

Re: [PATCH 2/5] x86/entry/64, entry: Set up a valid sysenter stack and prepare for 32-bit merge

2015-07-23 Thread Steven Rostedt
On Thu, 23 Jul 2015 09:04:38 -0700 Andy Lutomirski wrote: > On Thu, Jul 23, 2015 at 9:01 AM, Steven Rostedt wrote: > > On Thu, 23 Jul 2015 08:31:40 -0700 > > Andy Lutomirski wrote: > > > >> Oddly, 64-bit kernels already allocate a percpu sysenter stack, but > >> they don't enable it. Enable

Re: [PATCH 3/5] x86/entry: Merge 32-bit and 64-bit sysenter setup code

2015-07-23 Thread Steven Rostedt
On Thu, 23 Jul 2015 08:31:41 -0700 Andy Lutomirski wrote: > - if (!boot_cpu_has(X86_FEATURE_SEP)) > + /* > + * On 64-bit CPUs, enable SEP unconditionally. On Intel CPUs, > + * it works and we use it. On AMD CPUs, the MSRs exist but EIP > + * is truncated to 32 bits.

Re: [PATCH 2/5] x86/entry/64, entry: Set up a valid sysenter stack and prepare for 32-bit merge

2015-07-23 Thread Andy Lutomirski
On Thu, Jul 23, 2015 at 9:01 AM, Steven Rostedt wrote: > On Thu, 23 Jul 2015 08:31:40 -0700 > Andy Lutomirski wrote: > >> Oddly, 64-bit kernels already allocate a percpu sysenter stack, but >> they don't enable it. Enable the stack and tweak the rest of the >> sysenter setup code to be similar

Re: [PATCH 4/8] power: bq27x00_battery: Checkpatch fixes

2015-07-23 Thread Dan Murphy
On 07/22/2015 04:51 PM, Andrew F. Davis wrote: > Remove space before tab. > Remove unnecessary line continuations. > Add braces to else statement. > Remove unnecessary parentheses. > Remove unneeded blank lines. > Remove unnecessary 'out of memory' message. > Add missing line after declarations. >

Re: [PATCH 1/5] x86/entry/32: Clean up enable_sep_cpu to prepare for 64-bit merge

2015-07-23 Thread Andy Lutomirski
On Thu, Jul 23, 2015 at 8:56 AM, Steven Rostedt wrote: > On Thu, 23 Jul 2015 08:31:39 -0700 > Andy Lutomirski wrote: > >> Switch from wrmsr to wrmsrl_safe to prepare to merge the 32-bit and >> 64-bit code, and use __KERNEL_CS explicitly to initialize >> MSR_IA32_SYSENTER_CS. While we're at it,

Re: [PATCH 3/8] power: bq27x00_battery: Fix function parameter alignment

2015-07-23 Thread Dan Murphy
On 07/22/2015 04:51 PM, Andrew F. Davis wrote: > Fix the alignment of function parameters on new lines. > > Signed-off-by: Andrew F. Davis > --- > drivers/power/bq27x00_battery.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git

Re: [PATCH 4/8] power: bq27x00_battery: Checkpatch fixes

2015-07-23 Thread Pali Rohár
On Wednesday 22 July 2015 16:51:56 Andrew F. Davis wrote: > Remove space before tab. > Remove unnecessary line continuations. > Add braces to else statement. > Remove unnecessary parentheses. > Remove unneeded blank lines. > Remove unnecessary 'out of memory' message. > Add missing line after

Re: [PATCH 2/8] power: bq27x00_battery: Fix lines over 80 characters long

2015-07-23 Thread Dan Murphy
On 07/22/2015 04:51 PM, Andrew F. Davis wrote: > Shorted lines over 80 characters long by reducing tab count. > > Signed-off-by: Andrew F. Davis > --- > drivers/power/bq27x00_battery.c | 74 > - > 1 file changed, 37 insertions(+), 37 deletions(-) > > diff

Re: [PATCH 1/8] power: bq27x00_battery: Add manufacturer property

2015-07-23 Thread Pali Rohár
On Wednesday 22 July 2015 16:51:53 Andrew F. Davis wrote: > Add the manufacturer property to the bq27x00 driver. > > Signed-off-by: Andrew F. Davis > --- > drivers/power/bq27x00_battery.c | 9 + > 1 file changed, 9 insertions(+) > Acked-by: Pali Rohár -- Pali Rohár

Re: [PATCH 3/8] power: bq27x00_battery: Fix function parameter alignment

2015-07-23 Thread Pali Rohár
On Wednesday 22 July 2015 16:51:55 Andrew F. Davis wrote: > Fix the alignment of function parameters on new lines. > > Signed-off-by: Andrew F. Davis > --- > drivers/power/bq27x00_battery.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > Acked-by: Pali Rohár --

Re: [PATCH 2/5] x86/entry/64, entry: Set up a valid sysenter stack and prepare for 32-bit merge

2015-07-23 Thread Steven Rostedt
On Thu, 23 Jul 2015 08:31:40 -0700 Andy Lutomirski wrote: > Oddly, 64-bit kernels already allocate a percpu sysenter stack, but > they don't enable it. Enable the stack and tweak the rest of the > sysenter setup code to be similar to the 32-bit version. I'm curious. Did you do any

Re: [PATCH RFC V2 1/1] x86, perf: Add a freq pmu driver

2015-07-23 Thread Stephane Eranian
On Thu, Jul 23, 2015 at 8:52 AM, Andy Lutomirski wrote: > On Thu, Jul 23, 2015 at 8:44 AM, Stephane Eranian wrote: >> I understand the value of the tsc and smi events. It is not >> clear to me what aperf/mperf buys you over cycles and ref-cycles: >> >> $ perf stat -a -e

Re: [PATCH 2/8] power: bq27x00_battery: Fix lines over 80 characters long

2015-07-23 Thread Pali Rohár
On Wednesday 22 July 2015 16:51:54 Andrew F. Davis wrote: > Shorted lines over 80 characters long by reducing tab count. > > Signed-off-by: Andrew F. Davis > --- > drivers/power/bq27x00_battery.c | 74 > - > 1 file changed, 37 insertions(+), 37

Re: do_IRQ: 0.126 No irq handler for vector (irq -1)

2015-07-23 Thread Stefan Priebe
Am 22.07.2015 um 09:23 schrieb Stefan Priebe - Profihost AG: Am 21.07.2015 um 23:15 schrieb Thomas Gleixner: On Tue, 21 Jul 2015, Stefan Priebe wrote: Am 20.07.2015 um 12:53 schrieb Thomas Gleixner: On Mon, 20 Jul 2015, Stefan Priebe - Profihost AG wrote: Hello list, i've 36 servers all

Re: Re: [PATCH v9 12/22] tracing: Add hist trigger support for pausing and continuing a trace

2015-07-23 Thread Tom Zanussi
On Thu, 2015-07-23 at 23:06 +0900, Masami Hiramatsu wrote: > On 2015/07/23 5:22, Tom Zanussi wrote: > > Hi Masami, > > > > On Wed, 2015-07-22 at 17:20 +0900, Masami Hiramatsu wrote: > >> Hi Tom, > >> > >> On 2015/07/17 2:22, Tom Zanussi wrote: > >>> Allow users to append 'pause' or 'continue' to

Re: [RFC PATCH 2/4] x86/mce: Rename rcu_dereference_check_mce() to mce_log_get_idx_check()

2015-07-23 Thread Paul E. McKenney
On Wed, Jul 22, 2015 at 10:40:26AM +0200, Borislav Petkov wrote: > From: Borislav Petkov > > The "rcu_" prefix misleads for it being a proper RCU interface which > is not. It basically checks whether we're preemptible or holding the > chrdev_read mutex. > > Rename it accordingly. > >

Re: [PATCH] mm: Flush the TLB for a single address in a huge page

2015-07-23 Thread Andrea Arcangeli
On Thu, Jul 23, 2015 at 07:41:24AM -0700, Dave Hansen wrote: > We had a discussion about this a few weeks ago: > > https://lkml.org/lkml/2015/6/25/666 > > The argument is that the CPU is so good at refilling the TLB that it > rarely waits on it, so the "cost" can be very very low. That

Re: [PATCH 1/5] x86/entry/32: Clean up enable_sep_cpu to prepare for 64-bit merge

2015-07-23 Thread Steven Rostedt
On Thu, 23 Jul 2015 08:31:39 -0700 Andy Lutomirski wrote: > Switch from wrmsr to wrmsrl_safe to prepare to merge the 32-bit and > 64-bit code, and use __KERNEL_CS explicitly to initialize > MSR_IA32_SYSENTER_CS. While we're at it, tweak the whitespace a > bit. Saying "prepare to merge the

Re: [PATCH 1/8] power: bq27x00_battery: Add manufacturer property

2015-07-23 Thread Dan Murphy
On 07/22/2015 04:51 PM, Andrew F. Davis wrote: > Add the manufacturer property to the bq27x00 driver. > > Signed-off-by: Andrew F. Davis > --- > drivers/power/bq27x00_battery.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/drivers/power/bq27x00_battery.c

Re: [PATCH-v2 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-07-23 Thread Lee Jones
On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: > 88PM860 device supports dual phase mode on BUCK1 output. > In normal usecase, BUCK1A and BUCK1B operates independently with 3A > capacity. And they both can work as a dual phase providing 6A capacity. > > This patch updates the regulator driver to

Re: [PATCH-v2 1/2] mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable

2015-07-23 Thread Lee Jones
On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: > 88PM860 family of device supports dual phase mode on BUCK1 supply > providing total 6A capacity. > Note that by default they operate independently with 3A capacity. > > This patch updates the devicetree binding with DT property > to enable

Re: [PATCH RFC V2 1/1] x86, perf: Add a freq pmu driver

2015-07-23 Thread Andy Lutomirski
On Thu, Jul 23, 2015 at 8:44 AM, Stephane Eranian wrote: > I understand the value of the tsc and smi events. It is not > clear to me what aperf/mperf buys you over cycles and ref-cycles: > > $ perf stat -a -e msr/aperf/,msr/mperf/,cycles,ref-cycles -C 1 -I 1000 sleep > 10 > # time

Re: [PATCH 1/4] mfd: 88pm800: Update the header file with 32K clk related macros

2015-07-23 Thread Lee Jones
On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: > Update header file with required macros for 32KHz buffered clock > output of 88PM800 family of device. > These macros will be used in clk provider driver. > > Signed-off-by: Vaibhav Hiremath > --- > include/linux/mfd/88pm80x.h | 12 >

[RFC PATCH] block: dm thin: export how block device handles -ENOSPC

2015-07-23 Thread Mike Snitzer
On Thu, Jul 23 2015 at 10:33P -0400, Mike Snitzer wrote: > If you just want to stub out the call to bdev_get_nospace_strategy() I > can crank through implementing it once I get a few minutes. I didn't use a 4th EOPNOTSUPP enum since if a device doesn't have any special -ENOSPC handling it'd

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