Re: [Ocfs2-devel] [PATCH v2 2/2] ocfs2: add trimfs lock to avoid duplicated trims in cluster

2018-01-10 Thread Gang He
>>> > On 2018/1/11 15:19, Gang He wrote: >> >> >> > >>> On 2018/1/11 12:31, Gang He wrote: Hi Changwei, >>> > On 2018/1/11 11:33, Gang He wrote: >> Hi Changwei, >> >> > >>> On 2018/1/11 10:07, Gang He wrote: Hi Changwei,

Re: [PATCH 0/7] ARM: dts: STi: Fix DT dtc warnings

2018-01-10 Thread Patrice CHOTARD
HI Arnd On 01/10/2018 09:52 PM, Arnd Bergmann wrote: > On Wed, Jan 10, 2018 at 6:17 PM, Patrice CHOTARD > wrote: >> Hi Arnd >> >> On 01/10/2018 04:52 PM, Arnd Bergmann wrote: >>> On Wed, Jan 10, 2018 at 9:21 AM, wrote: From: Patrice Chotard

Re: [RESEND PATCH v11 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2018-01-10 Thread Byungchul Park
On 1/11/2018 2:22 AM, kbuild test robot wrote: Hi Byungchul, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/sched/core] [also build test WARNING on v4.15-rc7 next-20180110] [if your patch is applied to the wrong git tree, please drop us a note to help

Re: [PATCH 6/6] crypto: stm32-cryp: convert to the new crypto engine API

2018-01-10 Thread Fabien DESSENNE
(Adding my tested by) On 10/01/18 15:25, Fabien DESSENNE wrote: > > On 03/01/18 21:11, Corentin Labbe wrote: >> This patch convert the stm32-cryp driver to the new crypto engine API. >> Signed-off-by: Corentin Labbe Tested-by: Fabien Dessenne

Re: [PATCH 2/6] crypto: engine - Permit to enqueue all async requests

2018-01-10 Thread Fabien DESSENNE
(adding my tested by) On 10/01/18 15:19, Fabien DESSENNE wrote: > On 03/01/18 21:11, Corentin Labbe wrote: >> The crypto engine could actually only enqueue hash and ablkcipher request. >> This patch permit it to enqueue any type of crypto_async_request. >> >> Signed-off-by: Corentin Labbe

Re: [PATCH 5/6] crypto: stm32-hash: convert to the new crypto engine API

2018-01-10 Thread Fabien DESSENNE
(adding my tested my) On 10/01/18 15:24, Fabien DESSENNE wrote: > > On 03/01/18 21:11, Corentin Labbe wrote: >> This patch convert the stm32-hash driver to the new crypto engine API. >> >> Signed-off-by: Corentin Labbe Tested-by: Fabien Dessenne

Re: [Ocfs2-devel] [PATCH v2 2/2] ocfs2: add trimfs lock to avoid duplicated trims in cluster

2018-01-10 Thread Changwei Ge
On 2018/1/11 15:19, Gang He wrote: > > > >> On 2018/1/11 12:31, Gang He wrote: >>> Hi Changwei, >>> >>> >> On 2018/1/11 11:33, Gang He wrote: > Hi Changwei, > > >> On 2018/1/11 10:07, Gang He wrote: >>> Hi Changwei, >>> >>> >>

Re: powersaving-related hangs on T460s

2018-01-10 Thread Meelis Roos
> I tried 4.15-git on my Thinkpad T460s laptop. It is working but I have > problems waking up the computer after it has been idle. > > There should be no suspend (to keep network connections alive) when the > laptop is on AC power, even when the lid is closed. In dmesg, I have > seen no

Re: [PATCH v5 0/2] printk: Console owner and waiter logic cleanup

2018-01-10 Thread Sergey Senozhatsky
Hi Mathieu, On (01/10/18 18:40), Mathieu Desnoyers wrote: [..] > > There appears to be two problems at hand. One is making sure a console > buffer owner only flushes a bounded amount of data. which, realistically, has quite little to do with the "and thus it fixes the lockups". logbuf size is

Re: [PATCH linux dev-4.10 0/6] Add support PECI and PECI hwmon drivers

2018-01-10 Thread Greg KH
On Wed, Jan 10, 2018 at 01:46:34PM -0800, Jae Hyun Yoo wrote: > On 1/10/2018 12:27 PM, Greg KH wrote: > > On Wed, Jan 10, 2018 at 11:30:05AM -0800, Jae Hyun Yoo wrote: > > > On 1/10/2018 11:17 AM, Greg KH wrote: > > > > On Wed, Jan 10, 2018 at 11:14:34AM -0800, Jae Hyun Yoo wrote: > > > > > On

[patch v8 3/3] platform/mellanox: mlxreg-hotplug: modify to use regmap intreface

2018-01-10 Thread Vadim Pasternak
It includes: - restructuring of mlxreg header file for unification of hotplug items definition; - unification of hotplug items to allow any kind of item (power controller, fan eeprom, psu eeprom, asic health in common way); - utilization of regmap interface to allow independency of underlying

[patch v8 1/3] platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox

2018-01-10 Thread Vadim Pasternak
It moves drivers/platform/x86/mlxcpld-hotplug.c to drivers/platform/mellanox/mlxreg-hotplug.c and include/linux/platform_data/mlxcpld-hotplug.h to include/linux/platform_data/mlxreg.h for making hotplug driver usable for the different machine architectures. Signed-off-by: Vadim Pasternak

[patch v8 2/3] platform/mellanox: mlxreg-hotplug: allow driver for ARM architecture

2018-01-10 Thread Vadim Pasternak
It allows driver to run on x86 and ARM architecture based systems. Also some unnecessary includes are removed. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v7->v8 Fixes added by Vadim: - Drop routines using of_update_property. It

[patch v8 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2018-01-10 Thread Vadim Pasternak
The patchset: - replaces modules include/linux/platform_data/mlxcpld-hotplug.h and drivers/platform/x86/mlxcpld-hotplug.c with the modules include/linux/platform_data/mlxreg.h and drivers/platform/mellanox/mlxreg-hotplug.c; relevant Makefile and Kconfig are updated; - modifies

Re: [Ocfs2-devel] [PATCH v2 2/2] ocfs2: add trimfs lock to avoid duplicated trims in cluster

2018-01-10 Thread Gang He
>>> > On 2018/1/11 12:31, Gang He wrote: >> Hi Changwei, >> >> > >>> On 2018/1/11 11:33, Gang He wrote: Hi Changwei, >>> > On 2018/1/11 10:07, Gang He wrote: >> Hi Changwei, >> >> > >>> On 2018/1/10 18:14, Gang He wrote: Hi

Re: [PATCH v2] zsmalloc: use U suffix for negative literals being shifted

2018-01-10 Thread Sergey Senozhatsky
On (01/10/18 19:41), Nick Desaulniers wrote: > Fixes warnings about shifting unsigned literals being undefined > behavior. > > Suggested-by: Minchan Kim > Signed-off-by: Nick Desaulniers looks good to me. Reviewed-by: Sergey Senozhatsky

Re: [PATCH v3] zswap: only save zswap header when necessary

2018-01-10 Thread Sergey Senozhatsky
On (01/10/18 14:56), Yu Zhao wrote: [..] > We waste sizeof(swp_entry_t) for zswap header when using zsmalloc > as zpool driver because zsmalloc doesn't support eviction. > > Add zpool_evictable() to detect if zpool is potentially evictable, > and use it in zswap to avoid waste memory for zswap

Re: [Ocfs2-devel] [PATCH v2 2/2] ocfs2: add trimfs lock to avoid duplicated trims in cluster

2018-01-10 Thread Changwei Ge
On 2018/1/11 12:31, Gang He wrote: > Hi Changwei, > > >> On 2018/1/11 11:33, Gang He wrote: >>> Hi Changwei, >>> >>> >> On 2018/1/11 10:07, Gang He wrote: > Hi Changwei, > > >> On 2018/1/10 18:14, Gang He wrote: >>> Hi Changwei, >>> >>>

Re: [PATCH] zswap: only save zswap header if zpool is shrinkable

2018-01-10 Thread Sergey Senozhatsky
Hello, Yu Zhao, Dan, sorry for the delay On (01/10/18 15:06), Dan Streetman wrote: [..] > Well, I think shrink vs evict an implementation detail, isn't it? > That is, from zswap's perspective, there should be: > > zpool_evictable() > if true, zswap needs to include the header on each

Re: [PATCH v2] f2fs: handle newly created page when revoking inmem pages

2018-01-10 Thread Yunlong Song
Should it be "When committing inmem pages is not successful" ? On 2018/1/11 8:17, Daeho Jeong wrote: When committing inmem pages is successful, we revoke already committed blocks in __revoke_inmem_pages() and finally replace the committed ones with the old blocks using f2fs_replace_block().

[PATCH v2 00/16] ASoC: fsl_ssi: Clean up - program flow level

2018-01-10 Thread Nicolin Chen
==Change log== v2 * Reworked the series by taking suggestions from Maciej + Added PATCH-01 to keep all ssi->i2s_net updated + Replaced bool tx with bool dir in PATCH-03 and PATCH-06 + Moved all initial register configurations from dai probe() to platform probe() so as to let AC97 CODEC

[PATCH v2 05/16] ASoC: fsl_ssi: Clear FIFO directly in fsl_ssi_config()

2018-01-10 Thread Nicolin Chen
The FIFO clear helper function is just one line of code now. So it could be cleaned up by removing it and calling regmap directly. Meanwhile, FIFO clear could be applied to all use cases, not confined to AC97. So this patch also moves FIFO clear in the trigger() to fsl_ssi_config() and removes

[PATCH V3 3/6] usb: serial: f81534: add output pin control

2018-01-10 Thread Ji-Ze Hong (Peter Hong)
The F81532/534 had 3 output pin (M0/SD, M1, M2) with open-drain mode to control transceiver. We'll read it from internal Flash with address 0x2f05~0x2f08 for 4 ports. The value is range from 0 to 7. The M0/SD is MSB of this value. For a examples, If read value is 6, we'll write M0/SD, M1, M2 as 1,

[PATCH v2 01/16] ASoC: fsl_ssi: Keep ssi->i2s_net updated

2018-01-10 Thread Nicolin Chen
The hw_params() overwrites i2s_net settings for special cases like mono-channel support, however, it doesn't update ssi->i2s_net as set_dai_fmt() does. This patch removes the local i2s_net variable and directly updates ssi->i2s_net in the hw_params() so that the driver can simply look up the

[PATCH v2 03/16] ASoC: fsl_ssi: Maintain a mask of active streams

2018-01-10 Thread Nicolin Chen
Checking TE and RE bits in SCR register doesn't work for AC97 mode which enables SSIEN, TE and RE in the fsl_ssi_setup_ac97() that's called during probe(). So when running into the trigger(), it will always get the result of both TE and RE being enabled already, even if actually there is no

[PATCH V3 2/6] usb: serial: f81534: add auto RTS direction support

2018-01-10 Thread Ji-Ze Hong (Peter Hong)
The F81532/534 had auto RTS direction support for RS485 mode. We'll read it from internal Flash with address 0x2f01~0x2f04 for 4 ports. There are 4 conditions below: 0: F81534_PORT_CONF_RS232. 1: F81534_PORT_CONF_RS485. 2: value error, default to F81534_PORT_CONF_RS232.

[PATCH V3 5/6] usb: serial: f81534: add H/W disable port support

2018-01-10 Thread Ji-Ze Hong (Peter Hong)
The F81532/534 can be disable port by manufacturer with following H/W design. 1: Connect DCD/DSR/CTS/RI pin to ground. 2: Connect RX pin to ground. In driver, we'll implements some detect method likes following: 1: Read MSR. 2: Turn MCR LOOP bit on, off and read LSR after delay

[PATCH V3 4/6] usb: serial: f81534: refactoring calc_num_ports()

2018-01-10 Thread Ji-Ze Hong (Peter Hong)
In the original code, We'll read configuration in calc_num_ports() and read again in attach(). In fact, we can move all content from attach() to calc_num_ports() to simplify the code. Signed-off-by: Ji-Ze Hong (Peter Hong) --- V3: 1: First introduced in

[PATCH V3 1/6] usb: serial: f81534: add high baud rate support

2018-01-10 Thread Ji-Ze Hong (Peter Hong)
The F81532/534 had 4 clocksource 1.846/18.46/14.77/24MHz and baud rates can be up to 1.5Mbits with 24MHz. This device may generate data overrun when baud rate setting to 921600bps or higher with old UART trigger level setting (8x14=112) with full loading. We'll change trigger level from 8x14=112

[PATCH v2 04/16] ASoC: fsl_ssi: Rename fsl_ssi_disable_val macro

2018-01-10 Thread Nicolin Chen
The define of fsl_ssi_disable_val is not so clear as it mixes two steps of calculations together. And those parameter names are also a bit long to read. Since it just tries to exclude the shared bits from the regvals of current stream while the opposite stream is active, it's better to use

Re: [RFC PATCH v2 5/6] x86/entry/pti: avoid setting CR3 when it's already correct

2018-01-10 Thread Willy Tarreau
On Wed, Jan 10, 2018 at 12:29:17PM -0800, Dave Hansen wrote: > On 01/09/2018 04:56 AM, Willy Tarreau wrote: > > --- a/arch/x86/entry/calling.h > > +++ b/arch/x86/entry/calling.h > > @@ -214,6 +214,11 @@ > > .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req > > ALTERNATIVE "jmp .Lend_\@", "",

[PATCH V3 6/6] usb: serial: f81534: fix tx error on some baud rate

2018-01-10 Thread Ji-Ze Hong (Peter Hong)
The F81532/534 had 4 clocksource 1.846/18.46/14.77/24MHz and baud rates can be up to 1.5Mbits with 24MHz. But on some baud rate (384~500kps), the TX side will send the data frame too close to treat frame error on RX side. This patch will force all TX data frame with delay 1bit gap. Signed-off-by:

[PATCH v2 09/16] ASoC: fsl_ssi: Set xFEN0 and xFEN1 together

2018-01-10 Thread Nicolin Chen
It'd be safer to enable both FIFOs for TX or RX at the same time. Signed-off-by: Nicolin Chen Tested-by: Caleb Crome --- sound/soc/fsl/fsl_ssi.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

[PATCH v2 08/16] ASoC: fsl_ssi: Clean up fsl_ssi_setup_regvals()

2018-01-10 Thread Nicolin Chen
This patch cleans fsl_ssi_setup_regvals() by following changes: 1) Moving DBG bits to the first lines. 2) Setting SSIE, RE/TE as default and cleaning it for AC97 Signed-off-by: Nicolin Chen Tested-by: Caleb Crome --- sound/soc/fsl/fsl_ssi.c | 17

[PATCH v2 07/16] ASoC: fsl_ssi: Add DAIFMT define for AC97

2018-01-10 Thread Nicolin Chen
The _fsl_ssi_set_dai_fmt() bypasses an undefined format for AC97 mode. However, it's not really necessary if AC97 has its complete format defined. So this patch adds a DAIFMT macro of complete format including a clock direction and polarity. Signed-off-by: Nicolin Chen

[PATCH v2 10/16] ASoC: fsl_ssi: Use snd_soc_init_dma_data instead

2018-01-10 Thread Nicolin Chen
Since there is a helper function, use it to help readability. Signed-off-by: Nicolin Chen Tested-by: Caleb Crome --- sound/soc/fsl/fsl_ssi.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

[PATCH v2 13/16] ASoC: fsl_ssi: Clean up _fsl_ssi_set_dai_fmt()

2018-01-10 Thread Nicolin Chen
The _fsl_ssi_set_dai_fmt() is a helper function being called from fsl_ssi_set_dai_fmt() as an ASoC operation and fsl_ssi_hw_init() mainly for AC97 format initialization. This patch cleans the _fsl_ssi_set_dai_fmt() in following ways: * Removing *dev pointer in the parameters as it's included in

[PATCH v2 06/16] ASoC: fsl_ssi: Clean up helper functions of trigger()

2018-01-10 Thread Nicolin Chen
The trigger() calls fsl_ssi_tx_config() and fsl_ssi_rx_config(), and both of them jump to fsl_ssi_config(). And fsl_ssi_config() later calls another fsl_ssi_rxtx_config(). However, the whole routine, especially fsl_ssi_config() function, is too complicated because of the folowing reasons: 1) It

[PATCH v2 12/16] ASoC: fsl_ssi: Setup AC97 in fsl_ssi_hw_init()

2018-01-10 Thread Nicolin Chen
AC97 configures most of registers earlier to start a communication with CODECs in order to successfully initialize CODEC. Currently, _fsl_ssi_set_dai_fmt() and fsl_ssi_setup_ac97() are called to get all SSI registers properly set. Since now the driver has a fsl_ssi_hw_init() to handle all

[PATCH v2 14/16] ASoC: fsl_ssi: Remove cpu_dai_drv from fsl_ssi structure

2018-01-10 Thread Nicolin Chen
The cpu_dai_drv is only used for symmetric_rates. So this patch replaces it with a synchronous boolean flag. Signed-off-by: Nicolin Chen Tested-by: Caleb Crome --- sound/soc/fsl/fsl_ssi.c | 32 1 file changed, 16

[PATCH v2 16/16] ASoC: fsl_ssi: Use ssi->streams instead of reading register

2018-01-10 Thread Nicolin Chen
Since ssi->streams is being updated along with SCR register and its SSIEN bit, it's simpler to use it instead. Signed-off-by: Nicolin Chen Tested-by: Caleb Crome --- sound/soc/fsl/fsl_ssi.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-)

[PATCH v2 15/16] ASoC: fsl_ssi: Move DT related code to a separate probe()

2018-01-10 Thread Nicolin Chen
This patch cleans up probe() function by moving all Device Tree related code into a separate function. It allows the probe() to be Device Tree independent. This will be very useful for future integration of imx-ssi driver which has similar functionalities while exists only because it supports

[PATCH v2 11/16] ASoC: fsl_ssi: Move one-time configurations to probe()

2018-01-10 Thread Nicolin Chen
The probe() could handle some one-time configurations since they will not be changed once being configured. Signed-off-by: Nicolin Chen Tested-by: Caleb Crome --- sound/soc/fsl/fsl_ssi.c | 39 ++- 1 file changed, 26

[PATCH v2 02/16] ASoC: fsl_ssi: Clean up set_dai_tdm_slot()

2018-01-10 Thread Nicolin Chen
This patch replaces the register read with ssi->i2s_net for simplification. It also removes masking SSIEN from scr value since it's handled later by regmap_update_bits() to set this scr value back. Signed-off-by: Nicolin Chen Tested-by: Caleb Crome ---

Re: [RFC PATCH v2 6/6] x86/entry/pti: don't switch PGD on when pti_disable is set

2018-01-10 Thread Willy Tarreau
On Wed, Jan 10, 2018 at 11:50:46AM -0800, Linus Torvalds wrote: > And the whole "NOW" vs "NEXT" is complete garbage. The obvious sane > no-PTI interface is that it > > (a) inherits on fork/exec, so that you don't have to worry about how > something is implemented (think "I want to run this

[PATCH v3 RESEND] f2fs: support F2FS_IOC_PRECACHE_EXTENTS

2018-01-10 Thread Chao Yu
This patch introduces a new ioctl F2FS_IOC_PRECACHE_EXTENTS to precache extent info like ext4, in order to gain better performance during triggering AIO by eliminating synchronous waiting of mapping info. Referred commit: 7869a4a6c5ca ("ext4: add support for extent pre-caching") In addition,

[PATCH v3 RESEND] f2fs: support FIEMAP_FLAG_XATTR

2018-01-10 Thread Chao Yu
This patch enables ->fiemap to handle FIEMAP_FLAG_XATTR flag for xattr mapping info lookup purpose. It makes f2fs passing generic/425 test in fstest. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 69 +- 1 file changed,

[PATCH v2] f2fs: fix to cover f2fs_inline_data_fiemap with inode_lock

2018-01-10 Thread Chao Yu
This patch fix to cover f2fs_inline_data_fiemap with inode_lock in order to make that interface avoiding race with mapping change. Signed-off-by: Chao Yu --- v2: - change to just cover inode lock for f2fs_inline_data_fiemap fs/f2fs/data.c | 6 +++--- 1 file changed, 3

[tip:perf/core] perf report: Add --tasks option to display monitored tasks

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: 930f8b3479444d264aa33e008c4b00b86e8c62cc Gitweb: https://git.kernel.org/tip/930f8b3479444d264aa33e008c4b00b86e8c62cc Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:56 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jan

[tip:perf/core] tools headers: Synchronize kernel <-> tooling headers

2018-01-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5d64db2966e38bfd99114ecf0b54f97d33023dcd Gitweb: https://git.kernel.org/tip/5d64db2966e38bfd99114ecf0b54f97d33023dcd Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 10 Jan 2018 11:36:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf report: Add --stats option to display quick data statistics

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: a4a4d0a7a2b20f7880262de4f51685baaf693476 Gitweb: https://git.kernel.org/tip/a4a4d0a7a2b20f7880262de4f51685baaf693476 Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:55 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jan

[tip:perf/core] perf report: Introduce --mmaps

2018-01-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 6439d7d16c94324300eb392ed85e3632e489e197 Gitweb: https://git.kernel.org/tip/6439d7d16c94324300eb392ed85e3632e489e197 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 9 Jan 2018 15:25:03 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf tools: Make the tool's warning messages optional

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: 075ca1ebb25e798e4072a1e3a482b829bb51afb2 Gitweb: https://git.kernel.org/tip/075ca1ebb25e798e4072a1e3a482b829bb51afb2 Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:54 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jan

[tip:perf/core] perf script: Add support to display lost events

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: 3d7c27b6dbca4c90e7d921b45c2240e7c3cb92a2 Gitweb: https://git.kernel.org/tip/3d7c27b6dbca4c90e7d921b45c2240e7c3cb92a2 Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:53 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jan

[tip:perf/core] perf script: Add support to display sample misc field

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: 28a0b39877f5ed64ae9fadf95dddb90999309dee Gitweb: https://git.kernel.org/tip/28a0b39877f5ed64ae9fadf95dddb90999309dee Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:52 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jan

[tip:perf/core] perf: Update PERF_RECORD_MISC_* comment for perf_event_header::misc bit 13

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: 972c14884728bf5f69ec69cfb1beeec1a9cd29ee Gitweb: https://git.kernel.org/tip/972c14884728bf5f69ec69cfb1beeec1a9cd29ee Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:51 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jan

[tip:perf/core] perf trace: Beautify 'gettid' syscall result

2018-01-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2d1073def3cb69aa44f99be7ef42da7cc561be1f Gitweb: https://git.kernel.org/tip/2d1073def3cb69aa44f99be7ef42da7cc561be1f Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 9 Jan 2018 12:03:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf: Make perf_callchain function static

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: 8cf7e0e22414f5acf85ecb7cd0d4482e6c9696ae Gitweb: https://git.kernel.org/tip/8cf7e0e22414f5acf85ecb7cd0d4482e6c9696ae Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:49 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jan

[tip:perf/core] perf: Return empty callchain instead of NULL

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: 99e818cc9a2fa2f483b91b372c47b94b7c98 Gitweb: https://git.kernel.org/tip/99e818cc9a2fa2f483b91b372c47b94b7c98 Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:50 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jan

[tip:perf/core] perf: Add sample_id to PERF_RECORD_ITRACE_START event comment

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: 81df978c49379481716aef591de77313c286d747 Gitweb: https://git.kernel.org/tip/81df978c49379481716aef591de77313c286d747 Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:48 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jan

[tip:perf/core] perf: Allocate context task_ctx_data for child event

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: 313ccb96159489eabdbdcf4deb34e7fbac17557d Gitweb: https://git.kernel.org/tip/313ccb96159489eabdbdcf4deb34e7fbac17557d Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:47 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jan

RE: [RFC] rpmsg: virtio rpmsg: Add RPMsg char driver support

2018-01-10 Thread Jiaying Liang
> -Original Message- > From: Arnaud Pouliquen [mailto:arnaud.pouliq...@st.com] > Sent: Tuesday, January 09, 2018 4:56 AM > To: Jiaying Liang ; o...@wizery.com; > bjorn.anders...@linaro.org > Cc: linux-remotep...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject:

[tip:perf/core] perf tools: Display perf_event_attr::namespaces debug info

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: db9fc765e8f4d0144d13cdfa4be32d81eae01710 Gitweb: https://git.kernel.org/tip/db9fc765e8f4d0144d13cdfa4be32d81eae01710 Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:46 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jan

Re: [RFC PATCH v3 6/8] x86/pti: don't mark the user PGD with _PAGE_NX.

2018-01-10 Thread Willy Tarreau
On Wed, Jan 10, 2018 at 12:20:05PM -0800, Dave Hansen wrote: > Granted, you have an RFC on this, but please, for the love of everything > that is good the world, please stop sending this patch set until you > have a halfway reasonable method of dealing with NX that doesn't involve > #ifdefs.

[tip:perf/core] perf tools: Enable LIBBABELTRACE by default

2018-01-10 Thread tip-bot for Jiri Olsa
Commit-ID: 24787afbcd0127859394eb9230659ee6d5dc4644 Gitweb: https://git.kernel.org/tip/24787afbcd0127859394eb9230659ee6d5dc4644 Author: Jiri Olsa AuthorDate: Sun, 7 Jan 2018 17:03:45 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jan

[tip:perf/core] perf script: Support time percent and multiple time ranges

2018-01-10 Thread tip-bot for Jin Yao
Commit-ID: 2ab046cd01e33a854798a3e245c9e3f32b950a7d Gitweb: https://git.kernel.org/tip/2ab046cd01e33a854798a3e245c9e3f32b950a7d Author: Jin Yao AuthorDate: Fri, 8 Dec 2017 21:13:46 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8

[tip:perf/core] perf report: Support time percent and multiple time ranges

2018-01-10 Thread tip-bot for Jin Yao
Commit-ID: 5b969bc766807e5c2f184d1d6f97b8471de946f1 Gitweb: https://git.kernel.org/tip/5b969bc766807e5c2f184d1d6f97b8471de946f1 Author: Jin Yao AuthorDate: Fri, 8 Dec 2017 21:13:45 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8

[tip:perf/core] perf tools: Create function to perform multiple time range checking

2018-01-10 Thread tip-bot for Jin Yao
Commit-ID: 9a9b8b4b2271e763c1600311a3d4ecc2ac359b55 Gitweb: https://git.kernel.org/tip/9a9b8b4b2271e763c1600311a3d4ecc2ac359b55 Author: Jin Yao AuthorDate: Fri, 8 Dec 2017 21:13:44 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8

Re: [RFC PATCH v3 6/8] x86/pti: don't mark the user PGD with _PAGE_NX.

2018-01-10 Thread Willy Tarreau
Hi David, On Wed, Jan 10, 2018 at 08:28:27PM +, Woodhouse, David wrote: > So... we'd really like to *not* lose the property that KPTI implies > SMEP-like NX of user space for the kernel. Don't worry, I find it nice as well and am not trying to kill it. As mentionned in the "Note" section in

[tip:perf/core] perf tools: Create function to parse time percent

2018-01-10 Thread tip-bot for Jin Yao
Commit-ID: 13a70f350665580708ab11f725d3578eaacbf2d0 Gitweb: https://git.kernel.org/tip/13a70f350665580708ab11f725d3578eaacbf2d0 Author: Jin Yao AuthorDate: Fri, 8 Dec 2017 21:13:43 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8

[tip:perf/core] perf header: Add infrastructure to record first and last sample time

2018-01-10 Thread tip-bot for Jin Yao
Commit-ID: 6011518db3bd04c80cd3ce3e6aea1c399739adb4 Gitweb: https://git.kernel.org/tip/6011518db3bd04c80cd3ce3e6aea1c399739adb4 Author: Jin Yao AuthorDate: Fri, 8 Dec 2017 21:13:41 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8

[tip:perf/core] perf record: Record the first and last sample time in the header

2018-01-10 Thread tip-bot for Jin Yao
Commit-ID: 68588baf8d01826673f2874f434123029e519052 Gitweb: https://git.kernel.org/tip/68588baf8d01826673f2874f434123029e519052 Author: Jin Yao AuthorDate: Fri, 8 Dec 2017 21:13:42 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8

[tip:perf/core] perf report: Fix a wrong offset issue when using /proc/kcore

2018-01-10 Thread tip-bot for Jin Yao
Commit-ID: 935f5a9d4500020879858c9224c98dfabf16101d Gitweb: https://git.kernel.org/tip/935f5a9d4500020879858c9224c98dfabf16101d Author: Jin Yao AuthorDate: Sat, 30 Dec 2017 00:26:52 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8

[tip:perf/core] perf report: Fix a no annotate browser displayed issue

2018-01-10 Thread tip-bot for Jin Yao
Commit-ID: 40c39e3046411f84bab82f66783ff3593e2bcd9b Gitweb: https://git.kernel.org/tip/40c39e3046411f84bab82f66783ff3593e2bcd9b Author: Jin Yao AuthorDate: Tue, 26 Dec 2017 18:42:43 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8

[tip:perf/core] perf test bpf: Use designated struct field initializers

2018-01-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 13cb2d0f513cf35bf74484a392f745f9e9c5a3f2 Gitweb: https://git.kernel.org/tip/13cb2d0f513cf35bf74484a392f745f9e9c5a3f2 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 2 Jan 2018 15:18:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf tools: Fix compile error with libunwind x86

2018-01-10 Thread tip-bot for Wang Nan
Commit-ID: 44df1afdb174fd6038e419f80efd914c0b5f2f85 Gitweb: https://git.kernel.org/tip/44df1afdb174fd6038e419f80efd914c0b5f2f85 Author: Wang Nan AuthorDate: Wed, 6 Dec 2017 01:50:40 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jan

[tip:perf/core] perf test bpf: Hook on epoll_pwait()

2018-01-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e0337f4f9aff60a19079b0f224136bb03877db58 Gitweb: https://git.kernel.org/tip/e0337f4f9aff60a19079b0f224136bb03877db58 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 4 Jan 2018 12:43:32 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf test bpf: Improve message about expected samples

2018-01-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 6703c9771d83ebe092b0d49cb0609a3f9d8b4ff7 Gitweb: https://git.kernel.org/tip/6703c9771d83ebe092b0d49cb0609a3f9d8b4ff7 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 2 Jan 2018 14:59:21 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

linux-next: Tree for Jan 11

2018-01-10 Thread Stephen Rothwell
Hi all, Changes since 20180110: The net-next tree lost its build failure but gained another due to an interaction with the net tree for which I reverted a commit. The kspp tree gained a conflict against the net tree. The akpm-current tree still had its build failure for which I applied a patch

Re: [PATCH v2 1/4] dmaengine: xilinx_dma: populate dma caps properly

2018-01-10 Thread Vinod Koul
On Tue, Jan 09, 2018 at 07:36:11AM +, Appana Durga Kedareswara Rao wrote: > Hi, > > Thanks for the review... > > >On Tue, Jan 09, 2018 at 04:48:10AM +, Appana Durga Kedareswara Rao > >wrote: > >> Hi, > >> > >> >On Mon, Jan 08, 2018 at 05:25:01PM +, Appana Durga Kedareswara >

Re: scsi: memory leak in sg_start_req

2018-01-10 Thread Douglas Gilbert
On 2018-01-09 11:05 AM, Dmitry Vyukov wrote: Hello, syzkaller has found the following memory leak: unreferenced object 0x88004c19 (size 8328): comm "syz-executor", pid 4627, jiffies 4294749150 (age 45.507s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Re: [PATCH v2 1/4] f2fs: support F2FS_IOC_PRECACHE_EXTENTS

2018-01-10 Thread Chao Yu
On 2018/1/11 13:16, Jaegeuk Kim wrote: > On 01/11, Chao Yu wrote: >> On 2018/1/11 3:24, Jaegeuk Kim wrote: >>> On 01/10, Chao Yu wrote: This patch introduces a new ioctl F2FS_IOC_PRECACHE_EXTENTS to precache extent info like ext4, in order to gain better performance during

[PATCH v2 2/2] pinctrl: qcom: Add sdm845 pinctrl driver

2018-01-10 Thread Bjorn Andersson
From: Kyle Yan This adds the pinctrl definitions for the TLMM of SDM845. Signed-off-by: Kyle Yan Signed-off-by: Rajendra Nayak Signed-off-by: Bjorn Andersson --- Changes since v1: - Corrected the

[PATCH v2 1/2] dt-bindings: pinctrl: Add Qualcomm SDM845 TLMM binding

2018-01-10 Thread Bjorn Andersson
This adds the DeviceTree binding for the Qualcomm SDM845 TLMM block. Signed-off-by: Bjorn Andersson --- Changes since v1: - Added qspi related functions .../bindings/pinctrl/qcom,sdm845-pinctrl.txt | 176 + 1 file changed, 176

Re: next/master build: 198 builds: 1 failed, 197 passed, 1 error, 148 warnings (next-20180110)

2018-01-10 Thread Viresh Kumar
On 10-01-18, 16:45, Arnd Bergmann wrote: > > 7 arch/arm/boot/dts/spear1340-evb.dtb: Warning (dmas_property): Property > > 'dmas', cell 4 is not a phandle reference in /ahb/apb/serial@b410 > > 7 arch/arm/boot/dts/spear1340-evb.dtb: Warning (dmas_property): Missing > > property '#dma-cells' in

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

2018-01-10 Thread Ingo Molnar
perf/x86/msr: Clean up the code (2018-01-06 12:18:40 +0100) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-4.16-20180110 > > for you to fetch changes up to 5d64db2966e38bfd99114e

Re: [RFC PATCH 4/9] soc: samsung: Add generic power-management driver for Exynos

2018-01-10 Thread Chanwoo Choi
Dear Krzysztof, I'll try to consolidate the pm code for both arm and arm64. So, drop this patch and then I'll start to move the code from arch/arm/mach-exynos/* to drivers/soc/samsung/*. But, I'm not sure it is possible to move all codes to drivers/soc/samsung/*. I'll try it. Best Regards,

Re: [RFC PATCH 5/9] soc: samsung: pm: Add support for suspend-to-ram of Exynos5433

2018-01-10 Thread Chanwoo Choi
On 2018년 01월 09일 21:45, Krzysztof Kozlowski wrote: > On Tue, Jan 9, 2018 at 8:59 AM, Chanwoo Choi wrote: >> This patch adds the specific exynos_pm_data instance for Exynos5433 >> in order to support the suspend-to-ram. Exynos5433 SoC need to write >> the 'cpu_resume' poiter

Re: [PATCH 3/9] soc: samsung: pmu: Add the PMU data of exynos5433 to support low-power state

2018-01-10 Thread Chanwoo Choi
On 2018년 01월 09일 21:23, Krzysztof Kozlowski wrote: > On Tue, Jan 9, 2018 at 8:59 AM, Chanwoo Choi wrote: >> This patch adds the PMU (Power Management Unit) data of exynos5433 SoC >> in order to support the various power modes. Each power mode has >> the different value for

Re: [PATCH v5 0/2] printk: Console owner and waiter logic cleanup

2018-01-10 Thread Sergey Senozhatsky
On (01/10/18 14:17), Steven Rostedt wrote: [..] > OK, lets start over. good. > Right now my focus is an incremental approach. I'm not trying to solve > all issues that printk has. I've focused on a single issue, and that is > that printk is unbounded. Coming from a Real Time background, I find >

[PATCH v2 5/7] pipe: reject F_SETPIPE_SZ with size over UINT_MAX

2018-01-10 Thread Eric Biggers
From: Eric Biggers A pipe's size is represented as an 'unsigned int'. As expected, writing a value greater than UINT_MAX to /proc/sys/fs/pipe-max-size fails with EINVAL. However, the F_SETPIPE_SZ fcntl silently truncates such values to 32 bits, rather than failing with

[PATCH v2 1/7] pipe, sysctl: drop 'min' parameter from pipe-max-size converter

2018-01-10 Thread Eric Biggers
From: Eric Biggers Before validating the given value against pipe_min_size, do_proc_dopipe_max_size_conv() calls round_pipe_size(), which rounds the value up to pipe_min_size. Therefore, the second check against pipe_min_size is redundant. Remove it. Acked-by: Kees Cook

[PATCH v2 4/7] pipe: fix off-by-one error when checking buffer limits

2018-01-10 Thread Eric Biggers
From: Eric Biggers With pipe-user-pages-hard set to 'N', users were actually only allowed up to 'N - 1' buffers; and likewise for pipe-user-pages-soft. Fix this to allow up to 'N' buffers, as would be expected. Fixes: b0b91d18e2e9 ("pipe: fix limit checking in

[PATCH v2 2/7] pipe, sysctl: remove pipe_proc_fn()

2018-01-10 Thread Eric Biggers
From: Eric Biggers pipe_proc_fn() is no longer needed, as it only calls through to proc_dopipe_max_size(). Just put proc_dopipe_max_size() in the ctl_table entry directly, and remove the unneeded EXPORT_SYMBOL() and the ENOSYS stub for it. (The reason the ENOSYS stub isn't

[PATCH v2 0/7] pipe: buffer limits fixes and cleanups

2018-01-10 Thread Eric Biggers
This series simplifies the sysctl handler for pipe-max-size and fixes another set of bugs related to the pipe buffer limits: - The root user wasn't allowed to exceed the limits when creating new pipes. - There was an off-by-one error when checking the limits, so a limit of N was actually

[PATCH v2 3/7] pipe: actually allow root to exceed the pipe buffer limits

2018-01-10 Thread Eric Biggers
From: Eric Biggers pipe-user-pages-hard and pipe-user-pages-soft are only supposed to apply to unprivileged users, as documented in both Documentation/sysctl/fs.txt and the pipe(7) man page. However, the capabilities are actually only checked when increasing a pipe's size

[PATCH v2 6/7] pipe: simplify round_pipe_size()

2018-01-10 Thread Eric Biggers
From: Eric Biggers round_pipe_size() calculates the number of pages the requested size corresponds to, then rounds the page count up to the next power of 2. However, it also rounds everything < PAGE_SIZE up to PAGE_SIZE. Therefore, there's no need to actually translate the

[PATCH v2 7/7] pipe: read buffer limits atomically

2018-01-10 Thread Eric Biggers
From: Eric Biggers The pipe buffer limits are accessed without any locking, and may be changed at any time by the sysctl handlers. In theory this could cause problems for expressions like the following: pipe_user_pages_hard && user_bufs > pipe_user_pages_hard ...

Re: perf: perf_fuzzer quickly locks up on 4.15-rc7

2018-01-10 Thread Josh Poimboeuf
On Tue, Jan 09, 2018 at 11:07:16AM -0600, Josh Poimboeuf wrote: > On Tue, Jan 09, 2018 at 05:05:51PM +0100, Peter Zijlstra wrote: > > On Tue, Jan 09, 2018 at 10:56:52AM -0500, Vince Weaver wrote: > > > On Tue, 9 Jan 2018, Peter Zijlstra wrote: > > > > > > > So CONFIG_PAGE_TABLE_ISOLATION=y and

Re: [PATCH 03/32] fs: introduce new ->get_poll_head and ->poll_mask methods

2018-01-10 Thread Al Viro
On Wed, Jan 10, 2018 at 09:04:16PM +, Al Viro wrote: > On Wed, Jan 10, 2018 at 04:58:24PM +0100, Christoph Hellwig wrote: > > ->get_poll_head returns the waitqueue that the poll operation is going > > to sleep on. Note that this means we can only use a single waitqueue > > for the poll,

  1   2   3   4   5   6   7   8   9   10   >