Re: [PATCH] arm: dts: r7s72100: Add support for GR-Peach

2017-05-25 Thread Simon Horman
On Wed, May 24, 2017 at 09:07:02AM +0200, jmondi wrote: > Hello Simon, > > On Tue, May 23, 2017 at 09:25:40PM +0200, Geert Uytterhoeven wrote: > > On Tue, May 23, 2017 at 9:20 PM, Jacopo Mondi > > wrote: > > > Add device tree source for Renesas GR-Peach board. > > > GR-Peach is an RZ/A1H based b

Re: [PATCH 1/1] futex: remove duplicated code

2017-05-25 Thread Thomas Gleixner
On Thu, 25 May 2017, Will Deacon wrote: > On Mon, May 22, 2017 at 11:11:33PM +0200, Thomas Gleixner wrote: > > On Mon, 15 May 2017, Will Deacon wrote: > > > On Mon, May 15, 2017 at 03:07:42PM +0200, Jiri Slaby wrote: > > > > There is code duplicated over all architecture's headers for > > > > futex

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

2017-05-25 Thread Jiri Slaby
On 05/19/2017, 11:35 PM, Josh Poimboeuf wrote: > > https://github.com/jpoimboe/linux/blob/undwarf/arch/x86/kernel/unwind_undwarf.c JFYI, it crashes in sha1_transform_avx due to crypto changes. You perhaps missed that this beast uses ebp (not rbp) register for computations. I had to do: --- a/a

Re: [PATCH 01/15] liblockdep: Fix undefined symbol prandom_u32

2017-05-25 Thread Ingo Molnar
* Levin, Alexander (Sasha Levin) wrote: > On Wed, May 24, 2017 at 09:53:37AM +0200, Ingo Molnar wrote: > > > > So I'm not sure how you sent these patches, but probably due to the lack of > > a > > boilerplate message, the order was all mixed up. I got the patch order > > right on > > the th

Re: [PATCH 00/21] liblockdep fixes for v4.12

2017-05-25 Thread Ingo Molnar
* Levin, Alexander (Sasha Levin) wrote: > MAINTAINERS| 2 +- > tools/Makefile | 8 +++-- > tools/include/linux/bitops.h | 10 ++ > tools/include/linux/err.h | 5 +++ > tools/inc

Re: [PATCH v2] PCI: Add ATS-disable quirk for AMD Stoney GPUs

2017-05-25 Thread Samuel Sieb
On 05/24/2017 05:56 AM, Deucher, Alexander wrote: -Original Message- From: Joerg Roedel [mailto:jroe...@suse.de] Sent: Wednesday, May 24, 2017 4:45 AM To: Deucher, Alexander Cc: 'David Woodhouse'; 'Joerg Roedel'; Bjorn Helgaas; linux- p...@vger.kernel.org; linux-kernel@vger.kernel.org; Da

Re: [PATCH] drm/rockchip: Don't allow zero sized gem buffer

2017-05-25 Thread Daniel Vetter
On Fri, May 26, 2017 at 7:52 AM, Christoph Hellwig wrote: > On Fri, May 26, 2017 at 10:30:09AM +0800, jeffy wrote: >> Hi sean, >> >> On 05/25/2017 11:30 PM, Sean Paul wrote: >> > On Tue, May 23, 2017 at 02:39:43PM +0800, Jeffy Chen wrote: >> > > The system would crash when trying to alloc zero siz

RE: [PATCH] pinctrl/amd: Use regular interrupt instead of chained

2017-05-25 Thread Thomas Gleixner
Nehal, On Fri, 26 May 2017, Shah, Nehal-bakulchandra wrote: > Thanks for the patch. However, we have received this issue from multiple > people and different disro but it occurs only on Gigabyte hardware. With > reference AM4 ryzen board we are not facing this issue. We are in > discussion with g

[PATCH] iio: adc: xilinx: Handle return value of clk_prepare_enable

2017-05-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/iio/adc/xilinx-xadc-core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/iio/adc/xilinx-xadc-core.c b/drivers/iio/adc/xilinx-xadc-core.c index 56cf590

[PATCH 6/6] arm64: defconfig: enable hi6421v530 MFD and regulator

2017-05-25 Thread Guodong Xu
Enable configs for hi6421v530 mfd and regulator driver Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index ce07285..287e943 100644 --- a/arch/arm64/configs/defconfig +++

[PATCH 4/6] regulator: hi6421v530: add driver for hi6421v530 voltage regulator

2017-05-25 Thread Guodong Xu
From: Wang Xiaoyin add the driver for hi6421v530 voltage regulator Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu --- drivers/regulator/Kconfig| 10 + drivers/regulator/Makefile | 1 + drivers/regulator/hi6421v530-regulator.c | 355 +

[PATCH 5/6] arm64: dts: hikey960: add device node for pmic and regulators

2017-05-25 Thread Guodong Xu
From: Wang Xiaoyin add device node for hi6421 pmic core and hi6421v530 voltage regulator,include LDO(1,3,9,11,15,16) Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 60 +++ 1 file changed, 60 insertions(+) diff

[PATCH 0/6] MFD: add driver for HiSilicon Hi6421v530 PMIC

2017-05-25 Thread Guodong Xu
This patchset adds driver for HiSilicon Hi6421v530 PMIC. Mainline kernel already has driver support to a similar chip, Hi6421. Hi6421 and Hi6421v530 are both from the same vendor, HiSilicon, but they are at different revisions. They both use the same Memory-mapped I/O method to communicate with Ma

[PATCH 3/6] mfd: hi6421v530: add support for HiSilicon Hi6421v530

2017-05-25 Thread Guodong Xu
Add support for HiSilicon Hi6421v530 PMIC. Hi6421v530 communicates with main SoC via memory-mapped I/O. Hi6421v530 and Hi6421 are PMIC chips from the same vendor, HiSilicon, but at different revisions. They share the same memory-mapped I/O design. They differ in regulator details, eg. LDO voltage

[PATCH 1/6] dt-bindings: mfd: Add hi6421v530 bindings

2017-05-25 Thread Guodong Xu
DT bindings for hisilicon HI655x PMIC chip. Signed-off-by: Guodong Xu --- .../bindings/mfd/hisilicon,hi6421v530.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/hisilicon,hi6421v530.txt diff --git a/Documentati

[PATCH 2/6] mfd: hi6421-pmic: move hi6421_regmap_config definition to header file

2017-05-25 Thread Guodong Xu
Move hi6421_regmap_config definition from c code to common header: - include/linux/mfd/hi6421-pmic.h This is to improve code re-use for upcoming hi6421 series of MFD driver. Signed-off-by: Guodong Xu --- drivers/mfd/hi6421-pmic-core.c | 7 --- include/linux/mfd/hi6421-pmic.h | 6 ++ 2

Re: [linux-next] PPC Lpar fail to boot with error hid: module verification failed: signature and/or required key missing - tainting kernel

2017-05-25 Thread Rob Landley
On 05/25/2017 04:24 PM, Stephen Rothwell wrote: > Hi Michael, > > On Thu, 25 May 2017 23:02:06 +1000 Michael Ellerman > wrote: >> >> It'll be: >> >> ee35011fd032 ("initramfs: make initramfs honor CONFIG_DEVTMPFS_MOUNT") > > And Andrew has asked me to drop that patch from linux-next which will >

Re: [PATCH 0/2] nohz: Deal with clock reprogram skipping issues v3

2017-05-25 Thread Ingo Molnar
* Frederic Weisbecker wrote: > On Wed, May 24, 2017 at 09:16:28AM +0200, Ingo Molnar wrote: > > So the interdiff between your two patches and the 3 commits already queued > > up is: > > > > diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c > > index e3043873fcdc..30253ed0380b 10

Re: [RFC PATCH tip/master] kprobes: Use synchronize_rcu_tasks() for optprobe wit CONFIG_PREEMPT

2017-05-25 Thread Ingo Molnar
* Paul E. McKenney wrote: > How about the following (untested) patch? Looks good to me! Acked-by: Ingo Molnar Thanks, Ingo

Re: [RESEND: PATCH v4 4/4] remoteproc: qcom: Add support for mss boot on msm8996

2017-05-25 Thread Bjorn Andersson
On Tue 16 May 11:02 PDT 2017, Avaneesh Kumar Dwivedi wrote: > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt > b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt > index 92347fe..f9dfb6c 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt >

Re: [RESEND: PATCH v4 1/4] firmware: scm: Add new SCM call for switching memory ownership

2017-05-25 Thread Bjorn Andersson
On Tue 16 May 11:01 PDT 2017, Avaneesh Kumar Dwivedi wrote: > diff --git a/drivers/firmware/qcom_scm-32.c b/drivers/firmware/qcom_scm-32.c > index 93e3b96..4eb7d59 100644 > --- a/drivers/firmware/qcom_scm-32.c > +++ b/drivers/firmware/qcom_scm-32.c > @@ -596,3 +596,9 @@ int __qcom_scm_iommu_secure

[PATCH v2 net-next 2/3] samples/bpf: add samples for more perf event types

2017-05-25 Thread Alexei Starovoitov
From: Teng Qin This commit adds test code to attach BPF to HW_CACHE and RAW type events and updates clean-up logic to disable the perf events before closing pmu_fd. This commit also adds test code to read SOFTWARE, HW_CACHE, RAW and dynamic pmu events from BPF program using bpf_perf_event_read()

[PATCH v2 net-next 0/3] bpf: Add BPF support to all perf_event

2017-05-25 Thread Alexei Starovoitov
v1->v2: address Peter's feedback. Refactor patch 1 to allow attaching bpf programs to all event types and reading counters from all of them as well patch 2 - more tests patch 3 - address Dave's feedback and document bpf_perf_event_read() and bpf_perf_event_output() properly Teng Qin (3): perf, b

[PATCH v2 net-next 1/3] perf, bpf: Add BPF support to all perf_event types

2017-05-25 Thread Alexei Starovoitov
From: Teng Qin Allow BPF program to attach to all perf_event types supported by the current bpf and perf code logic, including HW_CACHE, RAW, and dynamic pmu events. Also add support for reading these event counters using bpf_perf_event_read() helper. Signed-off-by: Teng Qin Signed-off-by: Ale

[PATCH v2 net-next 3/3] bpf: update perf event helper functions documentation

2017-05-25 Thread Alexei Starovoitov
From: Teng Qin This commit updates documentation of the bpf_perf_event_output and bpf_perf_event_read helpers to match their implementation. Signed-off-by: Teng Qin Signed-off-by: Alexei Starovoitov --- include/uapi/linux/bpf.h | 11 +++ tools/include/uapi/linux/bpf.h | 11 +

Re: [PATCH net-next v3 5/5] net-next: dsa: add dsa support for Mediatek MT7530 switch

2017-05-25 Thread Florian Fainelli
On May 24, 2017 4:17:39 AM PDT, "Andrey Jr. Melnikov" wrote: >In gmane.linux.kernel sean.w...@mediatek.com wrote: >> From: Sean Wang > >> MT7530 is a 7-ports Gigabit Ethernet Switch that could be found on >> Mediatek router platforms such as MT7623A or MT7623N platform which >> includes 7-port G

[PATCH] ARM: dts: rockchip:add sd card support

2017-05-25 Thread Eddie Cai
firefly reload board not support sd card yet. so support it. Signed-off-by: Eddie Cai --- arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi b/arch/arm/boot/dts/rk3288-f

Re: [PATCH] drm/rockchip: Don't allow zero sized gem buffer

2017-05-25 Thread Christoph Hellwig
On Fri, May 26, 2017 at 10:30:09AM +0800, jeffy wrote: > Hi sean, > > On 05/25/2017 11:30 PM, Sean Paul wrote: > > On Tue, May 23, 2017 at 02:39:43PM +0800, Jeffy Chen wrote: > > > The system would crash when trying to alloc zero sized gem buffer: > > > [6.712435] Unable to handle kernel NULL

Re: [PATCH v2] PCI/msi: fix the pci_alloc_irq_vectors_affinity stub

2017-05-25 Thread Christoph Hellwig
Bjorn, can you take this regression fix and sent it to Linux before -rc3? I had hope we could get it into -rc2 but already missed that, and I haven't heard a comment since.. On Sat, May 20, 2017 at 06:59:54PM +0200, Christoph Hellwig wrote: > We need to return an error for any call that asks for

Re: [PATCH V2 2/2]: powerpc/hotplug/mm: Fix hot-add memory node assoc

2017-05-25 Thread Michael Ellerman
Michael Bringmann writes: > Removing or adding memory via the PowerPC hotplug interface shows > anomalies in the association between memory and nodes. What anomalies? Please describe the actual problem you're seeing, with details, and why you think this is the correct fix. This is a revert of 3

[PATCH] iscsi-target: Fix initial login PDU asynchronous socket close OOPs

2017-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch fixes a OOPs originally introduced by: commit bb048357dad6d604520c91586334c9c230366a14 Author: Nicholas Bellinger Date: Thu Sep 5 14:54:04 2013 -0700 iscsi-target: Add sk->sk_state_change to cleanup after TCP failure which would trigger a NULL

[PATCH] Input: mousedev - fix implicit conversion warning

2017-05-25 Thread Nick Desaulniers
Clang warns: drivers/input/mousedev.c:653:63: error: implicit conversion from 'int' to 'signed char' changes value from 200 to -56 [-Wconstant-conversion] client->ps2[1] = 0x60; client->ps2[2] = 3; client->ps2[3] = 200; ~ ^~~ As far as

Ich brauche deine Hilfe!

2017-05-25 Thread Hubert Guillaud
Lieber Freund, Ich bin Frau Dionisia Denis Perman aus Island, verheiratet mit Late Engineer Denis Perman {PhD}, der mit MULTINATIONAL OIL COMPANY EXXON AS A gearbeitet hat DRILLING RIG SUPPLIER in Kuwait seit 19 Jahren, bevor er auf der 22. August 2009. Wir waren seit vierundzwanzig Jahren verheir

[PATCH linux-next v3 1/1] spi: imx: dynamic burst length adjust for PIO mode

2017-05-25 Thread jiada_wang
From: Jiada Wang previously burst length (BURST_LENGTH) is always set to equal to bits_per_word, causes a 10us gap between each word in transfer, which significantly affects performance. This patch uses 32 bits transfer to simulate lower bits transfer, and adjusts burst length runtimely to use b

Re: [PATCH v5 31/32] x86: Add sysfs support for Secure Memory Encryption

2017-05-25 Thread Xunlei Pang
On 05/26/2017 at 10:49 AM, Dave Young wrote: > Ccing Xunlei he is reading the patches see what need to be done for > kdump. There should still be several places to handle to make kdump work. > > On 05/18/17 at 07:01pm, Borislav Petkov wrote: >> On Tue, Apr 18, 2017 at 04:22:12PM -0500, Tom Lendacky

Re: [RESEND: PATCH v4 2/4] remoteproc: qcom: refactor mss fw image loading sequence

2017-05-25 Thread Sricharan R
Hi Bjorn, On 5/26/2017 12:33 AM, Bjorn Andersson wrote: > On Mon 22 May 06:26 PDT 2017, Dwivedi, Avaneesh Kumar (avani) wrote: >> On 5/22/2017 4:07 PM, Sricharan R wrote: >>> Hi, >>> >>> On 5/22/2017 3:03 PM, Dwivedi, Avaneesh Kumar (avani) wrote: On 5/20/2017 8:25 AM, Sricharan R wrote:

Re: [PATCH V4 00/17] thermal: cpu_cooling: improve interaction with cpufreq core

2017-05-25 Thread Viresh Kumar
On 26-04-17, 11:41, Lukasz Luba wrote: > Hi Viresh, > > I went through the v4 code and it looks good to me. > Feel free to add for the v4 series > Reviewed-by: Lukasz Luba @Eduardo: You missed adding this to the patches. -- viresh

RE: [PATCH] pinctrl/amd: Use regular interrupt instead of chained

2017-05-25 Thread Shah, Nehal-bakulchandra
Hi Thomas, Thanks for the patch. However, we have received this issue from multiple people and different disro but it occurs only on Gigabyte hardware. With reference AM4 ryzen board we are not facing this issue. We are in discussion with gigabyte to check the BIOS part. Once we have clarity on

[PATCH] selftests/ftrace: Add a testcase for many kprobe events

2017-05-25 Thread Masami Hiramatsu
Add a testcase to test kprobes via ftrace interface with many concurrent kprobe events. This tries to add many kprobe events (up to 256) on kernel functions. To avoid making ftrace-based kprobes (kprobes on fentry), it skips first N bytes (on x86 N=5, on ppc or arm N=4) of function entry. After th

Re: [Patch v2] mm/vmscan: fix unsequenced modification and access warning

2017-05-25 Thread Nick Desaulniers
On Tue, May 16, 2017 at 10:27:46AM +0200, Michal Hocko wrote: > I guess it is worth reporting this to clang bugzilla. Could you take > care of that Nick? >From https://bugs.llvm.org//show_bug.cgi?id=33065#c5 it seems that this is indeed a sequence bug in the previous version of this code and not a

[git pull] drm fixes for v4.12-rc3

2017-05-25 Thread Dave Airlie
Hi Linus, Not a whole lot happening here, a set of amdgpu fixes and one core deadlock fix, and some misc drivers fixes. Dave. The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d: Linux 4.12-rc2 (2017-05-21 19:30:23 -0700) are available in the git repository at: gi

Re: [PATCH v5 06/10] drm/bridge: analogix-anx78xx: Use bridge->mode_valid() callback

2017-05-25 Thread Archit Taneja
On 05/25/2017 07:49 PM, Jose Abreu wrote: Now that we have a callback to check if bridge supports a given mode we can use it in Analogix bridge so that we restrict the number of probbed modes to the ones we can actually display. Also, there is no need to use mode_fixup() callback as mode_valid

Re: [PATCHv1, RFC 0/8] Boot-time switching between 4- and 5-level paging

2017-05-25 Thread Kevin Easton
On Thu, May 25, 2017 at 05:40:16PM -0700, Andy Lutomirski wrote: > On Thu, May 25, 2017 at 4:24 PM, Linus Torvalds > wrote: > > On Thu, May 25, 2017 at 1:33 PM, Kirill A. Shutemov > > wrote: > >> Here' my first attempt to bring boot-time between 4- and 5-level paging. > >> It looks not too terrib

Re: [PATCH v5 02/10] drm: Introduce drm_bridge_mode_valid()

2017-05-25 Thread Archit Taneja
On 05/25/2017 07:49 PM, Jose Abreu wrote: Introduce a new helper function which calls mode_valid() callback for all bridges in an encoder chain. Reviewed-by: Archit Taneja Signed-off-by: Jose Abreu Reviewed-by: Daniel Vetter Cc: Carlos Palminha Cc: Ville Syrjälä Cc: Dave Airlie Cc: A

Re: [PATCH 5/5] drm: dw-hdmi-i2s: add .get_dai_id callback for ALSA SoC

2017-05-25 Thread Archit Taneja
On 05/26/2017 09:46 AM, Archit Taneja wrote: Hi, On 05/25/2017 05:04 AM, Kuninori Morimoto wrote: Hi Mark Cc: DRM maintainer ALSA SoC needs to know connected DAI ID for probing. It is not a big problem if device/driver was only for sound, but getting DAI ID will be difficult if device incl

Re: [PATCH v5 28/32] x86/mm, kexec: Allow kexec to be used with SME

2017-05-25 Thread Xunlei Pang
On 04/19/2017 at 05:21 AM, Tom Lendacky wrote: > Provide support so that kexec can be used to boot a kernel when SME is > enabled. > > Support is needed to allocate pages for kexec without encryption. This > is needed in order to be able to reboot in the kernel in the same manner > as originally b

Re: [PATCH 5/5] drm: dw-hdmi-i2s: add .get_dai_id callback for ALSA SoC

2017-05-25 Thread Archit Taneja
Hi, On 05/25/2017 05:04 AM, Kuninori Morimoto wrote: Hi Mark Cc: DRM maintainer ALSA SoC needs to know connected DAI ID for probing. It is not a big problem if device/driver was only for sound, but getting DAI ID will be difficult if device includes both Video/Sound, like HDMI. As far as I

Re: [PATCH] mm/zsmalloc: fix -Wunneeded-internal-declaration warning

2017-05-25 Thread Nick Desaulniers
On Wed, May 24, 2017 at 05:16:18PM +0900, Sergey Senozhatsky wrote: > On (05/23/17 22:38), Nick Desaulniers wrote: > > Fixes the following warning, found with Clang: > well, no objections from my side. MM seems to be getting more and > more `__maybe_unused' annotations because of clang. Indeed, bu

Re: [PATCH] KVM: x86: dynamically allocate large struct in em_fxrstor

2017-05-25 Thread Nick Desaulniers
On Thu, May 25, 2017 at 04:07:08PM +0200, Paolo Bonzini wrote: > I think we should do the fixup backwards. > > That is: > > - first do get_fpu > > - if the fixup is necessary, i.e. ctxt->mode < X86EMUL_MODE_PROT64, do > fxsave into &fxstate. > > - then do segmented_read_std with the correct siz

Re: [PATCH net] sky2: Do not deadlock on sky2_hw_down

2017-05-25 Thread David Miller
From: Stephen Hemminger Date: Thu, 25 May 2017 15:05:02 -0700 > Ok, the issue is that lockdep is being stupid and thinking that > seqcount's behave like locks. Well.. they do. That's why they have that annotation.

Re: [linux-sunxi] [PATCH 1/3] arm64: allwinner: a64: Add initial Orangepi Win/WinPlus support

2017-05-25 Thread Chen-Yu Tsai
On Fri, May 26, 2017 at 6:30 AM, André Przywara wrote: > On 25/05/17 20:26, Jagan Teki wrote: >> From: Jagan Teki >> >> Orangepi Win/WinPlus is an open-source single-board computer >> using the Allwinner A64 SOC. >> >> A64 Orangepi Win/WinPlus has >> - A64 Quad-core Cortex-A53 64bit >> - 1GB(Win)

Re: [Patch 2/2]: powerpc/hotplug/mm: Fix hot-add memory node assoc

2017-05-25 Thread Michael Ellerman
Reza Arbab writes: > On Thu, May 25, 2017 at 04:19:53PM +1000, Michael Ellerman wrote: >>The commit message for 3af229f2071f says: >> >>In practice, we never see a system with 256 NUMA nodes, and in fact, we >>do not support node hotplug on power in the first place, so the nodes >>^^^

Re: [Patch 2/2]: powerpc/hotplug/mm: Fix hot-add memory node assoc

2017-05-25 Thread Balbir Singh
On Thu, 25 May 2017 10:10:11 -0500 Reza Arbab wrote: > On Thu, May 25, 2017 at 04:19:53PM +1000, Michael Ellerman wrote: > >The commit message for 3af229f2071f says: > > > >In practice, we never see a system with 256 NUMA nodes, and in fact, we > >do not support node hotplug on power in t

Re: [PATCH v4 6/6] Documentation/dev-tools: Add kselftest_harness documentation

2017-05-25 Thread Kees Cook
On Thu, May 25, 2017 at 5:20 PM, Mickaël Salaün wrote: > Add metadata to kselftest_harness.h to be able to include the comments > in the Sphinx documentation. > > Changes since v3: > * document macros as actual functions (suggested by Jonathan Corbet) > * remove the TEST_API() wrapper to expose th

Re: [PATCH v3] add the option of fortified string.h functions

2017-05-25 Thread Kees Cook
On Mon, May 22, 2017 at 4:10 PM, Daniel Micay wrote: > diff --git a/arch/x86/include/asm/string_64.h > b/arch/x86/include/asm/string_64.h > index 733bae07fb29..3c5b26e07b85 100644 > --- a/arch/x86/include/asm/string_64.h > +++ b/arch/x86/include/asm/string_64.h > @@ -77,6 +77,11 @@ int strcmp(con

Re: [PATCH 2/4] pinctrl: rockchip: Add iomux-route switching support for rk3228

2017-05-25 Thread David.Wu
Hi Heiko, 在 2017/5/26 5:12, Heiko Stuebner 写道: Requiring developers to calculate this pin-bit-value for each bank is cumbersome and error-prone. With the routes-struct known in the driver (see above and below), you can keep the the value element in rockchip_pin_bank, but calculate the per-bank v

Re: [PATCH 02/20] ipc: merge ipc_rcu and kern_ipc_perm

2017-05-25 Thread Kees Cook
On Thu, May 25, 2017 at 12:34 PM, Kees Cook wrote: > On Thu, May 25, 2017 at 11:50 AM, Manfred Spraul > wrote: >> ipc has two management structures that exist for every id: >> - struct kern_ipc_perm, it contains e.g. the permissions. >> - struct ipc_rcu, it contains the rcu head for rcu handling

[PATCH 0/2] reset: Basic reset controller

2017-05-25 Thread Joel Stanley
Hello, In the Aspeed SoCs we have some reset registers spread out in various parts of the soc: in the system controller IP, as well as other peripherals. I need to be able to deassert those resets before other drivers work. In writing a driver to do this I realised it was very generic. So instead

[PATCH 2/2] reset: Add basic single-register reset driver

2017-05-25 Thread Joel Stanley
This driver is a basic single-register reset controller driver that supports clearing a single bit in a register. Signed-off-by: Joel Stanley --- drivers/reset/Kconfig | 6 +++ drivers/reset/Makefile | 1 + drivers/reset/reset-basic.c | 109

[PATCH 1/2] dt-bindings: reset: Add bindings for basic reset controller

2017-05-25 Thread Joel Stanley
This adds the bindings documentation for a basic single-register reset controller. The bindings describe a single 32-bit register that contains up to 32 reset lines, each deasserted by clearing the appropriate bit in the register. Signed-off-by: Joel Stanley --- .../devicetree/bindings/reset/re

Re: [patch 2/2] MM: allow per-cpu vmstat_threshold and vmstat_worker configuration

2017-05-25 Thread Christoph Lameter
On Thu, 25 May 2017, Marcelo Tosatti wrote: > Argument? We're showing you the data that this is causing a latency > problem for us. Sorry I am not sure where the data shows a latency problem. There are interrupts and scheduler ticks. But what does this have to do with vmstat? Show me your dpdk c

Re: [PATCH V2 2/2]: powerpc/hotplug/mm: Fix hot-add memory node assoc

2017-05-25 Thread Balbir Singh
On Thu, 25 May 2017 12:37:40 -0500 Michael Bringmann wrote: > Removing or adding memory via the PowerPC hotplug interface shows > anomalies in the association between memory and nodes. The code > was updated to ensure that all nodes found at boot are still available > to subsequent DLPAR hotplug

Re: [PATCH] reset: hisilicon: Fix hi6220 module license

2017-05-25 Thread Chen Feng
looks good to me. On 2017/5/25 17:22, Andreas Färber wrote: > The hi6220_reset driver fails to load: > > [ 10.423640] hi6220_reset: module license 'unspecified' taints kernel. > [ 10.423644] Disabling lock debugging due to kernel taint > [ 10.423735] hi6220_reset: Unknown symbol regmap

Re: [PATCH v9 6/7] LPC: Add the ACPI LPC support

2017-05-25 Thread kbuild test robot
Hi zhichang.yuan, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc2 next-20170525] [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/Gabriele-Paoloni/LPC-legacy-ISA-I-O

linux-next: Tree for May 26

2017-05-25 Thread Stephen Rothwell
Hi all, Changes since 20170525: New tree: realtek Non-merge commits (relative to Linus' tree): 2775 3084 files changed, 111008 insertions(+), 61381 deletions(-) I have created today's linux-next t

[PATCH 3/4] test: firmwware: add signature test to driver_data loader test

2017-05-25 Thread AKASHI Takahiro
Add the following tests: No.15 - verify loaded data witha signature No.16 - verify loaded data witha signature under signature enforcing For each test, there are several test cases: * no signature provided * valid signature provided * invalid signature provided Signed-off-by: AKASHI Takahiro Cc:

[PATCH 4/4] firmware: document signature verification for driver data

2017-05-25 Thread AKASHI Takahiro
add descriptions and usage about firmware signing in driver data APIs. Signed-off-by: AKASHI Takahiro Cc: Luis R. Rodriguez --- Documentation/driver-api/firmware/driver_data.rst | 6 ++ .../driver-api/firmware/fallback-mechanisms.rst| 5 +- Documentation/driver-api/firmware/signing.rst

[PATCH 2/4] scripts: sign-file: add firmware-signing option

2017-05-25 Thread AKASHI Takahiro
This new option (-f) allows us to create a signature file (*.p7s) for firmware binary. Signed-off-by: AKASHI Takahiro Cc: Luis R. Rodriguez --- scripts/sign-file.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/sign-file.c b/scripts/sign-file.c index fbd34b8e8f5

[PATCH 1/4] firmware: add firmware signing

2017-05-25 Thread AKASHI Takahiro
Systems that have module signing currently enabled may wish to extend vetting of firmware passed to the kernel as well. We can re-use most of the code for module signing for firmware signature verification and signing. This will also later enable re-use of this same code for subsystems that wish to

[PATCH 0/4] firmware: signature verification

2017-05-25 Thread AKASHI Takahiro
This is my first version of patch series for adding signature verification to firmware loading. The original idea and code came from the work by Luis some time ago, and I migrated it with some improvements to new driver data APIs, leaving request_firmware() intact. For details about how it works,

[PATCH] staging: lustre: Replace printk_ratelimited with pr_warn_ratelimited

2017-05-25 Thread Konrad Malkowski
This patch fixes the checkpoint.pl warning: WARNING: Prefer printk_ratelimited or pr__ratelimited to printk_ratelimit Signed-off-by: Konrad Malkowski --- drivers/staging/lustre/lnet/libcfs/tracefile.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/stagi

Re: [PATCH v5 31/32] x86: Add sysfs support for Secure Memory Encryption

2017-05-25 Thread Dave Young
Ccing Xunlei he is reading the patches see what need to be done for kdump. There should still be several places to handle to make kdump work. On 05/18/17 at 07:01pm, Borislav Petkov wrote: > On Tue, Apr 18, 2017 at 04:22:12PM -0500, Tom Lendacky wrote: > > Add sysfs support for SME so that user-sp

linux-next: build warning after merge of the akpm-current tree

2017-05-25 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: fs/jfs/jfs_metapage.c: In function 'force_metapage': fs/jfs/jfs_metapage.c:714:2: warning: ignoring return value of 'write_one_page', declared with attribute warn_unused_resu

Re: [PATCH] drm/rockchip: Don't allow zero sized gem buffer

2017-05-25 Thread jeffy
Hi sean, On 05/25/2017 11:30 PM, Sean Paul wrote: On Tue, May 23, 2017 at 02:39:43PM +0800, Jeffy Chen wrote: The system would crash when trying to alloc zero sized gem buffer: [6.712435] Unable to handle kernel NULL pointer dereference at virtual address 0010 <--ZERO_SIZE_PTR ... [

Re: [PATCH 5/5] MIPS: Add support for eBPF JIT.

2017-05-25 Thread Alexei Starovoitov
On Thu, May 25, 2017 at 05:38:26PM -0700, David Daney wrote: > Since the eBPF machine has 64-bit registers, we only support this in > 64-bit kernels. As of the writing of this commit log test-bpf is showing: > > test_bpf: Summary: 316 PASSED, 0 FAILED, [308/308 JIT'ed] > > All current test cas

[PATCH v2] drm/rockchip: Don't allow zero sized gem buffer

2017-05-25 Thread Jeffy Chen
Currently we only call this from dumb_create, which would guarantee the size is non-zero. But it would be harmless to add a sanity check for it for further extension. This is much the same as: 1a5dff5 drm/msm: Don't allow zero sized buffer objects v2: Rewrite commit message. Signed-off-by: Jeff

Re: [RESEND: PATCH v4 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-05-25 Thread Bjorn Andersson
On Tue 16 May 11:02 PDT 2017, Avaneesh Kumar Dwivedi wrote: > +static int q6v5_assign_mem_to_subsys(struct q6v5 *qproc, > + phys_addr_t addr, size_t size) > +{ > + struct qcom_scm_destVmPerm next[] = {{ QCOM_SCM_VMID_MSS_MSA, > + (QCOM_SCM_PERM_READ | QCOM_SCM_PERM_WRIT

Re: [PATCH 0/2] nohz: Deal with clock reprogram skipping issues v3

2017-05-25 Thread Frederic Weisbecker
On Wed, May 24, 2017 at 09:16:28AM +0200, Ingo Molnar wrote: > So the interdiff between your two patches and the 3 commits already queued up > is: > > diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c > index e3043873fcdc..30253ed0380b 100644 > --- a/kernel/time/tick-sched.c > +++

Re: [PATCH] mm/vmalloc: a slight change of compare target in __insert_vmap_area()

2017-05-25 Thread zhong jiang
On 2017/5/26 9:36, Wei Yang wrote: > On Thu, May 25, 2017 at 11:04:44AM +0800, zhong jiang wrote: >> I hit the overlap issue, but it is hard to reproduced. if you think it is >> safe. and the situation >> is not happen. AFAIC, it is no need to add the code. >> >> if you insist on the point. Maybe

Re: [PATCH v3 2/8] x86/mm: Change the leave_mm() condition for local TLB flushes

2017-05-25 Thread Andy Lutomirski
On Thu, May 25, 2017 at 6:39 PM, Rik van Riel wrote: > On Thu, 2017-05-25 at 17:47 -0700, Andy Lutomirski wrote: >> >> +++ b/arch/x86/mm/tlb.c >> @@ -311,7 +311,7 @@ void flush_tlb_mm_range(struct mm_struct *mm, >> unsigned long start, >> goto out; >> } >> >> - if (!current

[PATCH v8 0/4] add PCIe driver for Kirin PCIe

2017-05-25 Thread Xiaowei Song
Before Version Patches == patch V7 https://www.spinics.net/lists/linux-pci/msg61664.html patch V6 https://www.spinics.net/lists/linux-pci/msg61610.html patch V4 https://www.spinics.net/lists/linux-pci/msg61406.html patch V3 https://www.spinics.net/lists/linux-pci/msg61399.html

[PATCH v8 3/4] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC

2017-05-25 Thread Xiaowei Song
Hisilicon PCIe Driver shares the common functions for PCIe dw-host The poweron functions is developed on hi3660 SoC, while Others Functions are common for Kirin series SoCs. Low power mode(L1 sub-state and Suspend/Resume), hotplug and MSI feature are not supported currently. Cc: Guodong Xu Sign

[PATCH v8 4/4] defconfig: PCI: Enable Kirin PCIe defconfig

2017-05-25 Thread Xiaowei Song
Cc: Guodong Xu Signed-off-by: Xiaowei Song --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 7c48028ec64a..d56d8f1062ab 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfi

[PATCH v8 1/4] PCI: hisi: Add DT binding for PCIe of Kirin SoC series

2017-05-25 Thread Xiaowei Song
Signed-off-by: Xiaowei Song --- .../devicetree/bindings/pci/kirin-pcie.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/kirin-pcie.txt diff --git a/Documentation/devicetree/bindings/pci/kirin-pcie.txt b/Documenta

Re: [PATCH 0/20 V3] Misc cleanups for ipc

2017-05-25 Thread Manfred Spraul
Hi Kees, On 05/25/2017 09:45 PM, Kees Cook wrote: On Thu, May 25, 2017 at 11:50 AM, Manfred Spraul wrote: Hi all, Updated series. The series got longer, because I merged all patches from Kees. Main changes are: - sems[] instead of sem[0]. - Immediately use BUILD_BUG_ON() - Immediately move t

[PATCH v2] serial: 8250_of: Add reset support

2017-05-25 Thread Joel Stanley
This adds the hooks for an optional reset controller in the 8250 device tree node. Signed-off-by: Joel Stanley --- v2: Address Philipp's comments. Thanks for the review! - use _shared variant - remove unnecessary error handling Documentation/devicetree/bindings/serial/8250.txt | 1 + drive

Re: [PATCH] serial: 8250_of: Add reset support

2017-05-25 Thread Joel Stanley
On Wed, May 24, 2017 at 6:18 PM, Philipp Zabel wrote: > Hi Joel, > > On Wed, 2017-05-24 at 14:53 +1000, Joel Stanley wrote: >> @@ -132,6 +134,18 @@ static int of_platform_serial_setup(struct >> platform_device *ofdev, >> } >> } >> >> + info->rst = devm_reset_control_get_op

[PATCH v8 2/4] arm64: dts: hisi: add kirin pcie node

2017-05-25 Thread Xiaowei Song
Add PCIe node for hi3660, and add binding documentation. Cc: Guodong Xu Signed-off-by: Xiaowei Song --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts

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

2017-05-25 Thread Cheng, Collins
Hi Alex W, I don't need the kernel patch anymore. However it looks the kernel could be improved to handle this more gracefully when PCI resource allocation fail. Do you have a plan to improve it in kernel PCI code? -Collins Cheng -Original Message- From: Cheng, Collins Sent: Wednesda

[PATCH -next] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-05-25 Thread KOBAYASHI Yoshitake
This patch enables support for Toshiba BENAND. It was originally posted on https://lkml.org/lkml/2015/7/24/571 This patch is rewrote to adapt the recent mtd "separate vendor specific code from core" cleanup process. Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/Kconfig| 17

Re: [PATCH v3 2/8] x86/mm: Change the leave_mm() condition for local TLB flushes

2017-05-25 Thread Nadav Amit
> On May 25, 2017, at 5:47 PM, Andy Lutomirski wrote: > > On a remote TLB flush, we leave_mm() if we're TLBSTATE_LAZY. For a > local flush_tlb_mm_range(), we leave_mm() if !current->mm. These > are approximately the same condition -- the scheduler sets lazy TLB > mode when switching to a threa

Re: [GIT PULL (RESEND)] ARM: uniphier: UniPhier fixes for v4.12

2017-05-25 Thread Masahiro Yamada
Hi Olof, 2017-05-26 8:59 GMT+09:00 Olof Johansson : > On Mon, May 22, 2017 at 11:03:49AM +0900, Masahiro Yamada wrote: >> Hi Arnd, Olof, >> >> Last week, I thought I found a problem in my pull request, >> but it turned out my misunderstanding. >> >> So, my pull request I sent is OK. >> I am re-sen

答复: 答复: [Patch v3 1/3] arm64: dts: hi3660: add pcie node

2017-05-25 Thread songxiaowei
-邮件原件- 发件人: Rob Herring [mailto:r...@kernel.org] 发送时间: 2017年5月25日 20:39 收件人: songxiaowei 抄送: Wangzhou (B); Gabriele Paoloni; bhelg...@google.com; mark.rutl...@arm.com; xuwei (O); catalin.mari...@arm.com; will.dea...@arm.com; linux-...@vger.kernel.org; devicet...@vger.kernel.org; linux

Re: [PATCH v3 2/8] x86/mm: Change the leave_mm() condition for local TLB flushes

2017-05-25 Thread Rik van Riel
On Thu, 2017-05-25 at 17:47 -0700, Andy Lutomirski wrote: > > +++ b/arch/x86/mm/tlb.c > @@ -311,7 +311,7 @@ void flush_tlb_mm_range(struct mm_struct *mm, > unsigned long start, >   goto out; >   } >   > - if (!current->mm) { > + if (this_cpu_read(cpu_tlbstate.state) != TLBS

Re: [PATCH] mm/vmalloc: a slight change of compare target in __insert_vmap_area()

2017-05-25 Thread Wei Yang
On Thu, May 25, 2017 at 11:04:44AM +0800, zhong jiang wrote: >I hit the overlap issue, but it is hard to reproduced. if you think it is >safe. and the situation >is not happen. AFAIC, it is no need to add the code. > >if you insist on the point. Maybe VM_WARN_ON is a choice. > Do you have some l

Re: [PATCH] x86/ftrace: Make sure that ftrace trampolines are not RWX

2017-05-25 Thread Masami Hiramatsu
On Thu, 25 May 2017 11:18:02 -0400 Steven Rostedt wrote: > On Thu, 25 May 2017 19:34:43 +0900 > Masami Hiramatsu wrote: > > > > OK, I've ensured that following command hits same BUG. > > > > grep t /proc/kallsyms | cut -f3 -d" " | grep -v .*\\..* | \ > > head -n 256 | while read i; do echo p

Re: [RFC PATCH tip/master] kprobes: Use synchronize_rcu_tasks() for optprobe wit CONFIG_PREEMPT

2017-05-25 Thread Masami Hiramatsu
On Thu, 25 May 2017 08:14:01 -0700 "Paul E. McKenney" wrote: > On Thu, May 25, 2017 at 08:15:55AM +0200, Ingo Molnar wrote: > > > > * Masami Hiramatsu wrote: > > > > > --- a/kernel/kprobes.c > > > +++ b/kernel/kprobes.c > > > @@ -377,6 +377,23 @@ static inline void copy_kprobe(struct kprobe *a

Re: [PATCH] staging: iio: light: Replace snprintf calls with scnprintf

2017-05-25 Thread harinath Nampally
Greg, Sure, I will fix it and resend a fresh patch. Thanks, Hari

Re: [PATCH] clocksource: moxart: Add AST2500 compatible string

2017-05-25 Thread Andrew Jeffery
On Thu, 2017-05-25 at 22:28 +0200, Daniel Lezcano wrote: > On Tue, May 16, 2017 at 03:58:40PM +0800, Andrew Jeffery wrote: > > Also clean up space-before-tab issues in the documentation. > > Andrew, > > I reworked the patch to apply to the changes Linus did recently to convert to > the fttrm010 d

Re: [PATCH v2 2/5] kmod: reduce atomic operations on kmod_concurrent

2017-05-25 Thread Dmitry Torokhov
On Thu, May 25, 2017 at 05:16:27PM -0700, Luis R. Rodriguez wrote: > When checking if we want to allow a kmod thread to kick off we increment, > then read to see if we should enable a thread. If we were over the allowed > limit limit we decrement. Splitting the increment far apart from decrement >

  1   2   3   4   5   6   7   8   9   10   >