[PATCH 2/2] drm/amdgpu: Poll for both connect/disconnect on analog connectors

2016-06-24 Thread Lyude
DRM_CONNECTOR_POLL_CONNECT only enables polling for connections, not disconnections. Because of this, we end up losing hotplug polling for analog connectors once they get connected. Easy way to reproduce: - Grab a machine with an AMD GPU and a VGA port - Plug a monitor into the VGA port, wait fo

[PATCH v6 0/4] Fixes for HPD

2016-06-24 Thread Lyude
Latest version of: https://lists.freedesktop.org/archives/intel-gfx/2016-June/098787.html The only patch that's changed here is 4/4, the rest are just being sent so that they can be in one thread to make things easier for reviewers Lyude (4): drm/i915/vlv: Make intel_crt_reset() per-encoder

[PATCH 1/2] drm/radeon: Poll for both connect/disconnect on analog connectors

2016-06-24 Thread Lyude
DRM_CONNECTOR_POLL_CONNECT only enables polling for connections, not disconnections. Because of this, we end up losing hotplug polling for analog connectors once they get connected. Easy way to reproduce: - Grab a machine with a radeon GPU and a VGA port - Plug a monitor into the VGA port, wait

[PATCH v3 1/6] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2016-06-24 Thread Han Xu
support GPMI NAND on i.MX7D Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 30 -- drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 7 +-

[PATCH v3 6/6] Documentation: dt: mtd: gpmi: document the new supported chip in DT

2016-06-24 Thread Han Xu
listed all supported chips in DT. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi-nand.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt index a

[PATCH v3 4/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2016-06-24 Thread Han Xu
i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to ecc_strength and if bitflip detected, GPMI driver will correct the data to all 0xFF. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nan

[PATCH v3 3/6] mtd: nand: gpmi: add GPMI NAND support for i.MX6QP

2016-06-24 Thread Han Xu
support GPMI NAND on i.MX6QP Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 5 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-

[PATCH v3 5/6] mtd: nand: gpmi: support NAND on i.MX6UL

2016-06-24 Thread Han Xu
support GPMI NAND on i.MX6UL Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 5 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-

[PATCH v3 2/6] Documentation: dt: mtd: gpmi: document the clocks and clock-names in DT property

2016-06-24 Thread Han Xu
add the clocks and clock-names in DT property, gpmi-io clock is mandatory for all platforms, but some platforms, such as i.MX6Q may need more extra clocks for submodules. More details please refer to the SoC reference manual. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi-n

[PATCH v3 0/6] support gpmi on i.MX6UL/7D and HW bitflip on i.MX6QP/7D

2016-06-24 Thread Han Xu
add support for gpmi nand on i.MX6UL and i.MX7D, document the related properties in DT and add the HW bitflip detection and correction for i.MX6QP and i.MX7D. v1 ---> v2: fix several indent and open parenthesis issues drop off the void cast rebase to latest code and adopt to SW bitflip code split

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-24 Thread Andy Lutomirski
On Fri, Jun 24, 2016 at 2:32 PM, Linus Torvalds wrote: > On Fri, Jun 24, 2016 at 2:25 PM, Andy Lutomirski wrote: >> >> What's the prognosis for this patch? Should I queue up all the pieces >> and send them out after the vmap-stack thing? > > I'm going to split this thing up and apply the "semant

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-24 Thread Linus Torvalds
On Fri, Jun 24, 2016 at 2:25 PM, Andy Lutomirski wrote: > > What's the prognosis for this patch? Should I queue up all the pieces > and send them out after the vmap-stack thing? I'm going to split this thing up and apply the "semantically null" cleanup parts. For example, this patch makes it cl

Re: acpi: broken suspend to RAM with v4.7-rc1

2016-06-24 Thread Andrey Skvortsov
On 24 Jun, Zheng, Lv wrote: > Hi, > > > From: Andrey Skvortsov [mailto:andrej.skvort...@gmail.com] > > Subject: Re: acpi: broken suspend to RAM with v4.7-rc1 > > > > Hi Lv, > > > > On 13 Jun, Zheng, Lv wrote: > > > > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > > > > ow...@vger.k

Re: [PATCH 4/5] pwm: tegra: Add DT node compatible for Tegra186

2016-06-24 Thread Stephen Warren
On 06/24/2016 10:10 AM, Rob Herring wrote: On Wed, Jun 22, 2016 at 02:46:14PM +0200, Thierry Reding wrote: On Wed, Jun 22, 2016 at 05:17:22PM +0530, Laxman Dewangan wrote: Tegra186 has 8 different PWM controller and each controller has only one output. Earlier generation SoCs have the 4 PWM out

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-24 Thread Andy Lutomirski
On Fri, Jun 24, 2016 at 2:06 PM, Linus Torvalds wrote: > On Fri, Jun 24, 2016 at 1:51 PM, Josh Poimboeuf wrote: >> >> Found another bug: > > Yup. Those two were the ones that kept it from working for me. Thanks. > > Anyway, here's the final combined patch that works for me on x86-64. > No more th

Re: [PATCH v3 2/4] iio: adc: mxs-lradc: Add support for adc driver

2016-06-24 Thread Stefan Wahren
> Ksenija Stanojevic hat am 24. Juni 2016 um > 14:10 geschrieben: > > > Add support for sixteen-channel 12-bit resolution ADC and its functions, > which include general-purpose ADC readings, battery voltage measurement, > and die temperature measurement. > > Signed-off-by: Ksenija Stanojevic

Re: [PATCH v3 1/4] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-06-24 Thread Stefan Wahren
Hi, > Ksenija Stanojevic hat am 24. Juni 2016 um > 14:09 geschrieben: > > > Add core files for mxs-lradc MFD driver. > > Note: this patch won't compile in iio/testing without this patch: > a8f447be8056 ("mfd: Add resource managed APIs for mfd_add_devices") > > Signed-off-by: Ksenija Stanojev

Re: [Y2038] [PATCH v2 07/24] fs: ubifs: Replace CURRENT_TIME_SEC with current_time

2016-06-24 Thread Arnd Bergmann
On Friday, June 24, 2016 2:05:11 PM CEST Deepa Dinamani wrote: > > This part of the patch seems independent of the rest, as you don't actually > > use current_time() here, or assign the timespec to an inode. > > > > I'd suggest either leaving this part out of the patch series for now, > > or making

Re: Is LTO_REFERENCE_INITCALL() still needed?

2016-06-24 Thread Andi Kleen
> But nothing quite obviously setting these upstream. I'm probably just > missing something obvious though. Either way I figured now would be a > good time to ask as I have other code that would use this, the linker > table stuff I've been working. If we can avoid propagating more use of > LTO_REFE

Re: [PATCH v2 07/24] fs: ubifs: Replace CURRENT_TIME_SEC with current_time

2016-06-24 Thread Deepa Dinamani
>> @@ -84,6 +84,8 @@ static int create_default_filesystem(struct ubifs_info *c) >> int min_leb_cnt = UBIFS_MIN_LEB_CNT; >> long long tmp64, main_bytes; >> __le64 tmp_le64; >> + __le32 tmp_le32; >> + struct timespec ts; >> >> /* Some functions called from

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-24 Thread Josh Poimboeuf
On Fri, Jun 24, 2016 at 11:11:47AM -0700, Linus Torvalds wrote: > On Fri, Jun 24, 2016 at 10:51 AM, Linus Torvalds > wrote: > > > > And in particular, the init_task stack initialization initialized it > > to the init_thread pointer. Which was definitely deadly. > > > > Let's see if that was it.. >

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-24 Thread Linus Torvalds
On Fri, Jun 24, 2016 at 1:51 PM, Josh Poimboeuf wrote: > > Found another bug: Yup. Those two were the ones that kept it from working for me. Thanks. Anyway, here's the final combined patch that works for me on x86-64. No more thread-info on the stack. Linus This is an

Re: [PATCH v6 4/5] arm64: add support for ACPI Low Power Idle(LPI)

2016-06-24 Thread Daniel Lezcano
On 06/22/2016 04:17 PM, Lorenzo Pieralisi wrote: Hi Sudeep, On Tue, Jun 14, 2016 at 03:48:38PM +0100, Sudeep Holla wrote: This patch adds appropriate callbacks to support ACPI Low Power Idle (LPI) on ARM64. Now that arm_enter_idle_state is exactly same in both generic ARM{32,64} CPUIdle driver

Re: [PATCH] mm/compaction: remove unnecessary order check in try_to_compact_pages()

2016-06-24 Thread Andrew Morton
On Wed, 15 Jun 2016 14:16:20 +0530 Anshuman Khandual wrote: > On 06/15/2016 12:22 PM, Ganesh Mahendran wrote: > > The caller __alloc_pages_direct_compact() already check (order == 0). > > So no need to check again. > > Yeah, the caller (__alloc_pages_direct_compact) checks if the order of > all

Re: [PATCH] pwm: Create device class for pwm channels

2016-06-24 Thread David Hsu
On Wed, Jun 15, 2016 at 4:52 PM, David Hsu wrote: > On Wed, Jun 15, 2016 at 7:37 AM, Thierry Reding > wrote: >> On Tue, Jun 14, 2016 at 07:12:04PM -0700, Greg KH wrote: >>> From: David Hsu >>> >>> Pwm channels don't send uevents when exported, this change adds the >>> channels to a pwm class and

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-24 Thread Andy Lutomirski
On Fri, Jun 24, 2016 at 1:51 PM, Josh Poimboeuf wrote: > On Fri, Jun 24, 2016 at 03:25:30PM -0500, Josh Poimboeuf wrote: >> On Fri, Jun 24, 2016 at 11:11:47AM -0700, Linus Torvalds wrote: >> > On Fri, Jun 24, 2016 at 10:51 AM, Linus Torvalds >> > wrote: >> > > >> > > And in particular, the init_t

[ANNOUNCE] 3.2.81-rt116

2016-06-24 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.81-rt116 stable release. This release is just an update to the new stable 3.2.81 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-24 Thread Josh Poimboeuf
On Fri, Jun 24, 2016 at 03:25:30PM -0500, Josh Poimboeuf wrote: > On Fri, Jun 24, 2016 at 11:11:47AM -0700, Linus Torvalds wrote: > > On Fri, Jun 24, 2016 at 10:51 AM, Linus Torvalds > > wrote: > > > > > > And in particular, the init_task stack initialization initialized it > > > to the init_threa

[ANNOUNCE] 3.18.36-rt37

2016-06-24 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.18.36-rt37 stable release. This release is just an update to the new stable 3.18.36 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt

[ANNOUNCE] 3.10.102-rt112

2016-06-24 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.10.102-rt112 stable release. This release is just an update to the new stable 3.10.102 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable

[ANNOUNCE] 3.4.112-rt142

2016-06-24 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.112-rt142 stable release. This release is just an update to the new stable 3.4.112 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-r

[ANNOUNCE] 3.12.61-rt81

2016-06-24 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.12.61-rt81 stable release. This release is just an update to the new stable 3.12.61 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt

[ANNOUNCE] 3.14.72-rt75

2016-06-24 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.14.72-rt75 stable release. This release is just an update to the new stable 3.14.72 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt

[ANNOUNCE] 4.1.27-rt30

2016-06-24 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.1.27-rt30 stable release. This release is just an update to the new stable 4.1.27 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

Re: dm stripe: add DAX support

2016-06-24 Thread Kani, Toshimitsu
On Fri, 2016-06-24 at 16:02 -0400, Mike Snitzer wrote: > On Fri, Jun 24 2016 at  3:58pm -0400, > kbuild test robot wrote: > > > > > Hi, > > > > [auto build test WARNING on dm/for-next] > > [also build test WARNING on v4.7-rc4 next-20160624] > > [i

Re: [patch V3 19/22] timer: Forward wheel clock whenever possible

2016-06-24 Thread Richard Cochran
On Fri, Jun 24, 2016 at 02:32:19PM -, Thomas Gleixner wrote: > @@ -809,6 +815,12 @@ static void tick_nohz_restart_sched_tick > tick_do_update_jiffies64(now); > cpu_load_update_nohz_stop(); > > + /* > + * Clear the timer idle flag, so we avoid IPIs on remote queueing and >

Re: [PATCH v7 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-24 Thread Guenter Roeck
On Tue, Jun 21, 2016 at 3:30 AM, Frank Wang wrote: > The newer SoCs (rk3366, rk3399) take a different usb-phy IP block > than rk3288 and before, and most of phy-related registers are also > different from the past, so a new phy driver is required necessarily. > > Signed-off-by: Frank Wang > Sugge

[PATCH] perf, tools: Add documentation for perf.data on disk format

2016-06-24 Thread Andi Kleen
From: Andi Kleen Add some documentation for the on disk format of perf.data. This is not documenting the actual perf events -- which are documented in perf_event.h -- but just the additional headers that perf record adds around them when writing the data to disk. Signed-off-by: Andi Kleen ---

Re: [PATCH v3] of: fix memory leak related to safe_name()

2016-06-24 Thread Rob Herring
On Fri, Jun 17, 2016 at 2:51 AM, Mathieu Malaterre wrote: > v3 tested here multiple times ! memleak is now gone. > > Tested-by: Mathieu Malaterre > > Thanks > > On Thu, Jun 16, 2016 at 7:51 PM, Frank Rowand wrote: >> From: Frank Rowand >> >> Fix a memory leak resulting from memory allocation in

Re: devicetree random-seed properties, was: "Re: [PATCH v7 0/9] x86/mm: memory area address KASLR"

2016-06-24 Thread Andy Lutomirski
On Fri, Jun 24, 2016 at 12:04 PM, Kees Cook wrote: > On Fri, Jun 24, 2016 at 9:02 AM, Jason Cooper wrote: >> Thomas, >> >> Sorry for wandering off the topic of your series. The big take away for >> me is that you and Kees are concerned about x86 systems pre-RDRAND. >> Just as I'm concerned about

[PATCH v3] netfilter/nflog: nflog-range does not truncate packets (userspace)

2016-06-24 Thread Vishwanath Pai
Added tests to libxt_NFLOG.t for the new option --nflog-size -- netfilter/nflog: nflog-range does not truncate packets The option --nflog-range has never worked, but we cannot just fix this because users might be using this feature option and their behavior would change. Instead add a new option

Re: [PATCH] of/irq: Mark initialised interrupt controllers as populated

2016-06-24 Thread Rob Herring
On Mon, Jun 20, 2016 at 8:49 AM, Jon Hunter wrote: > For interrupt controllers successfully initialised early via device-tree, > mark these interrupt controllers as populated so we don't unnecessarily > create a device and populate any platform data later on in the boot > sequence when we populate

Re: [PATCH -tip 00/12] locking/atomics: Add and use inc,dec calls for FETCH-OP flavors

2016-06-24 Thread Davidlohr Bueso
On Fri, 24 Jun 2016, James Bottomley wrote: On Fri, 2016-06-24 at 10:30 -0700, Davidlohr Bueso wrote: On Fri, 24 Jun 2016, James Bottomley wrote: > On Mon, 2016-06-20 at 13:05 -0700, Davidlohr Bueso wrote: > > Hi, > > > > The series is really straightforward and based on Peter's work > > that

[PATCH v4] audit: add fields to exclude filter by reusing user filter

2016-06-24 Thread Richard Guy Briggs
RFE: add additional fields for use in audit filter exclude rules https://github.com/linux-audit/audit-kernel/issues/5 Re-factor and combine audit_filter_type() with audit_filter_user() to use audit_filter_user_rules() to enable the exclude filter to additionally filter on PID, UID, GID, AUID, LOGI

Re: [PATCH v5 00/18] Cleanup for populate default bus

2016-06-24 Thread Rob Herring
On Wed, Jun 15, 2016 at 9:02 AM, Joerg Roedel wrote: > On Wed, Jun 08, 2016 at 10:42:50AM -0500, Rob Herring wrote: >> +Joerg, Will >> >> On Wed, Jun 1, 2016 at 1:52 AM, Kefeng Wang >> wrote: >> > This cleanup patchset cantains two parts. >> > >> > Firstly, introduce a new way to populate the de

[PATCH] fs: befs: Replace befs_bread by sb_bread

2016-06-24 Thread Salah Triki
Since befs_bread merely calls sb_bread, replace it by sb_bread. Signed-off-by: Salah Triki --- fs/befs/datastream.c | 6 +++--- fs/befs/io.c | 24 fs/befs/io.h | 2 -- fs/befs/linuxvfs.c | 2 +- 4 files changed, 4 insertions(+), 30 deletions(-) diff

Re: [PATCH v4 2/3] LSM: module hierarchy in /proc/.../attr

2016-06-24 Thread Paul Moore
On Fri, Jun 24, 2016 at 4:08 PM, Kees Cook wrote: > On Fri, Jun 24, 2016 at 1:05 PM, Casey Schaufler > wrote: >> On 6/24/2016 12:11 PM, Paul Moore wrote: >>> On Thu, Jun 23, 2016 at 5:11 PM, Casey Schaufler >>> wrote: Subject: [PATCH v4 2/3] LSM: module hierarchy in /proc/.../attr >>

Re: [PATCH 1/5] tpm: unify tpm_gen_interrupt()

2016-06-24 Thread Jarkko Sakkinen
On Fri, Jun 24, 2016 at 01:30:24PM -0600, Jason Gunthorpe wrote: > On Fri, Jun 17, 2016 at 11:10:43PM +0200, Jarkko Sakkinen wrote: > > extern int tpm_get_timeouts(struct tpm_chip *); > > -extern void tpm_gen_interrupt(struct tpm_chip *); > > +void tpm_gen_interrupt(struct tpm_chip *); > > Droppi

Re: [PATCH v8 1/5] tpm_tis: Improve reporting of IO errors

2016-06-24 Thread Jason Gunthorpe
On Fri, Jun 24, 2016 at 11:21:31PM +0300, Jarkko Sakkinen wrote: > Hmm... Do you mean by 4 month old stuff the stuff that is in mainline > and not in my master branch? I mean the stuff that is in your branch but not in mainline. $ git log --pretty=oneline jarkko/master ^v4.7-rc3 | wc -l 73 > I'm

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

2016-06-24 Thread Brendan Gregg
On Fri, Jun 24, 2016 at 2:05 AM, Masami Hiramatsu wrote: > Hi, > > Here is the 12th version of the patchset for probe-cache and > initial SDT support. > > Here is the previous v11: https://lkml.org/lkml/2016/6/14/1041 > > In this version I just rename strlist__for_each to > strlist__for_each_entry

[PATCH] netfilter: Convert FWINV<[foo]> macros and uses to NF_INVF

2016-06-24 Thread Joe Perches
netfilter uses multiple FWINV #defines with identical form that hide a specific structure variable and dereference it with a invflags member. $ git grep "#define FWINV" include/linux/netfilter_bridge/ebtables.h:#define FWINV(bool,invflg) ((bool) ^ !!(info->invflags & invflg)) net/bridge/netfilter

Re: [PATCH v8 2/5] tpm: Add optional logging of TPM command durations

2016-06-24 Thread Jarkko Sakkinen
On Fri, Jun 24, 2016 at 12:27:27PM -0600, Jason Gunthorpe wrote: > On Tue, Jun 21, 2016 at 06:10:28PM -0700, Ed Swierk wrote: > > > if (chip->ops->req_canceled(chip, status)) { > > dev_err(chip->pdev, "Operation Canceled\n"); > > + dev_dbg(chip->pd

Re: [PATCH v8 1/5] tpm_tis: Improve reporting of IO errors

2016-06-24 Thread Jarkko Sakkinen
On Fri, Jun 24, 2016 at 11:21:31PM +0300, Jarkko Sakkinen wrote: > Hi Jason, > > On Fri, Jun 24, 2016 at 12:25:15PM -0600, Jason Gunthorpe wrote: > > > expected = be32_to_cpu(*(__be32 *) (buf + 2)); > > > if (expected > count) { > > > + dev_err(chip->pdev, "Response too long (wanted %z

[GIT PULL] hwmon fixes for v4.7-rc5

2016-06-24 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux v4.7-rc5 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v4.7-rc5 Thanks, Guenter -- The following changes since commit 2744d2fde00dc8bcc3679eb72c81a63058e90faa: hwmon: (dell-smm) Dis

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-24 Thread Oleg Nesterov
On 06/24, Michal Hocko wrote: > > On Fri 24-06-16 16:05:58, Michal Hocko wrote: > > On Thu 23-06-16 20:52:21, Oleg Nesterov wrote: > > > > > > But I agree, this is fixable (and in fact I still hope TIF_MEMDIE will > > > die, > > > at least in its current form). > > > > We can move the flag to the

Re: [PATCH v8 1/5] tpm_tis: Improve reporting of IO errors

2016-06-24 Thread Jarkko Sakkinen
Hi Jason, On Fri, Jun 24, 2016 at 12:25:15PM -0600, Jason Gunthorpe wrote: > > expected = be32_to_cpu(*(__be32 *) (buf + 2)); > > if (expected > count) { > > + dev_err(chip->pdev, "Response too long (wanted %zd, got %d)\n", > > + count, expected); > > This all

Re: [PATCH v3 7/9] mm/page_owner: avoid null pointer dereference

2016-06-24 Thread Andrew Morton
On Fri, 17 Jun 2016 15:32:20 +0200 Vlastimil Babka wrote: > On 06/17/2016 09:57 AM, js1...@gmail.com wrote: > > From: Sudip Mukherjee > > > > We have dereferenced page_ext before checking it. Lets check it first > > and then used it. > > > > Link: > > http://lkml.kernel.org/r/1465249059-7883-1-

RE: vmcore not getting created on linux-4.7

2016-06-24 Thread Steve Wise
> >> Also what's the content of your /etc/kdump.conf file? > >> > > > > #raw /dev/sda5 > > #ext4 /dev/sda3 > > #ext4 LABEL=/boot > > #ext4 UUID=03138356-5e61-4ab3-b58e-27507ac41937 > > #net my.server.com:/export/tmp > > #net u...@my.server.com > > path /var/crash > > #ext4 /dev/nvme0n1 > > core_col

Re: [PATCH v5 1/1] hwmon: Add support for INA3221 Triple Current/Voltage Monitors

2016-06-24 Thread Guenter Roeck
On Fri, Jun 24, 2016 at 12:30:56PM -0500, Andrew F. Davis wrote: > On 06/24/2016 11:46 AM, Guenter Roeck wrote: > > On Fri, Jun 24, 2016 at 10:02:51AM -0500, Andrew F. Davis wrote: > >> On 06/18/2016 10:16 AM, Guenter Roeck wrote: > >>> > >>> The chip registers are 16 bit. Can you repeat the comman

Re: Crashes in -next due to 'mm, page_alloc: remove fair zone allocation policy'

2016-06-24 Thread Guenter Roeck
On Fri, Jun 24, 2016 at 07:13:25PM +0100, Mel Gorman wrote: > On Fri, Jun 24, 2016 at 09:46:18AM -0700, Guenter Roeck wrote: > > > Ok, is there any chance you could test the mm-vmscan-node-lru-v8r12 > > > branch from git://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git > > > please? > > > >

Re: [PATCH v4 2/3] LSM: module hierarchy in /proc/.../attr

2016-06-24 Thread Kees Cook
On Fri, Jun 24, 2016 at 1:05 PM, Casey Schaufler wrote: > On 6/24/2016 12:11 PM, Paul Moore wrote: >> On Thu, Jun 23, 2016 at 5:11 PM, Casey Schaufler >> wrote: >>> Subject: [PATCH v4 2/3] LSM: module hierarchy in /proc/.../attr >>> >>> Back in 2007 I made what turned out to be a rather serious

Re: Documenting ptrace access mode checking

2016-06-24 Thread Kees Cook
On Fri, Jun 24, 2016 at 8:18 AM, Casey Schaufler wrote: > On 6/24/2016 1:40 AM, Michael Kerrisk (man-pages) wrote: >> So, I just want to check my understanding of a couple of points: >> >> 1. The commoncap LSM is invoked first, and if it denies access, >>then no further LSM is/needs to be call

Re: [PATCH v4 2/3] LSM: module hierarchy in /proc/.../attr

2016-06-24 Thread Casey Schaufler
On 6/24/2016 12:11 PM, Paul Moore wrote: > On Thu, Jun 23, 2016 at 5:11 PM, Casey Schaufler > wrote: >> Subject: [PATCH v4 2/3] LSM: module hierarchy in /proc/.../attr >> >> Back in 2007 I made what turned out to be a rather serious >> mistake in the implementation of the Smack security module. >

Re: dm stripe: add DAX support

2016-06-24 Thread Mike Snitzer
On Fri, Jun 24 2016 at 3:58pm -0400, kbuild test robot wrote: > Hi, > > [auto build test WARNING on dm/for-next] > [also build test WARNING on v4.7-rc4 next-20160624] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] >

Re: [PATCH] dm stripe: add DAX support

2016-06-24 Thread kbuild test robot
Hi, [auto build test ERROR on dm/for-next] [also build test ERROR on v4.7-rc4 next-20160624] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Toshi-Kani/dm-stripe-add-DAX-support/20160625-022600

Re: [PATCH] dm stripe: add DAX support

2016-06-24 Thread kbuild test robot
Hi, [auto build test WARNING on dm/for-next] [also build test WARNING on v4.7-rc4 next-20160624] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Toshi-Kani/dm-stripe-add-DAX-support/20160625

Re: [PATCH v7 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-24 Thread Heiko Stuebner
Am Dienstag, 21. Juni 2016, 18:30:05 schrieb Frank Wang: > The newer SoCs (rk3366, rk3399) take a different usb-phy IP block > than rk3288 and before, and most of phy-related registers are also > different from the past, so a new phy driver is required necessarily. > > Signed-off-by: Frank Wang >

Re: [PATCH 01/14] ARM: dts: sun8i: Add SID node

2016-06-24 Thread Ondřej Jirman
Hello, thank you for the review. On 24.6.2016 04:41, Chen-Yu Tsai wrote: > On Fri, Jun 24, 2016 at 3:20 AM, wrote: >> From: Josef Gajdusek >> >> Add a node describing the Security ID memory to the Allwinner H3 .dtsi file. >> >> Signed-off-by: Josef Gajdusek >> --- >> arch/arm/boot/dts/sun8i-

Re: [PATCH v4 3/3] LSM: Add context interface for proc attrs

2016-06-24 Thread Casey Schaufler
On 6/24/2016 12:15 PM, Paul Moore wrote: > On Thu, Jun 23, 2016 at 5:11 PM, Casey Schaufler > wrote: >> Subject: [PATCH v4 3/3] LSM: Add context interface for proc attrs >> >> The /proc/.../attr/current interface is used by all three >> Linux security modules (SELinux, Smack and AppArmor) to >> r

[PATCH 2/2] GFS2: Add a gfs2-specific prune_icache_sb

2016-06-24 Thread Bob Peterson
This patch adds a new prune_icache_sb function for the VFS slab shrinker to call. Trying to directly free the inodes from memory might deadlock because it evicts inodes, which calls into DLM to acquire the glock. The DLM, in turn, may block on a pending fence operation, which may already be blocked

Re: [PATCH v4 5/5] usb: dwc3: rockchip: add devicetree bindings documentation

2016-06-24 Thread Heiko Stuebner
Hi William, Am Dienstag, 21. Juni 2016, 17:11:44 schrieb William Wu: > On 06/20/2016 10:44 PM, Heiko Stübner wrote: > > Am Freitag, 17. Juni 2016, 17:18:59 schrieb William Wu: > >> On 06/17/2016 07:15 AM, Heiko Stübner wrote: > >>> Am Donnerstag, 2. Juni 2016, 20:34:56 schrieb William Wu: > T

[PATCH 0/2] Per superblock inode reclaim

2016-06-24 Thread Bob Peterson
In July 2011, near patch b0d40c92adafde7c2d81203ce7c1c69275f41140, Dave Chinner introduced the concept of per-superblock shrinkers. However, vfs still uses its own function, prune_icache_sb, which gives almost no control to the underlying file system over the inode eviction. The trouble is, some f

[PATCH 1/2] vfs: Add hooks for filesystem-specific prune_icache_sb

2016-06-24 Thread Bob Peterson
This patch adds filesystem-specific callbacks for shrinking the inode cache, prune_icache_sb. This is provided for filesystems in which the default VFS prune_icache_sb needs to be delayed due to filesystem locking requirements not met by vfs. Signed-off-by: Bob Peterson --- Documentation/filesys

Re: [PATCH] tpm: vtpm_proxy: Introduce flag to prevent sysfs entries

2016-06-24 Thread Jason Gunthorpe
On Fri, Jun 24, 2016 at 02:43:00PM -0400, Stefan Berger wrote: > On 06/24/2016 01:48 PM, Jason Gunthorpe wrote: > >On Fri, Jun 24, 2016 at 10:36:55AM -0400, Stefan Berger wrote: > >>Introduce TPM_VTPM_PROXY_NO_SYSFS flag that prevents a vtpm_proxy driver > >>instance from having the typical sysfs e

Re: [PATCH] Maxim/driver: Add driver for maxim ds26522

2016-06-24 Thread David Miller
From: Qiang Zhao Date: Fri, 24 Jun 2016 02:00:33 + > On Thu, 2016-06-23 at 10:59PM, David Miller wrote: >> -Original Message- >> From: David Miller [mailto:da...@davemloft.net] >> Sent: Thursday, June 23, 2016 10:59 PM >> To: Qiang Zhao >> Cc: o...@buserror.net; linux-kernel@vger.ker

[PATCH 4/4] ARM: imx_v6_v7_defconfig: enable useful configurations for Vybrid

2016-06-24 Thread Anthony Felice
Enable configuration options useful for the Vybrid Tower platform: - CRTouch Touchscreen support. - DRM support for Freescale DCU. Regenerated config using savedefconfig (which removes some configs which are now enabled by default). Signed-off-by: Anthony Felice --- arch/arm/configs/imx_v6_v7_d

[PATCH 3/4] ARM: dts: vf610-twr: Add crtouch node and pinmux

2016-06-24 Thread Anthony Felice
This adds a node for crtouch, the touchscreen controller of the Vybrid Tower. Pinmux for the gpio irq used by crtouch is also defined in this commit. Signed-off-by: Anthony Felice --- arch/arm/boot/dts/vf610-twr.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boo

[PATCH 2/4] input: touchscreen: crtouch_ts: Add driver

2016-06-24 Thread Anthony Felice
Add driver for the Vybrid Tower CRTouch-based touchscreen. This is required for the touchscreen on the TWR-LCD-RGB to work on the Vybrid Tower platform. There is a known issue with this driver: rarely, SW1 on the TWR-LCD-RGB module needs to be pressed in order for the touchscreen to begin function

[PATCH 1/4] ARM: dts: vf610-twr: Enable display controller

2016-06-24 Thread Anthony Felice
This adds nodes to enable tcon0 and dcu0 for the Vybrid Tower. These are used to drive the Vybrid Tower TWR-LCD-RGB display. Also, a node for the nec nl4827hc19-05b panel on the TWR-LCD-RGB display has been added. Signed-off-by: Anthony Felice --- arch/arm/boot/dts/vf610-twr.dts | 48 +++

[PATCH 0/4] Enable display and touchscreen for Vybrid Tower

2016-06-24 Thread Anthony Felice
This patchset enables the TWR-LCD-RGB display and the CRTouch-based touchscreen on the Vybrid Tower platform. Both display and touchscreen have been tested and verified working with this patchset on a Rev J Vybrid Tower system. Anthony Felice (4): ARM: dts: vf610-twr: Enable display controller

Re: [v3 PATCH 3/5] phy: Add USB Type-C PHY driver for rk3399

2016-06-24 Thread Heiko Stuebner
Am Donnerstag, 23. Juni 2016, 18:27:52 schrieb Kishon Vijay Abraham I: > Hi, > > On Thursday 23 June 2016 06:21 PM, Chris Zhong wrote: > > Add a PHY provider driver for the rk3399 SoC Type-c PHY. The USB > > Type-C PHY is designed to support the USB3 and DP applications. The > > PHY basically has

Re: [PATCH -tip 00/12] locking/atomics: Add and use inc,dec calls for FETCH-OP flavors

2016-06-24 Thread Davidlohr Bueso
On Fri, 24 Jun 2016, KY Srinivasan wrote: How so? Can you expand on the racy part. The subtraction is done on a local copy of the value. Yeah, you're right. I took a look at the generated code and I was unnecessarily worried about the window between the return value and the subtraction. Tha

[PATCH] tile: support gcc 7 optimization to use __multi3

2016-06-24 Thread Chris Metcalf
The tip gcc includes an optimization mode that converts 64-bit divides into 128-bit multiplies using __multi3. Export the symbol so that modules can find it. We just export unconditionally without worrying about the gcc version, since the symbol has been in libgcc forever and the function is less

Re: [PATCH 1/5] tpm: unify tpm_gen_interrupt()

2016-06-24 Thread Jason Gunthorpe
On Fri, Jun 17, 2016 at 11:10:43PM +0200, Jarkko Sakkinen wrote: > extern int tpm_get_timeouts(struct tpm_chip *); > -extern void tpm_gen_interrupt(struct tpm_chip *); > +void tpm_gen_interrupt(struct tpm_chip *); Dropping the argument name is not the kernel standard, if these lines are going to

[RFC 1/1] treewide: replace obsolete _refok by __ref

2016-06-24 Thread Fabian Frederick
There was only one use of __initdata_refok and __exit_refok __init_refok was used 46 times against 82 for __ref. Those definitions are obsolete since commit 312b1485fb50 ("Introduce new section reference annotations tags: __ref, __refdata, __refconst") This patch removes the following compatibil

Re: [v3 PATCH 4/5] Documentation: bindings: add dt documentation for cdn DP controller

2016-06-24 Thread Rob Herring
On Thu, Jun 23, 2016 at 08:51:03PM +0800, Chris Zhong wrote: > This patch adds a binding that describes the cdn DP controller for > rk3399. > > Signed-off-by: Chris Zhong > > --- > > Changes in v3: > - add SoC specific compatible string > - remove reg = <1>; > > Changes in v2: None > Changes i

Re: [v3 PATCH 2/5] Documentation: bindings: add dt doc for Rockchip USB Type-C PHY

2016-06-24 Thread Rob Herring
On Thu, Jun 23, 2016 at 08:51:01PM +0800, Chris Zhong wrote: > This patch adds a binding that describes the Rockchip USB Type-C PHY > for rk3399 > > Signed-off-by: Chris Zhong > Reviewed-by: Tomasz Figa > Reviewed-by: Kever Yang > > --- > > Changes in v3: > - use compatible: rockchip,rk3399-t

Re: [PATCH -tip 00/12] locking/atomics: Add and use inc,dec calls for FETCH-OP flavors

2016-06-24 Thread Peter Zijlstra
On Fri, Jun 24, 2016 at 09:46:05AM -0700, James Bottomley wrote: > On Mon, 2016-06-20 at 13:05 -0700, Davidlohr Bueso wrote: > > Hi, > > > > The series is really straightforward and based on Peter's work that > > introduces[1] the atomic_fetch_$op machinery. Only patch 1 implements > > the actual

Re: [PATCH v4 3/3] LSM: Add context interface for proc attrs

2016-06-24 Thread Paul Moore
On Thu, Jun 23, 2016 at 5:11 PM, Casey Schaufler wrote: > Subject: [PATCH v4 3/3] LSM: Add context interface for proc attrs > > The /proc/.../attr/current interface is used by all three > Linux security modules (SELinux, Smack and AppArmor) to > report and modify the process security attribute. Th

Re: [PATCH v4 2/3] LSM: module hierarchy in /proc/.../attr

2016-06-24 Thread Paul Moore
On Thu, Jun 23, 2016 at 5:11 PM, Casey Schaufler wrote: > Subject: [PATCH v4 2/3] LSM: module hierarchy in /proc/.../attr > > Back in 2007 I made what turned out to be a rather serious > mistake in the implementation of the Smack security module. > The SELinux module used an interface in /proc to

[PATCH] cpu_pm :Dummy cpu_pm_register_notifier should return error code.

2016-06-24 Thread Arvind Yadav
The inline cpu_pm_register_notifier stub simply allows compilation on systems with CONFIG_CPU_PM disabled. The dummy cpu_pm_register_notifier does not register an trap_pm_init, r4k_tlb_init_pm and r4k_cache_init_pm at all.The inline cpu_pm_register_notifier should return to indicate lack of support

Re: devicetree random-seed properties, was: "Re: [PATCH v7 0/9] x86/mm: memory area address KASLR"

2016-06-24 Thread Kees Cook
On Fri, Jun 24, 2016 at 9:02 AM, Jason Cooper wrote: > Thomas, > > Sorry for wandering off the topic of your series. The big take away for > me is that you and Kees are concerned about x86 systems pre-RDRAND. > Just as I'm concerned about deployed embedded systems without bootloader > support for

Re: [PATCH v4 1/3] LSM: Add /sys/kernel/security/lsm

2016-06-24 Thread Paul Moore
On Thu, Jun 23, 2016 at 5:10 PM, Casey Schaufler wrote: > Subject: [PATCH v4 1/3] LSM: Add /sys/kernel/security/lsm > > I got tired of having to find indirect ways to > determine what security modules are active on a system. > I have added /sys/kernel/security/lsm, which contains a > comma separat

Re: [PATCH 3/3] dt-bindings: Document the STM32 USB OTG DWC2 core binding

2016-06-24 Thread Bruno Herrera
On Fri, Jun 24, 2016 at 12:41 PM, Rob Herring wrote: > On Tue, Jun 21, 2016 at 11:25:49PM -0300, Bruno Herrera wrote: >> Signed-off-by: Bruno Herrera >> --- >> Documentation/devicetree/bindings/usb/dwc2.txt | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/Documentation/devicetree/bind

Re: [PATCH v2 01/12] locking/atomic: Introduce inc/dec calls for FETCH-OP flavors

2016-06-24 Thread Peter Zijlstra
On Fri, Jun 24, 2016 at 09:34:30AM -0700, Davidlohr Bueso wrote: > On Thu, 23 Jun 2016, Peter Zijlstra wrote: > > >- > >/* atomic_fetch_inc_relaxed */ > >#ifndef atomic_fetch_inc_relaxed > >+ > >+#ifndef atomic_fetch_inc > > #define atomic_fetch_inc(v) (atomic_fetch_add(1, v)) Ah yes. > >+#def

Re: [PATCH] tpm: vtpm_proxy: Introduce flag to prevent sysfs entries

2016-06-24 Thread Stefan Berger
On 06/24/2016 01:48 PM, Jason Gunthorpe wrote: On Fri, Jun 24, 2016 at 10:36:55AM -0400, Stefan Berger wrote: Introduce TPM_VTPM_PROXY_NO_SYSFS flag that prevents a vtpm_proxy driver instance from having the typical sysfs entries that shows the state of the TPM. The flag is to be set in the ioct

Re: dm stripe: add DAX support

2016-06-24 Thread Kani, Toshimitsu
On Fri, 2016-06-24 at 14:29 -0400, Mike Snitzer wrote: > On Fri, Jun 24 2016 at  2:23pm -0400, > Toshi Kani wrote:  : > Thanks, once jens queues the block changes I'll be able to pull this in > to linux-dm.git > > BTW, if in your testing you could evaluate/quantify any extra overhead > from DM th

Re: [PATCH] Implement the -a option to pad dtb aligned

2016-06-24 Thread Frank Rowand
Hi Tim, On 06/24/16 04:19, Tim Wang wrote: > There is one condition that need cat the dtb files > into one dtb.img which can support several boards > use same SoC platform. > > And the original dtb file size is not aligned to any base. > This may cause "Synchronous Abort" when load from a unligne

Re: [PATCH] net: ethernet: ti: cpdma: switch to use genalloc

2016-06-24 Thread Lennart Sorensen
On Fri, Jun 24, 2016 at 07:58:32PM +0300, Grygorii Strashko wrote: > Oh. nice :( So, seems, I'd need to send v3. Right? > By the way, this code hasn't been introduced by this patch - I've > just moved whole function from one place to another. Well since it is moving I would think that was a handy

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-24 Thread Andy Lutomirski
On Fri, Jun 24, 2016 at 10:56 AM, Linus Torvalds wrote: > On Fri, Jun 24, 2016 at 10:47 AM, Andy Lutomirski wrote: >> >> FWIW, your patch is much more lenient than my approach. > > I hate big flag-days - they cause so much pain for everybody. The > people who get it to work and can test it, can't

<    1   2   3   4   5   6   7   >