Re: CHIPPro NAND issue with 4.12 rc1

2017-05-20 Thread Boris Brezillon
Le Sat, 20 May 2017 15:24:06 -0600, Angus Ainslie a écrit : > On 2017-05-20 09:14, Boris Brezillon wrote: > > Le Sat, 20 May 2017 08:49:04 -0600, > > Angus Ainslie a écrit : > > > >> Hi All, > >> > >> I'm trying to boot a CHIPPro with the stock 4.12 rc1

Re: [PATCH 18/24] thunderbolt: Store Thunderbolt generation in the switch structure

2017-05-20 Thread Lukas Wunner
On Sun, May 21, 2017 at 05:29:47AM +, Levy, Amir (Jer) wrote: > On Sun, May 21 2017, 07:47 AM, Lukas Wunner wrote: > > On Thu, May 18, 2017 at 05:39:08PM +0300, Mika Westerberg wrote: > > > + > > > + default: > > > + sw->generation = 1; > > > + break; > > > > If someone adds

Re: [PATCH 0/8] CaitSith LSM module

2017-05-20 Thread John Johansen
On 05/20/2017 09:59 PM, Tetsuo Handa wrote: > John Johansen wrote: >> On 11/22/2016 10:31 PM, Tetsuo Handa wrote: >>> Tetsuo Handa wrote: John Johansen wrote: >> In order to minimize the burden of reviewing, this patchset implements >> only functionality of checking program execution

Re: [PATCH 10/24] thunderbolt: Read vendor and device name from DROM

2017-05-20 Thread Lukas Wunner
On Fri, May 19, 2017 at 01:28:36PM +0300, Mika Westerberg wrote: > On Fri, May 19, 2017 at 12:07:10PM +0200, Lukas Wunner wrote: > > Apple uses 0x30 to store a > > serial number. Is this attribute number assigned by Intel to Apple > > or is it reserved for vendor use or did they arbitrarily

RE: [PATCH 18/24] thunderbolt: Store Thunderbolt generation in the switch structure

2017-05-20 Thread Levy, Amir (Jer)
On Sun, May 21 2017, 07:47 AM, Lukas Wunner wrote: > On Thu, May 18, 2017 at 05:39:08PM +0300, Mika Westerberg wrote: > > + > > + default: > > + sw->generation = 1; > > + break; > > If someone adds an entry for, say, a new TB3 controller to nhi_ids[] but > forgets > to

Re: linux-next 20170519 - semaphores broken

2017-05-20 Thread Kees Cook
On Sat, May 20, 2017 at 1:18 PM, wrote: > Seeing problems with programs that use semaphores. The one > that I'm getting bit by is jackd. strace says: > > getuid()= 967 > semget(0x282929, 0, 000)= 229376 > semop(229376,

Re: [PATCH 0/8] CaitSith LSM module

2017-05-20 Thread Tetsuo Handa
John Johansen wrote: > On 11/22/2016 10:31 PM, Tetsuo Handa wrote: > > Tetsuo Handa wrote: > >> John Johansen wrote: > In order to minimize the burden of reviewing, this patchset implements > only functionality of checking program execution requests (i.e. execve() > system call)

Re: [PATCH 18/24] thunderbolt: Store Thunderbolt generation in the switch structure

2017-05-20 Thread Lukas Wunner
On Thu, May 18, 2017 at 05:39:08PM +0300, Mika Westerberg wrote: > In some cases it is useful to know what is the Thunderbolt generation > the switch supports. This introduces a new field to struct switch that > stores the generation of the switch based on the device ID. > > Signed-off-by: Mika

[PATCH] drm/i915: mark wait_for_engine() __maybe_unused

2017-05-20 Thread Nick Desaulniers
This solves a warning when compiling the driver with Clang, -Werror enabled, and CONFIG_DRM_I915_DEBUG_GEM unset, since Clang warns that: drivers/gpu/drm/i915/i915_gem.c:3274:12: error: function 'wait_for_engine' is not needed and will not be emitted

will

2017-05-20 Thread Trustees
-- My previous messages were returned as undelivered. I am making a final attempt to reach you regarding the estate of Late George Brumley, you have made one of the beneficiaries. Please get back to me at your earliest convenience. Regards, Jessica Simpson Board Of Trustees

[PATCH v2 2/2] dt-bindings: phy: Add documentation for Mediatek PCIe PHY

2017-05-20 Thread Ryder Lee
Add documentation for PCIe PHY available in MT7623 series SoCs. Signed-off-by: Ryder Lee Acked-by: Rob Herring --- .../devicetree/bindings/phy/phy-mt7623-pcie.txt| 63 ++ 1 file changed, 63 insertions(+) create mode 100644

Re: [PATCH 1/2] libsas: Don't process sas events in static works

2017-05-20 Thread Dan Williams
On Fri, May 19, 2017 at 11:39 PM, Yijing Wang wrote: > Now libsas hotplug work is static, LLDD driver queue > the hotplug work into shost->work_q. If LLDD driver > burst post lots hotplug events to libsas, the hotplug > events may pending in the workqueue like > >

[PATCH v2 1/2] phy: add PCIe PHY driver for mt7623 SoCs families

2017-05-20 Thread Ryder Lee
support PCIe PHY of MT7623 SoCs families Signed-off-by: Ryder Lee --- drivers/phy/Kconfig | 8 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-mt7623-pcie.c | 290 ++ 3 files changed, 299 insertions(+) create

[PATCH v2 0/2] Add PCIe phy driver for some Mediatek SoCs

2017-05-20 Thread Ryder Lee
Hi, This patch series add PCIe phy driver and related dt-binding file for Mediatek mt7623 SoCs families. Changes since v2: - rebase to Linux 4.12-rc1 Changes since v1: - revise binding document: drop 'status' properties. add a description to 'phy-switch' property and add vendor prefix.

[PATCH v5 2/2] dt-bindings: pcie: Add documentation for Mediatek PCIe

2017-05-20 Thread Ryder Lee
Add documentation for PCIe host driver available in MT7623 series SoCs. Signed-off-by: Ryder Lee Acked-by: Rob Herring --- .../bindings/pci/mediatek,mt7623-pcie.txt | 130 + 1 file changed, 130 insertions(+) create mode

[PATCH v5 0/2] Add PCIe host driver support for Mediatek SoCs

2017-05-20 Thread Ryder Lee
Hi, This patch series add Mediatek Gen2 PCIe host controller driver and dt-binding document. It can be found on MT7623 series SoCs. This driver was validated using Broadcom Tigon3 and Intel(R) 82575/82576 gigabit ethernet card. Changes since v5: - rebase to Linux 4.12-rc1. - remove redundant

[PATCH v5 1/2] PCI: mediatek: Add Mediatek PCIe host controller support

2017-05-20 Thread Ryder Lee
Add support for the Mediatek PCIe Gen2 controller which can be found on MT7623 series SoCs. Signed-off-by: Ryder Lee --- drivers/pci/host/Kconfig | 11 + drivers/pci/host/Makefile| 1 + drivers/pci/host/pcie-mediatek.c | 553

[PATCH] initramfs: Fix disabling of initramfs (and its compression)

2017-05-20 Thread Florian Fainelli
Commit db2aa7fd15e8 ("initramfs: allow again choice of the embedded initram compression algorithm") introduced the possibility to select the initramfs compression algorithm from Kconfig and while this is a nice feature it broke the use case described below. Here is what my build system does: -

[PATCH] KVM: X86: Fix preempt the preemption timer cancel

2017-05-20 Thread Wanpeng Li
From: Wanpeng Li WARNING: CPU: 3 PID: 1952 at arch/x86/kvm/lapic.c:1529 kvm_lapic_expired_hv_timer+0xb5/0xd0 [kvm] CPU: 3 PID: 1952 Comm: qemu-system-x86 Not tainted 4.12.0-rc1+ #24 RIP: 0010:kvm_lapic_expired_hv_timer+0xb5/0xd0 [kvm] Call Trace:

Re: [RFC] KVM: SVM: do not drop VMCB CPL to 0 if SS is not present

2017-05-20 Thread Andy Lutomirski
On 05/19/2017 09:14 AM, Roman Penyaev wrote: Hi folks, After experiencing guest double faults (sometimes triple faults) on 3.16 guest kernels with the following common pattern: [459395.776124] PANIC: double fault, error_code: 0x0 [459395.776606] CPU: 0 PID: 36565 Comm: fio Not tainted

Re: [PATCH] usb: gadget: f_fs: use memdup_user

2017-05-20 Thread Al Viro
On Sat, May 13, 2017 at 11:05:30AM +0300, Dan Carpenter wrote: > > + data = memdup_user(buf, len); > > + if (unlikely(IS_ERR(data))) > > Don't use likely/unlikely() here. It's not a fast path. More to the point, #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned

Re: [PATCH v3 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-20 Thread Andy Lutomirski
On 05/19/2017 07:09 AM, Vitaly Kuznetsov wrote: Hyper-V host can suggest us to use hypercall for doing remote TLB flush, this is supposed to work faster than IPIs. Implementation details: to do HvFlushVirtualAddress{Space,List} hypercalls we need to put the input somewhere in memory and we

[GIT PULL] tracing: Fixes for 4.12-rc1

2017-05-20 Thread Steven Rostedt
Linus, This fixes a bug caused by not cleaning up the new instance unique triggers when deleting an instance. It also creates a selftest that triggers that bug. Fix the delayed optimization happening after kprobes boot up self tests being removed by freeing of init memory. Comment kprobes on

Re: [PATCH v3 04/10] x86/hyper-v: fast hypercall implementation

2017-05-20 Thread Andy Lutomirski
On 05/19/2017 07:09 AM, Vitaly Kuznetsov wrote: Hyper-V supports 'fast' hypercalls when all parameters are passed through registers. Implement an inline version of a simpliest of these calls: hypercall with one 8-byte input and no output. Proper hypercall input interface (struct

Re: [PATCH] ext4: keep existing extra fields when inode expands

2017-05-20 Thread Theodore Ts'o
On Fri, May 19, 2017 at 10:13:39AM +0300, Konstantin Khlebnikov wrote: > ext4_expand_extra_isize() should clear only space between old and new size. > > Signed-off-by: Konstantin Khlebnikov Thanks, applied. - Ted

Re: [v3, 2/2] initramfs: Allow again choice of the embedded initram compression algorithm

2017-05-20 Thread Florian Fainelli
On 05/20/2017 03:30 PM, Florian Fainelli wrote: > Hi Francisco, Nicholas, > > Nicholas already fixed part of this commit, but there is more breakage, > see below: > > On 09/27/2016 01:32 PM, klondike wrote: >> Choosing the appropriate compression option when using an embeded initramfs >> can

Re: [PATCH] ext4: handle the rest of ext4_mb_load_buddy() ENOMEM errors

2017-05-20 Thread Theodore Ts'o
On Fri, May 19, 2017 at 10:09:54AM +0300, Konstantin Khlebnikov wrote: > I've got another report about breaking ext4 by ENOMEM error returned from > ext4_mb_load_buddy() caused by memory shortage in memory cgroup. > This time inside ext4_discard_preallocations(). > > This patch replaces

Re: [PATCH 0/3] arm64: dts: introduce QorIQ DPAA 1.x FMan device tree nodes

2017-05-20 Thread Shawn Guo
On Tue, May 16, 2017 at 03:07:20PM +0300, Madalin Bucur wrote: > This patch set introduces the QorIQ Data Path Acceleration Arhitecture > (DPAA) Frame Manager device tree nodes for the ARM based DPAA 1.x platforms. > > Madalin Bucur (3): > arm64: dts: add DPAA FMan nodes > arm64: dts: add

Re: [v4 1/1] mm: Adaptive hash table scaling

2017-05-20 Thread Andi Kleen
Pavel Tatashin writes: > Allow hash tables to scale with memory but at slower pace, when HASH_ADAPT > is provided every time memory quadruples the sizes of hash tables will only > double instead of quadrupling as well. This algorithm starts working only > when memory

Re: [PATCH] ARM: dts: imx7: use 3 PWM cells

2017-05-20 Thread Shawn Guo
On Tue, May 16, 2017 at 12:40:13AM -0700, Stefan Agner wrote: > The PWM driver has now capability to specify the PWM polarity > which is e.g. for backlight control. Allow to make use of PWM > polarity by specifying pwm-cells to be 3 in the base dt. > > Signed-off-by: Stefan Agner

Re: [PATCH v3 0/7] i.MX7 PCIe related device tree changes

2017-05-20 Thread Shawn Guo
On Mon, May 15, 2017 at 07:52:58AM -0700, Andrey Smirnov wrote: > Andrey Smirnov (7): > ARM: dts: imx: Reintroduce 'anatop-enable-bit' where appropriate > ARM: imx: Select GPCv2 for i.MX7 > ARM: dts: imx7s: Add node for GPC > ARM: dts: imx7s: Mark 'gpr' compatible with i.MX6 variant >

[PATCH v9] mm: Add memory allocation watchdog kernel thread.

2017-05-20 Thread Tetsuo Handa
This patch adds a watchdog which periodically reports number of memory allocating tasks, dying tasks and OOM victim tasks when some task is spending too long time inside __alloc_pages_slowpath(). This patch also serves as a hook for obtaining additional information using SystemTap (e.g. examine

[PATCH -next] drm/vgem: Fix return value check in vgem_init()

2017-05-20 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function platform_device_register_simple() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 315f0242aa2b ("drm/vgem: Convert to a struct drm_device

[PATCH -next] drm/pl111: Fix return value check in pl111_amba_probe()

2017-05-20 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: bed41005e617 ("drm/pl111: Initial drm/kms driver for pl111") Signed-off-by:

[PATCH] goldfish_pipe: use GFP_ATOMIC under spin lock

2017-05-20 Thread Wei Yongjun
From: Wei Yongjun The function get_free_pipe_id_locked() is called from goldfish_pipe_open() with a lock is held, so we should use GFP_ATOMIC instead of GFP_KERNEL. Signed-off-by: Wei Yongjun --- drivers/platform/goldfish/goldfish_pipe.c | 2 +-

Re: [PATCH] lpfc: nvmet_fc: fix format string

2017-05-20 Thread Joe Perches
On Sat, 2017-05-20 at 21:10 +0200, Arnd Bergmann wrote: > On Sat, May 20, 2017 at 12:28 PM, Joe Perches wrote: > > On Fri, 2017-05-19 at 10:04 +0200, Arnd Bergmann wrote: > > > The lpfc_nvmeio_data() tracing helper always takes a format string and > > > three additional

linux-next 20170519 - semaphores broken

2017-05-20 Thread valdis . kletnieks
Seeing problems with programs that use semaphores. The one that I'm getting bit by is jackd. strace says: getuid()= 967 semget(0x282929, 0, 000)= 229376 semop(229376, [{0, -1, SEM_UNDO}], 1) = -1 EIDRM (Identifier removed) write(2, "JACK

[PATCH] x86: fix reference to lockup watchdog documentation

2017-05-20 Thread Benjamin Peterson
Fixes: 9919cba7ff71147803c988521cc1ceb80e7f0f6d ("watchdog: Update documentation") Signed-off-by: Benjamin Peterson --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index cd18994a9555..4ccfacc7232a

Re: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-20 Thread Alexander Duyck
I'd say the common solution is probably the parameter that allows the user to disable SR-IOV in the kernel on boot. The problem with trying to do this automatically is that there are too many scenarios to know what it was that the BIOS was trying to do. Another alternative would be to look at

Re: [PATCH] drm: remove NULL pointer check for clk_disable_unprepare

2017-05-20 Thread Rob Clark
On Sat, May 20, 2017 at 3:04 PM, Masahiro Yamada wrote: > 2017-05-21 2:58 GMT+09:00 Masahiro Yamada : >> After long term efforts of fixing non-common clock implementations, >> clk_disable() is a no-op for a NULL pointer input, and this

Re: [PATCH] Make x86 use $TARGET-readelf like all the other arches.

2017-05-20 Thread Kees Cook
On Sat, May 20, 2017 at 1:03 PM, Rob Landley wrote: > From: Rob Landley > > My cross-compile environment doesn't provide an unprefixed > readelf in the $PATH, which works fine on every target but x86, > where you get a bunch of "/bin/sh: 1: readelf: not found"

Re: [PATCH 7/7] DWARF: add the config option

2017-05-20 Thread Linus Torvalds
On Sat, May 20, 2017 at 4:00 PM, Linus Torvalds wrote: > > hjl already posted an example of the kinds of horrors glibc does to do > things "right". Side note: we'd hopefully/presumably never need anything _that_ disgusting for the kernel, so hjl's example is

LOAN UPDATE

2017-05-20 Thread CHOICE LOAN LIMITED
Hello, Complement of the day to you,Please treat this with the utmost confidentiality and Upon maturity, I sent a routine notification to you days back and never receive a response from you...If you find yourself able to work with me, contact for an update in regards to the latest development

Re: [PATCH 7/7] DWARF: add the config option

2017-05-20 Thread Linus Torvalds
On Sat, May 20, 2017 at 2:56 PM, Andy Lutomirski wrote: > On Sat, May 20, 2017 at 1:16 PM, Linus Torvalds > wrote: >> >> The amount of unreadable crap and bugs it requires is not worth the >> pain. Not for *any* amount of gain, and the gain here is

Re: [v3, 2/2] initramfs: Allow again choice of the embedded initram compression algorithm

2017-05-20 Thread Florian Fainelli
Hi Francisco, Nicholas, Nicholas already fixed part of this commit, but there is more breakage, see below: On 09/27/2016 01:32 PM, klondike wrote: > Choosing the appropriate compression option when using an embeded initramfs > can result in significant size differences in the resulting data. >

Re: [PATCH 7/7] DWARF: add the config option

2017-05-20 Thread H.J. Lu
On Sat, May 20, 2017 at 2:58 PM, Andy Lutomirski wrote: > On Sat, May 20, 2017 at 1:01 PM, H.J. Lu wrote: >> On Sat, May 20, 2017 at 9:20 AM, Josh Poimboeuf wrote: >> (H.J., could we get a binutils feature that allows is to

[PATCH] ubifs: Wire-up statx() support

2017-05-20 Thread Richard Weinberger
statx() can report what flags a file has, expose flags that UBIFS supports. Especially STATX_ATTR_COMPRESSED and STATX_ATTR_ENCRYPTED can be interesting for userspace. Signed-off-by: Richard Weinberger --- fs/ubifs/dir.c | 15 +++ 1 file changed, 15 insertions(+)

Re: [PATCH 7/7] DWARF: add the config option

2017-05-20 Thread Andy Lutomirski
On Sat, May 20, 2017 at 1:01 PM, H.J. Lu wrote: > On Sat, May 20, 2017 at 9:20 AM, Josh Poimboeuf wrote: > >>> >>> (H.J., could we get a binutils feature that allows is to do: >>> >>> pushq %whatever >>> .cfi_adjust_sp -8 >>> ... >>> popq %whatever >>>

Re: [PATCH 7/7] DWARF: add the config option

2017-05-20 Thread Andy Lutomirski
On Sat, May 20, 2017 at 1:16 PM, Linus Torvalds wrote: > On Fri, May 19, 2017 at 10:23 PM, Andy Lutomirski wrote: >> >> I personally like the idea of using real DWARF annotations in the >> entry code because it makes gdb work better (not kgdb --

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-20 Thread Angus Ainslie
On 2017-05-20 09:14, Boris Brezillon wrote: Le Sat, 20 May 2017 08:49:04 -0600, Angus Ainslie a écrit : Hi All, I'm trying to boot a CHIPPro with the stock 4.12 rc1 kernel. If I make no modifications to the sun5i-gr8-chip-pro.dtb the kernel boots but can't find the root

Re: [PATCH] kconfig: Check for libncurses before menuconfig

2017-05-20 Thread Borislav Petkov
On Sun, May 21, 2017 at 04:38:35AM +0900, Masahiro Yamada wrote: > Strange, I could not reproduce this. Remove libncurses5-dev or whatever it is called on your system and do: $ make menuconfig HOSTCC scripts/kconfig/mconf.o In file included from scripts/kconfig/mconf.c:23:0:

[PATCH] init: Delete an error message for a failed memory allocation in rd_load_image()

2017-05-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 May 2017 22:14:36 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link:

Re: [PATCH 7/7] DWARF: add the config option

2017-05-20 Thread Linus Torvalds
On Fri, May 19, 2017 at 10:23 PM, Andy Lutomirski wrote: > > I personally like the idea of using real DWARF annotations in the > entry code because it makes gdb work better (not kgdb -- real gdb > attached to KVM). I bet that we could get entry asm annotations into > good shape

Re: [PATCHv2] i2c: i2c-tiny-usb: fix buffer not being DMA capable

2017-05-20 Thread Wolfram Sang
> This fixes a regression making the driver effectively useless. Sorry, I missed that this is a regression. Will apply it for rc3. signature.asc Description: PGP signature

Re: [PATCH v2 10/18] pinctrl: madera: Add driver for Cirrus Logic Madera codecs

2017-05-20 Thread Paul Gortmaker
On Fri, Apr 28, 2017 at 3:39 AM, Linus Walleij wrote: > On Mon, Apr 24, 2017 at 6:08 PM, Richard Fitzgerald > wrote: > >> These codecs have a variable number of I/O lines each of which >> is individually selectable to a wide range of

Re: [PATCHv2] i2c: i2c-tiny-usb: fix buffer not being DMA capable

2017-05-20 Thread Till Harbaum
On Friday, May 05, 2017 10:53:52 AM Greg KH wrote: > On Fri, May 05, 2017 at 11:06:50AM +0200, Sebastian Reichel wrote: > > Since v4.9 i2c-tiny-usb generates the below call trace > > and longer works, since it can't communicate with the > > USB device. The reason is, that since v4.9 the USB > >

[PATCH] Make x86 use $TARGET-readelf like all the other arches.

2017-05-20 Thread Rob Landley
From: Rob Landley My cross-compile environment doesn't provide an unprefixed readelf in the $PATH, which works fine on every target but x86, where you get a bunch of "/bin/sh: 1: readelf: not found" messages (but the result still works anyway). Signed-off-by: Rob Landley

Re: [PATCH 7/7] DWARF: add the config option

2017-05-20 Thread H.J. Lu
On Sat, May 20, 2017 at 9:20 AM, Josh Poimboeuf wrote: >> >> (H.J., could we get a binutils feature that allows is to do: >> >> pushq %whatever >> .cfi_adjust_sp -8 >> ... >> popq %whatever >> .cfi_adjust_sp 8 >> Np. Compiler needs to generate this. -- H.J.

[PATCH] vlynq: Delete an error message for a failed memory allocation in vlynq_probe()

2017-05-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 May 2017 21:53:55 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link:

Re: [PATCH v3 1/2] PCI: mediatek: Add Mediatek PCIe host controller support

2017-05-20 Thread Paul Gortmaker
On Tue, May 9, 2017 at 10:06 PM, Ryder Lee wrote: > Add support for the Mediatek PCIe Gen2 controller which can > be found on MT7623 series SoCs. > > Signed-off-by: Ryder Lee > --- > drivers/pci/host/Kconfig | 11 + >

Re: [PATCH] kconfig: Check for libncurses before menuconfig

2017-05-20 Thread Masahiro Yamada
Hi Borislav, 2017-04-09 22:07 GMT+09:00 Borislav Petkov : > From: Borislav Petkov > > There is a check and a nice user-friendly message when the curses > library is not present on the system and the user wants to do "make > menuconfig". It doesn't get issued,

[PATCH] staging-next: wlan-ng: resolve checkpatch issues

2017-05-20 Thread Ranjit W
fixing following checkpatch warning wherever possible: WARNING: line over 80 characters Signed-off-by: Ranjit W --- drivers/staging/wlan-ng/cfg80211.c | 11 --- drivers/staging/wlan-ng/hfa384x.h | 21 ++---

Re: [PATCH v6] mfd: Add Cherry Trail Whiskey Cove PMIC driver

2017-05-20 Thread Paul Gortmaker
On Sat, May 20, 2017 at 3:21 PM, Paul Gortmaker wrote: > On Mon, May 15, 2017 at 2:20 PM, Hans de Goede wrote: >> Hi, >> >> This is actually v7, with the following changes: >> >> Changes in v7: >> -Add explanation why this is a bool and why it

Re: [PATCH v6] mfd: Add Cherry Trail Whiskey Cove PMIC driver

2017-05-20 Thread Paul Gortmaker
On Mon, May 15, 2017 at 2:20 PM, Hans de Goede wrote: > Hi, > > This is actually v7, with the following changes: > > Changes in v7: > -Add explanation why this is a bool and why it selects i2c-designwaree > to the help text rather then as comments in the Kconfig I just

Re: [PATCH] usb: mtu3: cleanup with list_first_entry_or_null()

2017-05-20 Thread Greg Kroah-Hartman
On Sun, May 21, 2017 at 02:05:31AM +0900, Masahiro Yamada wrote: > The combo of list_empty() and list_first_entry() can be replaced with > list_first_entry_or_null(). > > Signed-off-by: Masahiro Yamada > --- > > drivers/usb/mtu3/mtu3.h | 8 ++-- > 1 file

[PATCH 5/5] fsl_hypervisor: Delete error messages for failed memory allocations in ioctl_memcpy()

2017-05-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 May 2017 20:27:23 +0200 Omit two extra messages for memory allocation failures in this function. This issue was detected by using the Coccinelle software. Link:

Re: [PATCH] mm: per-cgroup memory reclaim stats

2017-05-20 Thread Vladimir Davydov
On Thu, May 11, 2017 at 08:16:23PM +0100, Roman Gushchin wrote: > Track the following reclaim counters for every memory cgroup: > PGREFILL, PGSCAN, PGSTEAL, PGACTIVATE, PGDEACTIVATE, PGLAZYFREE and > PGLAZYFREED. > > These values are exposed using the memory.stats interface of cgroup v2. > > The

[PATCH 4/5] fsl_hypervisor: Use kcalloc() in ioctl_memcpy()

2017-05-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 May 2017 20:15:57 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kcalloc". This issue was detected

[PATCH 3/5] fsl_hypervisor: Return the success indication only as a constant in fsl_hv_open()

2017-05-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 May 2017 20:05:19 +0200 * Return a success code without storing it in an intermediate variable. * Delete the local variable "ret" which became unnecessary with this refactoring. Signed-off-by: Markus Elfring

[PATCH 2/5] fsl_hypervisor: Delete an error message for a failed memory allocation in fsl_hv_open()

2017-05-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 May 2017 19:57:52 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link:

[PATCH 1/5] fsl_hypervisor: Improve a size determination in fsl_hv_open()

2017-05-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 May 2017 19:52:38 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

Re: [PATCH] lpfc: nvmet_fc: fix format string

2017-05-20 Thread Arnd Bergmann
On Sat, May 20, 2017 at 12:28 PM, Joe Perches wrote: > On Fri, 2017-05-19 at 10:04 +0200, Arnd Bergmann wrote: >> The lpfc_nvmeio_data() tracing helper always takes a format string and >> three additional arguments. > > No it doesn't. It takes a format and arguments. > > I

Re: [PATCH 8/9] pinctrl: mvebu: add driver for Armada CP110 pinctrl

2017-05-20 Thread Paul Gortmaker
On Fri, May 19, 2017 at 12:04 PM, Gregory CLEMENT wrote: > From: Hanna Hawa > > This commit adds a pinctrl driver for the CP110 part of the Marvell > Armada 7K and 8K SoCs. The Armada 7K has a single CP110, where almost all > the MPP pins

[PATCH 0/5] fsl_hypervisor: Adjustments for two function implementations

2017-05-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 May 2017 20:36:54 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): Improve a size determination in fsl_hv_open() Delete an error message for a failed memory

Re: [PATCH] dm ioctl: Restore __GFP_HIGH in copy_params()

2017-05-20 Thread Mikulas Patocka
On Sat, 20 May 2017, Michal Hocko wrote: > On Fri 19-05-17 19:50:24, Mikulas Patocka wrote: > > > > > > On Thu, 18 May 2017, Junaid Shahid wrote: > > > > > d224e9381897 (drivers/md/dm-ioctl.c: use kvmalloc rather than opencoded > > > variant) left out the __GFP_HIGH flag when converting from

Re: [PATCH] serial: of_serial: remove NULL pointer check for clk_disable_unprepare

2017-05-20 Thread Masahiro Yamada
2017-05-21 2:44 GMT+09:00 Masahiro Yamada : > After long term efforts of fixing non-common clock implementations, > clk_disable() is a no-op for a NULL pointer input, and this is now > tree-wide consistent. > > All clock consumers can safely call

Re: [PATCH 7/9] pinctrl: mvebu: add driver for Armada AP806 pinctrl

2017-05-20 Thread Paul Gortmaker
On Fri, May 19, 2017 at 12:04 PM, Gregory CLEMENT wrote: > From: Hanna Hawa > > This commit adds a pinctrl driver for the pin-muxing controller found in > the AP806 part of the Marvell Armada 7K and 8K SoCs. Its register > interface is

Re: [PATCH] drm: remove NULL pointer check for clk_disable_unprepare

2017-05-20 Thread Masahiro Yamada
2017-05-21 2:58 GMT+09:00 Masahiro Yamada : > After long term efforts of fixing non-common clock implementations, > clk_disable() is a no-op for a NULL pointer input, and this is now > tree-wide consistent. > > All clock consumers can safely call

Re: [PATCH] usb: remove NULL pointer check for clk_disable_unprepare

2017-05-20 Thread Masahiro Yamada
2017-05-21 2:52 GMT+09:00 Masahiro Yamada : > After long term efforts of fixing non-common clock implementations, > clk_disable() is a no-op for a NULL pointer input, and this is now > tree-wide consistent. > > All clock consumers can safely call

Re: [PATCH] ASoC: remove NULL pointer check for clk_disable_unprepare

2017-05-20 Thread Masahiro Yamada
2017-05-21 3:42 GMT+09:00 Masahiro Yamada : > Hi Krzysztof, > > > 2017-05-21 3:04 GMT+09:00 Krzysztof Kozlowski : >> On Sun, May 21, 2017 at 02:42:38AM +0900, Masahiro Yamada wrote: >>> After long term efforts of fixing non-common clock

Re: [PATCH] ASoC: remove NULL pointer check for clk_disable_unprepare

2017-05-20 Thread Masahiro Yamada
Hi Krzysztof, 2017-05-21 3:04 GMT+09:00 Krzysztof Kozlowski : > On Sun, May 21, 2017 at 02:42:38AM +0900, Masahiro Yamada wrote: >> After long term efforts of fixing non-common clock implementations, >> clk_disable() is a no-op for a NULL pointer input, and this is now >>

[PATCH] ACPI: fix whitespace in pr_fmt() to align log entries

2017-05-20 Thread Vincent Legoll
See this dmesg extract before the patch: [0.679466] ACPI: Dynamic OEM Table Load: [0.679470] ACPI: SSDT 0x910F6B497E00 00018A (v02 PmRef ApCst 3000 INTL 20160422) [0.679579] ACPI: Executed 1 blocks of module-level executable AML code [0.681477] ACPI : EC: EC started [

Re: [RFC PATCH] mm, oom: cgroup-aware OOM-killer

2017-05-20 Thread Vladimir Davydov
Hello Roman, On Thu, May 18, 2017 at 05:28:04PM +0100, Roman Gushchin wrote: ... > +5-2-4. Cgroup-aware OOM Killer > + > +Cgroup v2 memory controller implements a cgroup-aware OOM killer. > +It means that it treats memory cgroups as memory consumers > +rather then individual processes. Under the

Re: [PATCH v3] staging: iio: light: Replace symbolic permissions as per coding style

2017-05-20 Thread Brian Masney
On Sat, May 20, 2017 at 06:55:02PM +0100, Jonathan Cameron wrote: > On 19/05/17 10:37, surenderpols...@gmail.com wrote: > >From: Surender Polsani > > > >Fixed the following checkpatch.pl warnings: > >octal permissions are more preferable than symbolic permissions > > >

[PATCH 6/6] Staging: rtl8712: ieee80211: fixed camelcase coding style issue

2017-05-20 Thread Jaya Durga
Fixed coding style issue Renamed cap_Privacy to cap_privacy Signed-off-by: Jaya Durga --- drivers/staging/rtl8712/ieee80211.c | 2 +- drivers/staging/rtl8712/wifi.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8712/ieee80211.c

Re: [PATCH] ASoC: remove NULL pointer check for clk_disable_unprepare

2017-05-20 Thread Krzysztof Kozlowski
On Sun, May 21, 2017 at 02:42:38AM +0900, Masahiro Yamada wrote: > After long term efforts of fixing non-common clock implementations, > clk_disable() is a no-op for a NULL pointer input, and this is now > tree-wide consistent. > > All clock consumers can safely call clk_disable(_unprepare)

[PATCH] drm: remove NULL pointer check for clk_disable_unprepare

2017-05-20 Thread Masahiro Yamada
After long term efforts of fixing non-common clock implementations, clk_disable() is a no-op for a NULL pointer input, and this is now tree-wide consistent. All clock consumers can safely call clk_disable(_unprepare) without NULL pointer check. Signed-off-by: Masahiro Yamada

[PATCH 5/5] Staging: rtl8712: ieee80211: fixed camelcase coding style issue

2017-05-20 Thread Jaya Durga
Fixed coding style issue Renamed cap_ShortPremble to cap_short_premble Signed-off-by: Jaya Durga --- drivers/staging/rtl8712/ieee80211.c | 2 +- drivers/staging/rtl8712/wifi.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] nvme: pci: Fix NULL dereference when resetting NVMe SSD

2017-05-20 Thread Rakesh Pandit
While doing IO if I reset NVMe SSD (model :Samsung MZVPV512HDGL-0) it doesn't work as expected also results in NULL point dereference and system becomes unstable. Device's access is successfully disabled and reset attempt does successfully complete but restore isn't able to restore NVMe

Re: [PATCH v3] staging: iio: light: Replace symbolic permissions as per coding style

2017-05-20 Thread Jonathan Cameron
On 19/05/17 10:37, surenderpols...@gmail.com wrote: From: Surender Polsani Fixed the following checkpatch.pl warnings: octal permissions are more preferable than symbolic permissions Replaced DEVICE_ATTR family macros with DEVICE_ATTR_RW family as suggested by Greg

[PATCH] usb: remove NULL pointer check for clk_disable_unprepare

2017-05-20 Thread Masahiro Yamada
After long term efforts of fixing non-common clock implementations, clk_disable() is a no-op for a NULL pointer input, and this is now tree-wide consistent. All clock consumers can safely call clk_disable(_unprepare) without NULL pointer check. Signed-off-by: Masahiro Yamada

[PATCH] serial: of_serial: remove NULL pointer check for clk_disable_unprepare

2017-05-20 Thread Masahiro Yamada
After long term efforts of fixing non-common clock implementations, clk_disable() is a no-op for a NULL pointer input, and this is now tree-wide consistent. All clock consumers can safely call clk_disable(_unprepare) without NULL pointer check. Signed-off-by: Masahiro Yamada

[PATCH] ASoC: remove NULL pointer check for clk_disable_unprepare

2017-05-20 Thread Masahiro Yamada
After long term efforts of fixing non-common clock implementations, clk_disable() is a no-op for a NULL pointer input, and this is now tree-wide consistent. All clock consumers can safely call clk_disable(_unprepare) without NULL pointer check. Signed-off-by: Masahiro Yamada

Re: [PATCH 5/5] iio: adc: stm32: add support for STM32H7

2017-05-20 Thread Jonathan Cameron
On 19/05/17 13:45, Fabrice Gasnier wrote: Add support for STM32H7 Analog to Digital Converter. It has up to 20 external channels, resolution ranges from 8 to 16bits. Either bus or asynchronous adc clock may be used. Add registers & bitfields definition. Also add new configuration options to

Re: [4.12 regression] Thinkpad X250 Touchpad and Trackpoint not recognized anymore; commit e839ffa: "Input: synaptics - add support for Intertouch devices"

2017-05-20 Thread Dmitry Torokhov
On Sat, May 20, 2017 at 11:59:50AM +0200, Benjamin Tissoires wrote: > Hi, > > On May 20 2017 or thereabouts, Pascal Wichmann wrote: > > > Looks like you running your patched kernel? > > That's right. > > > > > > >>> CONFIG_RMI4_CORE=m > > >>> CONFIG_RMI4_I2C=m > > >>> CONFIG_RMI4_SPI=m > > >>>

Re: [PATCH] drm/stm: add COMPILE_TEST to Kconfig (fwd)

2017-05-20 Thread Masahiro Yamada
Hi Philippe, 2017-05-19 21:17 GMT+09:00 Philippe CORNU : > > > On 05/19/2017 09:49 AM, Julia Lawall wrote: >> On line 466, the preceeding comment suggests that the second constant >> should start with VS rather than HS again. >> >> julia >> >> -- Forwarded message

Re: [PATCH 7/7] DWARF: add the config option

2017-05-20 Thread Josh Poimboeuf
On Sat, May 20, 2017 at 11:20:34AM -0500, Josh Poimboeuf wrote: >But then, if we're going that far, why not just have objtool reformat >the data into something much simpler? It already has the knowledge >to do so. Then we don't have to jump through all those hoops to >justify

Re: [PATCH-RFT 2/2] pinctrl: samsung: Split Exynos drivers per ARMv7 and ARMv8

2017-05-20 Thread Krzysztof Kozlowski
On Sat, May 20, 2017 at 07:12:13PM +0200, Linus Walleij wrote: > On Tue, May 16, 2017 at 10:06 PM, Krzysztof Kozlowski wrote: > > > Exynos pinctrl drivers contain pretty big per-SoC data structures. The > > pinctrl-exynos object file contained code and data for both ARMv7 and >

Re: [PATCH-RFT 2/2] pinctrl: samsung: Split Exynos drivers per ARMv7 and ARMv8

2017-05-20 Thread Linus Walleij
On Tue, May 16, 2017 at 10:06 PM, Krzysztof Kozlowski wrote: > Exynos pinctrl drivers contain pretty big per-SoC data structures. The > pinctrl-exynos object file contained code and data for both ARMv7 and > ARMv8 SoCs thus it grew big. There will not be a shared image between

[v4 1/1] mm: Adaptive hash table scaling

2017-05-20 Thread Pavel Tatashin
Allow hash tables to scale with memory but at slower pace, when HASH_ADAPT is provided every time memory quadruples the sizes of hash tables will only double instead of quadrupling as well. This algorithm starts working only when memory size reaches a certain point, currently set to 64G. This is

  1   2   3   >