[tip:perf/urgent] perf stat: Remove duplicate event counting

2018-06-25 Thread tip-bot for Thomas Richter
Commit-ID: 6dde6429c5ff5b38d6d40a14a6ee105117e6364d Gitweb: https://git.kernel.org/tip/6dde6429c5ff5b38d6d40a14a6ee105117e6364d Author: Thomas Richter AuthorDate: Fri, 15 Jun 2018 12:11:05 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:37 -0300 perf stat:

[tip:perf/urgent] perf alias: Rebuild alias expression string to make it comparable

2018-06-25 Thread tip-bot for Thomas Richter
Commit-ID: 0c24d6fb7bd3578e5b9e4972d01bbe3d087ded33 Gitweb: https://git.kernel.org/tip/0c24d6fb7bd3578e5b9e4972d01bbe3d087ded33 Author: Thomas Richter AuthorDate: Fri, 15 Jun 2018 12:11:04 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:37 -0300 perf alias:

[tip:perf/urgent] perf tools: Fix a clang 7.0 compilation error

2018-06-25 Thread tip-bot for Yonghong Song
Commit-ID: c6555c14572aeadf4fe2819abd971c4e7608b926 Gitweb: https://git.kernel.org/tip/c6555c14572aeadf4fe2819abd971c4e7608b926 Author: Yonghong Song AuthorDate: Sat, 16 Jun 2018 10:47:39 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:37 -0300 perf tools:

[tip:perf/urgent] perf alias: Remove trailing newline when reading sysfs files

2018-06-25 Thread tip-bot for Thomas Richter
Commit-ID: ea23ac73085743a4f1682d6605fe019577c82e1e Gitweb: https://git.kernel.org/tip/ea23ac73085743a4f1682d6605fe019577c82e1e Author: Thomas Richter AuthorDate: Fri, 15 Jun 2018 12:11:03 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:37 -0300 perf alias:

[tip:perf/urgent] tools include uapi: Synchronize bpf.h with the kernel

2018-06-25 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f568b472815fd6c34fe4cc30dde4572ee300d6c4 Gitweb: https://git.kernel.org/tip/f568b472815fd6c34fe4cc30dde4572ee300d6c4 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 15 Jun 2018 16:55:32 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:36 -0300 t

[tip:perf/urgent] tools include uapi: Update if_link.h to pick IFLA_{BRPORT_ISOLATED,VXLAN_TTL_INHERIT}

2018-06-25 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: bb9a33cb8a807e5ae9906563f5c1533904651b8b Gitweb: https://git.kernel.org/tip/bb9a33cb8a807e5ae9906563f5c1533904651b8b Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 15 Jun 2018 16:46:57 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:36 -0300 t

[tip:perf/urgent] tools include powerpc: Update arch/powerpc/include/uapi/asm/unistd.h copy to get 'rseq' syscall

2018-06-25 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 801f5e1ac783df9fafff8899ef2d5511bd4dbdcb Gitweb: https://git.kernel.org/tip/801f5e1ac783df9fafff8899ef2d5511bd4dbdcb Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 15 Jun 2018 12:04:32 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:36 -0300 t

[tip:perf/urgent] perf tools: Update x86's syscall_64.tbl, adding 'io_pgetevents' and 'rseq'

2018-06-25 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b1494ec029af6d6ea189cbc96ad66463f8df3579 Gitweb: https://git.kernel.org/tip/b1494ec029af6d6ea189cbc96ad66463f8df3579 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 15 Jun 2018 11:48:43 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:36 -0300 p

[tip:perf/urgent] tools headers uapi: Synchronize drm/drm.h

2018-06-25 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7b818dc57230bf050bbc4218cd4df8ec59b9945d Gitweb: https://git.kernel.org/tip/7b818dc57230bf050bbc4218cd4df8ec59b9945d Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 15 Jun 2018 11:33:35 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:36 -0300 t

[tip:perf/urgent] perf intel-pt: Fix packet decoding of CYC packets

2018-06-25 Thread tip-bot for Adrian Hunter
Commit-ID: 621a5a327c1e36ffd7bb567f44a559f64f76358f Gitweb: https://git.kernel.org/tip/621a5a327c1e36ffd7bb567f44a559f64f76358f Author: Adrian Hunter AuthorDate: Thu, 7 Jun 2018 14:30:02 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:36 -0300 perf intel-pt

[tip:perf/urgent] perf tests: Add valid callback for parse-events test

2018-06-25 Thread tip-bot for Jiri Olsa
Commit-ID: 16ddcfbf7f3d07aa781e26b39f2c28636a4ed2fd Gitweb: https://git.kernel.org/tip/16ddcfbf7f3d07aa781e26b39f2c28636a4ed2fd Author: Jiri Olsa AuthorDate: Mon, 11 Jun 2018 11:34:22 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:36 -0300 perf tests: Add

[tip:perf/urgent] perf tests: Add event parsing error handling to parse events test

2018-06-25 Thread tip-bot for Jiri Olsa
Commit-ID: 933ccf2002aaef1037cb676622a694f5390c3d59 Gitweb: https://git.kernel.org/tip/933ccf2002aaef1037cb676622a694f5390c3d59 Author: Jiri Olsa AuthorDate: Mon, 11 Jun 2018 11:34:21 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:36 -0300 perf tests: Add

[tip:perf/urgent] perf report powerpc: Fix crash if callchain is empty

2018-06-25 Thread tip-bot for Sandipan Das
Commit-ID: 143c99f6ac6812d23254e80844d6e34be897d3e1 Gitweb: https://git.kernel.org/tip/143c99f6ac6812d23254e80844d6e34be897d3e1 Author: Sandipan Das AuthorDate: Mon, 11 Jun 2018 16:10:49 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:35 -0300 perf report p

[tip:perf/urgent] perf test session topology: Fix test on s390

2018-06-25 Thread tip-bot for Thomas Richter
Commit-ID: b930e62ecd362843002bdf84c2940439822af321 Gitweb: https://git.kernel.org/tip/b930e62ecd362843002bdf84c2940439822af321 Author: Thomas Richter AuthorDate: Mon, 11 Jun 2018 09:31:53 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:35 -0300 perf test s

[tip:perf/urgent] perf record: Support s390 random socket_id assignment

2018-06-25 Thread tip-bot for Thomas Richter
Commit-ID: 01766229533f9bdb1144a41b4345c8c7286da7b4 Gitweb: https://git.kernel.org/tip/01766229533f9bdb1144a41b4345c8c7286da7b4 Author: Thomas Richter AuthorDate: Mon, 11 Jun 2018 09:31:52 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Jun 2018 11:59:35 -0300 perf record

Re: [PATCH v2 1/2] dt-bindings: at24: Add address-width property

2018-06-25 Thread Sakari Ailus
Hi Alan, On Tue, Jun 26, 2018 at 02:22:07PM +0800, alanx.chi...@intel.com wrote: > From: "alanx.chiang" > > The AT24 series chips use 8-bit address by default. If some > chips would like to support more than 8 bits, should add the compatible > field for specfic chips in the driver. > > Provide

Re: [PATCH v2] PCI: controller: Move PCI_DOMAINS selection to arch Kconfig

2018-06-25 Thread Scott Branden
Hi Lorenzo, On 18-06-25 02:27 AM, Lorenzo Pieralisi wrote: On Fri, Jun 22, 2018 at 11:59:08PM +0800, Ley Foon Tan wrote: On Thu, 2018-06-21 at 22:08 -0700, Scott Branden wrote: On 18-06-21 09:54 AM, Lorenzo Pieralisi wrote: On Wed, Jun 20, 2018 at 10:07:33AM +0200, Jan Kiszka wrote: On 2

Re: [PATCH v2 2/2] eeprom: at24: Add support for address-width property

2018-06-25 Thread Sakari Ailus
Hi Alan, On Tue, Jun 26, 2018 at 02:22:08PM +0800, alanx.chi...@intel.com wrote: > From: "alanx.chiang" > > Provide a flexible way to determine the addressing bits of eeprom. > Pass the addressing bits to driver through address-width property. > > Signed-off-by: Alan Chiang > Signed-off-by: An

Re: [GIT PULL 00/19] perf/urgent fixes for 4.18

2018-06-25 Thread Ingo Molnar
e inline keyword at the beginning of the function > declaration (2018-06-22 11:07:47 +0200) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-urgent-for-mingo-4.18-20180625 > > for you to fet

Re: [PATCH 1/2] dt-bindings: Add mtk-systimer bindings

2018-06-25 Thread Stanley Chu
On Mon, 2018-06-25 at 23:53 +0200, Daniel Lezcano wrote: > On 25/06/2018 09:10, Stanley Chu wrote: > > Add binding documentation for the System Timer driver of > > the Mediatek SoCs. > > > > Signed-off-by: Stanley Chu > > --- > > .../bindings/timer/mediatek,mtk-systimer.txt | 18 > > +++

Re: [PATCH v3 0/3] fix free pmd/pte page handlings on x86

2018-06-25 Thread Michal Hocko
On Mon 25-06-18 21:15:03, Kani Toshimitsu wrote: > On Mon, 2018-06-25 at 19:53 +0200, Michal Hocko wrote: > > On Mon 25-06-18 14:56:26, Kani Toshimitsu wrote: > > > On Sun, 2018-06-24 at 15:19 +0200, Thomas Gleixner wrote: > > > > On Wed, 16 May 2018, Toshi Kani wrote: > > > > > > > > > This serie

Re: [PATCH] x86-64: use 32-bit XOR to zero registers

2018-06-25 Thread Jan Beulich
>>> On 25.06.18 at 18:33, wrote: > On 06/25/2018 03:25 AM, Jan Beulich wrote: >> Some Intel CPUs don't recognize 64-bit XORs as zeroing idioms - use >> 32-bit ones instead. > > Hmph. Is that considered a bug (errata)? No. > URL/references? Intel's Optimization Reference Manual says so (in rev

Re: [PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*()

2018-06-25 Thread John Hubbard
On 06/25/2018 08:21 AM, Jan Kara wrote: > On Thu 21-06-18 18:30:36, Jan Kara wrote: >> On Wed 20-06-18 15:55:41, John Hubbard wrote: >>> On 06/20/2018 05:08 AM, Jan Kara wrote: On Tue 19-06-18 11:11:48, John Hubbard wrote: > On 06/19/2018 03:41 AM, Jan Kara wrote: >> On Tue 19-06-18 02

[PATCH v2 1/2] dt-bindings: at24: Add address-width property

2018-06-25 Thread alanx . chiang
From: "alanx.chiang" The AT24 series chips use 8-bit address by default. If some chips would like to support more than 8 bits, should add the compatible field for specfic chips in the driver. Provide a flexible way to determine the addressing bits through address-width in this patch. Signed-off

[PATCH v2 2/2] eeprom: at24: Add support for address-width property

2018-06-25 Thread alanx . chiang
From: "alanx.chiang" Provide a flexible way to determine the addressing bits of eeprom. Pass the addressing bits to driver through address-width property. Signed-off-by: Alan Chiang Signed-off-by: Andy Yeh --- since v1 -- Add a warn message for 8-bit addressing. --- drivers/misc/eeprom/at24

[PATCH v2 0/2] Add a property in at24.c

2018-06-25 Thread alanx . chiang
From: "alanx.chiang" In at24.c, it uses 8-bit addressing by default. In this patch, add a property address-width that provides a flexible method to pass the information to the driver. alanx.chiang (2): dt-bindings: at24: Add address-width property eeprom: at24: Add support for address-width

Re: v4.18-rc1 on droid 4: very bad CPU performance

2018-06-25 Thread Tony Lindgren
* Pavel Machek [180625 09:52]: > Hi! > > > > > V4.18 is slower than it should be. > > > > > > > > user@devuan:~$ time cat /dev/urandom | head -c 1000 | bzip2 -9 - > > > > | wc -c > > > > 10044291 > > > > 52.73user 2.40system 61.53 (1m1.534s) elapsed 89.60%CPU > > > > user@devuan:~$ uname -a

Re: [PATCH v2] mm/memblock: add missing include

2018-06-25 Thread Mathieu Malaterre
On Mon, Jun 25, 2018 at 8:07 PM Michal Hocko wrote: > > On Mon 25-06-18 19:15:12, Mathieu Malaterre wrote: > > Commit 26f09e9b3a06 ("mm/memblock: add memblock memory allocation apis") > > introduced two new function definitions: > > > > memblock_virt_alloc_try_nid_nopanic() > > memblock_virt_a

Re: [12/24] proc: Add fs_context support to procfs [ver #7]

2018-06-25 Thread Andrei Vagin
On Mon, Jun 18, 2018 at 08:34:50PM -0700, Andrei Vagin wrote: > Hi David, > > We run CRIU tests for vfs/for-next, and today a few of these test failed. I > found that the problem appears after this patch.. > > > int pid_ns_prepare_proc(struct pid_namespace *ns) > > { > > + struct proc_fs_cont

[PATCH] ARM: dts: make pfuze switch always-on for imx platforms

2018-06-25 Thread Anson Huang
commit (5fe156f regulator: pfuze100: add enable/disable for switch) will cause those unreferenced switches being turned off if "regulator-always-on" is NOT present, as pfuze switches are normally used by critical modules which must be always ON or shared by many peripherals which do NOT implement p

Re: [lkp-robot] [fs] 3deb642f0d: will-it-scale.per_process_ops -8.8% regression

2018-06-25 Thread Ye Xiaolong
Hi, On 06/22, Christoph Hellwig wrote: >Hi Xiaolong, > >can you retest this workload on the following branch: > >git://git.infradead.org/users/hch/vfs.git remove-get-poll-head > >Gitweb: > > > http://git.infradead.org/users/hch/vfs.git/shortlog/refs/heads/remove-get-poll-head Here is the

Re: [PATCH 1/2] fs: fsnotify: account fsnotify metadata to kmemcg

2018-06-25 Thread Amir Goldstein
On Tue, Jun 26, 2018 at 2:06 AM, Shakeel Butt wrote: > A lot of memory can be consumed by the events generated for the huge or > unlimited queues if there is either no or slow listener. This can cause > system level memory pressure or OOMs. So, it's better to account the > fsnotify kmem caches t

Re: moving affs + RDB partition support to staging?

2018-06-25 Thread jdow
king about this for awhile and then determining I REALLY did not want to think about it as my brain was getting tied into a gordian knot. {^_^} On 20180625 19:23, Michael Schmitz wrote: Joanne, Martin's boot log (including your patch) says: Jun 19 21:19:09 merkaba kernel: [ 7891.843284]

Re: [PATCH v8 4/7] Bluetooth: hci_qca: Add wrapper functions for setting UART speed

2018-06-25 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-06-26 05:35, Matthias Kaehlcke wrote: On Mon, Jun 25, 2018 at 04:43:54PM -0700, Matthias Kaehlcke wrote: This is a nice improvement, a few remaining questions inline. On Mon, Jun 25, 2018 at 07:10:10PM +0530, Balakrishna Godavarthi wrote: > In function qca_setup, we set

Re: [PATCH 1/2] leds: core: Introduce generic pattern interface

2018-06-25 Thread Baolin Wang
Hi Pavel, On 25 June 2018 at 20:18, Pavel Machek wrote: > On Mon 2018-06-25 13:03:19, Baolin Wang wrote: >> From: Bjorn Andersson >> >> Some LED controllers have support for autonomously controlling >> brightness over time, according to some preprogrammed pattern or >> function. >> >> This adds

Re: INFO: rcu detected stall in vprintk_emit

2018-06-25 Thread Sergey Senozhatsky
On (06/26/18 07:03), Dmitry Vyukov wrote: > > I don't think this is a printk() issue per se, so I think Option B is > > the only option. You should not get stuck in an infinite loop if we run > > short on memory. Perhaps we could have an Option C which would exit > > this loop gracefully with some

RE: [Patch v2 14/15] CIFS: Add support for direct I/O write

2018-06-25 Thread Long Li
> Subject: Re: [Patch v2 14/15] CIFS: Add support for direct I/O write > > On 5/30/2018 3:48 PM, Long Li wrote: > > From: Long Li > > > > Implement the function for direct I/O write. It doesn't support AIO, > > which will be implemented in a follow up patch. > > > > Signed-off-by: Long Li > > --

RE: [Patch v2 13/15] CIFS: Add support for direct I/O read

2018-06-25 Thread Long Li
> Subject: Re: [Patch v2 13/15] CIFS: Add support for direct I/O read > > > > On 5/30/2018 3:48 PM, Long Li wrote: > > From: Long Li > > > > Implement the function for direct I/O read. It doesn't support AIO, > > which will be implemented in a follow up patch. > > > > Signed-off-by: Long Li >

linux-next: Tree for Jun 26

2018-06-25 Thread Stephen Rothwell
Hi all, Changes since 20180625: The cifs tree lost its build failure. The drm tree still had its build failure for which I disabled some sample code. The nvdimm tree gained a conflict against the tip tree. Non-merge commits (relative to Linus' tree): 2240 2288 files changed, 72718 inser

RE: [Patch v2 11/15] CIFS: Pass page offset for calculating signature

2018-06-25 Thread Long Li
> Subject: Re: [Patch v2 11/15] CIFS: Pass page offset for calculating signature > > On 5/30/2018 3:48 PM, Long Li wrote: > > From: Long Li > > > > When calculating signature for the packet, it needs to read into the > > correct page offset for the data. > > > > Signed-off-by: Long Li > > --- >

Re: [PATCH v34 2/4] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-06-25 Thread Michael S. Tsirkin
On Tue, Jun 26, 2018 at 11:46:35AM +0800, Wei Wang wrote: > On 06/26/2018 09:37 AM, Michael S. Tsirkin wrote: > > On Mon, Jun 25, 2018 at 08:05:10PM +0800, Wei Wang wrote: > > > > > @@ -326,17 +353,6 @@ static void stats_handle_request(struct > > > virtio_balloon *vb) > > > virtqueue_ki

Re: [PATCH v3 3/8] staging: rtl8192u: User memset to initialize memory, instead of loop.

2018-06-25 Thread Greg Kroah-Hartman
On Mon, Jun 25, 2018 at 08:50:26PM +0100, John Whitmore wrote: > On Mon, Jun 25, 2018 at 02:05:04PM +0100, Justin Skists wrote: > > > > > On 25 June 2018 at 13:36 John Whitmore wrote: > > > > > > > > > On Mon, Jun 25, 2018 at 12:06:30PM +0300, Andy Shevchenko wrote: > > > > On Sun, Jun 24, 2018

Re: [PATCH v3 5/8] staging: rtl8192u: Use %s and __func__ instead of hardcoded string - Style

2018-06-25 Thread Greg KH
On Sun, Jun 24, 2018 at 04:34:51PM +0100, John Whitmore wrote: > Changed a number of hard coded function names to use %s and __func__ > > Mailing list response suggest that there is a better method for debugging > using netdev_dbg(). I can't argue with that, but for the moment this change > will c

Re: F_OFD_GETLK implemented wrong with CIFS protocol version 2.0+

2018-06-25 Thread Steve French
We are taking a look at this - Ronnie had some ideas. Probably simply not implemented - hopefully not too hard to fix. On Mon, Jun 25, 2018 at 6:58 PM Laura Abbott wrote: > > Hi, > > A while back, someone reported a failure on Fedora when trying to boot > a QEMU image off of a CIFS share. The iss

[PATCH 1/1] kvm: selftests: add cr4_cpuid_sync_test

2018-06-25 Thread Wei Huang
KVM is supposed to update some guest VM's CPUID bits (e.g. OSXSAVE) when CR4 is changed. A bug was found in KVM recently and it was fixed by Commit c4d2188206ba ("KVM: x86: Update cpuid properly when CR4.OSXAVE or CR4.PKE is changed"). This patch adds a test to verify the synchronization between gu

[BUG? v4.16.12] OOM kill of qemu causes whacky pty shenanigans

2018-06-25 Thread Dave Chinner
HI folks, I've come across a strange problem recently when doing some MPI based CPU+IO load test simulations recently. I've been running them on the same machine I use to host all my filesystem test VMs (16p/32t, 64GB RAM) which is currently running 4.16.12. Both the MPI job context and the qemu

Re: [PATCH v4] dcdbas: Add support for WSMT ACPI table

2018-06-25 Thread Stuart Hayes
On 6/14/2018 12:26 PM, Andy Shevchenko wrote: > On Thu, Jun 14, 2018 at 6:45 PM, Stuart Hayes > wrote: >> >> If the WSMT ACPI table is present and indicates that a fixed communication >> buffer should be used, use the firmware-specified buffer instead of >> allocating a buffer in memory for co

[PATCH 04/12] powerpc: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit Acked-by: Michael Ellerman Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Tho

[PATCH 12/12] perf/breakpoint: Clean up and consolidate modify_user_hw_breakpoint_check()

2018-06-25 Thread Frederic Weisbecker
Remove the dance around old and new attributes. Just don't modify the previous breakpoint at all until we have verified everything. Reported-by: Linus Torvalds Original-patch-by: Andy Lutomirski Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc:

[PATCH 07/12] sh: Remove "struct arch_hw_breakpoint::name" unused field

2018-06-25 Thread Frederic Weisbecker
This field seem to be unused, perhaps a leftover from old code... Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will Deacon Cc: Mark Rutland Cc: Max Filippov Cc: Chris Zankel Cc: Catal

[PATCH 08/12] sh: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will Deaco

[PATCH 11/12] perf/breakpoint: Pass new breakpoint type to modify_breakpoint_slot()

2018-06-25 Thread Frederic Weisbecker
We soon won't be able to rely on bp->attr anymore to get the new type of the modifying breakpoint because the new attributes are going to be copied only once we successfully modified the breakpoint slot. This will fix the current misdesigned layout where the new attr are copied to the modifying br

[PATCH 10/12] perf/breakpoint: Remove default hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
All architectures have implemented it, we can now remove the poor weak version. Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will Deacon Cc: Mark Rutland Cc: Max Filippov Cc: Chris Zan

[PATCH 06/12] arm64: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit. Acked-by: Will Deacon Acked-by: Mark Rutland Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc:

[PATCH 09/12] xtensa: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will Deaco

[PATCH 01/12] perf/breakpoint: Split attribute parse and commit

2018-06-25 Thread Frederic Weisbecker
arch_validate_hwbkpt_settings() mixes up attribute check and commit into a single code entity. Therefore the validation may return an error due to incorrect atributes while still leaving halfway modified architecture breakpoint data. This is harmless when we deal with a new breakpoint but it becom

[PATCH 02/12] perf/breakpoint: Pass arch breakpoint struct to arch_check_bp_in_kernelspace()

2018-06-25 Thread Frederic Weisbecker
We can't pass the breakpoint directly on arch_check_bp_in_kernelspace() anymore because its architecture internal datas (struct arch_hw_breakpoint) are not yet filled by the time we call the function, and most implementation need this backend to be up to date. So arrange the function to take the pr

[PATCH 05/12] arm: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit. Acked-by: Mark Rutland Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas

[PATCH 03/12] x86: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit. Original-patch-by: Andy Lutomirski Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar

[GIT PULL] breakpoint: Rework arch validation v4

2018-06-25 Thread Frederic Weisbecker
Ingo, Please pull the perf/breakpoint-v4 branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git perf/breakpoint-v4 HEAD: ba25ee9c7b3ef1543c2a24a7ca6a621433803ee4 Only change since v3 is a rebase against latest tip:perf/core --- When we mo

Re: [PATCH] arm: dts: socfpga: denali needs nand_x_clk too

2018-06-25 Thread Masahiro Yamada
2018-06-25 23:55 GMT+09:00 Boris Brezillon : > On Mon, 25 Jun 2018 09:50:18 -0500 > Dinh Nguyen wrote: > >> On 06/22/2018 10:58 AM, Richard Weinberger wrote: >> > Masahiro, >> > >> > Am Freitag, 22. Juni 2018, 16:37:21 CEST schrieb Masahiro Yamada: >> >> Hi Richard, >> >> >> >> >> >> 2018-06-19 21

Re: [PATCH v10 0/7] i2c: Add FSI-attached I2C master algorithm

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:12PM -0500, Eddie James wrote: > This series adds an algorithm for an I2C master physically located on an FSI > slave device. The I2C master has multiple ports, each of which may be > connected > to an I2C slave. Access to the I2C master registers is achieved over FSI

Re: [PATCH v10 1/7] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:13PM -0500, Eddie James wrote: > Document the bindings. > > Signed-off-by: Eddie James > Broken email address here. checkpatch warns about it.

Re: [PATCH v10 4/7] i2c: fsi: Add abort and hardware reset procedures

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:16PM -0500, Eddie James wrote: > Add abort procedure for failed transfers. Add engine and bus reset > procedures to recover from as many faults as possible. I think this is a way too aggressive recovery. Your are doing the 9 pulse toggles basically on any error while

Re: [PATCH v10 7/7] i2c: fsi: Add bus recovery

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:19PM -0500, Eddie James wrote: > Bus recovery should reset the engine and force clock the bus 9 times > to recover most situations. > > Signed-off-by: Eddie James > --- > drivers/i2c/busses/i2c-fsi.c | 19 +++ > 1 file changed, 19 insertions(+) > >

Re: [PATCH v10 5/7] i2c: fsi: Add transfer implementation

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:17PM -0500, Eddie James wrote: > Execute I2C transfers from the FSI-attached I2C master. Use polling > instead of interrupts as we have no hardware IRQ over FSI. > > Signed-off-by: Eddie James > --- > drivers/i2c/busses/i2c-fsi.c | 195 > +++

Re: [PATCH v2 00/10] Split i2c_lock_adapter into i2c_lock_root and i2c_lock_segment

2018-06-25 Thread Wolfram Sang
On Wed, Jun 20, 2018 at 07:17:53AM +0200, Peter Rosin wrote: > Hi! > > With the introduction of mux-locked I2C muxes, the concept of > locking only a segment of the I2C adapter tree was added. At the > time, I did not want to cause a lot of extra churn, so left most > users of i2c_lock_adapter alo

Re: [PATCH 1/5] i2c: smbus: add unlocked __i2c_smbus_xfer variant

2018-06-25 Thread Wolfram Sang
> This is not perfectly equivalent, since i2c_smbus_xfer was callable from > atomic/irq context if you happened to end up emulating SMBus with an I2C > transfer, and that is no longer the case with this patch. It is unknown > (to me) if anything depends on that quirk, but it seems fragile enough

Re: [PATCH] i2c: smbus: kill memory leak on emulated and failed DMA SMBus xfers

2018-06-25 Thread Wolfram Sang
On Wed, Jun 20, 2018 at 11:43:23AM +0200, Peter Rosin wrote: > If DMA safe memory was allocated, but the subsequent I2C transfer > fails the memory is leaked. Plug this leak. > > Fixes: 8a77821e74d6 ("i2c: smbus: use DMA safe buffers for emulated SMBus > transactions") > Signed-off-by: Peter Rosi

Re: moving affs + RDB partition support to staging?

2018-06-25 Thread Michael Schmitz
Joanne, Martin's boot log (including your patch) says: Jun 19 21:19:09 merkaba kernel: [ 7891.843284] sdb: RDSK (512) sdb1 (LNX^@)(res 2 spb 1) sdb2 (JXF^D)(res 2 spb 1) sdb3 (DOS^C)(res 2 spb 4) Jun 19 21:19:09 merkaba kernel: [ 7891.844055] sd 7:0:0:0: [sdb] Attached SCSI disk so it's indeed

Re: [PATCH resend 1/5] remoteproc: Rename subdev functions to start/stop

2018-06-25 Thread Bjorn Andersson
On Mon 25 Jun 18:34 PDT 2018, Alex Elder wrote: > From: Bjorn Andersson > > "start" and "stop" are more suitable names for how these two operations > are used, and they fit better with the upcoming introduction of two > additional operations in the struct. > > [el...@linaro.org: minor comment e

linux-next: manual merge of the nvdimm tree with the tip tree

2018-06-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the nvdimm tree got a conflict in: arch/x86/kernel/cpu/mcheck/mce.c between commit: d3d6923cd1ae ("x86/mce: Carve out the crashing_cpu check") from the tip tree and commit: f6785eac562b ("x86/memory_failure: Introduce {set,clear}_mce_nospec()") from

Re: [PATCH 4/5] remoteproc: rename subdev probe and remove functions

2018-06-25 Thread Bjorn Andersson
On Mon 25 Jun 18:32 PDT 2018, Alex Elder wrote: > On 05/29/2018 06:53 AM, Alex Elder wrote: > > On 05/29/2018 04:12 AM, Arnaud Pouliquen wrote: > >> Hello Alex > >> > >> > >> We have the same needs (prepare unprepare steps) on our platform. We > >> tested you core patches and they answers to our n

Re: [PATCH 1/8] time: Add persistent clock support

2018-06-25 Thread Baolin Wang
Hi John, On 26 June 2018 at 01:23, John Stultz wrote: > On Sat, Jun 23, 2018 at 5:14 PM, Thomas Gleixner wrote: >> On Wed, 13 Jun 2018, Baolin Wang wrote: >>> Moreover we can register the clocksource with CLOCK_SOURCE_SUSPEND_NONSTOP >>> to be one persistent clock, then we can simplify the suspe

Re: [PATCH 1/8] time: Add persistent clock support

2018-06-25 Thread Baolin Wang
Hi Thomas, On 24 June 2018 at 08:14, Thomas Gleixner wrote: > On Wed, 13 Jun 2018, Baolin Wang wrote: >> Moreover we can register the clocksource with CLOCK_SOURCE_SUSPEND_NONSTOP >> to be one persistent clock, then we can simplify the suspend/resume >> accounting by removing CLOCK_SOURCE_SUSPEND

[PATCH v2 1/2] dt-bindings: mediatek: Add bindings for mediatek MT6765 Platform

2018-06-25 Thread Mars Cheng
This adds dt-binding documentation for Mediatek MT6765. Only include very basic items, gic, uart timer and cpu. Signed-off-by: Mars Cheng --- Documentation/devicetree/bindings/arm/mediatek.txt |4 .../interrupt-controller/mediatek,sysirq.txt |1 + .../devicetree/bindings/seria

[PATCH v2 2/2] arm64: dts: mediatek: add mt6765 support

2018-06-25 Thread Mars Cheng
This adds basic chip support for MT6765 SoC. Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/Makefile |1 + arch/arm64/boot/dts/mediatek/mt6765-evb.dts | 33 ++ arch/arm64/boot/dts/mediatek/mt6765.dtsi| 158 +++ 3 files changed, 192 inserti

[PATCH 0/2] Add basic SoC support for MT6765

2018-06-25 Thread Mars Cheng
This patch adds basic SoC support for Mediatek's new 8-core SoC, MT6765, which is mainly for smartphone application. Change in V2: 1. fix clk properties in uart dts node 2. fix typo in submit title 3. add simple-bus in mt6765.dtsi 4. use correct SPDX license format Mars Cheng (2): dt-bindings

Re: [PATCH v4 1/4] seccomp: add a return code to trap to userspace

2018-06-25 Thread Andy Lutomirski
> On Jun 25, 2018, at 6:32 PM, Tycho Andersen wrote: > >> On Sat, Jun 23, 2018 at 12:27:43AM +0200, Jann Horn wrote: >>> On Fri, Jun 22, 2018 at 11:51 PM Kees Cook wrote: >>> On Fri, Jun 22, 2018 at 11:09 AM, Andy Lutomirski wrote: One possible extra issue: IIRC /proc/.../me

[PATCH] clk: aspeed: Fix SDCLK name

2018-06-25 Thread Lei YU
The SDCLK was named SDCLKCLK, and no one has used this yet. Fix it. Signed-off-by: Lei YU --- drivers/clk/clk-aspeed.c | 2 +- include/dt-bindings/clock/aspeed-clock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-aspeed.c b/drivers/clk/cl

[PATCH resend 1/5] remoteproc: Rename subdev functions to start/stop

2018-06-25 Thread Alex Elder
From: Bjorn Andersson "start" and "stop" are more suitable names for how these two operations are used, and they fit better with the upcoming introduction of two additional operations in the struct. [el...@linaro.org: minor comment edits] Signed-off-by: Bjorn Andersson Acked-by: Alex Elder Te

[PATCH resend 0/5] remoteproc: updates for new events

2018-06-25 Thread Alex Elder
(This is just a rebase of https://lkml.org/lkml/2018/5/15/919) This series changes the prototype for rproc_add_subdev(). The caller is now responsible for populating the function pointers recorded in the rproc_subdev structure, rather than having them be passed as arguments. These two existing f

[PATCH resend 3/5] remoteproc: Make client initialize ops in rproc_subdev

2018-06-25 Thread Alex Elder
From: Bjorn Andersson In preparation of adding the additional prepare and unprepare operations make the client responsible for filling out the function pointers of the rproc_subdev. This makes the arguments to rproc_add_subdev() more manageable, in particular when some of the functions are left o

[PATCH resend 5/5] remoteproc: Introduce prepare and unprepare for subdevices

2018-06-25 Thread Alex Elder
From: Bjorn Andersson On rare occasions a subdevice might need to prepare some hardware resources before a remote processor is booted, and clean up some state after it has been shut down. One such example is the IP Accelerator found in various Qualcomm platforms, which is accessed directly from

[PATCH resend 4/5] remoteproc: rename subdev probe and remove functions

2018-06-25 Thread Alex Elder
Rename functions used when subdevices are started and stopped to reflect the new naming scheme. Signed-off-by: Alex Elder Tested-by: Fabien Dessenne --- drivers/remoteproc/qcom_common.c | 16 drivers/remoteproc/remoteproc_core.c | 8 2 files changed, 12 insertions

[PATCH resend 2/5] remoteproc: Make start and stop in subdev optional

2018-06-25 Thread Alex Elder
From: Bjorn Andersson Some subdevices, such as glink ssr only care about the stop operation, so make the operations optional to reduce client code. Signed-off-by: Bjorn Andersson Acked-by: Alex Elder Tested-by: Fabien Dessenne --- drivers/remoteproc/remoteproc_core.c | 20 +--

Re: [PATCH v4 1/4] seccomp: add a return code to trap to userspace

2018-06-25 Thread Tycho Andersen
On Sat, Jun 23, 2018 at 12:27:43AM +0200, Jann Horn wrote: > On Fri, Jun 22, 2018 at 11:51 PM Kees Cook wrote: > > > > On Fri, Jun 22, 2018 at 11:09 AM, Andy Lutomirski > > wrote: > > > One possible extra issue: IIRC /proc/.../mem uses FOLL_FORCE, which is > > > not what we want here. > > Uuug

Re: [PATCH 4/5] remoteproc: rename subdev probe and remove functions

2018-06-25 Thread Alex Elder
On 05/29/2018 06:53 AM, Alex Elder wrote: > On 05/29/2018 04:12 AM, Arnaud Pouliquen wrote: >> Hello Alex >> >> >> We have the same needs (prepare unprepare steps) on our platform. We >> tested you core patches and they answers to our need. > > I'm very glad to hear that. Would you offer your "Te

Re: [PATCH v8 4/7] Bluetooth: hci_qca: Add wrapper functions for setting UART speed

2018-06-25 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-06-26 05:13, Matthias Kaehlcke wrote: This is a nice improvement, a few remaining questions inline. On Mon, Jun 25, 2018 at 07:10:10PM +0530, Balakrishna Godavarthi wrote: In function qca_setup, we set initial and operating speeds for Qualcomm Bluetooth SoC's. This block

Re: [PATCH v2] arch/x86: get rid of KERN_CONT in show_fault_oops()

2018-06-25 Thread Sergey Senozhatsky
On (06/25/18 14:38), Dmitry Vyukov wrote: > From: Dmitry Vyukov > > KERN_CONT leads to split lines in kernel output > and complicates useful changes to printk like > printing context before each line. > > Only acceptable use of continuations is basically > boot-time testing. > > Get rid of it.

[lkp-robot] [bisect done] ca90800a91 [ 1.761734] WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:4061 __alloc_pages_nodemask

2018-06-25 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit ca90800a91ba723d78ded634d037c1d2df8b54d6 Author: Kees Cook AuthorDate: Thu May 10 16:40:03 2018 -0700 Commit: Kees Cook

Re: [PATCH v8 3/7] Bluetooth: btqca: Redefine qca_uart_setup() to generic function.

2018-06-25 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-06-26 04:50, Matthias Kaehlcke wrote: On Mon, Jun 25, 2018 at 07:10:09PM +0530, Balakrishna Godavarthi wrote: Redefinition of qca_uart_setup will help future Qualcomm Bluetooth SoC, to use the same function instead of duplicating the function. Added new arguments soc_type a

[lkp-robot] [bisect done] 51bad67ffb [ 2.125035] int3: 0000 [#1] SMP DEBUG_PAGEALLOC

2018-06-25 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/debug commit 51bad67ffbce0aaa44579f84ef5d05597054ec6a Author: Alexey Dobriyan AuthorDate: Tue May 8 00:37:55 2018 +0300 Commit: Ingo

[lkp-robot] [bisect done] ef1433f717 [ 7.049860] BUG: unable to handle kernel NULL pointer dereference at 0000004c

2018-06-25 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit ef1433f717a2c63747a519d86965d73ff9bd08b3 Author: Kishon Vijay Abraham I AuthorDate: Mon Apr 2 18:59:35 2018 +0530 Commit:

Re: Linux 4.9.110

2018-06-25 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/net/dsa/b53.txt b/Documentation/devicetree/bindings/net/dsa/b53.txt index d6c6e41648d4..6192f02af2a9 100644 --- a/Documentation/devicetree/bindings/net/dsa/b53.txt +++ b/Documentation/devicetree/bindings/net/dsa/b53.txt @@ -10,6 +10,7 @@ Required prop

Linux 4.9.110

2018-06-25 Thread Greg KH
I'm announcing the release of the 4.9.110 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.14.52

2018-06-25 Thread Greg KH
diff --git a/Makefile b/Makefile index a33376204c17..e2e4009bbfed 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 51 +SUBLEVEL = 52 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/x86/kernel/cpu/intel_rdt.c

Re: Linux 4.17.3

2018-06-25 Thread Greg KH
diff --git a/Makefile b/Makefile index f43cd522b175..31dc3a08295a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 17 -SUBLEVEL = 2 +SUBLEVEL = 3 EXTRAVERSION = NAME = Merciless Moray diff --git a/arch/um/drivers/vector_transpor

Linux 4.14.52

2018-06-25 Thread Greg KH
I'm announcing the release of the 4.14.52 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.16.18

2018-06-25 Thread Greg KH
diff --git a/Makefile b/Makefile index 02a4f7f8c613..8a34b54f2a06 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 16 -SUBLEVEL = 17 +SUBLEVEL = 18 EXTRAVERSION = NAME = Fearless Coyote diff --git a/arch/x86/include/asm/apic.h b

  1   2   3   4   5   6   7   8   9   >