Re: [STABLE 4.9.y PATCH 0/9] Backport of KVM Speculation Control support

2018-02-08 Thread Greg KH
On Thu, Feb 08, 2018 at 06:57:38PM +0100, Greg KH wrote: > On Thu, Feb 08, 2018 at 06:42:03PM +0100, Paolo Bonzini wrote: > > On 08/02/2018 18:14, Greg KH wrote: > > > On Thu, Feb 08, 2018 at 03:49:59AM +0100, Greg KH wrote: > > >> On Tue, Feb 06, 2018 at 09:05:46PM +, Woodhouse, David wrote: >

[kselftests] compaction_test is blocked

2018-02-08 Thread Li Zhijian
Hi kselftests is integrated Intel 0Day project. Sometimes we found compaction_test is blocked for more than 1 hours until i kill it. Try to figure out where it is running, i added some log to this case. the test log is like: --- [ 111.750543] main: 248 [ 111.750544]- [ 111

Re: [PATCH 2/3] clk: exynos5433: Allow audio subsystem clock rate propagation

2018-02-08 Thread Chanwoo Choi
Hi Sylwester, On 2018년 02월 08일 00:18, Sylwester Nawrocki wrote: > Hi Chanwoo, > > On 02/06/2018 05:06 AM, Chanwoo Choi wrote: >>> drivers/clk/samsung/clk-exynos5433.c | 22 +++--- >>> 1 file changed, 11 insertions(+), 11 deletions(-) >>> >>> diff --git a/drivers/clk/samsung/clk-e

[tip:x86/pti] objtool: Fix switch-table detection

2018-02-08 Thread tip-bot for Peter Zijlstra
Commit-ID: 99ce7962d52d1948ad6f2785e308d48e76e0a6ef Gitweb: https://git.kernel.org/tip/99ce7962d52d1948ad6f2785e308d48e76e0a6ef Author: Peter Zijlstra AuthorDate: Thu, 8 Feb 2018 14:02:32 +0100 Committer: Ingo Molnar CommitDate: Fri, 9 Feb 2018 07:20:23 +0100 objtool: Fix switch-table

Re: [PATCH 1/3] clk: exynos5433: Extend list of available AUD_PLL output frequencies

2018-02-08 Thread Chanwoo Choi
On 2018년 02월 07일 22:04, Sylwester Nawrocki wrote: > On 02/07/2018 12:24 PM, Chanwoo Choi wrote: >> Could you share your equation? >> because your result is a little bit different of my result. >> - my equation : ((mdiv + kdiv/65535) x 24MHz) / (pdiv x POWER(2,sdiv)) > > It resembles the code from

Re: [V9fs-developer] [RFC] we should solve create-unlink-getattr idiom

2018-02-08 Thread Veaceslav Falico
Hi Yiwen, all, On 2/9/2018 8:10 AM, jiangyiwen wrote: > Hi Eric and Greg, > > I encountered the similar problem with create-unlink-getattr idiom. > I use the testcase that create-unlink-setattr idiom, and I see the > bug is reported at https://bugs.launchpad.net/qemu/+bug/1336794. > Then I also s

Re: [PATCH 4/6] sched/isolation: Residual 1Hz scheduler tick offload

2018-02-08 Thread Ingo Molnar
* Frederic Weisbecker wrote: > When a CPU runs in full dynticks mode, a 1Hz tick remains in order to > keep the scheduler stats alive. However this residual tick is a burden > for bare metal tasks that can't stand any interruption at all, or want > to minimize them. > > The usual boot parameter

Re: [PATCH] ath9k: turn on btcoex_enable as default

2018-02-08 Thread Kalle Valo
Kai Heng Feng writes: > Hi Felix, > >> On Feb 8, 2018, at 7:02 PM, Felix Fietkau wrote: >> >> On 2018-02-08 06:28, Kai-Heng Feng wrote: >>> Without btcoex_enable, WiFi activies make both WiFi and Bluetooth >>> unstable if there's a bluetooth connection. >>> >>> Enable this option when bt_ant_div

[V9fs-developer] [RFC] we should solve create-unlink-getattr idiom

2018-02-08 Thread jiangyiwen
Hi Eric and Greg, I encountered the similar problem with create-unlink-getattr idiom. I use the testcase that create-unlink-setattr idiom, and I see the bug is reported at https://bugs.launchpad.net/qemu/+bug/1336794. Then I also see you already fix the issue and push the patch to upstream. https:

Re: [PATCH 6/6] sched/isolation: Tick offload documentation

2018-02-08 Thread Ingo Molnar
* Frederic Weisbecker wrote: > Update the documentation to reflect the 1Hz tick offload changes. > > Signed-off-by: Frederic Weisbecker > Cc: Chris Metcalf > Cc: Christoph Lameter > Cc: Luiz Capitulino > Cc: Mike Galbraith > Cc: Paul E. McKenney > Cc: Peter Zijlstra > Cc: Rik van Riel >

Re: [Qemu-devel] [RFC PATCH] vfio/pci: Add ioeventfd support

2018-02-08 Thread Peter Xu
On Tue, Feb 06, 2018 at 05:08:14PM -0700, Alex Williamson wrote: [...] > +long vfio_pci_ioeventfd(struct vfio_pci_device *vdev, loff_t offset, > + uint64_t data, int count, int fd) > +{ > + struct pci_dev *pdev = vdev->pdev; > + loff_t pos = offset & VFIO_PCI_OFFSET_MA

[PATCH 1/2] dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings

2018-02-08 Thread Yixun Lan
Add dt-bindings headers for the Meson-AXG's AO clock and reset controller. CC: Signed-off-by: Yixun Lan --- include/dt-bindings/clock/axg-aoclkc.h | 26 ++ include/dt-bindings/reset/axg-aoclkc.h | 20 2 files changed, 46 insertions(+) create mode 10

[PATCH] RDMA/nldev: Fix multiple potential NULL pointer dereferences

2018-02-08 Thread Gustavo A. R. Silva
In case the message header and payload cannot be stored, function nlmsg_put returns null. Fix this by adding multiple sanity checks and avoid a potential null dereference on _nlh_ when calling nlmsg_end. Addresses-Coverity-ID: 1454215 ("Dereference null return value") Addresses-Coverity-ID: 14542

[PATCH 0/2] clk: meson-axg: Add AO Cloclk and Reset driver

2018-02-08 Thread Yixun Lan
This patch try to add AO clock and Reset driver in Amlogic's Meson-AXG SoC. Please note this patchset actually depend on the clock regmap conversion series [1]. [1] clk: meson: use regmap in clock controllers https://lkml.kernel.org/r/20180131180945.18025-1-jbru...@baylibre.com Yixun Lan (

Re: [PATCH 0/6] isolation: 1Hz residual tick offloading v5

2018-02-08 Thread Ingo Molnar
* Frederic Weisbecker wrote: > sched/isolation: Residual 1Hz scheduler tick offload > sched/isolation: Tick offload documentation Please try to start each title with a verb. [ ... and preferably not by prepending 'do' ;-) ] Beyond making changelogs more consistent, this will actua

[PATCH 2/2] clk: meson-axg: Add AO Clock and Reset controller driver

2018-02-08 Thread Yixun Lan
Adds a Clock and Reset controller driver for the Always-On part of the Amlogic Meson-AXG SoC. Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- drivers/clk/meson/Makefile| 2 +- drivers/clk/meson/axg-aoclk.c | 236 ++ drivers/clk/meson/axg-aoc

[PATCH] ASoC: use DEFINE_SHOW_ATTRIBUTE() to decrease code duplication

2018-02-08 Thread Donglin Peng
There is some duplicate code in soc-core.c,and the kernel provides DEFINE_SHOW_ATTRIBUTE() helper macro to decrease it in seq_file.h. Signed-off-by: Peng Donglin --- sound/soc/soc-core.c | 51 +-- 1 file changed, 9 insertions(+), 42 deletions(-) d

Re: [PATCH 3/6] sched/isolation: Isolate workqueues when "nohz_full=" is set

2018-02-08 Thread Ingo Molnar
* Frederic Weisbecker wrote: > - flags = HK_FLAG_TICK | HK_FLAG_TIMER | HK_FLAG_RCU | HK_FLAG_MISC; > + flags = HK_FLAG_TICK | HK_FLAG_WQ | HK_FLAG_TIMER | > + HK_FLAG_RCU | HK_FLAG_MISC; > - cpumask_copy(wq_unbound_cpumask, housekeeping_cpumask(HK_FLAG_DOMAIN)); > +

[mainline][ppc - bare-metal ] memory hotunplug operation results in kernel Oops

2018-02-08 Thread Abdul Haleem
Greetings, Todays mainline kernel has Oops messages for memory hot-unplug operation. Machine: Power 8 bare-metal Kernel: 4.15.0 Config: attached gcc: 4.8.5 Test: Memory hot-unplug echo offline > /sys/devices/system/memory/memory/state the above command triggered 2 kernel Oops messages and the b

Re: [PATCH 1/6] sched: Rename init_rq_hrtick to hrtick_rq_init

2018-02-08 Thread Ingo Molnar
* Frederic Weisbecker wrote: > Do that rename in order to normalize the hrtick namespace. > > Signed-off-by: Frederic Weisbecker > Cc: Chris Metcalf > Cc: Christoph Lameter > Cc: Luiz Capitulino > Cc: Mike Galbraith > Cc: Paul E. McKenney > Cc: Peter Zijlstra > Cc: Rik van Riel > Cc: Th

[PATCH] ASoC: use DEFINE_SHOW_ATTRIBUTE() to decrease code duplication

2018-02-08 Thread Peng Donglin
There is some duplicate code in soc-core.c,and the kernel provides DEFINE_SHOW_ATTRIBUTE() helper macro to decrease it in seq_file.h. Signed-off-by: Peng Donglin --- sound/soc/soc-core.c | 51 +-- 1 file changed, 9 insertions(+), 42 deletions(-) d

Re: [PATCH] Input: gpio_keys: Add level trigger support for GPIO keys

2018-02-08 Thread Dmitry Torokhov
On Thu, Feb 8, 2018 at 10:08 PM, Baolin Wang wrote: > On some platforms (such as Spreadtrum platform), the GPIO keys can only > be triggered by level type. How do you stop the interrupt from re-triggering as long as the key stays pressed? Thanks. -- Dmitry

[PATCH v10 1/8] v4l2-dv-timings: add v4l2_hdmi_colorimetry()

2018-02-08 Thread Tim Harvey
From: Hans Verkuil Add the v4l2_hdmi_colorimetry() function so we have a single function that determines the colorspace, YCbCr encoding, quantization range and transfer function from the InfoFrame data. Cc: Randy Dunlap Signed-off-by: Hans Verkuil --- v9: - fix kernel-doc format (Randy) dri

[PATCH v10 3/8] media: add digital video decoder entity functions

2018-02-08 Thread Tim Harvey
Add a new media entity function definition for digital TV decoders: MEDIA_ENT_F_DTV_DECODER Signed-off-by: Tim Harvey --- Documentation/media/uapi/mediactl/media-types.rst | 11 +++ include/uapi/linux/media.h| 5 + 2 files changed, 16 insertions(+) diff --gi

[PATCH v10 5/8] media: dt-bindings: Add bindings for TDA1997X

2018-02-08 Thread Tim Harvey
Acked-by: Rob Herring Acked-by: Sakari Ailus Signed-off-by: Tim Harvey --- v6: - replace copyright with SPDX tag - added Rob's ack v5: - added Sakari's ack v4: - move include/dt-bindings/media/tda1997x.h to bindings patch - clarify port node details v3: - fix typo v2: - add vendor pre

[PATCH v10 2/8] media: v4l-ioctl: fix clearing pad for VIDIOC_DV_TIMIGNS_CAP

2018-02-08 Thread Tim Harvey
Signed-off-by: Tim Harvey --- drivers/media/v4l2-core/v4l2-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 7961499..5f3670d 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/driver

[PATCH v10 7/8] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW54xx

2018-02-08 Thread Tim Harvey
The GW54xx has a front-panel microHDMI connector routed to a TDA19971 which is connected the the IPU CSI when using IMX6Q. Signed-off-by: Tim Harvey --- v5: - remove leading 0 from unit address - add newline between property list and child node v4: no changes v3: no changes v2: - add HDMI au

[PATCH v10 6/8] media: i2c: Add TDA1997x HDMI receiver driver

2018-02-08 Thread Tim Harvey
Add support for the TDA1997x HDMI receivers. Cc: Hans Verkuil Signed-off-by: Tim Harvey --- v10: - removed unnecessary check for !timings in get/set/query dv timings (Hans) - dropped pointless s_stream handler (Hans) - remove need for detected_timings and always use set timings (Hans) v9: -

[PATCH v10 8/8] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW551x

2018-02-08 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v5: - add missing audmux config arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 138 ++ 1 file changed, 138 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw551x.dtsi b/arch/arm/boot/dts/imx6qdl-gw551x.dtsi index 30d4662..749548a 100

[PATCH v10 0/8] TDA1997x HDMI video reciver

2018-02-08 Thread Tim Harvey
This is a v4l2 subdev driver supporting the TDA1997x HDMI video receiver. I've tested this on a Gateworks GW54xx/GW551x with an IMX6Q/IMX6DL which uses the TDA19971 with 16bits connected to the IMX6 CSI and single-lane I2S audio providing 2-channel audio. For this configuration I've tested both 1

[PATCH v10 4/8] MAINTAINERS: add entry for NXP TDA1997x driver

2018-02-08 Thread Tim Harvey
Signed-off-by: Tim Harvey --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 845fc25..439b500 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13262,6 +13262,14 @@ T: git git://linuxtv.org/mkrufky/tuners.git S: Maintained F: dri

Re: [PATCH] power: reset: Add Spreadtrum SC27xx PMIC power off support

2018-02-08 Thread Baolin Wang
Hi Sebastian, On 9 February 2018 at 05:50, Sebastian Reichel wrote: > Hi Baolin, > > On Mon, Jan 15, 2018 at 03:58:57PM +0800, Baolin Wang wrote: >> On Spreadtrum platform, we need power off system through external SC27xx >> series PMICs including the SC2720, SC2721, SC2723, SC2730 and SC2731 chi

Assalamu alaikum

2018-02-08 Thread Mr Ibrahim Zaki
Assalamu alaikum My name is Mr. Ibrahim Zaki, I am a staff member working with BCEAO BANK here in Ouagadougou, Burkina Faso. I want you to help me receive the sum of twenty-seven million two hundred dollars ($ 27,200,000) in your bank account. This fund was deposited in the bank here by a

[V9fs-developer] [PATCH] fs/9p: don't set SB_NOATIME by default

2018-02-08 Thread jiangyiwen
User use some syscall, for example mmap(v9fs_file_mmap), it will not update atime even if user's mnt_flags have MNT_NOATIME, because v9fs default set SB_NOATIME in v9fs_set_super. For supporting access time is updated when user mount with relatime, we should clear SB_NOATIME by default. Signed-of

[PATCH] Input: gpio_keys: Add level trigger support for GPIO keys

2018-02-08 Thread Baolin Wang
On some platforms (such as Spreadtrum platform), the GPIO keys can only be triggered by level type. So this patch introduces one property to indicate if the GPIO trigger type is level trigger or edge trigger. Signed-off-by: Baolin Wang --- .../devicetree/bindings/input/gpio-keys.txt|

Re: [PATCH v9 6/8] media: i2c: Add TDA1997x HDMI receiver driver

2018-02-08 Thread Tim Harvey
On Thu, Feb 8, 2018 at 7:06 AM, Hans Verkuil wrote: > Hi Tim, > > I was so hoping I could make a pull request for this, but I still found > problems with g/s/query_dv_timings. > > I strongly suspect that v4l2-compliance would fail if you boot up the system > *without* a source connected. > > And I

Re: [PATCH v6] checkpatch.pl: Add SPDX license tag check

2018-02-08 Thread Philippe Ombredanne
On Fri, Feb 9, 2018 at 1:35 AM, Joe Perches wrote: > On Fri, 2018-02-02 at 13:18 -0800, Joe Perches wrote: >> On Fri, 2018-02-02 at 09:40 -0600, Rob Herring wrote: >> > Add SPDX license tag check based on the rules defined in >> > Documentation/process/license-rules.rst. To summarize, SPDX license

Re: [PATCH 1/2] zsmalloc: introduce zs_huge_object() function

2018-02-08 Thread Sergey Senozhatsky
On (02/09/18 14:36), Sergey Senozhatsky wrote: > +/** > + * zs_huge_object() - Test if a compressed object's size is too big for > normal > + *zspool classes and it will be stored in a huge class. > + * @sz: Size in bytes of the compressed object. > + * > + * The functions chec

Re: [PATCH 1/2] zsmalloc: introduce zs_huge_object() function

2018-02-08 Thread Sergey Senozhatsky
On (02/08/18 20:10), Matthew Wilcox wrote: [..] > Examples:: > > * Context: Any context. > * Context: Any context. Takes and releases the RCU lock. > * Context: Any context. Expects to be held by caller. > * Context: Process context. May sleep if @gfp flags permit. > * Context: Process

Re: [PATCH v6 15/15] dt-bindings: cpufreq: Document operating-points-v2-krait-cpu

2018-02-08 Thread Sricharan R
Hi Rob, On 2/9/2018 8:24 AM, Rob Herring wrote: > On Tue, Feb 06, 2018 at 09:38:28AM +0530, Sricharan R wrote: >> In Certain QCOM SoCs like ipq8064, apq8064, msm8960, msm8974 >> that has KRAIT processors the voltage/current value of each OPP >> varies based on the silicon variant in use. >> operat

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-08 Thread Ulf Magnusson
On Fri, Feb 09, 2018 at 01:19:09AM +0900, Masahiro Yamada wrote: > This works with bool, int, hex, string types. > > For bool, the symbol is set to 'y' or 'n' depending on the exit value > of the command. > > For int, hex, string, the symbol is set to the value to the stdout > of the command. (on

Re: [PATCH 17/18] tracing: Add indirect to indirect access for function based events

2018-02-08 Thread Namhyung Kim
On Fri, Feb 02, 2018 at 06:05:15PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Allow the function based events to retrieve not only the parameters offsets, > but also get data from a pointer within a parameter structure. Something > like: > > # echo 'ip_rcv(string skdev+1

Re: [alsa-devel] [PATCH] ASoC: Intel: Skylake: make function skl_clk_round_rate static

2018-02-08 Thread Vinod Koul
On Thu, Feb 08, 2018 at 02:35:30PM +, Colin King wrote: > From: Colin Ian King > > The function skl_clk_round_rate is local to the source and does not > need to be in global scope, so make it static. > > Cleans up sparse warning: > sound/soc/intel/skylake/skl-ssp-clk.c:250:6: warning: symbol

tg3 crashes under high load, when using 100Mbits

2018-02-08 Thread Kai Heng Feng
Hi Broadcom folks, We are now enabling a new platform with tg3 nic, unfortunately we observed the bug [1] that dated back to 2015. I tried commit 4419bb1cedcd ("tg3: Add workaround to restrict 5762 MRRS to 2048”) but it does’t work. Do you have any idea how to solve the issue? [1] https://

[PATCH v2] x86/kvm/vmx: Don't halt vcpu when L1 is injecting events to L2

2018-02-08 Thread Chao Gao
Although L2 is in halt state, it will be in the active state after VM entry if the VM entry is vectoring according to SDM 26.6.2 Activity State. Halting the vcpu here means the event won't be injected to L2 and this decision isn't reported to L1. Thus L0 drops an event that should be injected to L2

Re: [PATCH v5 1/3] arm64/ras: support sea error recovery

2018-02-08 Thread gengdongjiu
On 2018/2/8 3:03, James Morse wrote: > Hi Xie XiuQi, > > On 30/01/18 19:19, James Morse wrote: >> On 26/01/18 12:31, Xie XiuQi wrote: >>> With ARM v8.2 RAS Extension, SEA are usually triggered when memory errors >>> are consumed. According to the existing process, errors occurred in the >>> kern

Re: [PATCH 1/2] zsmalloc: introduce zs_huge_object() function

2018-02-08 Thread Sergey Senozhatsky
On (02/08/18 20:10), Matthew Wilcox wrote: > > > > +/* > > > > + * Check if the object's size falls into huge_class area. We must take > > > > + * ZS_HANDLE_SIZE into account and test the actual size we are going to > > > > + * use up. zs_malloc() unconditionally adds handle size before it > > > >

YOUR FUND TRANSFER..

2018-02-08 Thread Mr Femi
This mail is been writing to you because we have come to understand that you have lost a lot of money all because you want to receive your fund well note that all that have been put to a stop as the federal government of Nigeria has promised to assist you with the sum of $5million in other to compe

Re: [PATCH] mm: thp: fix potential clearing to referenced flag in page_idle_clear_pte_refs_one()

2018-02-08 Thread Yang Shi
On 2/8/18 8:33 PM, Kirill A. Shutemov wrote: On Thu, Feb 08, 2018 at 02:39:26PM -0800, Andrew Morton wrote: On Tue, 6 Feb 2018 08:06:36 +0800 Yang Shi wrote: For PTE-mapped THP, the compound THP has not been split to normal 4K pages yet, the whole THP is considered referenced if any one of

Re: [PATCH] mm: thp: fix potential clearing to referenced flag in page_idle_clear_pte_refs_one()

2018-02-08 Thread Kirill A. Shutemov
On Thu, Feb 08, 2018 at 02:39:26PM -0800, Andrew Morton wrote: > On Tue, 6 Feb 2018 08:06:36 +0800 Yang Shi > wrote: > > > For PTE-mapped THP, the compound THP has not been split to normal 4K > > pages yet, the whole THP is considered referenced if any one of sub > > page is referenced. > > >

Re: net: thunder: change q_len's type to handle max ring size

2018-02-08 Thread Sunil Kovvuri
On Fri, Feb 9, 2018 at 3:27 AM, Dean Nelson wrote: > On 02/08/2018 02:34 PM, David Miller wrote: >> >> From: Dean Nelson >> Date: >> >>> The Cavium thunder nicvf driver supports rx/tx rings of up to 65536 >>> entries per. >>> The number of entires are stored in the q_len member of struct >>> q_de

Re: [RFC] Limit mappings to ten per page per process

2018-02-08 Thread Kirill A. Shutemov
On Thu, Feb 08, 2018 at 01:37:43PM -0800, Matthew Wilcox wrote: > On Thu, Feb 08, 2018 at 12:21:00PM -0800, Matthew Wilcox wrote: > > Now that I think about it, though, perhaps the simplest solution is not > > to worry about checking whether _mapcount has saturated, and instead when > > adding a ne

Re: [PATCH] ath9k: turn on btcoex_enable as default

2018-02-08 Thread Kai Heng Feng
Hi Felix, On Feb 8, 2018, at 7:02 PM, Felix Fietkau wrote: On 2018-02-08 06:28, Kai-Heng Feng wrote: Without btcoex_enable, WiFi activies make both WiFi and Bluetooth unstable if there's a bluetooth connection. Enable this option when bt_ant_diversity is disabled. BugLink: https://bugs.laun

Re: [RFC PATCH 7/7] Test stackprotector options in Kconfig to kill CC_STACKPROTECTOR_AUTO

2018-02-08 Thread Masahiro Yamada
2018-02-09 3:30 GMT+09:00 Kees Cook : > On Fri, Feb 9, 2018 at 3:19 AM, Masahiro Yamada > wrote: >> Add CC_HAS_STACKPROTECTOR(_STRONG) and proper dependency. >> >> I re-arranged the choice values, _STRONG, _REGULAR, _NONE in this order >> because the default of choice is the first visible symbol.

Re: [RFC PATCH 2/4] softirq: Per vector deferment to workqueue

2018-02-08 Thread Mike Galbraith
On Thu, 2018-02-08 at 20:30 +, Dmitry Safonov wrote: > On Thu, 2018-02-08 at 15:22 -0500, David Miller wrote: > > From: Dmitry Safonov > > Date: Thu, 08 Feb 2018 20:14:55 + > > > > > On Thu, 2018-02-08 at 13:45 -0500, David Miller wrote: > > >> From: Sebastian Andrzej Siewior > > >> Date

Re: [PATCH 1/2] zsmalloc: introduce zs_huge_object() function

2018-02-08 Thread Matthew Wilcox
On Fri, Feb 09, 2018 at 11:55:20AM +0900, Sergey Senozhatsky wrote: > On (02/08/18 18:30), Mike Rapoport wrote: > [..] > > > > > > +/* > > > + * Check if the object's size falls into huge_class area. We must take > > > + * ZS_HANDLE_SIZE into account and test the actual size we are going to > > >

Re: Regression after commit 19809c2da28a ("mm, vmalloc: use __GFP_HIGHMEM implicitly")

2018-02-08 Thread Matthew Wilcox
On Thu, Feb 08, 2018 at 03:20:04PM -0800, Matthew Wilcox wrote: > So ... we could enable ZONE_DMA32 on 32-bit architectures. I don't know > what side-effects that might have; it's clearly only been tested on 64-bit > architectures so far. > > It might be best to just revert 19809c2da28a and the f

Re: ocxl: fix signed comparison with less than zero

2018-02-08 Thread Michael Ellerman
On Tue, 2018-01-30 at 15:11:44 UTC, Colin King wrote: > From: Colin Ian King > > Currently the comparison of used < 0 is always false because > uses is a size_t. Fix this by making used a ssize_t type. > > Detected by Coccinelle: > drivers/misc/ocxl/file.c:320:6-10: WARNING: Unsigned expression

HOPE TO HEAR FROM YOU

2018-02-08 Thread Miss Nadege
Hello dear how are you? Nice to meet you,my name is Miss Nadege Yann, can we become friends? hope to hear from you so that we can know each other very well, love matters mostly in life,i will also send you my pictures and tell you more about myself, my email address is(missnade...@gmail.com) w

Re: [PATCH] arm: dts: mt7623: enable all four available UARTs on bananapi-r2

2018-02-08 Thread Sean Wang
On Wed, 2018-02-07 at 17:01 +0100, Matthias Brugger wrote: > > On 01/23/2018 09:51 AM, Sean Wang wrote: > > On Sat, 2017-12-23 at 23:35 +0800, Sean Wang wrote: > >> On Sat, 2017-12-23 at 08:52 +0100, Matthias Brugger wrote: > >>> > >>> On 12/22/2017 07:06 AM, sean.w...@mediatek.com wrote: > F

Re: [RFC 2/2] Introduce sysctl(s) for the migration costs

2018-02-08 Thread Mike Galbraith
On Thu, 2018-02-08 at 14:19 -0800, Rohit Jain wrote: > This patch introduces the sysctl for sched_domain based migration costs. > These in turn can be used for performance tuning of workloads. With this patch, we trade 1 completely bogus constant (cost is really highly variable) for 3, twiddling o

Re: [PATCH v2 14/16] arm64: dts: mt7622: add thermal and related nodes

2018-02-08 Thread Sean Wang
On Wed, 2018-02-07 at 12:43 +0100, Matthias Brugger wrote: > > On 02/06/2018 10:53 AM, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > add nodes for the thermal controller and associated thermal zone using > > CPU as the cooling device for each trip point. In addition, add a fixup > >

Re: [PATCH] cpufreq: schedutil: rate limits for SCHED_DEADLINE

2018-02-08 Thread Viresh Kumar
On 08-02-18, 18:01, Claudio Scordino wrote: > When the SCHED_DEADLINE scheduling class increases the CPU utilization, > we should not wait for the rate limit, otherwise we may miss some deadline. > > Tests using rt-app on Exynos5422 have shown reductions of about 10% of > deadline > misses for ta

Re: [lustre-devel] [PATCH 41/80] staging: lustre: lmv: separate master object with master stripe

2018-02-08 Thread Oleg Drokin
> On Feb 8, 2018, at 10:10 PM, NeilBrown wrote: > > On Thu, Feb 08 2018, Oleg Drokin wrote: > >>> On Feb 8, 2018, at 8:39 PM, NeilBrown wrote: >>> >>> On Tue, Aug 16 2016, James Simmons wrote: >> >> my that’s an old patch >> >>> > ... >>> >>> Whoever converted it to "!strcmp()" inverted t

Re: [RFC 1/2] sched: reduce migration cost between faster caches for idle_balance

2018-02-08 Thread Mike Galbraith
On Thu, 2018-02-08 at 14:19 -0800, Rohit Jain wrote: > This patch makes idle_balance more dynamic as the sched_migration_cost > is now accounted on a sched_domain level. This in turn is done in > sd_init when we know what the topology relationships are. > > For introduction sakes cost of migration

Re: [PATCH v2 04/16] arm64: dts: mt7622: add pinctrl related device nodes

2018-02-08 Thread Sean Wang
On Wed, 2018-02-07 at 12:31 +0100, Matthias Brugger wrote: > > On 02/06/2018 10:52 AM, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > add pinctrl device nodes and rfb1 board, additionally include all pin > > groups possible being used on rfb1 board and available gpio keys. > > > > Si

Re: [PATCH v2 01/16] dt-bindings: clock: mediatek: add missing required #reset-cells

2018-02-08 Thread Sean Wang
On Wed, 2018-02-07 at 11:45 +0100, Matthias Brugger wrote: > > On 02/06/2018 10:52 AM, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > All ethsys, pciesys and ssusbsys internally include reset controller, so > > explicitly add back these missing cell definitions to related bindings > >

Re: [PATCH 15/18] tracing: Add string type for dynamic strings in function based events

2018-02-08 Thread Steven Rostedt
On Fri, 9 Feb 2018 12:15:47 +0900 Namhyung Kim wrote: > > @@ -124,6 +128,16 @@ enum { > > FUNC_TYPE_MAX > > }; > > > > +#define MAX_STR512 > > + > > +/* Two contexts, normal and NMI, hence the " * 2" */ > > +struct func_string { > > + charbuf[MAX_STR * 2]; > > +};

Re: [PATCH v2] printk: Relocate wake_klogd check close to the end of console_unlock()

2018-02-08 Thread Sergey Senozhatsky
On (02/08/18 17:48), Petr Mladek wrote: [..] > > > > I need to do more "research" on this. I though about it some time ago, > > and I think that waking up klogd _only_ when we don't have any pending > > logbuf messages still can be pretty late. Can't it? We can spin in > > console_unlock() printin

Re: [PATCH] KVM: X86: Fix SMRAM accessing even if VM is shutdown

2018-02-08 Thread Xiao Guangrong
On 02/08/2018 06:31 PM, Paolo Bonzini wrote: On 08/02/2018 09:57, Xiao Guangrong wrote: Maybe it should return RET_PF_EMULATE, which would cause an emulation failure and then an exit with KVM_EXIT_INTERNAL_ERROR. So the root cause is that a running vCPU accessing the memory whose memslot is

Re: [PATCH] ftrace: fix the file mode of graph tracer and stacktracer

2018-02-08 Thread Steven Rostedt
On Fri, 9 Feb 2018 10:33:31 +0800 "Zhengyuan Liu" wrote: > It doesn't affect root writing to those files as root is a super user and > can access to any write-only files. I just want to make those writable Ah, I know when I vim a file that's read only, even for root vim will complain. But there

Re: [PATCH 15/18] tracing: Add string type for dynamic strings in function based events

2018-02-08 Thread Namhyung Kim
On Fri, Feb 02, 2018 at 06:05:13PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Add a "string" type that will create a dynamic length string for the > event, this is the same as the __string() field in normal TRACE_EVENTS. > > [ missing 'static' found by Fengguang Wu's kbui

Re: [PATCH v28 0/4] Virtio-balloon: support free page reporting

2018-02-08 Thread Michael S. Tsirkin
On Fri, Feb 09, 2018 at 11:11:39AM +0800, Wei Wang wrote: > On 02/09/2018 03:55 AM, Michael S. Tsirkin wrote: > > On Thu, Feb 08, 2018 at 05:50:16PM +0800, Wei Wang wrote: > > > > > Details: > > > Set up a Ping-Pong local live migration, where the guest ceaselessy > > > migrates between the source

linux-next: Signed-off-by missing for commit in the btrfs-kdave tree

2018-02-08 Thread Stephen Rothwell
Hi David, Commit 7f53a77da963 ("Btrfs: fix btrfs_evict_inode to handle abnormal inodes correctly") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell

Re: [PATCH 41/80] staging: lustre: lmv: separate master object with master stripe

2018-02-08 Thread NeilBrown
On Thu, Feb 08 2018, Oleg Drokin wrote: >> On Feb 8, 2018, at 8:39 PM, NeilBrown wrote: >> >> On Tue, Aug 16 2016, James Simmons wrote: > > my that’s an old patch > >> ... >> >> Whoever converted it to "!strcmp()" inverted the condition. This is a >> perfect example of why I absolutely *loath

Re: [PATCH v28 0/4] Virtio-balloon: support free page reporting

2018-02-08 Thread Wei Wang
On 02/09/2018 03:55 AM, Michael S. Tsirkin wrote: On Thu, Feb 08, 2018 at 05:50:16PM +0800, Wei Wang wrote: Details: Set up a Ping-Pong local live migration, where the guest ceaselessy migrates between the source and destination. Linux compilation, i.e. make bzImage -j4, is performed during the

Re: ipmi_si fails to get BMC ID

2018-02-08 Thread Chris Chiu
On Thu, Feb 8, 2018 at 11:53 PM, Corey Minyard wrote: > On 02/07/2018 09:01 PM, Chris Chiu wrote: >> >> Hi, >> We are working with a new desktop Acer Veriton Z4640G and get >> stumbled on failing to enter S3 suspend with kernel version 4.14 even >> the latest 4.15+. Here's the kernel log >> h

Re: [v3] ARM: dts: imx: Add support for Advantech DMS-BA16

2018-02-08 Thread Shawn Guo
On Thu, Feb 08, 2018 at 11:24:53AM -0800, Yung-Ching LIN wrote: > Will correct the USB_OTG_ID pinmux setting in the v4. > Do you mind if I redefine reg_usb_otg_vbus node since we just started > using OTG host/device mode on this board ? Not at all. Feel free to change it. Shawn

Re: [PATCH v2] ARM: dts: imx6ull: add Toradex Colibri iMX6ULL support

2018-02-08 Thread Shawn Guo
On Thu, Feb 08, 2018 at 10:25:47AM +0100, ste...@agner.ch wrote: > On 08.02.2018 08:47, Shawn Guo wrote: > > On Tue, Feb 06, 2018 at 05:49:03PM +0100, Stefan Agner wrote: > >> Add support for the Computer on Module Colibri iMX6ULL and its > >> Bluetooth/Wifi variant along with the development/evalu

Re: [PATCH v6 15/15] dt-bindings: cpufreq: Document operating-points-v2-krait-cpu

2018-02-08 Thread Rob Herring
On Tue, Feb 06, 2018 at 09:38:28AM +0530, Sricharan R wrote: > In Certain QCOM SoCs like ipq8064, apq8064, msm8960, msm8974 > that has KRAIT processors the voltage/current value of each OPP > varies based on the silicon variant in use. > operating-points-v2-krait-cpu specifies the phandle to nvmem

Re: [PATCH 1/2] zsmalloc: introduce zs_huge_object() function

2018-02-08 Thread Sergey Senozhatsky
On (02/08/18 18:30), Mike Rapoport wrote: [..] > > > > +/* > > + * Check if the object's size falls into huge_class area. We must take > > + * ZS_HANDLE_SIZE into account and test the actual size we are going to > > + * use up. zs_malloc() unconditionally adds handle size before it performs > > +

Re: [PATCH] ARM: dts: ls1021a: add quadspi node

2018-02-08 Thread Shawn Guo
On Thu, Feb 08, 2018 at 03:24:40PM +0100, Rasmus Villemoes wrote: > On 2018-02-05 09:03, Shawn Guo wrote: > > On Fri, Jan 26, 2018 at 03:20:14PM +0100, Rasmus Villemoes wrote: > >> Add a node to device tree repesenting the QuadSPI controller present on > >> LS1021a. Driver support has been present

linux-next: Tree for Feb 9

2018-02-08 Thread Stephen Rothwell
Hi all, Please do not add any v4.17 material to your linux-next included branches until after v4.16-rc1 has been released. Changes since 20180208: The btrfs-kdave tree still had its build failure so I used the version from next-20180206. The vhost tree lost its build failure. The akpm tree

Re: [PATCH v3 2/2] ASoC: ak5558: Add bindings for AK5558 ADC

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 07:01:55PM +0200, Daniel Baluta wrote: > Document the bindings for AK5558 ADC. > > Signed-off-by: Daniel Baluta > --- > Documentation/devicetree/bindings/sound/ak5558.txt | 22 > ++ > 1 file changed, 22 insertions(+) > create mode 100644 Documentatio

Re: [PATCH 8/8] ASoC: samsung,tm2-audio DT binding documentation update

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 04:44:03PM +0100, Sylwester Nawrocki wrote: > This patch documents additional entries of the audio-codec and > i2s-controller properties required for the HDMI audio support. > > Signed-off-by: Sylwester Nawrocki > --- > .../devicetree/bindings/sound/samsung,tm2-audio.txt

Re: [PATCH 6/8] ASoC: samsung: i2s: Update clock-output-names property documentation

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 04:44:01PM +0100, Sylwester Nawrocki wrote: > The clock-output-names property is marked as deprecated. While at it, > #clock-cells property's value is corrected in the example snippet > and few typos are fixed. > > Signed-off-by: Sylwester Nawrocki > --- > .../devicetree/

Re: [PATCH] ftrace: fix the file mode of graph tracer and stacktracer

2018-02-08 Thread Zhengyuan Liu
2018-02-08 23:21 GMT+08:00 Steven Rostedt : > On Thu, 8 Feb 2018 09:41:53 +0800 > Zhengyuan Liu wrote: > >> It's something looks weird that those files could be written by root >> but shows with no write permission by ll command. >> Chen LinX has sent a similar patch to fix >> graph function fil

Re: [PATCH] scsi: ufs-qcom: add number of lanes per direction

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 08:02:07PM +0800, Can Guo wrote: > From: Gilad Broner > > Different platforms may have different number of lanes for the UFS link. > Add parameter to device tree specifying how many lanes should be > configured for the UFS link. And don't print err message for clocks > tha

Re: [PATCH v1 1/2] dt-bindings/display/panel: otm8009a: Add optional power-supply property

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 10:45:31AM +0100, Philippe Cornu wrote: > Some boards use a dedicated voltage regulator for this panel. > Add & document this related optional power-supply property. > > Signed-off-by: Philippe Cornu > --- > Documentation/devicetree/bindings/display/panel/orisetech,otm800

Re: [PATCHv3] tlv320dac33: Add device tree bindings

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 09:24:45AM +0100, Pavel Machek wrote: > > This adds device tree bindings for tlv320dac33.c. > > Acked-by: Peter Ujfalusi > Signed-off-by: Pavel Machek Reviewed-by: Rob Herring

Re: [PATCH v1 1/2] dt-binding: clock: document NPCM7xx clock DT bindings

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 10:22:54AM +0200, Tomer Maimon wrote: > Added device tree binding documentation for Nuvoton NPCM7xx clocks. > > Signed-off-by: Tomer Maimon > --- > .../bindings/clock/nuvoton,npcm7xx-clk.txt | 84 > ++ > 1 file changed, 84 insertions(+) > cre

Re: [patch v1 0/4] mlx-platform: Add support for new Mellanox systems, code improvement, fixes for msn21xx system

2018-02-08 Thread Darren Hart
On Fri, Feb 02, 2018 at 08:45:44AM +, Vadim Pasternak wrote: > The patchset: > - adds defines for bus numbers, used for system topology description; > - fixes definition for power cables for system family msn21xx; > - introduces support for new Mellanox systems; > > Vadim Pasternak (4): > pl

Re: [patch v1 4/4] platform/x86: mlx-platform: Add support for new Mellanox systems

2018-02-08 Thread Darren Hart
On Fri, Feb 02, 2018 at 08:45:48AM +, Vadim Pasternak wrote: > Add support for the next new Mellanox system types: msn274x, msn201x, > qmb7, sn34, sn37. The current members of these types are: Please break this up into one patch per system type, or a similar logical breakdown. -- Darren Hart

Re: [PATCH 03/12] i2c: qup: remove redundant variables for BAM SG count

2018-02-08 Thread Sricharan R
Hi Abhishek, On 2/3/2018 1:28 PM, Abhishek Sahu wrote: > The rx_nents and tx_nents are redundant. rx_buf and tx_buf can > be used for total number of SG entries. > > Signed-off-by: Abhishek Sahu > --- > drivers/i2c/busses/i2c-qup.c | 26 ++ > 1 file changed, 10 insertion

[PATCH] irqchip: Use %px to print pointer value

2018-02-08 Thread Jaedon Shin
Since commit ad67b74d2469 ("printk: hash addresses printed with %p") pointers printed with %p are hashed. Use %px instead of %p to print pointer value. Signed-off-by: Jaedon Shin --- drivers/irqchip/irq-bcm7038-l1.c | 2 +- drivers/irqchip/irq-bcm7120-l2.c | 2 +- drivers/irqchip/irq-brcmstb-l2.

Re: [PATCH] ASoC: Intel: Skylake: make function skl_clk_round_rate static

2018-02-08 Thread Takashi Sakamoto
Hi, On Feb 8 2018 23:35, Colin King wrote: From: Colin Ian King The function skl_clk_round_rate is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: sound/soc/intel/skylake/skl-ssp-clk.c:250:6: warning: symbol 'skl_clk_round_rate' was no

Re: [PATCH 41/80] staging: lustre: lmv: separate master object with master stripe

2018-02-08 Thread Oleg Drokin
> On Feb 8, 2018, at 8:39 PM, NeilBrown wrote: > > On Tue, Aug 16 2016, James Simmons wrote: my that’s an old patch > >> >> +static inline bool >> +lsm_md_eq(const struct lmv_stripe_md *lsm1, const struct lmv_stripe_md >> *lsm2) >> +{ >> +int idx; >> + >> +if (lsm1->lsm_md_magic !=

Re: [PATCH 13/18] tracing: Add array type to function based events

2018-02-08 Thread Steven Rostedt
On Fri, 9 Feb 2018 10:17:45 +0900 Namhyung Kim wrote: > > + # echo 1 > events/functions/ip_rcv/enable > > + # cat trace > > +-0 [003] ..s3 219.813582: > > __netif_receive_skb_core->ip_rcv(skb=880118195e00, > > perm_addr=b4,b5,2f,ce,18,65) > > +-0 [003] ..s3 219.813595:

Re: [PATCH RESEND v4] perf/core: Fix installing cgroup event into cpu

2018-02-08 Thread Lin Xiulei
2018-02-08 23:36 GMT+08:00 Jiri Olsa : > > On Thu, Feb 08, 2018 at 11:33:44AM +0800, linxiu...@gmail.com wrote: > > From: "leilei.lin" > > > > Do not install cgroup event into the CPU context and schedule it > > if the cgroup is not running on this CPU > > > > While there is no task of cgroup runn

Re: [PATCH V2 0/6]nvme-pci: fixes on nvme_timeout and nvme_dev_disable

2018-02-08 Thread jianchao.wang
Hi Keith and Sagi Many thanks for your kindly response. That's really appreciated. On 02/09/2018 01:56 AM, Keith Busch wrote: > On Thu, Feb 08, 2018 at 05:56:49PM +0200, Sagi Grimberg wrote: >> Given the discussion on this set, you plan to respin again >> for 4.16? > > With the exception of mayb

  1   2   3   4   5   6   7   8   >