Re: [PATCH v2 2/3] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-12-06 Thread Maxime Ripard
On Mon, Dec 05, 2016 at 07:01:46PM +0800, Icenowy Zheng wrote: > > > 05.12.2016, 17:40, "Maxime Ripard" : > > On Mon, Dec 05, 2016 at 04:59:44PM +0800, Icenowy Zheng wrote: > >>  2016年12月5日 16:52于 Maxime Ripard 写道: > >>  > > >>  > On Fri, Dec 02, 2016 at 10:22:30PM +0800, Icenowy Zheng wrote: > >

[RFC][PATCH 3/3 v2] usb: dwc2: Force port resume on switching to device mode

2016-12-06 Thread John Stultz
From: Chen Yu We've seen failures when switching between host and gadget mode, which was diagnosed as being caused due to the bus being auto-suspended when we switched. So this patch forces a port resume when switching to device mode if the bus is suspended. Cc: Wei Xu Cc: Guodong Xu Cc: Amit

Re: ILP32 for ARM64: testing with glibc testsuite

2016-12-06 Thread Yury Norov
On Mon, Dec 05, 2016 at 06:24:11PM +0800, Zhangjian (Bamvor) wrote: > > > On 2016/12/5 18:07, Andreas Schwab wrote: > >On Dez 05 2016, "Zhangjian (Bamvor)" wrote: > > > >>Is there some progresses on it? We could collabrate to fix those issues. > > > >All the elf/nptl/rt fails should be fixed by

[RFC][PATCH 0/3 v2] Try to connect HiKey's usb extcon to dwc2 driver

2016-12-06 Thread John Stultz
After feedback from Kishon and John, I've reworked my efforts to add extcon support to the phy-hi6220-usb driver and instead have added the extcon support to the dwc2 driver directly. This avoids odd interactions trying to wire the generic phy to the otg gadget structure to send proper connect/dis

[RFC][PATCH 2/3 v2] usb: dwc2: Avoid suspending if we're in gadget mode

2016-12-06 Thread John Stultz
I've found when booting HiKey with the usb gadget cable attached if I then try to connect via adb, I get an infinite spew of: dwc2 f72c.usb: dwc2_hsotg_ep_sethalt(ep ffc0790ecb18 ep1out, 0) dwc2 f72c.usb: dwc2_hsotg_ep_sethalt(ep ffc0790eca18 ep1in, 0) It seems that the usb autosu

Re: [RFC PATCH 1/6] x86/CPU: Add X86_FEATURE_CPUID

2016-12-06 Thread Borislav Petkov
On Mon, Dec 05, 2016 at 05:01:10PM -0800, Andy Lutomirski wrote: > From: Borislav Petkov > > Add a synthetic CPUID flag denoting whether the CPU sports the CPUID > instruction or not. This will come useful later when accomodating > CPUID-less CPUs. > > Signed-off-by: Borislav Petkov > Signed-of

[RFC][PATCH 1/3 v2] usb: dwc2: Add extcon support to dwc2 driver

2016-12-06 Thread John Stultz
This patch wires up extcon support to the dwc2 driver so that devices that use a modern generic phy driver and don't use the usb-phy infrastructure can still signal connect/disconnect events. Cc: Wei Xu Cc: Guodong Xu Cc: Amit Pundir Cc: Rob Herring Cc: John Youn Cc: Douglas Anderson Cc: Che

Re: [PATCH] sd: make ->no_write_same independent of reported ->max_ws_blocks

2016-12-06 Thread Nicolai Stange
Hello Martin, "Martin K. Petersen" writes: >> "Nicolai" == Nicolai Stange writes: > Nicolai> Due to reported problems with Write Same on ATA devices, commit > Nicolai> 0ce1b18c42a5 ("libata: Some drives failing on SCT Write Same") > Nicolai> strived to report non-support for Write Same on n

Re: [PATCH]net:witchdev:release the lock before function return to avoid dead lock

2016-12-06 Thread Jiri Pirko
Tue, Dec 06, 2016 at 03:58:29AM CET, cxdx2...@gmail.com wrote: >From : Feng Deng > >In switchdev_deferred_dequeue(),only get the lock at the beginning, >but forgot to release before return, >we must release the lock to avoid dead lock Feng, your patches are corrupted. Please use "git send-email"

Re: [PATCH] ACPI/IORT: Make dma masks set-up IORT specific

2016-12-06 Thread Hanjun Guo
On 2016/12/5 20:26, Lorenzo Pieralisi wrote: > The introduction of acpi_dma_configure() allows to configure DMA > and related IOMMU for any device that is DMA capable. To achieve > that goal it ensures DMA masks are set-up to sane default values > before proceeding with IOMMU and DMA ops configurat

Re: [PATCH] i2c: rk3x: keep i2c irq ON in suspend

2016-12-06 Thread David.Wu
Hi Heiko, 在 2016/12/5 18:54, Heiko Stuebner 写道: Hi David, Am Montag, 5. Dezember 2016, 16:02:59 CET schrieb David Wu: During suspend there may still be some i2c access happening. And if we don't keep i2c irq ON, there may be i2c access timeout if i2c is in irq mode of operation. can you desc

Re: [PATCH v2 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2016-12-06 Thread Vivek Gautam
On Sat, Dec 3, 2016 at 12:17 AM, Stephen Boyd wrote: > On 12/01/2016 12:42 AM, Vivek Gautam wrote: >> On Tue, Nov 29, 2016 at 4:44 AM, Stephen Boyd wrote: >>> On 11/22, Vivek Gautam wrote: + } + + /* + * we need to read only one byte here, since the required

Re: bio linked list corruption.

2016-12-06 Thread Peter Zijlstra
On Mon, Dec 05, 2016 at 12:35:52PM -0800, Linus Torvalds wrote: > Adding the scheduler people to the participants list, and re-attaching > the patch, because while this patch is internal to the VM code, the > issue itself is not. > > There might well be other cases where somebody goes "wake_up_all

Re: [GIT PULL 00/20] perf/core improvements and fixes

2016-12-06 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit e7af7b15121ca08c31a0ab9df71a41b4c53365b4: > > Merge tag 'perf-core-for-mingo-20161201' of > git://gi

[tip:perf/core] perf tools: Pass context to perf hook functions

2016-12-06 Thread tip-bot for Wang Nan
Commit-ID: 8ad85e9e6fdaf996bf3ff60303ea00e696bcdd36 Gitweb: http://git.kernel.org/tip/8ad85e9e6fdaf996bf3ff60303ea00e696bcdd36 Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:29 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:42 -0300 perf tools: Pass co

[tip:perf/core] tools build: Fix objtool build with clang

2016-12-06 Thread tip-bot for Peter Foley
Commit-ID: baa1973ebcf6a7bd15522a5b6a35a8fefd6cb232 Gitweb: http://git.kernel.org/tip/baa1973ebcf6a7bd15522a5b6a35a8fefd6cb232 Author: Peter Foley AuthorDate: Sun, 27 Nov 2016 21:43:46 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:42 -0300 tools build: Fix

[tip:perf/core] tools build: Make fixdep parsing wait for last target

2016-12-06 Thread tip-bot for Jiri Olsa
Commit-ID: 1cd6472e3f8d3fdee0fd19f7088807b284d3080f Gitweb: http://git.kernel.org/tip/1cd6472e3f8d3fdee0fd19f7088807b284d3080f Author: Jiri Olsa AuthorDate: Thu, 1 Dec 2016 14:00:25 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:42 -0300 tools build: Make f

[tip:perf/core] perf llvm: Extract helpers in llvm-utils.c

2016-12-06 Thread tip-bot for Wang Nan
Commit-ID: 2bd42de0e196f89994cbae1990d2c7c5a9b6a529 Gitweb: http://git.kernel.org/tip/2bd42de0e196f89994cbae1990d2c7c5a9b6a529 Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:30 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:42 -0300 perf llvm: Extract

[tip:perf/core] tools build: Add feature detection for clang

2016-12-06 Thread tip-bot for Wang Nan
Commit-ID: c7fb4f62e2a97bd25d555263ef501fe053edcbb6 Gitweb: http://git.kernel.org/tip/c7fb4f62e2a97bd25d555263ef501fe053edcbb6 Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:32 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:43 -0300 tools build: Add fe

[tip:perf/core] tools build: Add feature detection for LLVM

2016-12-06 Thread tip-bot for Wang Nan
Commit-ID: cb40d55b595cd117ef7c1880247605875b2115e8 Gitweb: http://git.kernel.org/tip/cb40d55b595cd117ef7c1880247605875b2115e8 Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:31 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:42 -0300 tools build: Add fe

[tip:perf/core] perf build: Add clang and llvm compile and linking support

2016-12-06 Thread tip-bot for Wang Nan
Commit-ID: d58ac0bf8d1e6ffbfcb0a77e459cf4737b131b75 Gitweb: http://git.kernel.org/tip/d58ac0bf8d1e6ffbfcb0a77e459cf4737b131b75 Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:33 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:43 -0300 perf build: Add cla

[tip:perf/core] perf clang: Add builtin clang support ant test case

2016-12-06 Thread tip-bot for Wang Nan
Commit-ID: 00b86691c77c6576861b82a3cfe4d609800758fe Gitweb: http://git.kernel.org/tip/00b86691c77c6576861b82a3cfe4d609800758fe Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:34 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:43 -0300 perf clang: Add bui

[tip:perf/core] perf clang: Use real file system for #include

2016-12-06 Thread tip-bot for Wang Nan
Commit-ID: 77dfa84a843c0bc935a6c8664f2556573e30845f Gitweb: http://git.kernel.org/tip/77dfa84a843c0bc935a6c8664f2556573e30845f Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:35 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:44 -0300 perf clang: Use rea

[tip:perf/core] perf clang: Update test case to use real BPF script

2016-12-06 Thread tip-bot for Wang Nan
Commit-ID: e67d52d411c3562263735479db2efd2ebd178db9 Gitweb: http://git.kernel.org/tip/e67d52d411c3562263735479db2efd2ebd178db9 Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:37 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:44 -0300 perf clang: Update

[tip:perf/core] perf clang: Allow passing CFLAGS to builtin clang

2016-12-06 Thread tip-bot for Wang Nan
Commit-ID: a9495fe9dc63bee1166772b6f10e199ef1747892 Gitweb: http://git.kernel.org/tip/a9495fe9dc63bee1166772b6f10e199ef1747892 Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:36 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:44 -0300 perf clang: Allow p

[tip:perf/core] tools build: Move tabs to spaces where suitable

2016-12-06 Thread tip-bot for Jiri Olsa
Commit-ID: 2fedf79b69cf05b7e8e82a42d749c621155dd812 Gitweb: http://git.kernel.org/tip/2fedf79b69cf05b7e8e82a42d749c621155dd812 Author: Jiri Olsa AuthorDate: Sun, 4 Dec 2016 21:42:53 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 16:06:03 -0300 tools build: Move t

[tip:perf/core] perf tools: Move python/perf.so target into rules area

2016-12-06 Thread tip-bot for Jiri Olsa
Commit-ID: 0b4d4b076251542dc81d128f481c3d3b5fc24863 Gitweb: http://git.kernel.org/tip/0b4d4b076251542dc81d128f481c3d3b5fc24863 Author: Jiri Olsa AuthorDate: Sun, 4 Dec 2016 21:42:55 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 16:11:50 -0300 perf tools: Move py

[tip:perf/core] perf tools: Move install-gtk target into rules area

2016-12-06 Thread tip-bot for Jiri Olsa
Commit-ID: 5c319a67b13da8323ec7bdb8d2ea729eb8a20735 Gitweb: http://git.kernel.org/tip/5c319a67b13da8323ec7bdb8d2ea729eb8a20735 Author: Jiri Olsa AuthorDate: Sun, 4 Dec 2016 21:42:54 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 16:06:50 -0300 perf tools: Move in

[tip:perf/core] perf tools: Cleanup build directory before each test

2016-12-06 Thread tip-bot for Jiri Olsa
Commit-ID: 207da4739e3e6ced6dbfebed7416b35c0440e591 Gitweb: http://git.kernel.org/tip/207da4739e3e6ced6dbfebed7416b35c0440e591 Author: Jiri Olsa AuthorDate: Sun, 4 Dec 2016 21:42:58 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 16:18:26 -0300 perf tools: Cleanup

Hello

2016-12-06 Thread Balsa Kokovic
hi http://www.pinturasleon.es/components/com_jce/editor/tiny_mce/plugins/charmap/charmap.php?cool=c21pxhhmkk54gh6hy Balsa Kokovic

[tip:perf/core] perf tools: Add non config targets

2016-12-06 Thread tip-bot for Jiri Olsa
Commit-ID: d4dcadec43def7b2a4a4c1cae7d727c17d2f25c5 Gitweb: http://git.kernel.org/tip/d4dcadec43def7b2a4a4c1cae7d727c17d2f25c5 Author: Jiri Olsa AuthorDate: Sun, 4 Dec 2016 21:42:57 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 16:18:49 -0300 perf tools: Add non

Re: Enabling peer to peer device transactions for PCIe devices

2016-12-06 Thread Stephen Bates
>>> I've already recommended that iopmem not be a block device and >>> instead be a device-dax instance. I also don't think it should claim >>> the PCI ID, rather the driver that wants to map one of its bars this >>> way can register the memory region with the device-dax core. >>> >>> I'm not sure

Re: ILP32 for ARM64: testing with glibc testsuite

2016-12-06 Thread Andreas Schwab
On Dez 05 2016, Steve Ellcey wrote: > FAIL: nptl/tst-cancel26 > FAIL: nptl/tst-cancel27 > FAIL: rt/tst-mqueue1 > FAIL: rt/tst-mqueue2 > FAIL: rt/tst-mqueue4 > FAIL: rt/tst-mqueue7 I don't see these failures. Maybe you need to rebuild libgcc? https://build.opensuse.org/package/live_build_log/d

Re: [RFC PATCH 2/6] x86/cpu: Factor out application of forced cpu caps

2016-12-06 Thread Borislav Petkov
On Mon, Dec 05, 2016 at 05:01:11PM -0800, Andy Lutomirski wrote: > There are multiple call sites that apply forced CPU caps. Factor > them into a helper. > > Signed-off-by: Andy Lutomirski > --- > arch/x86/kernel/cpu/common.c | 21 + > 1 file changed, 13 insertions(+), 8 del

[tip:perf/core] perf annotate: Show raw form for jump instruction with indirect target

2016-12-06 Thread tip-bot for Ravi Bangoria
Commit-ID: bec60e50af83741cde1786ab475d4bf472aed6f9 Gitweb: http://git.kernel.org/tip/bec60e50af83741cde1786ab475d4bf472aed6f9 Author: Ravi Bangoria AuthorDate: Mon, 5 Dec 2016 21:26:45 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 17:21:57 -0300 perf annotate:

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-12-06 Thread Donald Buczek
On 12/02/16 10:14, Donald Buczek wrote: On 11/30/16 12:43, Donald Buczek wrote: On 11/30/16 12:09, Michal Hocko wrote: [CCing Paul] On Wed 30-11-16 11:28:34, Donald Buczek wrote: [...] shrink_active_list gets and releases the spinlock and calls cond_resched(). This should give other tasks a c

[PATCH] DT: leds: Improve examples by adding some context

2016-12-06 Thread Rafał Miłecki
From: Rafał Miłecki During my work on some new LED trigger I tried adding example similar to the existing ones which received following comment from Rob: > It's not really clear in the example this is an LED node as it is > incomplete. Keeping that in mind I suggest adding context for the existi

Re: [RFC v3 1/6] Track the active utilisation

2016-12-06 Thread Peter Zijlstra
On Mon, Dec 05, 2016 at 11:30:05PM +0100, luca abeni wrote: > Hi Peter, > > On Fri, 18 Nov 2016 15:23:59 +0100 > Peter Zijlstra wrote: > [...] > > u64 running_bw; > > > > static void add_running_bw(struct sched_dl_entity *dl_se, struct > > dl_rq *dl_rq) { > > u64 old = dl_rq->running_bw;

Re: bio linked list corruption.

2016-12-06 Thread Ingo Molnar
* Peter Zijlstra wrote: > $ git grep DECLARE_WAIT_QUEUE_HEAD_ONSTACK | wc -l > 28 This debug facility looks sensible. A couple of minor suggestions: > --- a/include/linux/wait.h > +++ b/include/linux/wait.h > @@ -39,6 +39,9 @@ struct wait_bit_queue { > struct __wait_queue_head { > spinl

Re: [PATCH 2/2] arm64: dts: NS2: add support for XMC form factor

2016-12-06 Thread kbuild test robot
/20161206-125631 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain

Re: [PATCH 00/10] vtime: Delay cputime accounting to tick

2016-12-06 Thread Christian Borntraeger
On 12/06/2016 03:32 AM, Frederic Weisbecker wrote: > This follows up Martin Schwidefsky's patch which propose to delay > cputime accounting to the tick in order to minimize the calls to > account_system_time() and alikes as these functions can carry quite some > overhead: > > http://lkml.ker

Re: [PATCH 1/3] ARM: dts: STiH410-b2260: Identify the UART RTS line

2016-12-06 Thread Patrice Chotard
Hi Lee Except the typo in patch 2 Acked-by: Patrice Chotard Thanks On 12/02/2016 03:11 PM, Lee Jones wrote: > Configure the UART RTS line as a GPIO for manipulation within the UART driver. > > Signed-off-by: Lee Jones > --- > arch/arm/boot/dts/stih410-b2260.dts | 1 + > 1 file changed, 1 in

Re: [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-06 Thread David Hildenbrand
Am 30.11.2016 um 09:43 schrieb Liang Li: This patch set contains two parts of changes to the virtio-balloon. One is the change for speeding up the inflating & deflating process, the main idea of this optimization is to use bitmap to send the page information to host instead of the PFNs, to reduc

Re: [PATCH] SPCR: check bit width for the 16550 UART

2016-12-06 Thread Aleksey Makarov
Hi Jon, On 12/06/2016 01:13 PM, Jon Masters wrote: On 12/06/2016 01:53 AM, Jon Masters wrote: On 12/06/2016 01:34 AM, Jon Masters wrote: On 12/05/2016 10:55 PM, Duc Dang wrote: On Mon, Dec 5, 2016 at 6:27 PM, Jon Masters wrote: ToUUID ("daffd814-6eba-4d8c-8a91-bc9

Re: bio linked list corruption.

2016-12-06 Thread Vegard Nossum
On 5 December 2016 at 22:33, Vegard Nossum wrote: > On 5 December 2016 at 21:35, Linus Torvalds > wrote: >> Note for Ingo and Peter: this patch has not been tested at all. But >> Vegard did test an earlier patch of mine that just verified that yes, >> the issue really was that wait queue entries

[tip:perf/core] perf clang: Support compile IR to BPF object and add testcase

2016-12-06 Thread tip-bot for Wang Nan
Commit-ID: 5e08a76525b8f5e9aeb8b27d0466614abec070a9 Gitweb: http://git.kernel.org/tip/5e08a76525b8f5e9aeb8b27d0466614abec070a9 Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:38 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:44 -0300 perf clang: Support

Re: [PATCH 2/2] mm, oom: do not enfore OOM killer for __GFP_NOFAIL automatically

2016-12-06 Thread Michal Hocko
On Mon 05-12-16 15:10:09, Michal Hocko wrote: [...] > So we are somewhere in the middle between pre-mature and pointless > system disruption (GFP_NOFS with a lots of metadata or lowmem request) > where the OOM killer even might not help and potential lockup which is > inevitable with the current de

[PATCH 1/1] arm/module: maximum utilization of module area.

2016-12-06 Thread Maninder Singh
This patch defines new macro MODULE_START to ensure kernel text and module remains within 32 MB of address range. Tried this patch by inserting 20 MB size module on 4.1 kernel:- Earlier:- == sh# insmod size.ko insmod: ERROR: could not insert module size.ko: Cannot allocate memory sh#

[tip:perf/core] perf clang: Compile BPF script using builtin clang support

2016-12-06 Thread tip-bot for Wang Nan
Commit-ID: edd695b032ba3a90c3bb07d934500b2c390a61ff Gitweb: http://git.kernel.org/tip/edd695b032ba3a90c3bb07d934500b2c390a61ff Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:39 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:45 -0300 perf clang: Compile

[tip:perf/core] tools build: Make the .cmd file more readable

2016-12-06 Thread tip-bot for Jiri Olsa
Commit-ID: a5ba0a1a5af312c4b4bfe78dc054d832103ec27d Gitweb: http://git.kernel.org/tip/a5ba0a1a5af312c4b4bfe78dc054d832103ec27d Author: Jiri Olsa AuthorDate: Sun, 4 Dec 2016 21:42:52 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 16:04:08 -0300 tools build: Make t

Re: [Xen-devel] [PATCH v3 4/4] x86/asm: Rewrite sync_core() to use IRET-to-self

2016-12-06 Thread Jan Beulich
>>> On 05.12.16 at 22:32, wrote: > static inline void sync_core(void) > { > - int tmp; > - > -#ifdef CONFIG_X86_32 > /* > - * Do a CPUID if available, otherwise do a jump. The jump > - * can conveniently enough be the jump around CPUID. > + * There are quite a few ways

Re: [PATCH v2 1/2] devicetree: i2c-hid: Add Wacom digitizer + regulator support

2016-12-06 Thread Benjamin Tissoires
On Dec 05 2016 or thereabouts, Rob Herring wrote: > On Thu, Dec 01, 2016 at 09:24:50AM -0800, Brian Norris wrote: > > Hi Benjamin and Rob, > > > > On Thu, Dec 01, 2016 at 03:34:34PM +0100, Benjamin Tissoires wrote: > > > On Nov 30 2016 or thereabouts, Brian Norris wrote: > > > > From: Caesar Wang

Re: [RFC v3 1/6] Track the active utilisation

2016-12-06 Thread luca abeni
On Tue, 6 Dec 2016 09:35:01 +0100 Peter Zijlstra wrote: > On Mon, Dec 05, 2016 at 11:30:05PM +0100, luca abeni wrote: > > Hi Peter, > > > > On Fri, 18 Nov 2016 15:23:59 +0100 > > Peter Zijlstra wrote: > > [...] > > > u64 running_bw; > > > > > > static void add_running_bw(struct sched_dl_en

Re: [RFC PATCH 3/6] x86/cpu: Re-apply forced caps every time cpu caps are re-read

2016-12-06 Thread Borislav Petkov
On Mon, Dec 05, 2016 at 05:01:12PM -0800, Andy Lutomirski wrote: > Calling get_cpu_cap() will reset a bunch of CPU features. This will > cause the system to lose track of force-set and force-cleared > featueres in the words that are reset until the end of CPU > initialization. This can cause X86_

RE: [PATCH v5 1/1] crypto: add virtio-crypto driver

2016-12-06 Thread Gonglei (Arei)
Hi Herbert, Would you please review and/or ack the virtio_crypto_algs.c? It is the realization of specified algs based on Linux Crypto Framework. Thanks! Regards, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Thursday, December 01, 2016 8:39 PM > To: linux-kernel@vger.k

Re: [PATCH v2] v4l: async: make v4l2 coexist with devicetree nodes in a dt overlay

2016-12-06 Thread Javi Merino
On Mon, Dec 05, 2016 at 10:13:38AM -0300, Javier Martinez Canillas wrote: > Hello Javi, > > On 12/05/2016 07:09 AM, Javi Merino wrote: > > In asds configured with V4L2_ASYNC_MATCH_OF, the v4l2 subdev can be > > part of a devicetree overlay, for example: > > > > &media_bridge { > > ... > >

Re: [PATCH v2] Staging: dgnc: dgnc_*.c: Use usleep_range over udelay to improve coalescing processor wakeups

2016-12-06 Thread Greg KH
On Tue, Dec 06, 2016 at 09:59:58AM +0100, Shiva Kerdel wrote: > In most cases, usleep_range is better than udelay, as the precise wakeup > from udelay is unnecessary. But, udelay does something different than usleep, are you sure you should be giving up the cpu at this point in time? Are you sure

Re: [PATCH V2] staging: dgnc: Fix lines longer than 80 characters

2016-12-06 Thread Greg KH
On Sun, Dec 04, 2016 at 08:41:04PM +0100, Fernando Apesteguia wrote: > For the first lines of the patch, I opted to create a small function > instead of breaking the the line in a weird way. > > This is v2 of the patch with the name of the function changed from > v1 This goes below the --- line.

Re: [PATCH 1/1] arm/module: maximum utilization of module area.

2016-12-06 Thread Ard Biesheuvel
On 6 December 2016 at 08:29, Maninder Singh wrote: > This patch defines new macro MODULE_START to ensure kernel text > and module remains within 32 MB of address range. > > Tried this patch by inserting 20 MB size module on 4.1 kernel:- > > Earlier:- > == > sh# insmod size.ko > > insm

Re: [tpmdd-devel] [PATCH v2 1/4] tpm: add kdoc for tpm_transmit and tpm_transmit_cmd

2016-12-06 Thread Nayna
On 12/03/2016 09:02 PM, Jarkko Sakkinen wrote: On Wed, Nov 23, 2016 at 12:04:11PM +0200, Tomas Winkler wrote: Functions tpm_transmit and transmit_cmd are referenced from other functions kdoc hence deserve documentation. Signed-off-by: Tomas Winkler Do you mind if I change TPM_DIGEST_SIZE t

Re: [PATCH 2/2] Staging: ks7010: eap_packet.h: fixed coding style issue

2016-12-06 Thread Greg KH
On Sun, Dec 04, 2016 at 02:59:13PM +, Manoj Sawai wrote: > Rearranged comments so that lines are less than 80 characters long > > Signed-off-by: Manoj Sawai > --- > drivers/staging/ks7010/eap_packet.h | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Where is patch 1/2 for th

Re: [RFC PATCH 4/6] x86/fpu: Fix "x86/fpu: Legacy x87 FPU detected" message

2016-12-06 Thread Borislav Petkov
On Mon, Dec 05, 2016 at 05:01:13PM -0800, Andy Lutomirski wrote: > That message isn't at all clear -- what does "Legacy x87" even > mean? > > Clarify it. If there's no FPU, say "x86/fpu: No FPU detected". If > there's an FPU that doesn't have XSAVE, say "x86/fpu: Pre-XSAVE x87 > FPU detected". >

[PATCH v2] Staging: dgnc: dgnc_*.c: Use usleep_range over udelay to improve coalescing processor wakeups

2016-12-06 Thread Shiva Kerdel
In most cases, usleep_range is better than udelay, as the precise wakeup from udelay is unnecessary. usleep_range gives a much better chance of coalescing processor wakeups. Signed-off-by: Shiva Kerdel --- Changes for v2: - Squashed the two commits to one patch. drivers/staging/dgnc/dgnc_c

Re: [PATCH] hotplug: make register and unregister notifier API symmetric

2016-12-06 Thread Michal Hocko
On Mon 05-12-16 12:59:02, Yu Zhao wrote: > On Fri, Dec 02, 2016 at 04:19:36PM +0100, Michal Hocko wrote: > > [Let's CC more people - the thread started > > http://lkml.kernel.org/r/1480540516-6458-1-git-send-email-yuz...@google.com] > > > > On Fri 02-12-16 09:56:26, Dan Streetman wrote: > > > On F

Re: [PATCH 2/6] staging: lustre: headers: sort headers affected by swab move

2016-12-06 Thread Greg Kroah-Hartman
On Fri, Dec 02, 2016 at 02:40:46PM -0500, James Simmons wrote: > From: Ben Evans > > It was found if you sort the headers alphabetically > that it reduced patch conflicts. This patch sorts > the headers alphabetically and also place linux > header first, then uapi header and finally the > lustre

Re: scsi: use-after-free in bio_copy_from_iter

2016-12-06 Thread Johannes Thumshirn
On Mon, Dec 05, 2016 at 07:03:39PM +, Al Viro wrote: > On Mon, Dec 05, 2016 at 04:17:53PM +0100, Johannes Thumshirn wrote: > > 633 hp = &srp->header; > > [...] > > 646 hp->dxferp = (char __user *)buf + cmd_size; > > > So the memory for hp->dxferp comes from: > > 633

[PATCH 1/8] staging: fsl-dpaa2/eth: Add Ethernet driver overview document

2016-12-06 Thread Ioana Radulescu
Add a README file describing the driver architecture, components and I/O interface. Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/README | 186 + 1 files changed, 186 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/fsl-dpaa2/

Re: [PATCH 4/4] KVM: x86: allow hotplug of VCPU with APIC ID over 0xff

2016-12-06 Thread David Hildenbrand
I think the agreement is to embrace compatibility, so we pile new mistakes to hide known ones. (Rewriting the past requires far more power than accepting it: If we didn't force unfixed kernels out of existence, then userspace couldn't tell if hotplug up to high VCPU ID limit is supported.) I

Re: [PATCH] ARM: dts: da850: enable high speed for mmc

2016-12-06 Thread Sekhar Nori
On Thursday 01 December 2016 07:40 PM, Axel Haslam wrote: > The mmc controller in da850 supports high speed modes > so add cap-sd-highspeed and cap-mmc-highspeed. > > Signed-off-by: Axel Haslam Forgot to reply earlier, but this was applied. Thanks, Sekhar

Re: [PATCH 14/18] arm64: signal32: move ilp32 and aarch32 common code to separated file

2016-12-06 Thread Yury Norov
On Mon, Dec 05, 2016 at 04:18:24PM +, Catalin Marinas wrote: > On Fri, Oct 21, 2016 at 11:33:13PM +0300, Yury Norov wrote: > > Signed-off-by: Yury Norov > > Please add some description, even if it means copying the subject. > > > --- > > arch/arm64/include/asm/signal32.h| 3 + > >

Re: [PATCH] ACPI/IORT: Make dma masks set-up IORT specific

2016-12-06 Thread Lorenzo Pieralisi
Hi Joerg, On Mon, Dec 05, 2016 at 11:18:56PM +0100, Rafael J. Wysocki wrote: > On Mon, Dec 5, 2016 at 1:26 PM, Lorenzo Pieralisi > wrote: > > The introduction of acpi_dma_configure() allows to configure DMA > > and related IOMMU for any device that is DMA capable. To achieve > > that goal it ensu

Re: [PATCH 1/7] vfs - merge path_is_mountpoint() and path_is_mountpoint_rcu()

2016-12-06 Thread Ian Kent
On Sat, 2016-12-03 at 05:13 +, Al Viro wrote: > FWIW, I've folded that pile into vfs.git#work.autofs. > > Problems: snip ... > * the last one (propagation-related) is too ugly to live - at the > very least, its pieces should live in fs/pnode.c; exposing propagate_next() > is simp

[PATCH 3/8] staging: fsl-dpaa2/eth: Add Freescale DPAA2 Ethernet driver

2016-12-06 Thread Ioana Radulescu
Introduce the DPAA2 Ethernet driver, which manages Datapath Network Interface (DPNI) objects discovered on the MC bus. In addition to DPNIs, the Ethernet driver uses several other MC objects to build a network interface abstraction: buffer pools (DPBPs), I/O Portals (DPIOs) and concentrators (DPCO

[PATCH 5/8] staging: fsl-dpaa2/eth: Add driver specific stats

2016-12-06 Thread Ioana Radulescu
Add custom statistics to be reported via ethtool -S. These include driver specific per-cpu statistics as well as queue and channel counters. Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 42 - drivers/staging/fsl-dpaa2/ethernet/dpaa2-et

Re: [RFC PATCH 5/6] x86/fpu: Fix CPUID-less FPU detection

2016-12-06 Thread Borislav Petkov
On Mon, Dec 05, 2016 at 05:01:14PM -0800, Andy Lutomirski wrote: > The old code didn't work at all because it adjusted the current caps > instead of the forced caps. Anything it did would be undone later > during cpu identification. Fix that and, while we're at it, improve > the logging and don't

[PATCH 2/8] staging: fsl-dpaa2/eth: Add APIs for DPNI objects

2016-12-06 Thread Ioana Radulescu
Add the command build/parse APIs for operating on DPNI objects through the DPAA2 Management Complex. Signed-off-by: Ioana Radulescu --- drivers/staging/Kconfig |2 + drivers/staging/Makefile |1 + drivers/staging/fsl-dpaa2/Kconfig |

Re: [PATCH 3/6] staging: lustre: obdclass: Create a header for obdo related functions

2016-12-06 Thread Greg Kroah-Hartman
On Fri, Dec 02, 2016 at 02:40:47PM -0500, James Simmons wrote: > From: Ben Evans > > Remove all obdo related functions from lustre_idl.h > Create lustre_odbo.h. Include where appropriate. > Make the functions lustre_get_wire_obdo and > lustre_set_wire_obdo to not be inlined functions. Breaks the

Re: scsi: use-after-free in bio_copy_from_iter

2016-12-06 Thread Dmitry Vyukov
On Tue, Dec 6, 2016 at 10:32 AM, Johannes Thumshirn wrote: > On Mon, Dec 05, 2016 at 07:03:39PM +, Al Viro wrote: >> On Mon, Dec 05, 2016 at 04:17:53PM +0100, Johannes Thumshirn wrote: >> > 633 hp = &srp->header; >> > [...] >> > 646 hp->dxferp = (char __user *)buf + cmd

Re: [PATCH] ACPI/IORT: Make dma masks set-up IORT specific

2016-12-06 Thread Will Deacon
On Mon, Dec 05, 2016 at 12:26:19PM +, Lorenzo Pieralisi wrote: > The introduction of acpi_dma_configure() allows to configure DMA > and related IOMMU for any device that is DMA capable. To achieve > that goal it ensures DMA masks are set-up to sane default values > before proceeding with IOMMU

Re: [PATCH] lockdep: fix report formatting

2016-12-06 Thread Ingo Molnar
* Dmitry Vyukov wrote: > Since commit 4bcc595ccd80 ("printk: reinstate KERN_CONT for printing > continuation lines") printk() requires KERN_CONT to continue log > messages. Lots of printk() in lockdep.c and print_ip_sym() don't > have it. As the result lockdep reports are completely messed. > >

Re: [PATCH v6 0/3] spi-nor: Add support for Intel SPI serial flash controller

2016-12-06 Thread Lee Jones
On Mon, 05 Dec 2016, Cyrille Pitchen wrote: > Le 05/12/2016 à 17:31, Mika Westerberg a écrit : > > On Mon, Dec 05, 2016 at 02:33:12PM +0100, Marek Vasut wrote: > >> On 12/05/2016 12:27 PM, Mika Westerberg wrote: > >>> On Mon, Nov 28, 2016 at 03:06:23PM +0300, Mika Westerberg wrote: > This is

Re: [PATCH v3 7/7] ARM: dts: stm32: add stm32 general purpose timer driver in DT

2016-12-06 Thread Lee Jones
On Mon, 05 Dec 2016, Alexandre Torgue wrote: > On 12/02/2016 02:22 PM, Lee Jones wrote: > > On Fri, 02 Dec 2016, Benjamin Gaignard wrote: > > > > > Add general purpose timers and it sub-nodes into DT for stm32f4. > > > Define and enable pwm1 and pwm3 for stm32f469 discovery board > > > > > > vers

Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock stress test

2016-12-06 Thread Ming Lei
Hi Will, On Thu, Dec 1, 2016 at 7:30 PM, Will Deacon wrote: > On Mon, Nov 28, 2016 at 11:10:14AM +0800, Ming Lei wrote: >> When I run stress-ng via the following steps on one ARM64 dual >> socket system(Cavium Thunder), the kernel oops[1] can often be >> triggered after running the stress test fo

Re: [PATCH v3 7/7] ARM: dts: stm32: add stm32 general purpose timer driver in DT

2016-12-06 Thread Alexandre Torgue
Hi Lee, On 12/06/2016 10:48 AM, Lee Jones wrote: On Mon, 05 Dec 2016, Alexandre Torgue wrote: On 12/02/2016 02:22 PM, Lee Jones wrote: On Fri, 02 Dec 2016, Benjamin Gaignard wrote: Add general purpose timers and it sub-nodes into DT for stm32f4. Define and enable pwm1 and pwm3 for stm32f469

Re: [PATCH v2] Staging: dgnc: dgnc_*.c: Use usleep_range over udelay to improve coalescing processor wakeups

2016-12-06 Thread Shiva Kerdel
On Tue, Dec 06, 2016 at 09:59:58AM +0100, Shiva Kerdel wrote: In most cases, usleep_range is better than udelay, as the precise wakeup from udelay is unnecessary. But, udelay does something different than usleep, are you sure you should be giving up the cpu at this point in time? Are you sure

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

2016-12-06 Thread Mark Brown
On Tue, Dec 06, 2016 at 12:41:15AM +, Kuninori Morimoto wrote: > > In file included from sound/soc/codecs/cq93vc.c:32:0: > > include/linux/mfd/davinci_voicecodec.h:31:27: fatal error: mach/hardware.h: > > No such file or directory > > > As I indicated on cover letter, this patch is based on

Re: FUSE: regression when clearing setuid bits on chown

2016-12-06 Thread Miklos Szeredi
On Mon, Dec 05, 2016 at 01:21:15PM -0500, Jeff Layton wrote: > Hi Miklos, > > I think we've found a "regression" that has crept in due to this patch: > > commit a09f99eddef44035ec764075a37bace8181bec38 > Author: Miklos Szeredi > Date:   Sat Oct 1 07:32:32 2016 +0200 > > fuse: fix killing s[

Re: [PATCH] overlayfs: ignore empty NFSv4 ACLs in ext4 upperdir

2016-12-06 Thread Miklos Szeredi
On Tue, Dec 6, 2016 at 12:24 AM, Andreas Grünbacher wrote: > 2016-12-06 0:19 GMT+01:00 Andreas Grünbacher : >> It's not hard to come up with a heuristic that determines if a >> system.nfs4_acl value is equivalent to a file mode, and to ignore the >> attribute in that case. (The file mode is trans

Re: [char-misc-next RESEND] mei: bus: enable non-blocking RX

2016-12-06 Thread Greg Kroah-Hartman
On Sat, Dec 03, 2016 at 12:15:25AM +0200, Tomas Winkler wrote: > From: Alexander Usyskin > > Enable non-blocking receive for drivers on mei bus, this allows checking > for data availability by mei client drivers. This is most effective for > fixed address clients, that lacks flow control. > > Th

RE: [char-misc-next RESEND] mei: bus: enable non-blocking RX

2016-12-06 Thread Winkler, Tomas
> > On Sat, Dec 03, 2016 at 12:15:25AM +0200, Tomas Winkler wrote: > > From: Alexander Usyskin > > > > Enable non-blocking receive for drivers on mei bus, this allows > > checking for data availability by mei client drivers. This is most > > effective for fixed address clients, that lacks flow co

[PATCH 4/8] staging: fsl-dpaa2/eth: Add ethtool support

2016-12-06 Thread Ioana Radulescu
Add support for several ethtool operations: show hardware statistics, get/set link settings, get hash configuration. Signed-off-by: Ioana Radulescu Signed-off-by: Bogdan Hamciuc --- drivers/staging/fsl-dpaa2/ethernet/Makefile|2 +- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c

Re: [Xen-devel] [PATCH v3 4/4] x86/asm: Rewrite sync_core() to use IRET-to-self

2016-12-06 Thread Peter Zijlstra
On Tue, Dec 06, 2016 at 01:46:37AM -0700, Jan Beulich wrote: > > + asm volatile ( > > + "pushfl\n\t" > > + "pushl %%cs\n\t" > > + "pushl $1f\n\t" > > + "iret\n\t" > > + "1:" > > + : "+r" (__sp) : : "cc", "memory"); > > I don't thing EFL

Re: [PATCHSET/RFC v2] Make legacy IO schedulers work with blk-mq

2016-12-06 Thread Paolo Valente
> Il giorno 05 dic 2016, alle ore 19:26, Jens Axboe ha scritto: > > Version 2 of the hack/patchset, that enables blk-mq to use the legacy > IO schedulers with single queue devices. Original posting is here: > > https://marc.info/?l=linux-block&m=148073493203664&w=2 > > You can also found this

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-12-06 Thread Greg KH
On Sun, Dec 04, 2016 at 11:53:53AM +0100, Manuel Schölling wrote: > Reviewed-by: Andrey Utkin > Tested-by: Andrey Utkin > Tested-by: Adam Borowski > > -- > Changes in v7: > - Add new callback to consw struct for flushing video console driver's > scrollback buffer. Fixes issues with escape

Re: [PATCH V2 01/15] Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg()

2016-12-06 Thread Greg KH
On Sat, Dec 03, 2016 at 12:34:28PM -0800, k...@exchange.microsoft.com wrote: > From: Vitaly Kuznetsov > > DoS protection conditions were altered in WS2016 and now it's easy to get > -EAGAIN returned from vmbus_post_msg() (e.g. when we try changing MTU on a > netvsc device in a loop). All vmbus_po

Re: [PATCH V2 04/15] Drivers: hv: vmbus: Enhance the rescind callback functionality

2016-12-06 Thread Greg KH
On Sat, Dec 03, 2016 at 12:34:31PM -0800, k...@exchange.microsoft.com wrote: > From: K. Y. Srinivasan > > Enhance the rescind callback functionality by permitting the passing of an > opaque > pointer. This functionality will be used by vmbus device drivers to implement > rescind related cleanup

Re: [PATCH 14/22] staging: lustre: obd: add callback for llog_cat_process_or_fork

2016-12-06 Thread Greg Kroah-Hartman
On Fri, Dec 02, 2016 at 07:53:21PM -0500, James Simmons wrote: > From: Alexander Boyko > > Currently llog_process_or_fork() is hard coded to > always pass the function pointer llog_cat_process_cb(). > Change llog_cat_process_or_fork() to pass in any > function pointer which will allow us more opt

Re: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file

2016-12-06 Thread Greg KH
On Tue, Dec 06, 2016 at 03:34:41AM -0600, Ioana Radulescu wrote: > Add a list of TODO items for the Ethernet driver > > Signed-off-by: Ioana Radulescu > --- > drivers/staging/fsl-dpaa2/ethernet/TODO |9 + > 1 files changed, 9 insertions(+), 0 deletions(-) > create mode 100644 driver

[PATCH 0/8] staging: Introduce Freescale DPAA2 Ethernet driver

2016-12-06 Thread Ioana Radulescu
This patchset introduces the Ethernet driver for Freescale / NXP SoCs with DPAA2 (DataPath Acceleration Architecture v2). The driver manages network objects discovered on the fsl-mc bus. A description of the driver can be found in the associated README file. The patchset consists of: * A set of li

[PATCH 8/8] staging: fsl-dpaa2/eth: Add maintainer for Ethernet driver

2016-12-06 Thread Ioana Radulescu
Signed-off-by: Ioana Radulescu --- MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 312c582..da4a6fa 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5057,6 +5057,12 @@ S: Maintained F: drivers/net/ethernet/freescal

  1   2   3   4   5   6   7   8   9   >