Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 12:46 PM, Alexandre Belloni wrote: > On 08/11/2017 at 12:38:05 +0530, Keerthy wrote: >> >> >> On Wednesday 08 November 2017 11:57 AM, Alexandre Belloni wrote: >>> Hi, >>> >>> On 08/11/2017 at 11:30:45 +0530, Keerthy wrote: >>> +static int

Re: [PATCH] objtool: fix build of 64-bit kernel with 32-bit userspace

2017-11-08 Thread Peter Zijlstra
On Tue, Nov 07, 2017 at 04:25:10PM -0500, Mikulas Patocka wrote: > > The technical reason for avoiding the guess unwinder is that it's > > sketchy: it gives false positive results. > > I've always used kernels without frame pointer and I don't see any problem > with decoding stack traces with

Re: WARNING in tracepoint_probe_unregister

2017-11-08 Thread Dmitry Vyukov
On Tue, Nov 7, 2017 at 7:08 PM, Jens Axboe wrote: > On 11/07/2017 11:06 AM, Dmitry Vyukov wrote: >> On Sun, Nov 5, 2017 at 4:47 PM, Jens Axboe wrote: >>> On 11/05/2017 01:09 AM, Dmitry Vyukov wrote: On Sun, Nov 5, 2017 at 11:05 AM, syzbot

Re: WARNING in free_kthread_struct

2017-11-08 Thread Dmitry Vyukov
On Tue, Nov 7, 2017 at 3:54 PM, Dmitry Vyukov wrote: > On Tue, Nov 7, 2017 at 3:46 PM, syzbot > > wrote: >> Hello, >> >> syzkaller hit the following crash on >> 0f611fb6dcc0d6d91b4e1fec911321f434a3b858 >>

Re: general protection fault in lockdep_invariant_state (2)

2017-11-08 Thread Dmitry Vyukov
On Wed, Nov 8, 2017 at 9:16 AM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 5a3517e009e979f21977d362212b7729c5165d92 > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler:

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Alexandre Belloni
On 08/11/2017 at 13:36:15 +0530, Keerthy wrote: > > > On Wednesday 08 November 2017 12:46 PM, Alexandre Belloni wrote: > > On 08/11/2017 at 12:38:05 +0530, Keerthy wrote: > >> > >> > >> On Wednesday 08 November 2017 11:57 AM, Alexandre Belloni wrote: > >>> Hi, > >>> > >>> On 08/11/2017 at

[PATCH v6 2/2] Input: add support for the Samsung S6SY761 touchscreen

2017-11-08 Thread Andi Shyti
The S6SY761 touchscreen is a capicitive multi-touch controller for mobile use. It's connected with i2c at the address 0x48. This commit provides a basic version of the driver which can handle only initialization, touch events and power states. The controller is controlled by a firmware which, in

Re: [PATCH v2] locking/pvqspinlock: Hybrid PV queued/unfair locks

2017-11-08 Thread Peter Zijlstra
On Tue, Nov 07, 2017 at 04:18:06PM -0500, Waiman Long wrote: > vCPUs hybrid pvqlock unfair lock > - -- --- > 36 822,135/881,063/950,36375,570/313,496/ 690,465 > 54 542,435/581,664/625,93735,460/204,280/

Re: WARNING in __check_heap_object

2017-11-08 Thread Dmitry Vyukov
On Tue, Nov 7, 2017 at 9:35 PM, Kees Cook wrote: > On Tue, Nov 7, 2017 at 10:36 AM, syzbot > > wrote: >> Hello, >> >> syzkaller hit the following crash on >> 5a3517e009e979f21977d362212b7729c5165d92 >>

Re: [PATCH 04/31] nds32: Exception handling

2017-11-08 Thread Arnd Bergmann
On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu wrote: > From: Greentime Hu > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu > arch/nds32/mm/alignment.c | 564 >

Re: WARNING in usb_submit_urb

2017-11-08 Thread Dmitry Vyukov
On Tue, Nov 7, 2017 at 6:58 PM, Alan Stern wrote: > On Tue, 7 Nov 2017, Greg KH wrote: > >> On Tue, Nov 07, 2017 at 08:11:13AM -0800, syzbot wrote: >> > Hello, >> > >> > syzkaller hit the following crash on >> > 36ef71cae353f88fd6e095e2aaa3e5953af1685d >> >

Re: kernel BUG at net/key/af_key.c:LINE!

2017-11-08 Thread Herbert Xu
On Tue, Oct 24, 2017 at 05:10:06PM +0200, Dmitry Vyukov wrote: > On Tue, Oct 24, 2017 at 5:08 PM, syzbot > > wrote: > > Hello, > > > > syzkaller hit the following crash on > > 02a2b05395dde2f49eb67b51a5fbc6606943 > >

Re: POWER: Unexpected fault when writing to brk-allocated memory

2017-11-08 Thread Kirill A. Shutemov
On Wed, Nov 08, 2017 at 03:56:06PM +1100, Michael Ellerman wrote: > "Aneesh Kumar K.V" writes: > > >> > >> If it is decided to keep these kind of heuristics, can we get just a > >> small but reasonably precise description of each change to the > >> interface and

Re: [PATCH v3] dmaengine: rcar-dmac: use TCRB instead of TCR for residue

2017-11-08 Thread Vinod Koul
On Wed, Nov 08, 2017 at 06:33:33AM +, Kuninori Morimoto wrote: > > Hi Vinod > > > > > > This is now commit 847449f23dcbff68 ("dmaengine: rcar-dmac: use TCRB > > > > > instead of TCR for residue") in slave-dma/next, and breaks serial > > > > > console > > > > > input on koelsch

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 02:01 PM, Keerthy wrote: > > > On Wednesday 08 November 2017 01:51 PM, Alexandre Belloni wrote: >> On 08/11/2017 at 13:36:15 +0530, Keerthy wrote: >>> >>> >>> On Wednesday 08 November 2017 12:46 PM, Alexandre Belloni wrote: On 08/11/2017 at 12:38:05 +0530,

Re: [PATCH 00/31] Andes(nds32) Linux Kernel Port

2017-11-08 Thread David Howells
Greentime Hu wrote: > The build script and toolchain repositories are able to be found here: > https://github.com/andestech/build_script.git Is arch support in upstream binutils and gcc? David

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Alexandre Belloni
On 08/11/2017 at 14:02:31 +0530, Keerthy wrote: > > > On Wednesday 08 November 2017 02:01 PM, Keerthy wrote: > > > > > > On Wednesday 08 November 2017 01:51 PM, Alexandre Belloni wrote: > >> On 08/11/2017 at 13:36:15 +0530, Keerthy wrote: > >>> > >>> > >>> On Wednesday 08 November 2017 12:46

Re: [PATCH 05/31] nds32: MMU definitions

2017-11-08 Thread Arnd Bergmann
On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu wrote: > +/* > + * The DMA mask corresponding to the maximum bus address allocatable > + * using GFP_DMA. The default here places no restriction on DMA > + * allocations. This must be the smallest DMA mask in the system, > + * so

Re: [PATCH v2] locking/pvqspinlock: Hybrid PV queued/unfair locks

2017-11-08 Thread Eduardo Valentin
On Tue, Nov 07, 2017 at 04:18:06PM -0500, Waiman Long wrote: > Currently, all the lock waiters entering the slowpath will do one > lock stealing attempt to acquire the lock. That helps performance, > especially in VMs with over-committed vCPUs. However, the current > pvqspinlocks still don't

Re: general protection fault in lockdep_invariant_state (2)

2017-11-08 Thread Peter Zijlstra
On Wed, Nov 08, 2017 at 09:19:53AM +0100, Dmitry Vyukov wrote: > > R13: 00402260 R14: 004022f0 R15: > > kasan: CONFIG_KASAN_INLINE enabled > > kasan: GPF could be caused by NULL-ptr deref or user memory access > > general protection fault: [#1] SMP KASAN > >

Re: [PATCHv3 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-08 Thread Eduardo Valentin
Paolo, On Tue, Nov 07, 2017 at 01:43:15PM +0100, Paolo Bonzini wrote: > On 07/11/2017 13:39, Eduardo Valentin wrote: > >> is this still needed after Waiman's patch to adaptively switch between > >> tas and pvqspinlock? > > Can you please point me to it ? Is it already in tip/master? > > > > No,

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 02:05 PM, Alexandre Belloni wrote: > On 08/11/2017 at 14:02:31 +0530, Keerthy wrote: >> >> >> On Wednesday 08 November 2017 02:01 PM, Keerthy wrote: >>> >>> >>> On Wednesday 08 November 2017 01:51 PM, Alexandre Belloni wrote: On 08/11/2017 at 13:36:15 +0530,

Re: [PATCH 10/31] nds32: IRQ handling

2017-11-08 Thread Arnd Bergmann
On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu wrote: > + > +#ifdef CONFIG_TRACE_IRQFLAGS > +void notrace arch_trace_hardirqs_on(void) > +{ > + trace_hardirqs_on(); > +} > + > +void notrace arch_trace_hardirqs_off(void) > +{ > + trace_hardirqs_off(); > +} > +#endif

Re: [PATCH V13 03/10] mmc: block: Add blk-mq support

2017-11-08 Thread Linus Walleij
On Fri, Nov 3, 2017 at 2:20 PM, Adrian Hunter wrote: > Define and use a blk-mq queue. Discards and flushes are processed > synchronously, but reads and writes asynchronously. In order to support > slow DMA unmapping, DMA unmapping is not done until after the next request

Re: [f2fs-dev] [PATCH] f2fs: optimize the way of traversing free_nid_bitmap

2017-11-08 Thread Chao Yu
On 2017/11/7 19:14, Fan Li wrote: > We call scan_free_nid_bits only when there isn't many > free nids left, it means that marked bits in free_nid_bitmap > are supposed to be few, use find_next_bit_le is more > efficient in such case. > According to my tests, use find_next_bit_le instead of >

Re: [PATCH] x86, build: Make genimage.sh little more quite

2017-11-08 Thread Ingo Molnar
* changbin...@intel.com wrote: > From: Changbin Du > > This change suppresses the 'dd' output and adds '-quite' parameter > to mkisofs tool. None of the messages matter to the user. Now: > > $ make isoimage > ... > Kernel: arch/x86/boot/bzImage

Re: [PATCH 4.4 08/40] ARM: dts: mvebu: pl310-cache disable double-linefill

2017-11-08 Thread Greg Kroah-Hartman
On Wed, Nov 08, 2017 at 12:06:48AM +0100, Sebastian Gottschall wrote: > what about 4.9? Ok, that was odd, I don't know what happened there, now added to the 4.9 tree, thanks for catching that. greg k-h

Re: [PATCH 08/31] nds32: Cache and TLB routines

2017-11-08 Thread Greentime Hu
2017-11-08 16:45 GMT+08:00 Arnd Bergmann : > On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu wrote: > >> +#ifndef __NDS32_PROCFNS_H__ >> +#define __NDS32_PROCFNS_H__ >> + >> +#define CPU_NAME n13 >> + >> +#ifdef __KERNEL__ >> + >> +#ifdef __STDC__ >> +#define

Re: kernel BUG at net/key/af_key.c:LINE!

2017-11-08 Thread Dmitry Vyukov
On Wed, Nov 8, 2017 at 8:59 AM, Dmitry Vyukov wrote: > On Wed, Nov 8, 2017 at 8:47 AM, Herbert Xu > wrote: >> On Tue, Oct 24, 2017 at 05:10:06PM +0200, Dmitry Vyukov wrote: >>> On Tue, Oct 24, 2017 at 5:08 PM, syzbot >>>

Re: kernel BUG at net/key/af_key.c:LINE!

2017-11-08 Thread Dmitry Vyukov
On Wed, Nov 8, 2017 at 8:47 AM, Herbert Xu wrote: > On Tue, Oct 24, 2017 at 05:10:06PM +0200, Dmitry Vyukov wrote: >> On Tue, Oct 24, 2017 at 5:08 PM, syzbot >> >> wrote: >> > Hello, >> > >> >

Re: linux-next: build warning after merge of the netfilter-next tree

2017-11-08 Thread Stephen Rothwell
Hi Dave, On Tue, 7 Nov 2017 11:02:48 +1100 Stephen Rothwell wrote: > > Hi all, > > After merging the netfilter-next tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > net/netfilter/nf_conntrack_netlink.c:536:15: warning:

Re: [RFC PATCH v2] ftrace: support very early function tracing

2017-11-08 Thread Peter Zijlstra
On Tue, Nov 07, 2017 at 09:17:06PM -0500, Steven Rostedt wrote: > > +#ifdef CONFIG_X86_TSC > > + entry->clock = rdtsc(); > > +#else > > + entry->clock = trace_clock_local(); > > +#endif > > +#ifdef CONFIG_X86_TSC > > + cpu_khz = native_calibrate_cpu(); > > +#endif > > +#ifdef

[PATCH v6 1/2] dt-bindings: Input: add Samsung S6SY761 touchscreen binding file

2017-11-08 Thread Andi Shyti
Add the binding file for the Samsung capacitive multi-touch touchscreen S6SY761. Signed-off-by: Andi Shyti Acked-by: Rob Herring --- .../bindings/input/touchscreen/samsung,s6sy761.txt | 34 ++ 1 file changed, 34 insertions(+) create

Re: [PATCH] ARCv2: Accomodate NS48 MMUv5 by releaxing MMU ver checking

2017-11-08 Thread Alexey Brodkin
Hi Vineet, Subject contains one typo: NS48 -> HS48. On Mon, 2017-11-06 at 11:30 -0800, Vineet Gupta wrote: > HS48 cpus will have a new MMUv5, although Linux is currently not > explicitly supporting the newer features (so remains at V4). > The existing software/hardware version check is very

Re: [PATCH v3] scripts: add leaking_addresses.pl

2017-11-08 Thread Peter Zijlstra
On Tue, Nov 07, 2017 at 05:44:13PM -0500, Steven Rostedt wrote: > On Tue, 7 Nov 2017 13:44:01 -0800 > Linus Torvalds wrote: > > > > Looking other places that stand out, it seems like > > > /proc/lockdep_chains and /proc/lockdep (CONFIG_LOCKDEP=y) has a ton of > > >

[PATCH v6 0/2] add support for the Samsung S6SY761 touchscreen

2017-11-08 Thread Andi Shyti
Hi, This patchset adds support for the Samsung s6sy761 touchscreen. Thanks, Andi v5 - v6 - make a clear logical split between hw initialization and resume. - fix an inconsistency when applying the maximum x and y coordinates (as discussed with Dmitry[*]). [*]

Re: [PATCH] locktorture: Fix Oops when reader/writer count is 0

2017-11-08 Thread Peter Zijlstra
On Tue, Nov 07, 2017 at 02:15:55PM -0800, Paul E. McKenney wrote: > But Jeremy's list of email addresses is what you would expect from > looking at MAINTAINERS, so how about the following patch? True; I tend to also look at git history (as goes get_maintainers.pl IIRC). > commit

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 01:51 PM, Alexandre Belloni wrote: > On 08/11/2017 at 13:36:15 +0530, Keerthy wrote: >> >> >> On Wednesday 08 November 2017 12:46 PM, Alexandre Belloni wrote: >>> On 08/11/2017 at 12:38:05 +0530, Keerthy wrote: On Wednesday 08 November 2017 11:57 AM,

[PATCH] x86, build: Make genimage.sh little more quite

2017-11-08 Thread changbin . du
From: Changbin Du This change suppresses the 'dd' output and adds '-quite' parameter to mkisofs tool. None of the messages matter to the user. Now: $ make isoimage ... Kernel: arch/x86/boot/bzImage is ready (#75) GENIMAGE arch/x86/boot/image.iso Using

Re: [PATCH] x86/boot: Fix boot failure when SMP MP-table is based at 0

2017-11-08 Thread Tomeu Vizoso
On 6 November 2017 at 23:01, Tom Lendacky wrote: > On 11/6/2017 3:41 PM, H. Peter Anvin wrote: >> >> On 11/06/17 12:17, Tom Lendacky wrote: >>> >>> When crosvm is used to boot a kernel as a VM, the SMP MP-table is found >>> at physical address 0x0. This causes mpf_base to

Re: [PATCH 00/31] Andes(nds32) Linux Kernel Port

2017-11-08 Thread Greentime Hu
2017-11-08 16:32 GMT+08:00 David Howells : > Greentime Hu wrote: > >> The build script and toolchain repositories are able to be found here: >> https://github.com/andestech/build_script.git > > Is arch support in upstream binutils and gcc? Yes, it is

Re: [PATCH 08/31] nds32: Cache and TLB routines

2017-11-08 Thread Arnd Bergmann
On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu wrote: > +#ifndef __NDS32_PROCFNS_H__ > +#define __NDS32_PROCFNS_H__ > + > +#define CPU_NAME n13 > + > +#ifdef __KERNEL__ > + > +#ifdef __STDC__ > +#define cpu_fn(name,fn) name##fn > +#else > +#define cpu_fn(name,fn)

[PATCH] clk: qoriq: add more divider clocks support

2017-11-08 Thread andy.tang
From: Yuantian Tang More divider clocks are needed by IP. So enlarge the PLL divider array to accommodate more divider clocks. Signed-off-by: Tang Yuantian --- Documentation/devicetree/bindings/clock/qoriq-clock.txt | 1 + drivers/clk/clk-qoriq.c

Re: [PATCH v5 25/26] KVM: arm/arm64: GICv4: Enable VLPI support

2017-11-08 Thread Auger Eric
Hi Marc, On 27/10/2017 16:28, Marc Zyngier wrote: > All it takes is the has_v4 flag to be set in gic_kvm_info > as well as "kvm-arm.vgic_v4_enable=1" being passed on the > command line for GICv4 to be enabled in KVM. What did you motivate your choice of having an enable option instead of a

Re: [PATCH 05/31] nds32: MMU definitions

2017-11-08 Thread Greentime Hu
2017-11-08 16:36 GMT+08:00 Arnd Bergmann : > On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu wrote: > >> +/* >> + * The DMA mask corresponding to the maximum bus address allocatable >> + * using GFP_DMA. The default here places no restriction on DMA >> + *

Re: [PATCH v5 22/26] KVM: arm/arm64: GICv4: Enable virtual cpuif if VLPIs can be delivered

2017-11-08 Thread Auger Eric
Hi, On 27/10/2017 16:28, Marc Zyngier wrote: > In order for VLPIs to be delivered to the guest, we must make > sure that the virtual cpuif is always enabled, irrespective of the > presence of virtual interrupt in the LRs. > > Acked-by: Christoffer Dall > Signed-off-by: Marc

Re: [PATCH v7 1/6] x86/tsc: remove tsc_disabled flag

2017-11-08 Thread Dou Liyang
Hi Pavel, At 11/03/2017 10:23 PM, Pavel Tatashin wrote: Hi Dou, Sure, I can remove the warning, but I think we should print something that is indicating that notsc is not a good parameter anymore: i.e tsc=unstable is better. Perhaps something like: "Kernel parameter \'notsc\' is deprecated,

Re: [PATCH 11/31] nds32: Atomic operations

2017-11-08 Thread Arnd Bergmann
On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu wrote: > From: Greentime Hu > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu > --- > arch/nds32/include/asm/futex.h| 116

Re: [PATCH V13 04/10] mmc: block: Add CQE support

2017-11-08 Thread Linus Walleij
On Fri, Nov 3, 2017 at 2:20 PM, Adrian Hunter wrote: > @@ -2188,11 +2327,18 @@ enum mmc_issued mmc_blk_mq_issue_rq(struct mmc_queue > *mq, struct request *req) > return MMC_REQ_FAILED_TO_START; > } > return

[PATCH] arm64: dts: hi3660: improve pmu description

2017-11-08 Thread Xu YiPing
cortex a73 pmu is supported, use it instead of armpmu-v3 --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index

[PATCH 3/3] perf tools: Removing FLAGS_PYTHON_EMBED/FLAGS_PERL_EMBED variables

2017-11-08 Thread Jiri Olsa
There's no user of those. Link: http://lkml.kernel.org/n/tip-84jeuwojm21wcjfzvtis6...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/Makefile.config | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index

[PATCH 2/3] perf tools: Fix build for hardened environments

2017-11-08 Thread Jiri Olsa
From: Jiri Olsa On Fedora systems the perl and python CFLAGS/LDFLAGS include the hardened specs from redhat-rpm-config package. We apply them only for perl/python objects, which makes them not compatible with the rest of the objects and the build fails with: /usr/bin/ld:

[PATCH 0/3] perf tools: Build fixes

2017-11-08 Thread Jiri Olsa
hi, got a build error on latest Fedora 27, sending fix. Also available in: https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/fixes thanks, jirka --- Jiri Olsa (3): perf tools: Use shell function for perl cflags retrieval perf tools: Fix build for hardened

[tip:locking/core] rcu: Use lockdep to assert IRQs are disabled/enabled

2017-11-08 Thread tip-bot for Frederic Weisbecker
Commit-ID: b04db8e19fc2e9131524dec43057c1b96d5ba3ba Gitweb: https://git.kernel.org/tip/b04db8e19fc2e9131524dec43057c1b96d5ba3ba Author: Frederic Weisbecker AuthorDate: Mon, 6 Nov 2017 16:01:30 +0100 Committer: Ingo Molnar CommitDate: Wed, 8 Nov

[tip:x86/asm] selftests/x86: Add tests for the STR and SLDT instructions

2017-11-08 Thread tip-bot for Ricardo Neri
Commit-ID: a9e017d5619eb371460c8e516f4684def62bef3a Gitweb: https://git.kernel.org/tip/a9e017d5619eb371460c8e516f4684def62bef3a Author: Ricardo Neri AuthorDate: Sun, 5 Nov 2017 18:27:57 -0800 Committer: Ingo Molnar CommitDate:

[tip:x86/asm] x86/umip: Add emulation code for UMIP instructions

2017-11-08 Thread tip-bot for Ricardo Neri
Commit-ID: 1e5db223696afa55e6a038fac638f759e1fdcc01 Gitweb: https://git.kernel.org/tip/1e5db223696afa55e6a038fac638f759e1fdcc01 Author: Ricardo Neri AuthorDate: Sun, 5 Nov 2017 18:27:52 -0800 Committer: Ingo Molnar CommitDate:

[tip:x86/asm] selftests/x86: Add tests for User-Mode Instruction Prevention

2017-11-08 Thread tip-bot for Ricardo Neri
Commit-ID: 9390afebe1d3f5a0be18b1afdd0ce09d67cebf9e Gitweb: https://git.kernel.org/tip/9390afebe1d3f5a0be18b1afdd0ce09d67cebf9e Author: Ricardo Neri AuthorDate: Sun, 5 Nov 2017 18:27:56 -0800 Committer: Ingo Molnar CommitDate:

Re: [PATCH v5 13/26] KVM: arm/arm64: GICv4: Propagate affinity changes to the physical ITS

2017-11-08 Thread Marc Zyngier
On 07/11/17 21:01, Auger Eric wrote: > Hi Marc, > > On 27/10/2017 16:28, Marc Zyngier wrote: >> When the guest issues an affinity change, we need to tell the physical >> ITS that we're now targetting a new vcpu. This is done by extracting >> the current mapping, updating the target, and

Re: [butterfly_attach] WARNING: CPU: 0 PID: 198 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x71/0x97

2017-11-08 Thread Mark Brown
On Wed, Nov 08, 2017 at 07:51:27PM +0800, Fengguang Wu wrote: > Another option is to disable the butterfy driver in 0day boot tests. > We've actually accumulated a kconfig enable/disable list over time. That'd certainly avoid the reports, though it will mean if anyone else runs the same testing

Re: [Xen-devel] [PATCH 3/3] x86/xen: use guest_late_init to detect Xen PVH guest

2017-11-08 Thread Jan Beulich
>>> On 08.11.17 at 12:55, wrote: > On 08/11/17 12:18, Jan Beulich wrote: > On 08.11.17 at 10:07, wrote: >>> In case we are booted via the default boot entry by a generic loader >>> like grub or OVMF it is necessary to distinguish between a HVM guest >>> with

Re: iwlegacy: remove redundant pointer sta_priv

2017-11-08 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Pointer sta_priv is assigned but never read, hence it is redundant > and can be removed. Cleans up clang warning: > > drivers/net/wireless/intel/iwlegacy/4965-rs.c:2163:2: warning: Value >

Re: [PATCH v2] lib/mpi: call cond_resched() from mpi_powm() loop

2017-11-08 Thread David Howells
Eric Biggers wrote: > On a non-preemptible kernel, if KEYCTL_DH_COMPUTE is called with the > largest permitted inputs (16384 bits), the kernel spends 10+ seconds > doing modular exponentiation in mpi_powm() without rescheduling. If all > threads do it, it locks up the

Re: pkcs7_message: taint, no license

2017-11-08 Thread David Howells
Randy Dunlap wrote: > [74785.692410] pkcs7_message: module license 'unspecified' taints kernel. > [74785.692414] Disabling lock debugging due to kernel taint Are you particularly using the pkcs#7 parser as a module? I wonder if it makes most sense to make this and the

Re: [PATCH v7 2/5] x86/pvclock: add setter for pvclock_pvti_cpu0_va

2017-11-08 Thread Joao Martins
On 11/08/2017 11:06 AM, Thomas Gleixner wrote: > On Tue, 7 Nov 2017, Joao Martins wrote: >> On 11/06/2017 04:09 PM, Paolo Bonzini wrote: >>> On 19/10/2017 15:39, Joao Martins wrote: Right now there is only a pvclock_pvti_cpu0_va() which is defined on kvmclock since: commit

[PATCH RFC] mm/memory_hotplug: make it possible to offline blocks with reserved pages

2017-11-08 Thread Vitaly Kuznetsov
Hyper-V balloon driver needs to hotplug memory in smaller chunks and to workaround Linux's 128Mb allignment requirement so it does a trick: partly populated 128Mb blocks are added and then a custom online_page_callback hook checks if the particular page is 'backed' during onlining, in case it is

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

2017-11-08 Thread Josh Poimboeuf
On Wed, Nov 08, 2017 at 10:18:28AM +0100, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > On Wed, Nov 08, 2017 at 01:47:17PM +1100, Stephen Rothwell wrote: > > > Presumably caused by commit > > > > > > 6a77cff819ae ("objtool: Move synced files to their original

Re: [PATCH] mm: page_ext: allocate page extension though first PFN is invalid

2017-11-08 Thread Jaewon Kim
2017-11-08 16:52 GMT+09:00 Joonsoo Kim : > On Tue, Nov 07, 2017 at 06:44:47PM +0900, Jaewon Kim wrote: >> online_page_ext and page_ext_init allocate page_ext for each section, but >> they do not allocate if the first PFN is !pfn_present(pfn) or >> !pfn_valid(pfn). >> >>

Re: [PATCH 1/2] perf/trace: call machine__exit() at exiting

2017-11-08 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 08, 2017 at 11:39:27AM +0100, Jiri Olsa escreveu: > On Tue, Nov 07, 2017 at 04:22:45PM -0800, Andrei Vagin wrote: > > Otherwise perf trace leaves a temprary file /tmp/perf-vdso.so-XX. > > > > $ perf trace -o log true > > $ ls -l /tmp/perf-vdso.* > > -rw--- 1 root root 8192 Nov

Re: [PATCH 0/3] x86/xen: support booting PVH guest via standard boot path

2017-11-08 Thread Juergen Gross
On 08/11/17 14:37, Boris Ostrovsky wrote: > On 11/08/2017 04:07 AM, Juergen Gross wrote: >> Booting a Xen PVH guest requires a special boot entry as it is >> mandatory to setup some Xen-specific interfaces rather early. When grub >> or OVMF are used as boot loaders, however, those will fill the

Re: [PATCH] drm: sti: remove useless fields from vtg structure

2017-11-08 Thread Benjamin Gaignard
2017-11-08 14:04 GMT+01:00 Benjamin Gaignard : > Drivers are registered on platform bus so the private list > could be replace by a call to of_find_device_by_node(). > Changing this also makes dev, np and link fields useless > in vtg structure. > > Signed-off-by:

[GIT PULL] keys: fix NULL pointer dereference during ASN.1 parsing

2017-11-08 Thread James Morris
Hi Linus, Please pull this fix by Eric Biggers for the keys subsystem. --- The following changes since commit fbc3edf7d7731d7a22c483c679700589bab936a3: drivers/ide-cd: Handle missing driver data during status check gracefully (2017-11-07 09:12:04 -0800) are available in the git repository

Re: [PATCH] drm: sti: remove vtg_remove

2017-11-08 Thread Benjamin Gaignard
2017-11-08 14:06 GMT+01:00 Benjamin Gaignard : > vtg_remove does nothing just remove it > > Signed-off-by: Benjamin Gaignard Merge in drm-misc-next with Daniel's irc ack > --- > drivers/gpu/drm/sti/sti_vtg.c | 6 -- > 1 file

Re: regression in irq sharing caused by genirq: Use irqd_get_trigger_type to compare the trigger type for shared IRQs

2017-11-08 Thread Marc Zyngier
On 08/11/17 13:35, Petr Cvek wrote: > > > Dne 8.11.2017 v 14:11 Marc Zyngier napsal(a): >> On 08/11/17 13:09, Marc Zyngier wrote: >>> On 07/11/17 23:41, Petr Cvek wrote: Hello, Commit 382bd4de61827 ("genirq: Use irqd_get_trigger_type to compare the trigger type for shared

Re: [PATCH] s390/dasd: avoid calling do_gettimeofday()

2017-11-08 Thread Arnd Bergmann
On Wed, Nov 8, 2017 at 2:27 PM, Stefan Haberland wrote: > On 06.11.2017 15:02, Arnd Bergmann wrote: >> diff --git a/drivers/s390/block/dasd_eer.c b/drivers/s390/block/dasd_eer.c >> index 4630782b5456..5169c717c9d6 100644 >> --- a/drivers/s390/block/dasd_eer.c >> +++

[PATCH RESEND] dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type

2017-11-08 Thread Peter Ujfalusi
The used 0x1f mask is only valid for am335x family of SoC, different family using this type of crossbar might have different number of electable events. In case of am43xx family 0x3f mask should have been used for example. Instead of trying to handle each family's mask, just use u8 type to store

[RFC PATCH -tip 2/6] net: tcp: Remove TCP probe module

2017-11-08 Thread Masami Hiramatsu
Remove TCP probe module since jprobe has been deprecated. That function is now replaced by tcp/tcp_probe trace-event. You can use it via ftrace or perftools. Signed-off-by: Masami Hiramatsu --- net/Kconfig | 17 --- net/ipv4/Makefile|1

[RFC PATCH -tip 1/6] net: tcp: Add trace events for TCP congestion window tracing

2017-11-08 Thread Masami Hiramatsu
This adds an event to trace TCP stat variables with slightly intrusive trace-event. This uses ftrace/perf event log buffer to trace those state, no needs to prepare own ring-buffer, nor custom user apps. User can use ftrace to trace this event as below; # cd /sys/kernel/debug/tracing # echo

[RFC PATCH -tip 0/6] net: tcp: sctp: dccp: Replace jprobe usage with trace events

2017-11-08 Thread Masami Hiramatsu
Hi, This series introduce new trace events which allows user to trace network congestion window etc. via ftrace or perftools. And remove jprobe usages (tcp_probe/dccp_probe/sctp_probe). So this series removes all register_jprobe users from the kernel tree. So following example in

Re: [PATCH v11 00/12] x86: Enable User-Mode Instruction Prevention

2017-11-08 Thread Thomas Gleixner
On Sun, 5 Nov 2017, Ricardo Neri wrote: > Changes since V10: > *Patch 1 ("x86/insn-eval: Extend get_seg_base_addr() to also obtain segment > limit") of v10 has been dropped has it has been merged in the tip tree. > *Removed unnecessary wrap-around of function calls to enforce the 80 >

Re: Soft lockup in rt2x00usb_work_rxdone()

2017-11-08 Thread Stanislaw Gruszka
On Tue, Nov 07, 2017 at 12:01:23PM +0100, Richard Genoud wrote: > Le mardi 07 novembre 2017 à 11:13 +0100, Stanislaw Gruszka a écrit : > > On Tue, Nov 07, 2017 at 11:06:39AM +0100, Richard Genoud wrote: > > > > 3 short articles how to configure and use ftrace are here: > > > >

Re: [PATCH v2 2/3] drivers: phy: broadcom: Add driver for Cygnus USB phy controller

2017-11-08 Thread Chanwoo Choi
Hi, On 2017년 11월 08일 16:52, Raveendra Padasalagi wrote: > Hi, > > Adding Chanwoo Choi to review extcon API's. > > -Raveendra > On Wed, Nov 8, 2017 at 1:16 PM, Raveendra Padasalagi > wrote: >> Add driver for Broadcom's USB phy controller's used in Cygnus >>

[tip:x86/asm] x86/insn-eval: Compute linear address in several utility functions

2017-11-08 Thread tip-bot for Ricardo Neri
Commit-ID: 70e57c0f4b502f2435b7649a201861fe212c2e4e Gitweb: https://git.kernel.org/tip/70e57c0f4b502f2435b7649a201861fe212c2e4e Author: Ricardo Neri AuthorDate: Sun, 5 Nov 2017 18:27:46 -0800 Committer: Ingo Molnar CommitDate:

[tip:x86/asm] x86/insn-eval: Add support to resolve 32-bit address encodings

2017-11-08 Thread tip-bot for Ricardo Neri
Commit-ID: 7a6daf79123a086f03b8cdfbc953958c8e1c1287 Gitweb: https://git.kernel.org/tip/7a6daf79123a086f03b8cdfbc953958c8e1c1287 Author: Ricardo Neri AuthorDate: Sun, 5 Nov 2017 18:27:47 -0800 Committer: Ingo Molnar CommitDate:

Re: [PATCH v4 20/20] cpufreq: scmi: add support for fast frequency switching

2017-11-08 Thread Arnd Bergmann
On Wed, Nov 8, 2017 at 11:42 AM, Sudeep Holla wrote: > > > On 08/11/17 00:24, Rafael J. Wysocki wrote: >> On Friday, November 3, 2017 3:47:57 PM CET Sudeep Holla wrote: >>> The cpufreq core provides option for drivers to implement fast_switch >>> callback which is invoked

Re: [tip:sched/core] sched/core: Optimize sched_feat() for !SCHED_DEBUG builds

2017-11-08 Thread Patrick Bellasi
On 08-Nov 11:03, Ingo Molnar wrote: > > * tip-bot for Patrick Bellasi wrote: > > > Commit-ID: 692ee9a79c14c9f707eeb03754a26b9427c0e005 > > Gitweb: > > https://git.kernel.org/tip/692ee9a79c14c9f707eeb03754a26b9427c0e005 > > Author: Patrick Bellasi

Re: [butterfly_attach] WARNING: CPU: 0 PID: 198 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x71/0x97

2017-11-08 Thread Mark Brown
On Tue, Nov 07, 2017 at 08:49:46AM -0800, Linus Torvalds wrote: > On Tue, Nov 7, 2017 at 2:24 AM, Fengguang Wu wrote: > > FYI this happens in v4.14-rc8 -- it's not necessarily a new bug. > Yeah, very doubtful. Nobody has touched that spi-butterfly driver in > about two

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-08 Thread Marc Zyngier
On 07/11/17 15:59, Auger Eric wrote: > Hi, > > On 07/11/2017 15:42, Marc Zyngier wrote: >> Hi Eric, >> >> On 07/11/17 13:06, Auger Eric wrote: >>> Hi Marc, >>> >>> On 27/10/2017 16:28, Marc Zyngier wrote: Let's use the irq bypass mechanism introduced for platform device interrupts >>>

Re: [Xen-devel] [PATCH 3/3] x86/xen: use guest_late_init to detect Xen PVH guest

2017-11-08 Thread Juergen Gross
On 08/11/17 12:18, Jan Beulich wrote: On 08.11.17 at 10:07, wrote: >> In case we are booted via the default boot entry by a generic loader >> like grub or OVMF it is necessary to distinguish between a HVM guest >> with a device model supporting legacy devices and a PVH guest

Re: [Xen-devel] [PATCH 3/3] x86/xen: use guest_late_init to detect Xen PVH guest

2017-11-08 Thread Paolo Bonzini
On 08/11/2017 13:24, Juergen Gross wrote: >> My understanding of Xen is very rusty at this point, but I think a >> "completely" legacy-free HVM domain will still have a PCI bus and the >> Xen platform device on that bus. >> >> A PVH domain just knows how to access the Xen PV features. > > A HVM

Re: [1/3] rtlwifi: fix uninitialized rtlhal->last_suspend_sec time

2017-11-08 Thread Kalle Valo
Arnd Bergmann wrote: > We set rtlhal->last_suspend_sec to an uninitialized stack variable, > but unfortunately gcc never warned about this, I only found it > while working on another patch. I opened a gcc bug for this. > > Presumably the value of rtlhal->last_suspend_sec is not

[PATCH 3/3] optee: support asynchronous supplicant requests

2017-11-08 Thread Jens Wiklander
Adds support for asynchronous supplicant requests, meaning that the supplicant can process several requests in parallel or block in a request for some time. Acked-by: Etienne Carriere Tested-by: Etienne Carriere (b2260 pager=y/n)

Re: 答复: [PATCH v2,1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-11-08 Thread gre...@linuxfoundation.org
On Mon, Oct 30, 2017 at 07:50:09AM +, 冯锐 wrote: > Hi Greg > > I'm sorry to bother you, but can you help to review this patch and the patch > below if you have time? > https://patchwork.kernel.org/patch/10026543/ Hm, I don't use patchwork, so I don't know what to say about that. But in

[PATCH 2/3] tee: add TEE_IOCTL_PARAM_ATTR_META

2017-11-08 Thread Jens Wiklander
Adds TEE_IOCTL_PARAM_ATTR_META which can be used to indicate meta parameters when communicating with user space. These meta parameters can be used by supplicant support multiple parallel requests at a time. Reviewed-by: Etienne Carriere Signed-off-by: Jens Wiklander

[PATCH] usb: gadget: udc-xilinx: remove redundant pointer udc

2017-11-08 Thread Colin King
From: Colin Ian King Pointer udc is assigned but never read, hence it is redundant and can be removed. Cleans up clang warning: drivers/usb/gadget/udc/udc-xilinx.c:974:2: warning: Value stored to 'udc' is never read Signed-off-by: Colin Ian King

[PATCH 0/3] tee: asynchronous supplicant requests

2017-11-08 Thread Jens Wiklander
Hi, Currently all tee supplicant communication is synchronous. This isn't very limiting if the supplicant only is accessing system local resources like storage. With network access via the supplicant it becomes a larger problem. This patch set enables asynchronous communication with the

Re: [Xen-devel] [PATCH 3/3] x86/xen: use guest_late_init to detect Xen PVH guest

2017-11-08 Thread Jan Beulich
>>> On 08.11.17 at 13:45, wrote: > On 08/11/17 13:31, Jan Beulich wrote: > On 08.11.17 at 12:55, wrote: >>> On 08/11/17 12:18, Jan Beulich wrote: >>> On 08.11.17 at 10:07, wrote: > In case we are booted via the default boot entry by

Re: [PATCH V13 04/10] mmc: block: Add CQE support

2017-11-08 Thread Adrian Hunter
On 08/11/17 11:00, Linus Walleij wrote: > On Fri, Nov 3, 2017 at 2:20 PM, Adrian Hunter wrote: > >> @@ -2188,11 +2327,18 @@ enum mmc_issued mmc_blk_mq_issue_rq(struct mmc_queue >> *mq, struct request *req) >> return MMC_REQ_FAILED_TO_START; >>

Re: [PATCH 29/31] MAINTAINERS: Add nds32

2017-11-08 Thread Rob Herring
On Tue, Nov 7, 2017 at 11:55 PM, Greentime Hu wrote: > From: Greentime Hu > > Signed-off-by: Greentime Hu > --- > MAINTAINERS |9 + > 1 file changed, 9 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS >

Re: [PATCH v2] checkpatch: do not check missing blank line before builtin_*_driver

2017-11-08 Thread Masahiro Yamada
Hi Joe, Andrew, (sorry, Andrew was missing from the list...) 2017-09-18 11:01 GMT+09:00 Masahiro Yamada : > checkpatch.pl does not check missing blank line before module_*_driver. > I want it to behave likewise for builtin_*_driver. > > Signed-off-by: Masahiro

[PATCH v2 6/6] PM / core: DPM_FLAG_SMART_SUSPEND optimization

2017-11-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the PM core avoid invoking the "late" and "noirq" system-wide suspend (or analogous) callbacks for devices that are in runtime suspend during the corresponding phases of system-wide suspend (or analogous) transitions. The underlying

  1   2   3   4   5   6   7   8   9   10   >