[PATCH RFC 1/3] cgroup: list all subsystem states in debugfs files

2018-08-12 Thread Konstantin Khlebnikov
After removing cgroup subsystem state could leak or live in background forever because it is pinned by some reference. For example memory cgroup could be pinned by pages in cache or tmpfs. This patch adds common debugfs interface for listing basic state for each controller. Controller could define

Re: [PATCH v8 17/22] s390: vfio-ap: zeroize the AP queues.

2018-08-12 Thread Cornelia Huck
On Fri, 10 Aug 2018 12:24:47 -0400 Tony Krowiak wrote: > On 08/10/2018 07:16 AM, Cornelia Huck wrote: > > On Fri, 10 Aug 2018 12:49:08 +0200 > > Pierre Morel wrote: > > > >> On 10/08/2018 11:14, Cornelia Huck wrote: > >>> On Wed, 8 Aug 2018 10:44:27 -0400 > >>> Tony Krowiak wrote: > >>>

[PATCH RFC 2/3] proc/kpagecgroup: report also inode numbers of offline cgroups

2018-08-12 Thread Konstantin Khlebnikov
By default this interface reports inode number of closest online ancestor if cgroups is offline (removed). Information about real owner is required for detecting which pages keep removed cgroup. This patch adds per-file mode which is changed by writing 64-bit flags into opened /proc/kpagecgroup. F

[PATCH RFC 3/3] tools/vm/page-types: add flag for showing inodes of offline cgroups

2018-08-12 Thread Konstantin Khlebnikov
With flag -R|--real-cgroup page-types will report real owner. Signed-off-by: Konstantin Khlebnikov --- tools/vm/page-types.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/tools/vm/page-types.c b/tools/vm/page-types.c index cce853dca691..453dbbb9fe8b 10

Re: [PATCH] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-08-12 Thread Taniya Das
Hello Craig, Could you please correct the authorship and also provide the reference to code where this is picked from? On 8/11/2018 1:51 AM, Craig Tatlor wrote: Add support for the global clock controller found on SDM660 based devices. This should allow most non-multimedia device drivers to p

[PATCH] kernfs: update comment about kernfs_path() return value

2018-08-12 Thread Konstantin Khlebnikov
Now it returns the length of the full path or error code. Signed-off-by: Konstantin Khlebnikov Fixes: 3abb1d90f5d9 ("kernfs: make kernfs_path*() behave in the style of strlcpy()") --- include/linux/kernfs.h |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/

Re: [PATCH 00/16] staging: gasket: return of the son of cleanups

2018-08-12 Thread Christoph Hellwig
Btw, can someone explain what 'gasket' even is? A quick look through the directory didn't provide any answers. And please don't just send that anser to me, put it in the source tree (Kconfig, and if needed another documentation file).

Re: [PATCH 1/4] ARM: dts: exynos: Add missing used PMIC regulators on Exynos5422 Odroid boards

2018-08-12 Thread Anand Moon
Hi Krzysztof, On Sun, 12 Aug 2018 at 18:55, Krzysztof Kozlowski wrote: > > On 11 August 2018 at 08:39, Anand Moon wrote: > > Hi Krzysztof, > > > > These patches should also be ported to u-boot to enable PMIC. > > > > I was just looking into S2MPS11B data sheet > > According to the 1.2 Key Featur

Re: [PATCH 05/25] ubifs: implement ubifs_lpt_lookup using ubifs_pnode_lookup

2018-08-12 Thread Richard Weinberger
Am Montag, 13. August 2018, 08:31:27 CEST schrieb Sascha Hauer: > On Wed, Jul 04, 2018 at 02:41:17PM +0200, Sascha Hauer wrote: > > ubifs_lpt_lookup() starts by looking up the nth pnode in the LPT. We > > already have this functionality in ubifs_pnode_lookup(). Use this > > function rather than ope

[PATCH v3 4/4] clk: qcom: Add graphics clock controller driver for SDM845

2018-08-12 Thread Amit Nischal
Add support for the graphics clock controller found on SDM845 based devices. This would allow graphics drivers to probe and control their clocks. Signed-off-by: Amit Nischal --- drivers/clk/qcom/Kconfig| 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gpucc-sdm845.c | 43

[PATCH v3 3/4] dt-bindings: clock: Introduce QCOM Graphics clock bindings

2018-08-12 Thread Amit Nischal
Add device tree bindings for graphics clock controller for Qualcomm Technology Inc's SDM845 SoCs. Signed-off-by: Amit Nischal --- .../devicetree/bindings/clock/qcom,gpucc.txt | 18 ++ include/dt-bindings/clock/qcom,gpucc-sdm845.h | 38 ++ 2 files changed, 5

[PATCH v3 1/4] clk: qcom: gdsc: Add support to enable/disable the clocks with GDSC

2018-08-12 Thread Amit Nischal
For some of the GDSCs, there is a requirement to enable/disable the few clocks before turning on/off the gdsc power domain. Add support for the same by specifying a list of clk_hw pointers per gdsc and enable/disable them along with power domain on/off callbacks. Signed-off-by: Amit Nischal ---

[PATCH v3 0/4] Add QCOM graphics clock controller driver for SDM845

2018-08-12 Thread Amit Nischal
Changes in v3: * Modified the determine_rate() op to use the min/max rate range to round the requested rate within the set_rate range. With this, requested set rate will always stay within the limits. Changes in v2: Addressed review comments given by Stephen: https://lkml.org/lkml/2018/6/6/294

[PATCH v3 2/4] clk: qcom: Add clk_rcg2_gfx3d_ops for SDM845

2018-08-12 Thread Amit Nischal
To turn on the gpu_gx_gdsc, there is a hardware requirement to turn on the root clock (GFX3D RCG) first which would be the turn on signal for the gdsc along with the SW_COLLAPSE. As per the current implementation of clk_rcg2_shared_ops, it clears the root_enable bit in the enable() clock op. But du

Re: [PATCH 05/25] ubifs: implement ubifs_lpt_lookup using ubifs_pnode_lookup

2018-08-12 Thread Sascha Hauer
On Wed, Jul 04, 2018 at 02:41:17PM +0200, Sascha Hauer wrote: > ubifs_lpt_lookup() starts by looking up the nth pnode in the LPT. We > already have this functionality in ubifs_pnode_lookup(). Use this > function rather than open coding its functionality. > > Signed-off-by: Sascha Hauer > --- > f

Re: [PATCH 2/4] clk: qcom: Add clk_rcg2_gfx3d_ops for SDM845

2018-08-12 Thread Amit Nischal
On 2018-08-08 11:28, Stephen Boyd wrote: Quoting Jordan Crouse (2018-08-06 08:04:37) On Mon, Aug 06, 2018 at 02:37:18PM +0530, Amit Nischal wrote: > On 2018-08-03 04:14, Stephen Boyd wrote: > >Quoting Amit Nischal (2018-07-30 04:28:56) > >>On 2018-07-25 12:28, Stephen Boyd wrote: > >>> > >>> Ok.

Re: [PATCH] zram: fix bug storing backing_dev

2018-08-12 Thread Minchan Kim
On Wed, Aug 08, 2018 at 03:31:00PM -0700, Peter Kalauskas wrote: > The call to strlcpy in backing_dev_store is incorrect. It should take > the size of the destination buffer instead of the size of the source > buffer. Additionally, ignore the newline character (\n) when reading > the new file_name

Re: [PATCH] zsmalloc: fix linking bug in init_zspage

2018-08-12 Thread Minchan Kim
Hi, On Thu, Aug 09, 2018 at 08:28:17PM -0400, zhouxianrong wrote: > From: zhouxianrong > > The last partial object in last subpage of zspage should not be linked > in allocation list. Otherwise it could trigger BUG_ON explicitly at > function zs_map_object. But it happened rarely. Could you be

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-12 Thread Ravi Bangoria
Hi Song, On 08/11/2018 01:27 PM, Song Liu wrote: >> + >> +static void delayed_uprobe_delete(struct delayed_uprobe *du) >> +{ >> + if (!du) >> + return; > Do we really need this check? Not necessary though, but I would still like to keep it for a safety. > >> + list_d

[PATCH] nds32: Fix empty call trace

2018-08-12 Thread Zong Li
The compiler predefined macro 'NDS32_ABI_2' had been removed, it should use the '__NDS32_ABI_2' here. Signed-off-by: Zong Li --- arch/nds32/kernel/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/nds32/kernel/traps.c b/arch/nds32/kernel/traps.c index a6205fd..f0e9

Re: [PATCH v2 1/3] dt-bindings: interrupt-controller: Actions external interrupt controller

2018-08-12 Thread Manivannan Sadhasivam
Hi Parthiban, On Sun, Aug 12, 2018 at 02:22:13PM +0200, Parthiban Nallathambi wrote: > Actions Semi OWL family SoC's provides support for external interrupt > controller to be connected and controlled using SIRQ pins. S500, S700 > and S900 provides 3 SIRQ lines and works independently for 3 extern

Re: [PATCH] mm: migration: fix migration of huge PMD shared pages

2018-08-12 Thread kbuild test robot
Hi Mike, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18 next-20180810] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Mike-

Re: [BUG] kernel: rcu: a possible sleep-in-atomic-context bug in srcu_read_delay()

2018-08-12 Thread Paul E. McKenney
On Mon, Aug 13, 2018 at 11:04:10AM +0800, Jia-Ju Bai wrote: > The kernel may sleep with holding a spinlock. > > The function call paths (from bottom to top) in Linux-4.16 are: > > [FUNC] schedule_timeout_interruptible > kernel/rcu/rcutorture.c, 523: schedule_timeout_interruptible in > srcu_read_d

Re: [PATCH] mm: migration: fix migration of huge PMD shared pages

2018-08-12 Thread kbuild test robot
Hi Mike, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18 next-20180810] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Mike-

[BUG] fs: nfs: pnfs_nfs: a possible sleep-in-atomic-context bug in pnfs_generic_recover_commit_reqs()

2018-08-12 Thread Jia-Ju Bai
The kernel may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] mutex_lock_nested fs/nfs/write.c, 1045: mutex_lock_nested in nfs_scan_commit_list fs/nfs/pnfs_nfs.c, 145: nfs_scan_commit_list in pnfs_generic_recover_commit_reqs fs/nfs/pnfs_nf

[BUG] fs: nfs: callback_proc: a possible sleep-in-atomic-context bug in nfs4_callback_sequence()

2018-08-12 Thread Jia-Ju Bai
The kernel may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] schedule_timeout fs/nfs/nfs4session.c, 223: schedule_timeout in nfs4_slot_wait_on_seqid fs/nfs/callback_proc.c, 466: nfs4_slot_wait_on_seqid in referring_call_exists fs/nfs/call

[PATCH] mm: migration: fix migration of huge PMD shared pages

2018-08-12 Thread Mike Kravetz
The page migration code employs try_to_unmap() to try and unmap the source page. This is accomplished by using rmap_walk to find all vmas where the page is mapped. This search stops when page mapcount is zero. For shared PMD huge pages, the page map count is always 1 not matter the number of map

[BUG] fs: jffs2: possible sleep-in-atomic-context bugs in jffs2_iget

2018-08-12 Thread Jia-Ju Bai
The kernel may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] schedule fs/inode.c, 1916: schedule in __wait_on_freeing_inode fs/inode.c, 826: __wait_on_freeing_inode in find_inode_fast fs/inode.c, 1107: find_inode_fast in iget_locked fs/jffs

[PATCH] fs: jffs2: fix a sleep-in-atomic-context bug in jffs2_alloc_refblock()

2018-08-12 Thread Jia-Ju Bai
The kernel may sleep with holding a spin lock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] kmem_cache_alloc(GFP_KERNEL) fs/jffs2/malloc.c, 188: kmem_cache_alloc in jffs2_alloc_refblock fs/jffs2/malloc.c, 221: jffs2_alloc_refblock in jffs2_prealloc_raw_

[BUG] mm: truncate: a possible sleep-in-atomic-context bug in truncate_exceptional_pvec_entries()

2018-08-12 Thread Jia-Ju Bai
The kernel may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] schedule fs/dax.c, 259: schedule in get_unlocked_mapping_entry fs/dax.c, 450: get_unlocked_mapping_entry in __dax_invalidate_mapping_entry fs/dax.c, 471: __dax_invalidate_mapping_

[BUG] kernel: rcu: a possible sleep-in-atomic-context bug in srcu_read_delay()

2018-08-12 Thread Jia-Ju Bai
The kernel may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] schedule_timeout_interruptible kernel/rcu/rcutorture.c, 523: schedule_timeout_interruptible in srcu_read_delay kernel/rcu/rcutorture.c, 1105: [FUNC_PTR]srcu_read_delay in rcu_to

RE: [PATCH 2/2] clk: imx: imx7d: remove clks_init_on array

2018-08-12 Thread Peng Fan
Hi Anson, > > > -Original Message- > > > From: Anson Huang > > > Sent: 2018年8月8日 12:39 > > > To: shawn...@kernel.org; s.ha...@pengutronix.de; > > > ker...@pengutronix.de; Fabio Estevam ; > > > mturque...@baylibre.com; sb...@kernel.org; > > > linux-arm-ker...@lists.infradead.org; > > > linu

REPLY AS SOON AS POSSIBLE

2018-08-12 Thread Dr Chien Direktor von Hang Seng
I am Vice Chairman of Hang Seng Bank, I have Important Matter to Discuss with you concerning my late client. Died without a NEXT OF KIN. Send me your private email for full details information. email me at E-Mail: dray...@gmail.com Regards Mr.Fung

[PATCH] Bluetooth: mediatek: fix semicolon.cocci warnings

2018-08-12 Thread kbuild test robot
From: kbuild test robot drivers/bluetooth/btmtk.c:86:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: a52562c05bdf ("Bluetooth: mediatek: Add protocol support for MediaTek MT7668U USB devices") CC: Sean Wang Signed-off-by: kbui

Re: [PATCH v1 1/2] Bluetooth: mediatek: Add protocol support for MediaTek MT7668U USB devices

2018-08-12 Thread kbuild test robot
Hi Sean, I love your patch! Perhaps something to improve: [auto build test WARNING on bluetooth/master] [also build test WARNING on v4.18 next-20180810] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/c

Re: Linux 3.18.111

2018-08-12 Thread Seung-Woo Kim
On 2018년 08월 10일 19:11, Greg Kroah-Hartman wrote: > On Fri, Aug 10, 2018 at 03:43:02PM +0900, Seung-Woo Kim wrote: >> On 2018년 08월 08일 19:06, Seung-Woo Kim wrote: >>> On 2018년 07월 05일 09:52, Al Viro wrote: On Mon, Jul 02, 2018 at 10:01:25PM -0700, Linus Torvalds wrote: > On Mon, Jul 2,

Re: [PATCH] tools/memory-model: Fix a couple of typos

2018-08-12 Thread Paul E. McKenney
On Sun, Aug 12, 2018 at 02:29:28PM +0900, SeongJae Park wrote: > This commit fixes a couple of typos in README and recipies.txt. > > Signed-off-by: SeongJae Park Good catch on the first "The the"! (Why say it once when you can say it twice?) On the second, the quoted output doesn't have a comm

[git pull] vfs.git - a bit that should've been in misc branch

2018-08-12 Thread Al Viro
I expected more fs/dcache.c cleanups this cycle, so that went into a separate branch; said cleanups have missed the window, so in the hindsight it could've gone into work.misc instead. Decided not to cherry-pick, thus the separate pull request. PS: That's the last pull request for today; the only

[git pull] vfs.git - misc stuff

2018-08-12 Thread Al Viro
misc cleanups from various folks all over the place The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.misc for you t

[git pull] Christoph's aio poll, saner this time around

2018-08-12 Thread Al Viro
This time it's pretty much local to fs/aio.c. Hopefully race-free... The following changes since commit 1ffaddd029c867d134a1dde39f540dcc8c52e274: Linux 4.18-rc8 (2018-08-05 12:37:41 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git wo

[git pull] more conversions of ->lookup() to d_splice_alias()

2018-08-12 Thread Al Viro
should be reasonably complete now - the only leftovers are in ceph. Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.lookup for you to fetch changes up to 808aa6c5e34a25213bff4d80d3cdb588752879

[git pull] Dealing with icache races around mkdir and object creation in general

2018-08-12 Thread Al Viro
* NFS mkdir/open_by_handle race fix * analogous solution for FUSE, replacing the one currently in mainline * new primitive to be used when discarding halfway set up inodes on failed object creation; gives sane warranties re icache lookups not returning such doomed by still not freed inodes. A

[git pull] rework of open-related logics

2018-08-12 Thread Al Viro
* "do we need fput() or put_filp()" rules are gone - it's always fput() now. We keep track of that state where it belongs - in ->f_mode. * int *opened mess killed - in finish_open(), in ->atomic_open() instances and in fs/namei.c code around do_last()/lookup_open()/atomic_open(). * alloc_file()

Re: [PATCH] cpuidle: menu: Handle stopped tick more aggressively

2018-08-12 Thread Dan Carpenter
Hi Rafael, I love your patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Rafael-J-Wysocki/cpuidle-menu-Handle-stopped-tick-more-aggressively/20180811-191914 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next smatch warning

Linux 4.18

2018-08-12 Thread Linus Torvalds
One week late(r) and here we are - 4.18 is out there. It was a very calm week, and arguably I could just have released on schedule last week, but we did have some minor updates. Mostly networking, but some vfs race fixes (mentioned in the rc8 announment as "pending") and a couple of driver fixes (

Re: KASAN: use-after-free Read in finish_task_switch

2018-08-12 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:4110b42356f3 Add linux-next specific files for 20180810 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=107162c440 kernel config: https://syzkaller.appspot.com/x/.config?x=1d80606e3

Re: [PATCH v2 0/4] clk: meson: clk-pll driver update

2018-08-12 Thread Martin Blumenstingl
Hi Jerome, On Wed, Aug 1, 2018 at 4:00 PM Jerome Brunet wrote: > > This patchset is yet another round of update to the amlogic pll driver. > > 1) Enable bit is added so we don't rely on the bootloader or the init > value to enable to pll device. > 2) Remove unnecessary CLK_GET_RATE_NOCACHE

Re: [PATCH] arm64: dts: rockchip: Add idle-states to device tree for rk3399

2018-08-12 Thread Tao Huang
Hi Heiko: On 2018年08月10日 04:09, Heiko Stuebner wrote: > Am Mittwoch, 6. Juli 2016, 10:20:54 CEST schrieb Caesar Wang: > >> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 18 ++ >> 1 file changed, 18 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi >> b/arch/a

Re: [PATCH] docs: provide more details about security bug reporting

2018-08-12 Thread Randy Dunlap
On 08/12/2018 06:23 AM, Willy Tarreau wrote: > Hi Linus, > > please consider applying the attached patch to improve the doc on > the security reporting process. > > Thanks, > Willy Hi, I have a few corrections/comments below. They can be addressed later if the patch is being merged immediately

[PATCH v1 2/5] cpuidle: menu: Record tick delta value in struct menu_device

2018-08-12 Thread Leo Yan
Since the tick delta is used in multiple places in menu_select(), it's better to use single one variable to record this value; furthermore, for more readable we can refactor the code to split a separate function to making decision for stopping tick, which also needs to use tick delta value as one m

[PATCH v1 4/5] cpuidle: menu: Don't stay in shallow state for a long time

2018-08-12 Thread Leo Yan
To avoid staying in a shallow state for a long time, the menu governor relies on not stopping tick when detects the prediction is shorter than the tick event. This is just luckily to cover most cases but cannot say it is completely safe. For example, if the prediction is 2000us and the TICK_USEC=

[PATCH v1 3/5] cpuidle: menu: Provide menu_decide_stopping_tick()

2018-08-12 Thread Leo Yan
This patch is only for code refactoring and without functional change. It introduces a new function menu_decide_stopping_tick(); we can use this function to focus on making stopping tick decision. With moving out stopping tick decision code, it lets the below piece code is simplized only for the i

[PATCH v1 5/5] cpuidle: menu: Change to compare prediction with tick delta

2018-08-12 Thread Leo Yan
The tick stopping decision is made by comparing the prediction with TICK_USEC, if the prediction is shorter than TICK_USEC then this means the CPU is likely waken up before the tick event so it's pointless to stop tick. In reality when make the decision, though the tick period is fixed to TICK_USE

[PATCH v1 1/5] cpuidle: menu: Clean up variables usage in menu_select()

2018-08-12 Thread Leo Yan
The usage for two variables 'data->predicted_us' and 'expected_interval' in menu_select() are confused, especially these two variables are assigned with each other: firstly 'data->predicted_us' is assigned to the minimum value between 'data->predicted_us' and 'expected_interval', so it presents the

[PATCH v1 0/5] Improvement stopping tick decision making in 'menu' idle governor

2018-08-12 Thread Leo Yan
We found the CPU cannot stay in deepest idle state as expected with running synthetic workloads with mainline kernel on Arm platform (96boards Hikey620 with octa CA53 CPUs). The main issue is the criteria for decision stopping tick; now the criteria is checking expected interval is less than TICK_

Re: [RESEND PATCH v1 1/2] cpuidle: menu: Correct the criteria for stopping tick

2018-08-12 Thread leo . yan
On Sun, Aug 12, 2018 at 01:12:41PM +0200, Rafael J. Wysocki wrote: > On Fri, Aug 10, 2018 at 11:03 AM wrote: > > > > On Fri, Aug 10, 2018 at 04:49:06PM +0800, Leo Yan wrote: > > > On Fri, Aug 10, 2018 at 09:22:10AM +0200, Rafael J. Wysocki wrote: > > > > On Fri, Aug 10, 2018 at 9:13 AM, wrote: >

hallo Schönheit

2018-08-12 Thread Wesley
Es ist mir eine Freude, Sie kennenzulernen. Mein Name ist Wesley, ich komme aus dem Vereinigten Staaten von Amerika. Ich bin ledig und nie verheiratet. Ich werde mich gerne mit Ihnen bekannt machen, ich entschuldige mich für Ihre Privatsphäre. Ich hoffe, Sie werden freundlich sein genug, um mir

Re: i2c:ocores: fixes and polling mechanism

2018-08-12 Thread Wolfram Sang
> sorry to disturb you all but after one month and a half I never received > any comment about this patch set and I fear it ended up in a forgotten > corner. I would like to know if someone is considering it or not. Adding Peter to CC using his latest EMail address. Peter, you said you wanted

Re: [PATCH v3] cpuidle: menu: Handle stopped tick more aggressively

2018-08-12 Thread leo . yan
On Fri, Aug 10, 2018 at 01:15:58PM +0200, Rafael J . Wysocki wrote: > From: Rafael J. Wysocki > > Commit 87c9fe6ee495 (cpuidle: menu: Avoid selecting shallow states > with stopped tick) missed the case when the target residencies of > deep idle states of CPUs are above the tick boundary which may

[PATCH v2] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-12 Thread Craig Tatlor
Add initial pinctrl driver to support pin configuration with pinctrl framework for sdm660. Based off CAF implementation. Signed-off-by: Craig Tatlor --- Changes from v1: Adds gpio-ranges property to bindings .../bindings/pinctrl/qcom,sdm660-pinctrl.txt | 202 +++ drivers/pinctrl/qcom/Kcon

[PATCH V2] arm64: dts: sdm630 SoC and Sony Pioneer (Xperia XA2) support

2018-08-12 Thread Craig Tatlor
Initial device tree support for Qualcomm SDM630 SoC and Sony Pioneer (Xperia XA2). SDM630 is based off of the SDM660 soc and all SDM660 specific drivers are compatible with it. SDM660 is also based off of MSM8998 so it uses some of its drivers aswell. The device tree is based on the CAF 4.4 kerne

Re: [PATCH v2] cpuidle: menu: Handle stopped tick more aggressively

2018-08-12 Thread leo . yan
On Sun, Aug 12, 2018 at 12:07:45PM +0200, Rafael J. Wysocki wrote: [...] > > > > > --- linux-pm.orig/drivers/cpuidle/governors/menu.c > > > > > +++ linux-pm/drivers/cpuidle/governors/menu.c > > > > > @@ -285,9 +285,8 @@ static int menu_select(struct cpuidle_dr > > > > > { > > > > > struct

Re: [PATCH 1/4] ARM: dts: exynos: Add missing used PMIC regulators on Exynos5422 Odroid boards

2018-08-12 Thread Krzysztof Kozlowski
On 11 August 2018 at 08:39, Anand Moon wrote: > Hi Krzysztof, > > These patches should also be ported to u-boot to enable PMIC. > > I was just looking into S2MPS11B data sheet > According to the 1.2 Key Features of S2MPS11 > > BUCK1, BUCK2, BUCK3, BUCK4, BUCK6 have (0.65 V to 1.6 V) min /max rang

[PATCH] docs: provide more details about security bug reporting

2018-08-12 Thread Willy Tarreau
Hi Linus, please consider applying the attached patch to improve the doc on the security reporting process. Thanks, Willy >From a587418b587915bcaa5657909f52dc3995f29dcd Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 10 Aug 2018 16:36:04 +0200 Subject: [PATCH] docs: provide more details

Re: [PATCH] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-12 Thread Craig Tatlor
On 12 August 2018 13:42:27 BST, Christian Lamparter wrote: >On Sunday, August 12, 2018 9:18:19 AM CEST you wrote: >> On 11 August 2018 18:27:43 BST, Christian Lamparter > wrote: >> >On Saturday, August 11, 2018 6:25:19 PM CEST Craig Tatlor wrote: >> >> Add initial pinctrl driver to support pin

Re: [PATCH] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-12 Thread Christian Lamparter
On Sunday, August 12, 2018 9:18:19 AM CEST you wrote: > On 11 August 2018 18:27:43 BST, Christian Lamparter > wrote: > >On Saturday, August 11, 2018 6:25:19 PM CEST Craig Tatlor wrote: > >> Add initial pinctrl driver to support pin configuration with > >> pinctrl framework for sdm660. > >> Based

[PATCH v2 2/3] drivers/irqchip: Add Actions external interrupts support

2018-08-12 Thread Parthiban Nallathambi
Actions Semi Owl family SoC's S500, S700 and S900 provides support for 3 external interrupt controllers through SIRQ pins. Each line can be independently configured as interrupt and triggers on either of the edges (raising or falling) or either of the levels (high or low) . Each line can also be m

[PATCH v2 0/3] Add Actions Semi Owl family sirq support

2018-08-12 Thread Parthiban Nallathambi
This patch series add support for external interrupt controller in Actions Semi Owl famil of SoC's (S500, S700 and S900). Actions provides support for external interrupt controller to be connected with it's SoC's using 3 SIRQ pins. Each line can be configures independently, i.e 3 independent exter

[PATCH v2 3/3] arm64: dts: actions: Add sirq node for Actions Semi S700

2018-08-12 Thread Parthiban Nallathambi
Add sirq node for Actions Semi S700 SoC with 3 SIRQ pins support, in which external interrupt controllers can be connected. Example: atc260x: atc2603c@65 { interrupt-parent = <&sirq>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; }; Signed-off-by: Parthiban Nallathambi Signed-off-by: Sar

[PATCH v2 1/3] dt-bindings: interrupt-controller: Actions external interrupt controller

2018-08-12 Thread Parthiban Nallathambi
Actions Semi OWL family SoC's provides support for external interrupt controller to be connected and controlled using SIRQ pins. S500, S700 and S900 provides 3 SIRQ lines and works independently for 3 external interrupt controllers. Signed-off-by: Parthiban Nallathambi Signed-off-by: Saravanan Se

Re: [PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Himanshu Jha
On Sun, Aug 12, 2018 at 12:28:37PM +0530, Sumit Kumar wrote: > Remove null ptr check before kfree because kfree is null ptr safe. > Issue found by checkpatch. > > Signed-off-by: Sumit Kumar Hmm. Victim of copy-paste I guess. No worries. Next time just use: $ git commit -s To understand what -

[PATCH] Revert "uio: use request_threaded_irq instead"

2018-08-12 Thread xiubli
From: Xiubo Li Since mutex lock in irq hanler is useless currently, here will remove it together with it. This reverts commit 9421e45f5ff3d558cf8b75a8cc0824530caf3453. Reported-by: james.r.har...@intel.com CC: Ahsan Atta Signed-off-by: Xiubo Li --- drivers/uio/uio.c | 8 ++-- 1 file chan

Część piękna!!!

2018-08-12 Thread Wesley
Dzień dobry, mam nadzieję, że ten list dobrze cię spotka? Chciałbym cię lepiej poznać, jeśli mogę być taki odważny. Uważam się za osobę łatwą w prowadzeniu, pełną przygód, uczciwą i kochającą zabawę. wszystko, czego potrzebuję, to tylko twoja uwaga i szansa, by poznać cię bardziej, jeśli nie mas

Re: Problems with uio_pci_generic in v4.18-rc8

2018-08-12 Thread Xiubo Li
On 2018/8/12 19:03, gre...@linuxfoundation.org wrote: On Sun, Aug 12, 2018 at 06:55:58PM +0800, Xiubo Li wrote: Hi Harris, Since the lock protection in uio irq handler is useless currently as discussed in the mail list, so I will revert this commit with small changes and now the testing based L

Re: [PATCH] cpufreq: intel_pstate: Ignore turbo active ratio in HWP

2018-08-12 Thread Rafael J. Wysocki
On Thursday, August 2, 2018 2:26:06 AM CEST Srinivas Pandruvada wrote: > When HWP is active turbo active ratio is not used, so we should allow > policy max frequency above turbo activation ratio to be set. When HWP is > not active, then any policy max frequency above turbo activation ratio > can re

Re: [PATCH] PM / hibernate: Mark expected switch fall-through

2018-08-12 Thread Rafael J. Wysocki
On Sunday, August 5, 2018 4:12:00 AM CEST Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Addresses-Coverity-ID: 114713 ("Missing break in switch") > Signed-off-by: Gustavo A. R. Silva > --- > kernel/

Re: [PATCH] acpi: processor_throttling: fixed a few brace coding style issues.

2018-08-12 Thread Rafael J. Wysocki
On Thursday, July 26, 2018 10:23:41 PM CEST David Archuleta wrote: > From: darchuletajr > > Fixed a few brace coding style issues found by running > ./scripts/checkpatch > > Signed-off-by: David Archuleta Jr. IMO this doesn't add any value to the code, so I'm not going to apply it. > --- > d

Re: [PATCH] acpi: bus: Fixed a pointer coding style issue

2018-08-12 Thread Rafael J. Wysocki
On Wednesday, August 8, 2018 2:52:02 AM CEST Tom Todd wrote: > Fixed a coding style issue. > > Signed-off-by: Tom Todd > --- > drivers/acpi/bus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c > index 84b4a62018eb..73e43d81ec63 1

Re: [PATCH] ACPI / EC: Use ec_no_wakeup on ThinkPad X1 Yoga 3rd

2018-08-12 Thread Rafael J. Wysocki
On Tuesday, July 31, 2018 12:52:39 PM CEST Aaron Ma wrote: > Like on X1C6, on X1Y3 EC interrupts constantly wake up system from > s2idle, the power consumption is extremely high. > So make ec_no_wakeup be true as default to keep system in s2idle mode > and reduce power consumption. > > Power butto

Re: [PATCH v6 4/4] platform/x86: Add ACPI i2c-multi-instantiate pseudo driver

2018-08-12 Thread Rafael J. Wysocki
On Thursday, August 9, 2018 2:08:41 PM CEST Hans de Goede wrote: > Hi, > > On 09-08-18 13:55, Rafael J. Wysocki wrote: > > On Thu, Aug 9, 2018 at 1:40 PM, Hans de Goede wrote: > >> On systems with ACPI instantiated i2c-clients, normally there is 1 fw_node > >> per i2c-device and that fw-node cont

Re: [RESEND PATCH v1 1/2] cpuidle: menu: Correct the criteria for stopping tick

2018-08-12 Thread Rafael J. Wysocki
On Fri, Aug 10, 2018 at 11:03 AM wrote: > > On Fri, Aug 10, 2018 at 04:49:06PM +0800, Leo Yan wrote: > > On Fri, Aug 10, 2018 at 09:22:10AM +0200, Rafael J. Wysocki wrote: > > > On Fri, Aug 10, 2018 at 9:13 AM, wrote: > > > > On Thu, Aug 09, 2018 at 10:47:17PM +0200, Rafael J. Wysocki wrote: > >

Re: Problems with uio_pci_generic in v4.18-rc8

2018-08-12 Thread gre...@linuxfoundation.org
On Sun, Aug 12, 2018 at 06:55:58PM +0800, Xiubo Li wrote: > Hi Harris, > > Since the lock protection in uio irq handler is useless currently as > discussed in the mail list, so I will revert this commit with small changes > and now the testing based LIO/TCMU has been finished. Can you send the fi

Re: Problems with uio_pci_generic in v4.18-rc8

2018-08-12 Thread Xiubo Li
Hi Harris, Since the lock protection in uio irq handler is useless currently as discussed in the mail list, so I will revert this commit with small changes and now the testing based LIO/TCMU has been finished. Thanks, BRs On 2018/8/11 5:12, Harris, James R wrote: Hi, Using Linux kernel

[PATCH] ACPICA: Clear status of all events when entering sleep states

2018-08-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Commit fa85015c0d95 (ACPICA: Clear status of all events when entering S5) made the sleep state entry code in ACPICA clear the status of all ACPI events when entering S5 to fix a functional regression reported against commit 18996f2db918 (ACPICA: Events: Stop unconditionall

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-12 Thread Jarkko Sakkinen
On Fri, Aug 10, 2018 at 11:21:14AM -0700, Tadeusz Struk wrote: > On 08/10/2018 10:43 AM, Jarkko Sakkinen wrote: > >> +static struct workqueue_struct *tpm_dev_wq; > > A naming contradiction with tpm_common_read() and tpm_common_write(). To > > sort that up I would suggest adding a commit to the patc

Re: [PATCH v3 14/17] driver/acpi: enable Hygon support to ACPI driver

2018-08-12 Thread Rafael J. Wysocki
On Sat, Aug 11, 2018 at 3:36 PM Pu Wen wrote: > > For Dhyana processors have NONSTOP TSC feature, so enable the support > to ACPI driver. > > Signed-off-by: Pu Wen This patch is fine by me, but I'm assuming that the series will be handled as a whole, so Acked-by: Rafael J. Wysocki > --- > dr

Re: [PATCH v2] cpuidle: menu: Handle stopped tick more aggressively

2018-08-12 Thread Rafael J. Wysocki
On Fri, Aug 10, 2018 at 2:31 PM wrote: > > On Fri, Aug 10, 2018 at 01:04:22PM +0200, Rafael J. Wysocki wrote: > > On Fri, Aug 10, 2018 at 11:20 AM wrote: > > > > > > On Fri, Aug 10, 2018 at 09:57:18AM +0200, Rafael J . Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > Subject: [PATCH] cpuid

Re: [PATCH v3 15/17] driver/cpufreq: enable Hygon support to cpufreq driver

2018-08-12 Thread Rafael J. Wysocki
On Sat, Aug 11, 2018 at 3:36 PM Pu Wen wrote: > > Enable ACPI cpufreq driver support for Hygon by adding family ID check > along with AMD. > > As Hygon platforms have SMBus device(PCI device ID 0x790b), enable Hygon > support to function amd_freq_sensitivity_init(). > > Signed-off-by: Pu Wen Is

Re: [PATCH v8 09/26] kernel/cpu_pm: Manage runtime PM in the idle path for CPUs

2018-08-12 Thread Rafael J. Wysocki
On Fri, Aug 10, 2018 at 10:36 PM Lina Iyer wrote: > > On Thu, Aug 09 2018 at 02:16 -0600, Rafael J. Wysocki wrote: > >On Wed, Aug 8, 2018 at 8:02 PM, Lina Iyer wrote: > >> On Wed, Aug 08 2018 at 04:56 -0600, Lorenzo Pieralisi wrote: > >>> > >>> On Mon, Aug 06, 2018 at 11:37:55AM +0200, Rafael J.

Re: [PATCH v5 03/14] PM: Introduce an Energy Model management framework

2018-08-12 Thread Rafael J. Wysocki
On Fri, Aug 10, 2018 at 2:30 PM Quentin Perret wrote: > > On Friday 10 Aug 2018 at 13:13:22 (+0200), Rafael J. Wysocki wrote: > > Something able to say how the numbers used by EM and IPA are related. :-) > > > > Do you think that IPA and EM will always need to use the same set of data > > for > >

Re: [PATCH RESEND v3] arm64: clean the additional checks before calling ghes_notify_sea()

2018-08-12 Thread Rafael J. Wysocki
On Sat, Aug 11, 2018 at 6:36 AM Dongjiu Geng wrote: > > In order to remove the additional check before calling the > ghes_notify_sea(), make stub definition when !CONFIG_ACPI_APEI_SEA. > > After this cleanup, we can simply call the ghes_notify_sea() to let > APEI driver handle the SEA notification

[PATCH v1 0/2] Bluetooth: mediatek: Add protocol support for MediaTek USB devices

2018-08-12 Thread sean.wang
From: Sean Wang This adds the support of enabling MT7668U and MT7663U Bluetooth function running on the top of btusb driver. The patch also adds a newly created file mtkbt.c able to be reused independently from the transport type such as UART, USB and SDIO. Sean Wang (2): Bluetooth: mediatek:

[PATCH v1 2/2] Bluetooth: mediatek: Add protocol support for MediaTek MT7663U USB devices

2018-08-12 Thread sean.wang
From: Sean Wang This adds the support of enabling MT7663U Bluetooth function running on the top of btusb driver. Signed-off-by: Sean Wang --- drivers/bluetooth/btmtk.c | 1 + drivers/bluetooth/btmtk.h | 1 + drivers/bluetooth/btusb.c | 3 +++ 3 files changed, 5 insertions(+) diff --git a/driv

[PATCH v1 1/2] Bluetooth: mediatek: Add protocol support for MediaTek MT7668U USB devices

2018-08-12 Thread sean.wang
From: Sean Wang This adds the support of enabling MT7668U Bluetooth function running on the top of btusb driver. The patch also adds a newly created file mtkbt.c able to be reused independently from the transport type such as UART, USB and SDIO. Signed-off-by: Sean Wang --- drivers/bluetooth/K

Re: [PATCH v1] dd: Invoke one probe retry cycle after some initcall levels

2018-08-12 Thread Rafael J. Wysocki
On Fri, Aug 10, 2018 at 11:52 PM Rishabh Bhatnagar wrote: > > Drivers that are registered at an initcall level may have to > wait until late_init before the probe deferral mechanism can > retry their probe functions. It is possible that their > dependencies were resolved much earlier, in some case

Re: [PATCH] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-12 Thread Craig Tatlor
On 11 August 2018 18:27:43 BST, Christian Lamparter wrote: >On Saturday, August 11, 2018 6:25:19 PM CEST Craig Tatlor wrote: >> Add initial pinctrl driver to support pin configuration with >> pinctrl framework for sdm660. >> Based off CAF implementation. >> >> Signed-off-by: Craig Tatlor >> -

[PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Sumit Kumar
Remove null ptr check before kfree because kfree is null ptr safe. Issue found by checkpatch. Signed-off-by: Sumit Kumar --- drivers/staging/gasket/gasket_page_table.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c b/drivers/

Re: [PATCH 2/3] arm64: dts: qcom: sdm845-mtp: Add RPMh VRM/XOB regulators

2018-08-12 Thread kbuild test robot
Hi Douglas, Thank you for the patch! Yet something to improve: [auto build test ERROR on agross/for-next] [cannot apply to v4.18-rc8 next-20180810] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commit