Re: [PATCH v2 2/2] mmc: core: fall back host->f_init if failing to init mmc card after resume

2016-08-02 Thread Jaehoon Chung
Hi Shawn, On 08/03/2016 10:35 AM, Shawn Lin wrote: > Hi Jaehoon, > > 在 2016/8/2 18:47, Jaehoon Chung 写道: >> Hi Shawn, >> >> On 08/02/2016 06:07 PM, Shawn Lin wrote: >>> Hi Ulf, >>> >>> 在 2016/7/20 9:57, Shawn Lin 写道: We observed the failure of initializing card after resume accidentally

Re: [PATCH v2] kasan: avoid overflowing quarantine size on low memory systems

2016-08-02 Thread Andrey Ryabinin
On 08/02/2016 01:27 PM, Alexander Potapenko wrote: > If the total amount of memory assigned to quarantine is less than the > amount of memory assigned to per-cpu quarantines, |new_quarantine_size| > may overflow. Instead, set it to zero. > > Reported-by: Dmitry Vyukov > Fixes: 55834c59098d ("mm:

[no subject]

2016-08-02 Thread Shougang Group Co., Ltd
Shougang Group Co., Ltd. 11th Floor, Huaxingge, Donghua Building, Jiangmen, GuangDong, China. www.shougang.com.cn Greetings, This is an official request for Professional/consultants who will stand as our regional representative to run logistics on behalf of Shougang Group.We are looking for

Re: [PATCH v3 3/3] mac80211: mesh: fixed HT ies in beacon template

2016-08-02 Thread Johannes Berg
On Wed, 2016-08-03 at 11:51 +0900, Masashi Honma wrote: > On 2016年08月02日 16:27, Johannes Berg wrote: > > This explicitly configures *HT capability* though - that's even the > > name of the parameter. If you enable HT40 in the capability, the > > resulting BSS might still not actually *use* 40 MHz b

Re: [PATCH 1/1] EDAC, sb_edac: Fix channel reporting on Knights Landing

2016-08-02 Thread Borislav Petkov
On Sat, Jul 23, 2016 at 01:44:49AM +0200, Lukasz Odzioba wrote: > On Intel Xeon Phi Knights Landing processor family the channels > of memory controller have untypical arrangement - MC0 is mapped to > CH3,4,5 and MC1 is mapped to CH0,1,2. This causes EDAC driver to > report the channel name incorre

Re: [GIT PULL] KVM changes for 4.8 merge window

2016-08-02 Thread Michael Ellerman
Paolo Bonzini writes: > On 03/08/2016 05:21, Michael Ellerman wrote: >> Paolo Bonzini writes: >> ... >>> - arch/powerpc: what a mess. For the idle_book3s.S conflict, the KVM >>> tree is the right one; everything else is trivial. In this case I am >>> not quite sure what went wrong. The commit

Re: [GIT PULL] KVM changes for 4.8 merge window

2016-08-02 Thread Paolo Bonzini
On 03/08/2016 05:21, Michael Ellerman wrote: > Paolo Bonzini writes: > ... >> - arch/powerpc: what a mess. For the idle_book3s.S conflict, the KVM >> tree is the right one; everything else is trivial. In this case I am >> not quite sure what went wrong. The commit that is causing the mess >>

Re: [PATCH] pwm: add pwm driver for HiSilicon BVT SOCs

2016-08-02 Thread Jian Yuan
On 2016/8/1 20:43, Mark Rutland wrote: > On Mon, Aug 01, 2016 at 09:42:08AM +0800, Jian Yuan wrote: >> From: yuanjian >> >> Add pwm driver for HiSilicon BVT SOCs >> >> Reviewed-by: Jiancheng Xue >> Signed-off-by: Jian Yuan >> --- >> .../devicetree/bindings/pwm/pwm-hibvt.txt | 18 ++

Re: [PATCH v12 6/8] vfio/type1: check doorbell safety

2016-08-02 Thread kbuild test robot
Hi Eric, [auto build test ERROR on vfio/next] [also build test ERROR on v4.7] [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/Eric-Auger/KVM-PCIe-MSI-passthrough-on-ARM-ARM64-kernel-part-3-3-vfio

Re: [PATCH] MIPS: Loongson1B: Provide DMA filter callbacks via platform data

2016-08-02 Thread Ralf Baechle
On Sat, May 28, 2016 at 05:51:52PM +0800, Keguang Zhang wrote: > diff --git a/arch/mips/include/asm/mach-loongson32/nand.h > b/arch/mips/include/asm/mach-loongson32/nand.h > index e274912..a1f8704 100644 > --- a/arch/mips/include/asm/mach-loongson32/nand.h > +++ b/arch/mips/include/asm/mach-loong

AW: [PATCH 0/4] Add AVX512 optimized gen_syndrome and recovery functions

2016-08-02 Thread Markus Stockhausen
> Von: linux-raid-ow...@vger.kernel.org > [linux-raid-ow...@vger.kernel.org]" im Auftrag von "Gayatri Kammela > [gayatri.kamm...@intel.com] > Gesendet: Mittwoch, 3. August 2016 01:28 > An: linux-r...@vger.kernel.org > Cc: s...@kernel.org; linux-kernel@vger.kernel.org; h...@zytor.com; > james.t.k

Re: [PATCH v12 8/8] vfio/type1: return MSI geometry through VFIO_IOMMU_GET_INFO capability chains

2016-08-02 Thread kbuild test robot
Hi Eric, [auto build test ERROR on vfio/next] [also build test ERROR on v4.7] [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/Eric-Auger/KVM-PCIe-MSI-passthrough-on-ARM-ARM64-kernel-part-3-3-vfio

Support for configurable PCIe endpoint

2016-08-02 Thread Kishon Vijay Abraham I
Hi, The PCIe controller present in TI's DRA7 SoC is capable of operating either in Root Complex mode or Endpoint mode. (It uses Synopsys Designware Core).I'd assume most of the PCIe controllers on other platforms that use Designware core should also be capable to operate in endpoint mode. But linu

Re: [PATCH v9 01/10] clk: fix initial state of critical clock's parents

2016-08-02 Thread James Liao
On Mon, 2016-07-11 at 16:24 +0800, James Liao wrote: > Hi Mike, > > On Fri, 2016-07-08 at 16:32 -0700, Michael Turquette wrote: > > Hi James, > > > > Quoting James Liao (2016-07-03 20:51:48) > > > On Fri, 2016-07-01 at 18:21 -0700, Stephen Boyd wrote: > > > > (Resending to everyone) > > > > > >

Re: [PATCH] mips: lantiq: fix irq_chip name to not land in new parent field

2016-08-02 Thread Ralf Baechle
On Tue, Aug 02, 2016 at 02:54:47PM -0400, Paul Gortmaker wrote: > As of commit be45beb2df69 ("genirq: Add runtime power management > support for IRQ chips") the irq_chip struct got a struct *device > parent_device field added to it. However, it was added at the > beginning of the struct, which pr

Re: [PATCH] raid5: fix incorrectly counter of conf->empty_inactive_list_nr

2016-08-02 Thread liuzhengyuan
Thanks for you replay. I think it may be on the temp inactive list. An active sh was handled and put to temp inactive list firstly, then moved to inactive list. If sh is on the temp inactive list, sh->count is zero too. -- Original -- From: "NeilBrown"; Date: Wed

Re: ARC stable backport request

2016-08-02 Thread Greg KH
On Tue, Aug 02, 2016 at 09:45:56AM +0200, Jiri Slaby wrote: > On 08/02/2016, 09:00 AM, Greg KH wrote: > > On Wed, May 25, 2016 at 05:13:31PM +0530, Vineet Gupta wrote: > >> Hi, > >> > >> Can we please backport a6416f57ce57fb390b "ARC: use ASL assembler > >> mnemonic". > >> Newer binutils don't lik

[PATCH v2 3/3] mm: memcontrol: add sanity checks for memcg->id.ref on get/put

2016-08-02 Thread Vladimir Davydov
Signed-off-by: Vladimir Davydov --- mm/memcontrol.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 67109d556a4a..32b2f33865f9 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -4033,6 +4033,7 @@ static DEFINE_IDR(mem_cgroup_idr);

[PATCH] lkdtm: Mark lkdtm_rodata_do_nothing() notrace

2016-08-02 Thread Michael Ellerman
lkdtm_rodata_do_nothing() is an empty function which is generated in order to test the non-executability of rodata. Currently if function tracing is enabled then an mcount callsite will be generated for lkdtm_rodata_do_nothing(), and it will appear in the list of available functions for function t

Re: [kernel-hardening] Re: Linker segfault on powerpc when CONFIG_LKDTM=y (was Re: [kernel-hardening] [PATCH 3/5] lkdtm: add function for testing .rodata section)

2016-08-02 Thread Michael Ellerman
Kees Cook writes: > On Mon, Aug 1, 2016 at 8:12 PM, Michael Ellerman wrote: >> Kees Cook writes: >>> On Mon, Aug 1, 2016 at 5:37 AM, Michael Ellerman >>> wrote: scripts/link-vmlinux.sh: line 52: 36260 Segmentation fault (core dumped) ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -

[GIT] Networking

2016-08-02 Thread David Miller
1) Fix several cases of missing of_node_put() calls in various networking drivers. From Peter Chen. 2) Don't try to remove unconfigured VLANs in qed driver, from Yuval Mintz. 3) Unbalanced locking in TIPC error handling, from Wei Yongjun. 4) Fix lockups in CPDMA driver, from Grygorii Strash

Re: [PATCH 1/5] bfa: mark symbols static where possible

2016-08-02 Thread kbuild test robot
Hi Arnd, [auto build test ERROR on scsi/for-next] [also build test ERROR on v4.7 next-20160802] [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/Arnd-Bergmann/bfa-fix-W-1-build-warnings/20160803

Re: x86 memory barrier: why does Linux prefer MFENCE to Locked ADD?

2016-08-02 Thread Michael S. Tsirkin
On Thu, Mar 03, 2016 at 11:05:43AM -0800, H. Peter Anvin wrote: > On March 3, 2016 10:35:50 AM PST, "Michael S. Tsirkin" > wrote: > >On Thu, Mar 03, 2016 at 04:34:53PM +0100, Peter Zijlstra wrote: > >> On Thu, Mar 03, 2016 at 04:27:39PM +0100, Ingo Molnar wrote: > >> > > >> > * Dexuan Cui wrote

Re: [PATCH] phy: fix the bug when remove the phy driver

2016-08-02 Thread Florian Fainelli
On August 2, 2016 9:22:53 PM MST, Ding Tianhong wrote: >On 2016/8/3 10:41, Florian Fainelli wrote: >> On August 2, 2016 6:21:52 PM MST, Ding Tianhong > wrote: >>> On 2016/8/3 0:42, Florian Fainelli wrote: Le 02/08/2016 à 06:00, Ding Tianhong a écrit : > The nic in my board use the phy dev

Re: [PATCH] phy: fix the bug when remove the phy driver

2016-08-02 Thread Ding Tianhong
On 2016/8/3 10:41, Florian Fainelli wrote: > On August 2, 2016 6:21:52 PM MST, Ding Tianhong > wrote: >> On 2016/8/3 0:42, Florian Fainelli wrote: >>> Le 02/08/2016 à 06:00, Ding Tianhong a écrit : The nic in my board use the phy dev from marvell, and the system will load the marvell ph

Re: [PATCH 2/2] soc: nxp: Add a RCPM driver

2016-08-02 Thread Chenhui Zhao
On Mon, Aug 1, 2016 at 8:25 PM, Arnd Bergmann wrote: > On Monday, August 1, 2016 5:49:03 PM CEST Chenhui Zhao wrote: >> The NXP's QorIQ Processors based on ARM Core have a RCPM module >> (Run Control and Power Management), which performs all device-level >> tasks associated with power management.

Re: [PATCH] uprobe: Add uprobe_pre/post_sstep_notifier to NOKPROBE_SYMBOL

2016-08-02 Thread Pratyush Anand
Hi Masami, On 03/08/2016:12:45:24 AM, Masami Hiramatsu wrote: > On Tue, 2 Aug 2016 12:14:06 +0530 > Pratyush Anand wrote: > > > uprobe_pre_sstep_notifier and uprobe_post_sstep_notifier are called from > > debug exception handler, so blacklist them for kprobing. > > Actually, these exception no

[v9.2 PATCH 3/6] phy: Add USB Type-C PHY driver for rk3399

2016-08-02 Thread Chris Zhong
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 two main components: USB3 and DisplyPort. USB3 operates in SuperSpeed mode and the DP can operate at RBR, HBR and HBR2 data rates. Hence, create 2 P

Re: [PATCH -next v2] virtio: fix possible memory leak in virtqueue_add()

2016-08-02 Thread Michael S. Tsirkin
On Tue, Aug 02, 2016 at 02:16:31PM +, Wei Yongjun wrote: > 'desc' is malloced in virtqueue_add() and should be freed before > leaving from the error handling cases, otherwise it will cause > memory leak. > > Signed-off-by: Wei Yongjun Appliecd except I moved this to before END_USE - seems cl

[PATCH] virtio: fix error handling for debug builds

2016-08-02 Thread Michael S. Tsirkin
On error, virtqueue_add calls START_USE but not END_USE. Thankfully that's normally empty anyway, but might not be when debugging. Fix it up. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_ring.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/virtio/virtio_ring.c b/driv

Re: [PATCH] uprobe: Add uprobe_pre/post_sstep_notifier to NOKPROBE_SYMBOL

2016-08-02 Thread Pratyush Anand
Hi Oleg, On 02/08/2016:10:30:35 PM, Oleg Nesterov wrote: > On 08/02, Pratyush Anand wrote: > > > > uprobe_pre_sstep_notifier and uprobe_post_sstep_notifier are called from > > debug exception handler, so blacklist them for kprobing. > > Let me add kprobes maintainers, I am a bit confused... > >

Re: [PATCH] Support resetting WARN*_ONCE

2016-08-02 Thread kbuild test robot
Hi Andi, [auto build test ERROR on asm-generic/master] [also build test ERROR on v4.7 next-20160802] [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/Andi-Kleen/Support-resetting-WARN-_ONCE

Re: [PATCH stable 4.6+] radix-tree: account nodes to memcg only if explicitly requested

2016-08-02 Thread Greg KH
On Tue, Aug 02, 2016 at 03:45:34PM +0300, Vladimir Davydov wrote: > Radix trees may be used not only for storing page cache pages, so > unconditionally accounting radix tree nodes to the current memory cgroup > is bad: if a radix tree node is used for storing data shared among > different cgroups w

[PATCH v6 0/2] Input: SiS 9200 family I2C touchscreen controller driver

2016-08-02 Thread mika.penttila
Hi, Here are the v6 patches for SiS 9200 I2C multitouch controller. Cleanups, fixes and simplifications from the last review are included. Rebased to 4.7. Thanks, Mika [PATCH v6 1/2] Input: Driver for SiS-9200 family I2C touchscreen controller [PATCH v6 2/2] Input: SiS 9200 documentation parts

Re: [PATCH RESEND v4] locking/pvqspinlock: Fix double hash race

2016-08-02 Thread Waiman Long
On 07/27/2016 07:30 AM, Wanpeng Li wrote: From: Wanpeng Li When the lock holder vCPU is racing with the queue head vCPU: lock holder vCPU queue head vCPU === node->locked = 1; READ_ONCE(node->locked) ...

linux-next: Tree for Aug 3

2016-08-02 Thread Stephen Rothwell
Hi all, Please do not add material destined for v4.9 to your linux-next included branches until after v4.8-rc1 has been released. Changes since 20160802: My fixes tree is empty again. Non-merge commits (relative to Linus' tree): 1166 1375 files changed, 45683 insertions(+), 12773 dele

[PATCH 2/2] KVM: lapic: don't recalculate apic map table twice when enabling LAPIC

2016-08-02 Thread Wanpeng Li
From: Wanpeng Li APIC map table is recalculated during reset APIC ID to the initial value when enabling LAPIC. This patch move the recalculate_apic_map() to the next branch since we don't need to recalculate apic map twice in current codes. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wa

[PATCH 1/2] KVM: lapic: fix access preemption timer stuff even if kernel_irqchip=off

2016-08-02 Thread Wanpeng Li
From: Wanpeng Li BUG: unable to handle kernel NULL pointer dereference at 008c IP: [] kvm_lapic_hv_timer_in_use+0x10/0x20 [kvm] PGD 0 Oops: [#1] SMP Call Trace: kvm_arch_vcpu_load+0x86/0x260 [kvm] vcpu_load+0x46/0x60 [kvm] kvm_vcpu_ioctl+0x79/0x7c0 [kvm] ? __lock_is_held+0x5

Re: [GIT PULL] KVM changes for 4.8 merge window

2016-08-02 Thread Michael Ellerman
Paolo Bonzini writes: ... > - arch/powerpc: what a mess. For the idle_book3s.S conflict, the KVM > tree is the right one; everything else is trivial. In this case I am > not quite sure what went wrong. The commit that is causing the mess > (fd7bacbca47a, "KVM: PPC: Book3S HV: Fix TB corruption

Re: PROBLEM: network data corruption (bisected to e5a4b0bb803b)

2016-08-02 Thread Alan Curry
Al Viro wrote: > > Which just might mean that we have *three* issues here - > (1) buggered __copy_to_user_inatomic() (and friends) on some sparcs > (2) your ssl-only corruption > (3) Alan's x86_64 corruption on plain TCP read - no ssl *or* sparc > anywhere, and no multi-segment r

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Wangnan (F)
On 2016/8/3 10:41, Wangnan (F) wrote: On 2016/8/3 3:51, Arnaldo Carvalho de Melo wrote: Hi Wang, Something changed and a function used in a perf test for BPF is not anymore appearing on vmlinux, albeit still available on /proc/kallsyms: # readelf -wi /lib/modules/4.7.0+/build/vmlinux |

Re: [PATCH 05/19] x86/dumpstack: fix function graph tracing stack dump reliability issues

2016-08-02 Thread Steven Rostedt
On Tue, 2 Aug 2016 22:31:25 -0500 Josh Poimboeuf wrote: > Yeah, we do need to add a parameter to ftrace_push_return_trace(). But > callers which don't implement it could just pass zero like they do with > 'fp'. > Right, if zero is passed in, then just ignore it. Bed time! -- Steve

RE: [PATCH v11 4/5] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-08-02 Thread Yangbo Lu
Hi Uffe, > -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Wednesday, August 03, 2016 5:41 AM > To: Yangbo Lu; Michael Ellerman; Arnd Bergmann; Ulf Hansson > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; linux-kernel

Re: [PATCH 05/19] x86/dumpstack: fix function graph tracing stack dump reliability issues

2016-08-02 Thread Steven Rostedt
On Tue, 2 Aug 2016 22:12:33 -0500 Josh Poimboeuf wrote: > Sounds good. I was thinking I could also add a similar define to > indicate whether an arch passes the return address stack pointer to > ftrace_push_return_trace(). HAVE_FUNCTION_GRAPH_RET_ADDR_PTR? > If you are making this function g

Re: [PATCH 05/19] x86/dumpstack: fix function graph tracing stack dump reliability issues

2016-08-02 Thread Josh Poimboeuf
On Tue, Aug 02, 2016 at 11:21:04PM -0400, Steven Rostedt wrote: > On Tue, 2 Aug 2016 23:18:57 -0400 > Steven Rostedt wrote: > > > On Tue, 2 Aug 2016 22:12:33 -0500 > > Josh Poimboeuf wrote: > > > > > > > Sounds good. I was thinking I could also add a similar define to > > > indicate whether a

Re: [PATCH 2/2] soc: nxp: Add a RCPM driver

2016-08-02 Thread Chenhui Zhao
On Mon, Aug 1, 2016 at 9:22 PM, Marc Zyngier wrote: > > On 01/08/16 10:49, Chenhui Zhao wrote: > > The NXP's QorIQ Processors based on ARM Core have a RCPM module > > (Run Control and Power Management), which performs all device-level > > tasks associated with power management. > > > > This patch

Re: [PATCH 05/19] x86/dumpstack: fix function graph tracing stack dump reliability issues

2016-08-02 Thread Josh Poimboeuf
On Tue, Aug 02, 2016 at 11:18:57PM -0400, Steven Rostedt wrote: > On Tue, 2 Aug 2016 22:12:33 -0500 > Josh Poimboeuf wrote: > > > > Sounds good. I was thinking I could also add a similar define to > > indicate whether an arch passes the return address stack pointer to > > ftrace_push_return_tra

Re: powerpc allyesconfig / allmodconfig linux-next next-20160729 - next-20160729 build failures

2016-08-02 Thread Michael Ellerman
"Luis R. Rodriguez" writes: > Are linux-next builds being tested for powerpc with allyesconfig and > allmodconfig ? Yes, every single version: http://kisskb.ellerman.id.au/kisskb/target/2659/ > I have some changes I'm making and while debugging my > build issues I decided to give a clean bui

Re: [PATCH 05/19] x86/dumpstack: fix function graph tracing stack dump reliability issues

2016-08-02 Thread Steven Rostedt
On Tue, 2 Aug 2016 23:18:57 -0400 Steven Rostedt wrote: > On Tue, 2 Aug 2016 22:12:33 -0500 > Josh Poimboeuf wrote: > > > > Sounds good. I was thinking I could also add a similar define to > > indicate whether an arch passes the return address stack pointer to > > ftrace_push_return_trace().

[git pull] drm zpos property support

2016-08-02 Thread Dave Airlie
Hi Linus, This tree was waiting on some media stuff I hadn't had time to get a stable branchpoint off, so I just waited until it was all in your tree first, it's been around a bit on the list and shouldn't affect anything outside adding the generic API and moving some ARM drivers to using it. D

Re: [v9.1 PATCH 3/6] phy: Add USB Type-C PHY driver for rk3399

2016-08-02 Thread Guenter Roeck
On Tue, Aug 2, 2016 at 7:03 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 two main components: USB3 and DisplyPort. USB3 > operates in SuperSpeed mode and the DP ca

Re: [PATCH v4 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-02 Thread Baoquan He
Hi Wenjian, On 08/03/16 at 10:31am, Zhou Wenjian wrote: > v3->v4: update the description of bring up SMP dump-capture kernel > v2->v3: add description of nr_cpus. > v1->v2: change nr_cpus to maxcpus > > nr_cpus can help to save memory. So we should remind user of it. > > Signed-off-by: Zhou Wenj

Re: [PATCH 05/19] x86/dumpstack: fix function graph tracing stack dump reliability issues

2016-08-02 Thread Josh Poimboeuf
On Tue, Aug 02, 2016 at 10:59:36PM -0400, Steven Rostedt wrote: > On Tue, 2 Aug 2016 21:50:12 -0500 > Josh Poimboeuf wrote: > > > > diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h > > index 1e814ae..fc508a7 100644 > > --- a/include/linux/ftrace.h > > +++ b/include/linux/ftrace.h > >

Private Message

2016-08-02 Thread J. O'Neill Solicitors
I once again try to notify you as my earlier letter was returned undelivered. In the said letter, you were bequeathed by late Client. Kindly get in touch J. O'Neill Sole Principal

Re: [PATCH 05/19] x86/dumpstack: fix function graph tracing stack dump reliability issues

2016-08-02 Thread Steven Rostedt
On Tue, 2 Aug 2016 21:50:12 -0500 Josh Poimboeuf wrote: > diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h > index 1e814ae..fc508a7 100644 > --- a/include/linux/ftrace.h > +++ b/include/linux/ftrace.h > @@ -795,7 +795,9 @@ struct ftrace_ret_stack { > unsigned long func; >

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Alexei Starovoitov
On Tue, Aug 02, 2016 at 11:15:34PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 02, 2016 at 02:03:33PM -0700, Alexei Starovoitov escreveu: > > On Tue, Aug 02, 2016 at 04:51:02PM -0300, Arnaldo Carvalho de Melo wrote: > > > Hi Wang, > > > > > > Something changed and a function used in a p

"Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM: save and reset the address limit when entering an exception")

2016-08-02 Thread Guenter Roeck
Hi, I see the following crash when running a qemu arm 'kzm' runtime test with the current mainline. Failed to create /dev/root: -14 [ followed by panic ] A complete log file is at [1]. Bisect points to commit e6978e4bf1 ("ARM: save and reset the address limit when entering an exception"). S

Re: [PATCH v3 3/3] mac80211: mesh: fixed HT ies in beacon template

2016-08-02 Thread Masashi Honma
On 2016年08月02日 16:27, Johannes Berg wrote: This explicitly configures *HT capability* though - that's even the name of the parameter. If you enable HT40 in the capability, the resulting BSS might still not actually *use* 40 MHz bandwidth, as required by overlapping BSS detection. OK, I see. HT

Re: [GIT PULL] KVM changes for 4.8 merge window

2016-08-02 Thread Martin Schwidefsky
On Tue, 2 Aug 2016 16:17:39 -0400 Linus Torvalds wrote: > On Tue, Aug 2, 2016 at 2:42 PM, Linus Torvalds > wrote: > > > > No, I don't use the merge from linux-next directly. I just re-generate > > the merge myself, and if the pull request then includes a merge > > resolution (either as just a ve

[ANNOUNCE]: SCST 3.2 pre-release freeze

2016-08-02 Thread Vladislav Bolkhovitin
Hi All, I'm glad to announce SCST 3.2 pre-release code freeze in the SCST SVN branch 3.2.x. You can get it by command: $ svn co https://scst.svn.sourceforge.net/svnroot/scst/branches/3.2.x It is going to be released after few weeks of testing, if no significant issues found. SCST is alternat

Re: [PATCH] perf/core: Add a tracepoint for perf sampling

2016-08-02 Thread Brendan Gregg
On Fri, Jul 29, 2016 at 8:34 PM, Wangnan (F) wrote: > > > On 2016/7/30 2:05, Brendan Gregg wrote: >> >> On Tue, Jul 19, 2016 at 4:20 PM, Brendan Gregg wrote: >>> >>> When perf is performing hrtimer-based sampling, this tracepoint can be >>> used >>> by BPF to run additional logic on each sample.

Re: [PATCH 05/19] x86/dumpstack: fix function graph tracing stack dump reliability issues

2016-08-02 Thread Josh Poimboeuf
On Tue, Aug 02, 2016 at 10:30:11PM -0400, Steven Rostedt wrote: > On Tue, 2 Aug 2016 20:56:56 -0500 > Josh Poimboeuf wrote: > > > It's not specific to NMIs. The problem is that dump_trace() is starting > > from the frame pointed to by a pt_regs, rather than the current frame. > > Instead of star

[PATCH v2 2/3] samples/bpf: Add a sampling BPF example

2016-08-02 Thread Brendan Gregg
This example samples the instruction pointer at a timed interval, and frequency counts it in a BPF map. It is an example of summarizing sampled data in-kernel for passing to user space. It uses the perf:perf_hrtimer tracepoint with perf_events sampling. Example output: Sampling at 99 Hertz for 5

[PATCH v2 1/3] perf/core: Add a tracepoint for perf sampling

2016-08-02 Thread Brendan Gregg
When perf is performing hrtimer-based sampling, this tracepoint can be used by BPF to run additional logic on each sample. For example, BPF can fetch stack traces and frequency count them in kernel context, for an efficient profiler. Signed-off-by: Brendan Gregg Cc: Alexei Starovoitov Cc: Wang N

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Wangnan (F)
On 2016/8/3 3:51, Arnaldo Carvalho de Melo wrote: Hi Wang, Something changed and a function used in a perf test for BPF is not anymore appearing on vmlinux, albeit still available on /proc/kallsyms: # readelf -wi /lib/modules/4.7.0+/build/vmlinux | grep -w sys_epoll_wait # But: [roo

[PATCH v2 3/3] perf script: add bpf-output field to usage message

2016-08-02 Thread Brendan Gregg
This adds the bpf-output field to the perf script usage message, and docs. Signed-off-by: Brendan Gregg Cc: Wang Nan --- tools/perf/Documentation/perf-script.txt | 4 ++-- tools/perf/builtin-script.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/

[PATCH v2 0/3] Add a tracepoint for BPF perf sampling

2016-08-02 Thread Brendan Gregg
This patchset adds a tracepoint for perf sampling, perf:perf_hrtimer, and includes a complete example in samples/bpf for using it to frequency count sampled instruction pointers in a BPF map. Signed-off-by: Brendan Gregg --- Changes in v2: - added samples/bpf/sampleip* example for perf:perf_hrtim

Re: [PATCH] phy: fix the bug when remove the phy driver

2016-08-02 Thread Florian Fainelli
On August 2, 2016 6:21:52 PM MST, Ding Tianhong wrote: >On 2016/8/3 0:42, Florian Fainelli wrote: >> Le 02/08/2016 à 06:00, Ding Tianhong a écrit : >>> The nic in my board use the phy dev from marvell, and >>> the system will load the marvell phy driver automatically, >>> but when I remove the phy

Re: [PATCH 0309/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Rusty Russell
Baole Ni writes: > I find that the developers often just specified the numeric value > when calling a macro which is defined with a parameter for access permission. > As we know, these numeric value for access permission have had the > corresponding macro, > and that using macro can improve the r

Re: [PATCH 0133/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Vinod Koul
On Tue, Aug 02, 2016 at 06:43:10PM +0800, Baole Ni wrote: > I find that the developers often just specified the numeric value > when calling a macro which is defined with a parameter for access permission. > As we know, these numeric value for access permission have had the > corresponding macro,

[PATCH v4 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-02 Thread Zhou Wenjian
v3->v4: update the description of bring up SMP dump-capture kernel v2->v3: add description of nr_cpus. v1->v2: change nr_cpus to maxcpus nr_cpus can help to save memory. So we should remind user of it. Signed-off-by: Zhou Wenjian --- Documentation/kdump/kdump.txt | 2 ++ 1 file changed, 2 inser

Re: [PATCH 05/19] x86/dumpstack: fix function graph tracing stack dump reliability issues

2016-08-02 Thread Steven Rostedt
On Tue, 2 Aug 2016 20:56:56 -0500 Josh Poimboeuf wrote: > It's not specific to NMIs. The problem is that dump_trace() is starting > from the frame pointed to by a pt_regs, rather than the current frame. > Instead of starting with the current frame, the first 10 functions on > the stack are skipp

[PATCH v4 2/2] Documentation: kdump: add description of enable multi-cpus support

2016-08-02 Thread Zhou Wenjian
multi-cpus support is useful to improve the performance of kdump in some cases. So add the description of enable multi-cpus support in dump-capture kernel. Signed-off-by: Zhou Wenjian --- Documentation/kdump/kdump.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/kdump

Re: [PATCH v3 2/2] Documentation: kdump: add description of bringing up SMP dump-capture kernel

2016-08-02 Thread Zhou, Wenjian/周文剑
On 08/03/2016 10:18 AM, Baoquan He wrote: On 08/03/16 at 10:05am, "Zhou, Wenjian/周文剑" wrote: On 08/03/2016 09:58 AM, Baoquan He wrote: On 08/03/16 at 08:59am, Zhou Wenjian wrote: SMP dump-capture kernel is useful to improve the performance of kdump in some cases. So add the description of brin

Re: [PATCH v3 2/2] Documentation: kdump: add description of bringing up SMP dump-capture kernel

2016-08-02 Thread Baoquan He
On 08/03/16 at 10:05am, "Zhou, Wenjian/周文剑" wrote: > On 08/03/2016 09:58 AM, Baoquan He wrote: > >On 08/03/16 at 08:59am, Zhou Wenjian wrote: > >>SMP dump-capture kernel is useful to improve the performance of kdump in > >>some cases. So add the description of bringing up SMP dump-capture kernel. >

[PATCH 2/2 v2][resend] drm: bridge: add DesignWare HDMI I2S audio support

2016-08-02 Thread Kuninori Morimoto
From: Kuninori Morimoto Current dw-hdmi is supporting sound via AHB bus, but it has I2S audio feature too. This patch adds I2S audio support to dw-hdmi. This HDMI I2S is supported by using ALSA SoC common HDMI encoder driver. Tested-by: Jose Abreu Signed-off-by: Kuninori Morimoto --- v1 -> v2

[PATCH 1/2 v2][resend] ASoC: hdmi-codec: enable multi probe for same device

2016-08-02 Thread Kuninori Morimoto
From: Kuninori Morimoto hdmi-codec driver is common HDMI sound driver, but it doesn't care about multi sound ports. For example, hdmi-codec driver is supporting 1 I2S and 1 SPDIF ports, so, we can't use this driver if HDMI has 2 or more I2S ports. And we would like to use multi detection. For e

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 02, 2016 at 02:03:33PM -0700, Alexei Starovoitov escreveu: > On Tue, Aug 02, 2016 at 04:51:02PM -0300, Arnaldo Carvalho de Melo wrote: > > Hi Wang, > > > > Something changed and a function used in a perf test for BPF is > > not anymore appearing on vmlinux, albeit still available o

Re: [PATCH 05/19] x86/dumpstack: fix function graph tracing stack dump reliability issues

2016-08-02 Thread Josh Poimboeuf
On Tue, Aug 02, 2016 at 07:16:22PM -0400, Steven Rostedt wrote: > On Tue, 2 Aug 2016 17:13:59 -0500 > Josh Poimboeuf wrote: > > > > > Then we only need the fp use case when FRAME_POINTER is not set. As > > > mcount forces FRAME_POINTER, we only need to worry about the fentry > > > case. > > >

[PATCH 0/2 v2][resend] DesignWare HDMI I2S suport

2016-08-02 Thread Kuninori Morimoto
Hi Archit, Mark Cc Thierry, Russell These are resend of v2 of DesignWare HDMI I2S support patches. (I added drm-bridge maintainer Archit on To:) It will use ALSA SoC hdmi-codec driver, but we can't use it as-is at this point. 1) patch tidyup hdmi-codec driver to enable dw-hdmi I2S support. 2) pat

Re: [PATCH] checkpatch: Look for symbolic permissions and suggest octal instead

2016-08-02 Thread Al Viro
On Tue, Aug 02, 2016 at 04:39:24PM -0700, Joe Perches wrote: > S_ uses should be avoided where octal is more intelligible. Oh, for Cthulhu sake! So not only we had been dribbled upon with 1200-odd piles of pointless crap, now we'll be getting yet another set of equally pointless garbage each time

Re: [PATCH v3 2/2] Documentation: kdump: add description of bringing up SMP dump-capture kernel

2016-08-02 Thread Zhou, Wenjian/周文剑
On 08/03/2016 09:58 AM, Baoquan He wrote: On 08/03/16 at 08:59am, Zhou Wenjian wrote: SMP dump-capture kernel is useful to improve the performance of kdump in some cases. So add the description of bringing up SMP dump-capture kernel. Signed-off-by: Zhou Wenjian --- Documentation/kdump/kdump.

[v9.1 PATCH 3/6] phy: Add USB Type-C PHY driver for rk3399

2016-08-02 Thread Chris Zhong
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 two main components: USB3 and DisplyPort. USB3 operates in SuperSpeed mode and the DP can operate at RBR, HBR and HBR2 data rates. Hence, create 2 P

Re: Fix tuchpad wakeup on ASUS laptops (was [PATCH] Input: /input/mouse/elan_i2c_core.c)

2016-08-02 Thread Vlad Glagolev
Hey Dmitry! Thanks, I've been testing it for 2+ weeks. Works like a charm so far. On Wed, 13 Jul 2016 12:22:47 -0700 Dmitry Torokhov wrote: > [ Resending to actually CC people I asked to try the patch ] > > On Wed, Jul 13, 2016 at 09:30:29PM +0800, KT Liao wrote: > > Fix some Asus touchapod wh

Re: [PATCH][RESEND] thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs

2016-08-02 Thread Kuninori Morimoto
Hi Zhang ping ?? > These are resend patches for rcar-thermal hwmon. > > Kuninori Morimoto (2): > thermal: rcar-thermal: enable hwmon when thermal_zone > thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs > > drivers/thermal/rcar_thermal.c | 20 ++-- > drive

Re: [PATCH v3 2/2] Documentation: kdump: add description of bringing up SMP dump-capture kernel

2016-08-02 Thread Baoquan He
On 08/03/16 at 08:59am, Zhou Wenjian wrote: > SMP dump-capture kernel is useful to improve the performance of kdump in > some cases. So add the description of bringing up SMP dump-capture kernel. > > Signed-off-by: Zhou Wenjian > --- > Documentation/kdump/kdump.txt | 7 +++ > 1 file changed,

Re: [PATCH] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-02 Thread Joonyoung Shim
Hi, On 08/02/2016 07:16 PM, Seung-Woo Kim wrote: >>From pwm_samsung_calc_tin(), there is routine to find the lowest > divider possible to generate lower frequency than requested one. > But it is always possible to generate requested frequency with > large enough modulation bits, so this patch fixe

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

2016-08-02 Thread Chris Zhong
Hi Guenter On 08/03/2016 04:22 AM, Guenter Roeck wrote: On Tue, Aug 2, 2016 at 5:45 AM, 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 two main components: USB3 and Disply

Re: [PATCH v4] arm64: dts: mt8173: add mmsel clocks for 4K support

2016-08-02 Thread Bibby Hsieh
Hi, Philipp, On Fri, 2016-07-29 at 11:53 +0200, Philipp Zabel wrote: > Hi Bibby, > > Am Freitag, den 29.07.2016, 17:09 +0800 schrieb Bibby Hsieh: > > To support HDMI 4K resolution, mmsys need clcok > > mm_sel to be 400MHz. > > > > The board .dts file should override the clock rate > > property w

Re: [PATCH v2 2/2] mmc: core: fall back host->f_init if failing to init mmc card after resume

2016-08-02 Thread Shawn Lin
Hi Jaehoon, 在 2016/8/2 18:47, Jaehoon Chung 写道: Hi Shawn, On 08/02/2016 06:07 PM, Shawn Lin wrote: Hi Ulf, 在 2016/7/20 9:57, Shawn Lin 写道: We observed the failure of initializing card after resume accidentally. It's hard to reproduce but we did get report from the suspend/resume test of our

Re: linux-next: please clean up the livepatching tree

2016-08-02 Thread Stephen Rothwell
Hi Jiri, On Wed, 3 Aug 2016 01:41:17 +0200 (CEST) Jiri Kosina wrote: > > On Wed, 3 Aug 2016, Stephen Rothwell wrote: > > > The livepatching tree > > (git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching#for-next) > > today consists of only lots of merges > > This is a part we kee

Re: [PATCH 5/7] drm/mediatek: plane: Merge mtk_plane_enable into mtk_plane_atomic_update

2016-08-02 Thread Bibby Hsieh
On Tue, 2016-08-02 at 13:04 -0400, Sean Paul wrote: > On Tue, Aug 2, 2016 at 1:02 PM, Sean Paul wrote: > > On Fri, Jul 29, 2016 at 5:04 AM, Bibby Hsieh > > wrote: > >> From: Daniel Kurtz > >> > >> The mtk_plane_enable is just called once by mtk_plane_atomic_update. > >> So, merge mtk_plane_enab

[PATCH v5 2/2] spi: add driver for J-Core SPI controller

2016-08-02 Thread Rich Felker
The J-Core "spi2" device is a PIO-based SPI master controller. It differs from "bitbang" devices in that that it's clocked in hardware rather than via soft clock modulation over gpio, and performs byte-at-a-time transfers between the cpu and SPI controller. This driver will be extended to support

Re: [PATCH v6 0/2] Block layer support ZAC/ZBC commands

2016-08-02 Thread Damien Le Moal
Hannes, Shaun, Let me add some more comments. > On Aug 2, 2016, at 23:35, Hannes Reinecke wrote: > > On 08/01/2016 07:07 PM, Shaun Tancheff wrote: >> On Mon, Aug 1, 2016 at 4:41 AM, Christoph Hellwig wrote: >>> >>> Can you please integrate this with Hannes series so that it uses >>> his cache

[PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-02 Thread Rich Felker
At the hardware level, the J-Core PIT is integrated with the interrupt controller, but it is represented as its own device and has an independent programming interface. It provides a 12-bit countdown timer, which is not presently used, and a periodic timer. The interval length for the latter is pro

Re: [PATCH v3 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-02 Thread Baoquan He
On 08/03/16 at 08:59am, Zhou Wenjian wrote: > v2->v3: add description of nr_cpus. > v1->v2: change nr_cpus to maxcpus > > nr_cpus can help to save memory. So we should remind user of it. > > Signed-off-by: Zhou Wenjian > --- > Documentation/kdump/kdump.txt | 2 ++ > 1 file changed, 2 insertions

[PATCH v5 1/2] of: add J-Core SPI master bindings

2016-08-02 Thread Rich Felker
Signed-off-by: Rich Felker --- .../devicetree/bindings/spi/jcore,spi.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/jcore,spi.txt diff --git a/Documentation/devicetree/bindings/spi/jcore,spi.txt b/Documentatio

[PATCH v6 1/2] of: add J-Core interrupt controller bindings

2016-08-02 Thread Rich Felker
Signed-off-by: Rich Felker Acked-by: Rob Herring --- .../bindings/interrupt-controller/jcore,aic.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt diff --git a/Documentation/devicetree/

[PATCH v5 0/2] J-Core SPI controller support

2016-08-02 Thread Rich Felker
Updates based on requests by Mark Brown. Driver has been made conditional in Kconfig to avoid it showing up in configurations where it's not relevant. Lots of small style improvements have been made, and the input clock frequency is now handled via the clk framework rather than a fixed clock-freque

[PATCH v6 1/2] of: add J-Core timer bindings

2016-08-02 Thread Rich Felker
Signed-off-by: Rich Felker --- .../devicetree/bindings/timer/jcore,pit.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.txt diff --git a/Documentation/devicetree/bindings/timer/jcore,pit.txt b/Document

  1   2   3   4   5   6   7   8   9   10   >