[PATCH 09/13] mqueue: don't ignore options

2019-06-19 Thread Miklos Szeredi
The options "sync", "async", "dirsync", "lazytime", "nolazytime", "mand" and "nomand" make no sense for the mqueue filesystem. If these options are supplied to fsconfig(FSCONFIG_SET_FLAG), then return -EINVAL instead of silently ignoring the option. Any implementation, such as mount(8) that

[PATCH 11/13] cgroup: don't ignore options

2019-06-19 Thread Miklos Szeredi
The options "sync", "async", "dirsync", "lazytime", "nolazytime", "mand" and "nomand" make no sense for the cgroup filesystem. If these options are supplied to fsconfig(FSCONFIG_SET_FLAG), then return -EINVAL instead of silently ignoring the option. Any implementation, such as mount(8) that

[PATCH 08/13] sysfs: don't ignore options

2019-06-19 Thread Miklos Szeredi
The options "sync", "async", "dirsync", "lazytime", "nolazytime", "mand" and "nomand" make no sense for the sysfs filesystem. If these options are supplied to fsconfig(FSCONFIG_SET_FLAG), then return -EINVAL instead of silently ignoring the option. Any implementation, such as mount(8) that needs

[PATCH 10/13] cpuset: don't ignore options

2019-06-19 Thread Miklos Szeredi
The options "sync", "async", "dirsync", "lazytime", "nolazytime", "mand" and "nomand" make no sense for the cpuset filesystem. If these options are supplied to fsconfig(FSCONFIG_SET_FLAG), then return -EINVAL instead of silently ignoring the option. Any implementation, such as mount(8) that

[PATCH 04/13] vfs: don't parse "posixacl" option

2019-06-19 Thread Miklos Szeredi
Unlike the others, this is _not_ a standard option accepted by mount(8). In fact SB_POSIXACL is an internal flag, and accepting MS_POSIXACL on the mount(2) interface is possibly a bug. The only filesystem that apparently wants to handle the "posixacl" option is 9p, but it has special handling of

[PATCH 06/13] vfs: new helper: vfs_parse_ro_rw()

2019-06-19 Thread Miklos Szeredi
This just parses the "ro" and "rw" options and sets sb_flags accordingly. Signed-off-by: Miklos Szeredi --- fs/fs_context.c| 18 ++ include/linux/fs_context.h | 1 + 2 files changed, 19 insertions(+) diff --git a/fs/fs_context.c b/fs/fs_context.c index

[PATCH v2 net] be2net: fix link failure after ethtool offline test

2019-06-19 Thread Petr Oros
Certain cards in conjunction with certain switches need a little more time for link setup that results in ethtool link test failure after offline test. Patch adds a loop that waits for a link setup finish. Changes in v2: - added fixes header Fixes: 4276e47e2d1c ("be2net: Add link test to list of

[PATCH 01/13] vfs: verify param type in vfs_parse_sb_flag()

2019-06-19 Thread Miklos Szeredi
vfs_parse_sb_flag() accepted any kind of param with a matching key, not just a flag. This is wrong, only allow flag type and return -EINVAL otherwise. Signed-off-by: Miklos Szeredi --- fs/fs_context.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff

Re: [PATCH v2 0/5] Introduce MADV_COLD and MADV_PAGEOUT

2019-06-19 Thread Michal Hocko
On Mon 10-06-19 20:12:47, Minchan Kim wrote: > This patch is part of previous series: > https://lore.kernel.org/lkml/20190531064313.193437-1-minc...@kernel.org/T/#u > Originally, it was created for external madvise hinting feature. > > https://lkml.org/lkml/2019/5/31/463 > Michal wanted to

Re: [PATCH 4/6] cpufreq: Use has_target() instead of !setpolicy

2019-06-19 Thread Rafael J. Wysocki
On Wed, Jun 19, 2019 at 1:36 PM Viresh Kumar wrote: > > For code consistency, use has_target() instead of !setpolicy everywhere, > as it is already done at several places. That's OK > Maybe we should also use !has_target() for setpolicy case to use only one > expression > for this

Re: [PATCH 3/6] cpufreq: Remove the has_target() check from notifier handler

2019-06-19 Thread Rafael J. Wysocki
On Wed, Jun 19, 2019 at 1:35 PM Viresh Kumar wrote: > > cpufreq_notify_transition() is only called for has_target() type driver > and not for set_policy type, and the check is simply redundant. Remove > it. Ah, OK So this patch removes a check introduced by the previous one. :-) Please merge

Re: [PATCH] ext4: make __ext4_get_inode_loc plug

2019-06-19 Thread Jan Kara
On Wed 19-06-19 19:34:00, Zhangjs Jinshui wrote: > You can blktrace > > 8,80 31 11 0.296373038 2885275 Q RA 8279571464 + 8 [] > 8,80 31 12 0.296374017 2885275 G RA 8279571464 + 8 [] > 8,80 31 13 0.296375468 2885275 I RA 8279571464 + 8 [] >

Re: [PATCH v3 0/8] Expose cros_ec_sensors frequency range via iio sysfs

2019-06-19 Thread Fabien Lahoudere
Le mardi 18 juin 2019 à 11:06 +0200, Fabien Lahoudere a écrit : > Chromebooks EC sensors must expose a range of frequencies for each > sensors using > the standard ABI sampling_frquency_available. > > Changes since v2: > > - use read_avail callback > - rework core functions to avoid code

Re: [PATCH 0/9] media: hantro: Add support for H264 decoding

2019-06-19 Thread Boris Brezillon
On Wed, 19 Jun 2019 14:15:31 +0200 Boris Brezillon wrote: > Hello, > > This patch series adds support H264 decoding support to the hantro > driver and doing some consilidation cleanup in the driver along the > way. > > Some details about the patches forming this patchset: > > * The first

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-19 Thread Arnd Bergmann
On Tue, Jun 18, 2019 at 11:15 PM Subash Abhinov Kasiviswanathan wrote: > > On 2019-06-18 14:55, Arnd Bergmann wrote: > > On Tue, Jun 18, 2019 at 10:36 PM Johannes Berg > > wrote: > >> > >> On Tue, 2019-06-18 at 21:59 +0200, Arnd Bergmann wrote: > >> > > >> > From my understanding, the ioctl

Re: [PATCH v1] dmaengine: tegra-apb: Support per-burst residue granularity

2019-06-19 Thread Jon Hunter
On 19/06/2019 12:10, Dmitry Osipenko wrote: > 19.06.2019 13:55, Jon Hunter пишет: >> >> On 19/06/2019 11:27, Dmitry Osipenko wrote: >>> 19.06.2019 13:04, Jon Hunter пишет: On 19/06/2019 00:27, Dmitry Osipenko wrote: > 19.06.2019 1:22, Ben Dooks пишет: >> On 13/06/2019 22:08,

Re: [PATCH 2/6] cpufreq: Replace few CPUFREQ_CONST_LOOPS checks with has_target()

2019-06-19 Thread Rafael J. Wysocki
On Wed, Jun 19, 2019 at 1:36 PM Viresh Kumar wrote: > > CPUFREQ_CONST_LOOPS was introduced in a very old commit from pre-2.6 > kernel release commit 6a4a93f9c0d5 ("[CPUFREQ] Fix 'out of sync' > issue"). > > Probably the initial idea was to just avoid these checks for set_policy > type drivers and

[PATCH] staging: rtl8188eu: remove unused code

2019-06-19 Thread Michael Straube
Remove unused and/or commented code from rtw_wlan_util.c. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c b/drivers/staging/rtl8188eu/core/rtw_wlan_util.c

Re: [PATCH v5 1/2] dt-bindings: Add doc for the Ingenic JZ47xx LCD controller driver

2019-06-19 Thread Sam Ravnborg
On Wed, Jun 12, 2019 at 10:49:52AM +0200, Paul Cercueil wrote: > > > Le mar. 11 juin 2019 à 23:55, Rob Herring a écrit : > > On Mon, 3 Jun 2019 17:23:30 +0200, Paul Cercueil wrote: > > > Add documentation for the devicetree bindings of the LCD controller > > > present in > > > the JZ47xx

Re: [PATCH] arm64: remove useless condition

2019-06-19 Thread Will Deacon
On Wed, Jun 19, 2019 at 08:38:57PM +0900, jinho lim wrote: > dump_instr function checks user_mode internally. > > Signed-off-by: jinho lim > --- > arch/arm64/kernel/traps.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/arm64/kernel/traps.c

Re: [PATCH 5.1 043/115] ALSA: seq: Protect in-kernel ioctl calls with mutex

2019-06-19 Thread Pavel Machek
Hi! > [ Upstream commit feb689025fbb6f0aa6297d3ddf97de945ea4ad32 ] > > ALSA OSS sequencer calls the ioctl function indirectly via > snd_seq_kernel_client_ctl(). While we already applied the protection > against races between the normal ioctls and writes via the client's > ioctl_mutex, this code

[PATCH 2/9] media: hantro: Move copy_metadata() before doing a decode operation

2019-06-19 Thread Boris Brezillon
Some decoders use intra slice/frame references. The capture buffer pointed by these references might be new and thus have invalid timestamp which prevents the decoder logic from retrieving the vb2_buffer object based on the output buf timestamp. Copy all metadata (including the timestamp) before

[RFC] arm64: Detecting tagged addresses

2019-06-19 Thread Andrew Murray
Hello, The proposed introduction of a relaxed ARM64 ABI [1] will allow tagged memory addresses to be passed through the user-kernel syscall ABI boundary. Tagged memory addresses are those which contain a non-zero top byte (the hardware has always ignored this top byte due to TCR_EL1.TBI0) and may

[PATCH 8/9] media: hantro: Add support for H264 decoding on G1

2019-06-19 Thread Boris Brezillon
From: Hertz Wong Add the G1 specific bits to support H264 decoding. Signed-off-by: Hertz Wong Signed-off-by: Boris Brezillon --- drivers/staging/media/hantro/Makefile | 1 + .../staging/media/hantro/hantro_g1_h264_dec.c | 295 ++

[PATCH 1/9] lib/sort.c: implement sort() variant taking context argument

2019-06-19 Thread Boris Brezillon
From: Rasmus Villemoes Our list_sort() utility has always supported a context argument that is passed through to the comparison routine. Now there's a use case for the similar thing for sort(). This implements sort_r by simply extending the existing sort function in the obvious way. To avoid

[PATCH 5/9] media: hantro: Add hantro_get_{src,dst}_buf() helpers

2019-06-19 Thread Boris Brezillon
And replace all calls to v4l2_m2m_next_{src,dst}_buf() by hantro_get_{src,dst}_buf() one. Signed-off-by: Boris Brezillon --- drivers/staging/media/hantro/hantro.h | 13 + drivers/staging/media/hantro/hantro_drv.c | 4 ++--

[PATCH 3/9] media: hantro: Constify the control array

2019-06-19 Thread Boris Brezillon
controls[] is not supposed to be modified at runtime, let's make it explicit by adding a const specifier. Signed-off-by: Boris Brezillon --- drivers/staging/media/hantro/hantro_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/hantro/hantro_drv.c

[PATCH 6/9] media: hantro: Add helpers to prepare/finish a run

2019-06-19 Thread Boris Brezillon
And use them where appropriate. Signed-off-by: Boris Brezillon --- We might want to move those hantro_{prepare,finish}_run() calls to device_run() and have a 2-step approach similar to cedrus (prepare + trigger) at some point, but let's keep that for later. ---

[PATCH 7/9] media: hantro: Add core bits to support H264 decoding

2019-06-19 Thread Boris Brezillon
From: Hertz Wong Add helpers and patch hantro_{drv,v4l2}.c to prepare addition of H264 decoding support. Signed-off-by: Hertz Wong Signed-off-by: Boris Brezillon --- drivers/staging/media/hantro/Makefile | 1 + drivers/staging/media/hantro/hantro.h | 9 +-

[PATCH 9/9] media: hantro: Enable H264 decoding on rk3288

2019-06-19 Thread Boris Brezillon
From: Hertz Wong Now that the generic bits have been added, we can activate H264 decoding on rk3288. Signed-off-by: Hertz Wong Signed-off-by: Boris Brezillon --- drivers/staging/media/hantro/rk3288_vpu_hw.c | 21 +++- 1 file changed, 20 insertions(+), 1 deletion(-) diff

[PATCH 4/9] media: hantro: Simplify the controls creation logic

2019-06-19 Thread Boris Brezillon
v4l2_ctrl_new_custom() should work for any kind of control, including standard ones. With that change, we automatically get support for menu controls. Signed-off-by: Boris Brezillon --- drivers/staging/media/hantro/hantro.h | 2 -- drivers/staging/media/hantro/hantro_drv.c | 28

[PATCH 0/9] media: hantro: Add support for H264 decoding

2019-06-19 Thread Boris Brezillon
Hello, This patch series adds support H264 decoding support to the hantro driver and doing some consilidation cleanup in the driver along the way. Some details about the patches forming this patchset: * The first patch is adding support for the sort_r() variant and has been posted separately

Re: [PATCH 1/3] include: linux: spi: more helpers for declaring spi drivers

2019-06-19 Thread Mark Brown
On Mon, Jun 17, 2019 at 08:40:38PM +0200, Enrico Weigelt, metux IT consult wrote: > +/* subsys_spi_driver() - Helper macro for drivers that don't do > + * anything special in module init/exit. This eliminates a lot of > + * boilerplate. Each module may only use this macro once, and > + *

Re: [v3 PATCH 2/2] mm: thp: fix false negative of shmem vma's THP eligibility

2019-06-19 Thread Vlastimil Babka
On 6/13/19 6:44 AM, Yang Shi wrote: > The commit 7635d9cbe832 ("mm, thp, proc: report THP eligibility for each > vma") introduced THPeligible bit for processes' smaps. But, when checking > the eligibility for shmem vma, __transparent_hugepage_enabled() is > called to override the result from

Applied "ASoC: rt5677: handle concurrent interrupts" to the asoc tree

2019-06-19 Thread Mark Brown
The patch ASoC: rt5677: handle concurrent interrupts has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "ASoC: qcom: common: Fix NULL pointer in of parser" to the asoc tree

2019-06-19 Thread Mark Brown
The patch ASoC: qcom: common: Fix NULL pointer in of parser has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "ASoC: rt5677: clear interrupts by polarity flip" to the asoc tree

2019-06-19 Thread Mark Brown
The patch ASoC: rt5677: clear interrupts by polarity flip has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Re: [PATCH v7 4/7] arm: Use common cpu_topology structure and functions.

2019-06-19 Thread Sudeep Holla
Hi Russell, On Mon, Jun 17, 2019 at 11:59:17AM -0700, Atish Patra wrote: > Currently, ARM32 and ARM64 uses different data structures to represent > their cpu topologies. Since, we are moving the ARM64 topology to common > code to be used by other architectures, we can reuse that for ARM32 as >

[PATCH] objtool: Be lenient about -Wundef

2019-06-19 Thread Olof Johansson
Some libelf versions use undefined macros, which combined with newer GCC makes for errors from system headers. This isn't overly useful to fail compiling objtool for. Error as seen: cc1: all warnings being treated as errors In file included from arch/x86/../../elf.h:10, from

Re: [PATCH 1/2] scsi: devinfo: BLIST_TRY_VPD_PAGES for SanDisk Cruzer Blade

2019-06-19 Thread Marcos Paulo de Souza
On Wed, Jun 19, 2019 at 06:45:43AM -0300, Marcos Paulo de Souza wrote: > On Tue, Jun 18, 2019 at 11:21:22PM -0400, Martin K. Petersen wrote: > > > > Marcos, > > > > > Currently, all USB devices skip VPD pages, even when the device > > > supports them (SPC-3 and later), but some of them support

Re: [PATCH net] be2net: fix link failure after ethtool offline test

2019-06-19 Thread Ivan Vecera
On Wed, 19 Jun 2019 13:52:31 +0200 Petr Oros wrote: > Certain cards in conjunction with certain switches need a little more > time for link setup that results in ethtool link test failure after > offline test. Patch adds a loop that waits for a link setup finish. > > Signed-off-by: Petr Oros

Re: [RFC][PATCH] module: Propagate MODULE_STATE_COMING notifier errors

2019-06-19 Thread Peter Zijlstra
On Wed, Jun 19, 2019 at 01:35:08PM +0200, Peter Zijlstra wrote: > On Wed, Jun 19, 2019 at 01:33:24PM +0200, Peter Zijlstra wrote: > > How's something like so: > > > > diff --git a/kernel/module.c b/kernel/module.c > > index 80c7c09584cf..eba6560c89da 100644 > > --- a/kernel/module.c > > +++

[PATCH 4.14] perf machine: Guard against NULL in machine__exit()

2019-06-19 Thread Rantala, Tommi T. (Nokia - FI/Espoo)
From: Arnaldo Carvalho de Melo commit 4a2233b194c77ae1ea8304cb7c00b551de4313f0 upstream. A recent fix for 'perf trace' introduced a bug where machine__exit(trace->host) could be called while trace->host was still NULL, so make this more robust by guarding against NULL, just like free() does.

[no subject]

2019-06-19 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

Re: [RFC][PATCH] module: Propagate MODULE_STATE_COMING notifier errors

2019-06-19 Thread Petr Mladek
On Wed 2019-06-19 13:12:12, Miroslav Benes wrote: > On Mon, 17 Jun 2019, Peter Zijlstra wrote: > > --- a/kernel/module.c > > +++ b/kernel/module.c > > @@ -3638,9 +3638,10 @@ static int prepare_coming_module(struct module *mod) > > if (err) > > return err; > > > > -

Re: [RFC v3 0/2] clocksource: davinci-timer: new driver

2019-06-19 Thread Sekhar Nori
On 18/06/19 11:33 PM, Daniel Lezcano wrote: > On 14/06/2019 16:25, Daniel Lezcano wrote: >> On 14/06/2019 12:39, Sekhar Nori wrote: >>> Hi Daniel, >>> >>> On 05/06/19 2:03 PM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski This is another version of the new davinci

[PATCH net] be2net: fix link failure after ethtool offline test

2019-06-19 Thread Petr Oros
Certain cards in conjunction with certain switches need a little more time for link setup that results in ethtool link test failure after offline test. Patch adds a loop that waits for a link setup finish. Signed-off-by: Petr Oros --- .../net/ethernet/emulex/benet/be_ethtool.c| 28

[PATCH v6 2/2] arm64: tegra: enable ACONNECT, ADMA and AGIC

2019-06-19 Thread Sameer Pujar
Enable ACONNECT, ADMA and AGIC devices for following platforms * Jetson TX2 * Jetson Xavier Verified driver probe path and devices get registered fine. Signed-off-by: Sameer Pujar --- changes in current revision * renamed agic, interrupt-controller, name

[PATCH v6 1/2] arm64: tegra: add ACONNECT, ADMA and AGIC nodes

2019-06-19 Thread Sameer Pujar
Add DT nodes for following devices on Tegra186 and Tegra194 * ACONNECT * ADMA * AGIC Signed-off-by: Sameer Pujar --- changes in current revision * updated ranges property for aconnect * renamed agic node arch/arm64/boot/dts/nvidia/tegra186.dtsi | 67

Re: [PATCH 1/1] udf: Fix incorrect final NOT_ALLOCATED (hole) extent length

2019-06-19 Thread Steve Magnani
On 6/19/19 1:47 AM, Jan Kara wrote: Hi Steve! On Sun 16-06-19 11:28:46, Steve Magnani wrote: On 6/4/19 7:31 AM, Steve Magnani wrote: In some cases, using the 'truncate' command to extend a UDF file results in a mismatch between the length of the file's extents (specifically, due to incorrect

Re: [PATCH 2/5] pwm: stm32: use 3 cells ->of_xlate()

2019-06-19 Thread Benjamin GAIGNARD
On 6/19/19 11:52 AM, Fabrice Gasnier wrote: > STM32 Timers support generic 3 cells PWM to encode PWM number, period and > polarity. > > Fixes: 7edf7369205b ("pwm: Add driver for STM32 plaftorm") Reviewed-by: Benjamin Gaignard > > Signed-off-by: Fabrice Gasnier > --- > drivers/pwm/pwm-stm32.c

[PATCH] ASoC: stm32: dfsdm: add 16 bits audio record support

2019-06-19 Thread Olivier Moysan
Add support of audio 16 bits format record to STM32 DFSDM driver. Signed-off-by: Olivier Moysan --- sound/soc/stm/stm32_adfsdm.c | 49 +++- 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/sound/soc/stm/stm32_adfsdm.c

[PATCH] arm64: remove useless condition

2019-06-19 Thread jinho lim
dump_instr function checks user_mode internally. Signed-off-by: jinho lim --- arch/arm64/kernel/traps.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c index ccc13b45d9b1..694e78b950ca 100644 ---

[PATCH 6/6] cpufreq: Avoid calling cpufreq_verify_current_freq() from handle_update()

2019-06-19 Thread Viresh Kumar
On some occasions cpufreq_verify_current_freq() schedules a work whose callback is handle_update(), which further calls cpufreq_update_policy() which may end up calling cpufreq_verify_current_freq() again. On the other hand, when cpufreq_update_policy() is called from handle_update(), the pointer

[PATCH 4/6] cpufreq: Use has_target() instead of !setpolicy

2019-06-19 Thread Viresh Kumar
For code consistency, use has_target() instead of !setpolicy everywhere, as it is already done at several places. Maybe we should also use !has_target() for setpolicy case to use only one expression for this differentiation. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 6 +++---

[PATCH 3/6] cpufreq: Remove the has_target() check from notifier handler

2019-06-19 Thread Viresh Kumar
cpufreq_notify_transition() is only called for has_target() type driver and not for set_policy type, and the check is simply redundant. Remove it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 5/6] cpufreq: Reuse cpufreq_update_current_freq() in __cpufreq_get()

2019-06-19 Thread Viresh Kumar
Their implementations are quite similar, lets modify cpufreq_update_current_freq() a little and use it from __cpufreq_get(). Also rename cpufreq_update_current_freq() to cpufreq_verify_current_freq(), as that's what it is doing. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 70

[PATCH 0/6] cpufreq: cleanups

2019-06-19 Thread Viresh Kumar
Hi Rafael, I accumulated these while reworking the freq-constraint series and it would be nice if these can get in before I send the next version of freq-constraint stuff. These are mostly cleanups and code consolidation for better management of code. Compile and boot tested only. Thanks.

[PATCH 2/6] cpufreq: Replace few CPUFREQ_CONST_LOOPS checks with has_target()

2019-06-19 Thread Viresh Kumar
CPUFREQ_CONST_LOOPS was introduced in a very old commit from pre-2.6 kernel release commit 6a4a93f9c0d5 ("[CPUFREQ] Fix 'out of sync' issue"). Probably the initial idea was to just avoid these checks for set_policy type drivers and then things got changed over the years. And it is very unclear

[PATCH 1/6] cpufreq: Remove the redundant !setpolicy check

2019-06-19 Thread Viresh Kumar
cpufreq_start_governor() is only called for !setpolicy case, checking it again is not required. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index

Re: [RFC][PATCH] module: Propagate MODULE_STATE_COMING notifier errors

2019-06-19 Thread Peter Zijlstra
On Wed, Jun 19, 2019 at 01:33:24PM +0200, Peter Zijlstra wrote: > How's something like so: > > diff --git a/kernel/module.c b/kernel/module.c > index 80c7c09584cf..eba6560c89da 100644 > --- a/kernel/module.c > +++ b/kernel/module.c > @@ -3631,16 +3631,28 @@ static int complete_formation(struct

Re: [PATCH 3/7] drivers: gpio: eic-sprd: use devm_platform_ioremap_resource()

2019-06-19 Thread Baolin Wang
Hi, On Tue, 18 Jun 2019 at 00:49, Enrico Weigelt, metux IT consult wrote: > > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult Thanks. Reviewed-by: Baolin Wang -- Baolin Wang Best

Re: [RFC][PATCH] module: Propagate MODULE_STATE_COMING notifier errors

2019-06-19 Thread Peter Zijlstra
On Wed, Jun 19, 2019 at 01:23:50PM +0200, Peter Zijlstra wrote: > On Wed, Jun 19, 2019 at 01:12:12PM +0200, Miroslav Benes wrote: > > > @@ -3780,7 +3781,7 @@ static int load_module(struct load_info *info, > > > const char __user *uargs, > > > > > > err = prepare_coming_module(mod); > > > if

Re: [PATCH 1/3 v8] serial: mctrl_gpio: Check if GPIO property exisits before requesting it

2019-06-19 Thread Andy Shevchenko
On Tue, Jun 18, 2019 at 10:31:58AM +0200, Stefan Roese wrote: > This patch adds a check for the GPIOs property existence, before the > GPIO is requested. This fixes an issue seen when the 8250 mctrl_gpio > support is added (2nd patch in this patch series) on x86 platforms using > ACPI. Looks like

Re: [PATCH v7 1/3] media: cec: expose HDMI connector to CEC dev mapping

2019-06-19 Thread Hans Verkuil
On 6/19/19 1:05 PM, Dariusz Marcinkiewicz wrote: > Hi Hans. > > I would like to come back to this thread. > > On Fri, May 24, 2019 at 11:21 AM Hans Verkuil wrote: >> >> Hi Dariusz, >> >> I did some more testing with the Khadas VIM2 and found another problem, >> something that will,

Re: [RFC][PATCH] module: Propagate MODULE_STATE_COMING notifier errors

2019-06-19 Thread Peter Zijlstra
On Wed, Jun 19, 2019 at 01:12:12PM +0200, Miroslav Benes wrote: > On Mon, 17 Jun 2019, Peter Zijlstra wrote: > > > > > Some module notifiers; such as jump_label_module_notifier(), > > tracepoint_module_notify(); can fail the MODULE_STATE_COMING callback > > (due to -ENOMEM for example). However

Re: [RFC][PATCH] module: Propagate MODULE_STATE_COMING notifier errors

2019-06-19 Thread Peter Zijlstra
On Wed, Jun 19, 2019 at 01:12:12PM +0200, Miroslav Benes wrote: > > @@ -3780,7 +3781,7 @@ static int load_module(struct load_info *info, const > > char __user *uargs, > > > > err = prepare_coming_module(mod); > > if (err) > > - goto bug_cleanup; > > + goto

Re: [PATCH] libnvdimm: Enable unit test infrastructure compile checks

2019-06-19 Thread Christoph Hellwig
On Mon, Jun 17, 2019 at 01:52:27PM -0700, Dan Williams wrote: > The infrastructure to mock core libnvdimm routines for unit testing > purposes is prone to bitrot relative to refactoring of that core. > Arrange for the unit test core to be built when CONFIG_COMPILE_TEST=y. > This does not result in

RE: [PATCH v2 2/5] net: macb: add support for sgmii MAC-PHY interface

2019-06-19 Thread Parshuram Raju Thombare
>From: Russell King - ARM Linux admin > >On Wed, Jun 19, 2019 at 09:40:46AM +0100, Parshuram Thombare wrote: > >> This patch add support for SGMII interface) and > >> 2.5Gbps MAC in Cadence ethernet controller driver. >> switch (state->interface) { > >> +case PHY_INTERFACE_MODE_SGMII: >

[no subject]

2019-06-19 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

Re: [PATCH v5] extensions: libxt_owner: Add supplementary groups option

2019-06-19 Thread Pablo Neira Ayuso
On Mon, Jun 10, 2019 at 12:58:56PM +0200, Lukasz Pawelczyk wrote: > The --suppl-groups option causes GIDs specified with --gid-owner to be > also checked in the supplementary groups of a process. Applied, thanks.

Re: [PATCH] ext4: remove redundant assignment to node

2019-06-19 Thread Jan Kara
On Wed 19-06-19 10:00:06, Colin King wrote: > From: Colin Ian King > > Pointer 'node' is assigned a value that is never read, node is > later overwritten when it re-assigned a different value inside > the while-loop. The assignment is redundant and can be removed. > > Addresses-Coverity:

Re: [RFC][PATCH] module: Propagate MODULE_STATE_COMING notifier errors

2019-06-19 Thread Miroslav Benes
On Mon, 17 Jun 2019, Peter Zijlstra wrote: > > Some module notifiers; such as jump_label_module_notifier(), > tracepoint_module_notify(); can fail the MODULE_STATE_COMING callback > (due to -ENOMEM for example). However module.c:prepare_coming_module() > ignores all such errors, even though this

Re: [PATCH v2] KVM: x86: Modify struct kvm_nested_state to have explicit fields for data

2019-06-19 Thread Liran Alon
> On 19 Jun 2019, at 13:45, Paolo Bonzini wrote: > > On 19/06/19 00:36, Liran Alon wrote: >> >> >>> On 18 Jun 2019, at 19:24, Paolo Bonzini wrote: >>> >>> From: Liran Alon >>> >>> Improve the KVM_{GET,SET}_NESTED_STATE structs by detailing the format >>> of VMX nested state data in a

Re: [PATCH v1] dmaengine: tegra-apb: Support per-burst residue granularity

2019-06-19 Thread Dmitry Osipenko
19.06.2019 13:55, Jon Hunter пишет: > > On 19/06/2019 11:27, Dmitry Osipenko wrote: >> 19.06.2019 13:04, Jon Hunter пишет: >>> >>> On 19/06/2019 00:27, Dmitry Osipenko wrote: 19.06.2019 1:22, Ben Dooks пишет: > On 13/06/2019 22:08, Dmitry Osipenko wrote: >> Tegra's APB DMA engine

Re: [PATCH] ext4: make __ext4_get_inode_loc plug

2019-06-19 Thread Jan Kara
On Mon 17-06-19 23:57:12, jinshui zhang wrote: > From: zhangjs > > If the task is unplugged when called, the inode_readahead_blks may not be > merged, > these will cause small pieces of io, It should be plugged. > > Signed-off-by: zhangjs Out of curiosity, on which path do you see

Re: [RFC PATCH v2 1/2] printk-rb: add a new printk ringbuffer implementation

2019-06-19 Thread Peter Zijlstra
On Wed, Jun 19, 2019 at 12:30:26AM +0200, John Ogness wrote: > On 2019-06-18, Peter Zijlstra wrote: > >> +/** > >> + * DOC: memory barriers > > > > What's up with that 'DOC' crap? > > The separate documentation in > Documentation/core-api/printk-ringbuffer.rst references this so it >

[GIT PULL] Thunderbolt fixes for v5.2-rc6

2019-06-19 Thread Mika Westerberg
Hi Greg, The following changes since commit d1fdb6d8f6a4109a4263176c84b899076a5f8008: Linux 5.2-rc4 (2019-06-08 20:24:46 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git tags/thunderbolt-fixes-for-v5.2-rc6 for you to

Re: [PATCH v7 1/3] media: cec: expose HDMI connector to CEC dev mapping

2019-06-19 Thread Dariusz Marcinkiewicz
Hi Hans. I would like to come back to this thread. On Fri, May 24, 2019 at 11:21 AM Hans Verkuil wrote: > > Hi Dariusz, > > I did some more testing with the Khadas VIM2 and found another problem, > something that will, unfortunately, require some redesign. > > See my comments below... > ... > >

[no subject]

2019-06-19 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

Re: [PATCH v1] dmaengine: tegra-apb: Support per-burst residue granularity

2019-06-19 Thread Jon Hunter
On 19/06/2019 11:27, Dmitry Osipenko wrote: > 19.06.2019 13:04, Jon Hunter пишет: >> >> On 19/06/2019 00:27, Dmitry Osipenko wrote: >>> 19.06.2019 1:22, Ben Dooks пишет: On 13/06/2019 22:08, Dmitry Osipenko wrote: > Tegra's APB DMA engine updates words counter after each transferred

[no subject]

2019-06-19 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

RE: [PATCH v2 1/5] net: macb: add phylink support

2019-06-19 Thread Parshuram Raju Thombare
Hi Russel, Thanks for review comments. >On Wed, Jun 19, 2019 at 09:40:36AM +0100, Parshuram Thombare wrote: > >> +bitmap_and(supported, supported, mask, >__ETHTOOL_LINK_MODE_MASK_NBITS); > >> +bitmap_and(state->advertising, state->advertising, mask, > >> +

linux-next: Tree for Jun 19

2019-06-19 Thread Stephen Rothwell
Hi all, Changes since 20190618: The net-next tree gained a build failure due to an interaction with the kbuild tree for which I applied a fix patch. The drm tree gained a conflict against the kbuild tree. The usb tree gained a build failure due to an interaction with the kbuild tree for which

Re: [PATCH] powerpc: enable a 30-bit ZONE_DMA for 32-bit pmac

2019-06-19 Thread Christoph Hellwig
Any chance this could get picked up to fix the regression? On Thu, Jun 13, 2019 at 10:24:46AM +0200, Christoph Hellwig wrote: > With the strict dma mask checking introduced with the switch to > the generic DMA direct code common wifi chips on 32-bit powerbooks > stopped working. Add a 30-bit

Re: [PATCH][V2][next] netfilter: synproxy: ensure zero is returned on non-error return path

2019-06-19 Thread Pablo Neira Ayuso
On Tue, Jun 18, 2019 at 03:22:44PM +0100, Colin King wrote: > From: Colin Ian King > > Currently functions nf_synproxy_{ipc4|ipv6}_init return an uninitialized > garbage value in variable ret on a successful return. Fix this by > returning zero on success. Applied, thanks Colin.

Re: [PATCH 4/7] powerpc/ftrace: Additionally nop out the preceding mflr with -mprofile-kernel

2019-06-19 Thread Nicholas Piggin
Naveen N. Rao's on June 19, 2019 7:53 pm: > Nicholas Piggin wrote: >> Michael Ellerman's on June 19, 2019 3:14 pm: >>> Hi Naveen, >>> >>> Sorry I meant to reply to this earlier .. :/ > > No problem. Thanks for the questions. > >>> >>> "Naveen N. Rao" writes: With -mprofile-kernel, gcc

Re: [RFC PATCH v2 1/2] printk-rb: add a new printk ringbuffer implementation

2019-06-19 Thread Andrea Parri
> I would appreciate it if you could point out a source file that > documents its memory barriers the way you would like to see these memory > barriers documented. IMO, you could find some inspiration by looking at the memory barriers comments from: kernel/sched/core.c:try_to_wake_up()

Re: [PATCH 4.14 00/53] 4.14.128-stable review

2019-06-19 Thread Greg Kroah-Hartman
On Wed, Jun 19, 2019 at 09:49:00AM +0100, Jon Hunter wrote: > > On 17/06/2019 22:09, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.128 release. > > There are 53 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH v2] KVM: x86: Modify struct kvm_nested_state to have explicit fields for data

2019-06-19 Thread Paolo Bonzini
On 19/06/19 00:36, Liran Alon wrote: > > >> On 18 Jun 2019, at 19:24, Paolo Bonzini wrote: >> >> From: Liran Alon >> >> Improve the KVM_{GET,SET}_NESTED_STATE structs by detailing the format >> of VMX nested state data in a struct. >> >> In order to avoid changing the ioctl values of >>

Re: [PATCH 5.1 000/115] 5.1.12-stable review

2019-06-19 Thread Greg Kroah-Hartman
On Tue, Jun 18, 2019 at 06:27:02PM -0500, Jiunn Chang wrote: > On Mon, Jun 17, 2019 at 11:08:20PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.12 release. > > There are 115 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 5.1 000/115] 5.1.12-stable review

2019-06-19 Thread Greg Kroah-Hartman
On Wed, Jun 19, 2019 at 10:10:12AM +0530, Naresh Kamboju wrote: > On Tue, 18 Jun 2019 at 19:05, Greg Kroah-Hartman > wrote: > > > > On Tue, Jun 18, 2019 at 06:04:25PM +0530, Naresh Kamboju wrote: > > > On Tue, 18 Jun 2019 at 02:50, Greg Kroah-Hartman > > > wrote: > > > > > > > > This is the

Re: pagecache locking (was: bcachefs status update) merged)

2019-06-19 Thread Jan Kara
On Tue 18-06-19 07:21:56, Amir Goldstein wrote: > > > Right, but regardless of the spec we have to consider that the > > > behaviour of XFS comes from it's Irix heritage (actually from EFS, > > > the predecessor of XFS from the late 1980s) > > > > Sure. And as I mentioned, I think it's technically

Re: [PATCH] mm/vmalloc: avoid bogus -Wmaybe-uninitialized warning

2019-06-19 Thread Uladzislau Rezki
On Tue, Jun 18, 2019 at 01:59:20PM -0700, Andrew Morton wrote: > On Tue, 18 Jun 2019 16:06:22 +0200 Uladzislau Rezki wrote: > > > On Tue, Jun 18, 2019 at 09:40:28AM -0400, Joel Fernandes wrote: > > > On Tue, Jun 18, 2019 at 5:27 AM Arnd Bergmann wrote: > > > > > > > > gcc gets confused in

Re: [PATCH] ocxl: Allow contexts to be attached with a NULL mm

2019-06-19 Thread Frederic Barrat
Le 18/06/2019 à 03:50, Andrew Donnellan a écrit : On 17/6/19 2:41 pm, Alastair D'Silva wrote: From: Alastair D'Silva If an OpenCAPI context is to be used directly by a kernel driver, there may not be a suitable mm to use. The patch makes the mm parameter to ocxl_context_attach optional.

Re: Alternatives to /sys/kernel/debug/wakeup_sources

2019-06-19 Thread Joel Fernandes
On Wed, Jun 19, 2019 at 4:35 AM Rafael J. Wysocki wrote: > > On Wed, Jun 19, 2019 at 1:52 AM Joel Fernandes wrote: > > > > On Tue, Jun 18, 2019 at 7:15 PM Tri Vo wrote: > > [snip] > > > > > > > > > > > > > > Android userspace reading wakeup_sources is not ideal because: > > > > > > > - Debugfs

Re: [PATCH 1/2] scsi_host: add support for request batching

2019-06-19 Thread Paolo Bonzini
On 19/06/19 10:11, Hannes Reinecke wrote: > On 5/30/19 1:28 PM, Paolo Bonzini wrote: >> This allows a list of requests to be issued, with the LLD only writing >> the hardware doorbell when necessary, after the last request was prepared. >> This is more efficient if we have lists of requests to

Re: [PATCH v1] dmaengine: tegra-apb: Support per-burst residue granularity

2019-06-19 Thread Dmitry Osipenko
19.06.2019 13:04, Jon Hunter пишет: > > On 19/06/2019 00:27, Dmitry Osipenko wrote: >> 19.06.2019 1:22, Ben Dooks пишет: >>> On 13/06/2019 22:08, Dmitry Osipenko wrote: Tegra's APB DMA engine updates words counter after each transferred burst of data, hence it can report transfer's

[PATCH] ARM: dts: am57xx: Disable voltage switching for SD card

2019-06-19 Thread Faiz Abbas
If UHS speed modes are enabled, a compatible SD card switches down to 1.8V during enumeration. If after this a software reboot/crash takes place and on-chip ROM tries to enumerate the SD card, the difference in IO voltages (host @ 3.3V and card @ 1.8V) may end up damaging the card. The fix for

SPDX conversion under scripts/dtc/ of Linux Kernel

2019-06-19 Thread Masahiro Yamada
Hi. In this development cycle of Linux kernel, lots of files were converted to use SPDX instead of the license boilerplate. However. Some files were imported from a different project, and are periodically synchronized with the upstream. Have we discussed what to do about this case? For

<    2   3   4   5   6   7   8   9   >