Re: [PATCH 4.19 000/139] 4.19.7-stable review

2018-12-04 Thread Greg Kroah-Hartman
On Tue, Dec 04, 2018 at 07:09:46PM -0200, Rafael David Tinoco wrote: > On 12/4/18 8:48 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.7 release. > > There are 139 patches in this series, all will be posted as a response > > to this one. If anyone has an

Re: [PATCH v2] memblock: Anonotate memblock_is_reserved() with __init_memblock.

2018-12-04 Thread Wei Yang
On Wed, Dec 05, 2018 at 05:37:37AM +, Yueyi Li wrote: > >On 2018/12/4 11:04, Wei Yang wrote: >> On Mon, Dec 03, 2018 at 04:00:08AM +, Yueyi Li wrote: >>> Found warning: >>> >>> WARNING: EXPORT symbol "gsi_write_channel_scratch" [vmlinux] version >>> generation failed, symbol will not be ve

Re: [PATCH 4.19 000/139] 4.19.7-stable review

2018-12-04 Thread Greg Kroah-Hartman
On Tue, Dec 04, 2018 at 01:42:47PM -0800, Guenter Roeck wrote: > On 12/4/18 2:48 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.7 release. > > There are 139 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH 4.14 054/146] f2fs: fix to do sanity check with block address in main area

2018-12-04 Thread Greg Kroah-Hartman
On Tue, Dec 04, 2018 at 08:27:32PM +, Sudip Mukherjee wrote: > Hi Greg, > > On Tue, Dec 4, 2018 at 11:05 AM Greg Kroah-Hartman > wrote: > > > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > commit c9b60788fc760d136211853f10ce73

Re: [PATCH v2] x86/build: fix compiler support check for CONFIG_RETPOLINE

2018-12-04 Thread Meelis Roos
05.12.18 08:27 Masahiro Yamada kirjutas: The easiest fix is to move this check to the "archprepare" like commit 829fe4aa9ac1 ("x86: Allow generating user-space headers without a compiler") did. Link: https://lkml.org/lkml/2018/12/4/206 Fixes: 4cd24de3a098 ("x86/retpoline: Make CONFIG_RETPOLINE d

RE: [PATCH v7 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-12-04 Thread Yogesh Narayan Gaur
Hi, Verified patch on LS1088ardb this board is having two connected flash slave devices on CS0 and CS1. Verified with simple Read/Write/Erase operations along with JFFS2 mounting and booting from flash MTD partition for both slave devices. > -Original Message- > From: Schrempf Frieder

Re: [PATCH v6 03/10] clk: of-provider: look at parent if registered device has no provider info

2018-12-04 Thread Matti Vaittinen
Hello Stephen, I copied some parts of the v4 discussion here as well. Let's continue them under this one email thread. (and yep, this is my bad we now have multiple email threads - I did these new patches without waiting for the final conclusion. I should try to be more patient in the future...)

Re: [PATCH v5 3/8] soc: qcom: rpmpd: Add a Power domain driver to model corners

2018-12-04 Thread Rajendra Nayak
On 12/5/2018 4:42 AM, Stephen Boyd wrote: Overall looks good to me, just some nitpicks around modules and includes. Thanks for the review, I will fix up all your concerns below and respin soon. Quoting Rajendra Nayak (2018-12-03 21:21:14) The Power domains for corners just pass the perfor

Re: [PATCH v10 0/6] Support for Qualcomm UFS QMP PHY on SDM845

2018-12-04 Thread Vivek Gautam
On Tue, Oct 23, 2018 at 10:07 AM Can Guo wrote: > > This patch series adds support for UFS QMP PHY on SDM845 and the > compatible string for it. This patch series depends on the current > proposed QMP V3 USB3 UNI PHY support for sdm845 driver [1], on > the DT bindings for the QMP V3 USB3 PHYs base

Re: [resend PATCH] dt-bindings: sound: Add documentation for pcm3060 property out-single-ended

2018-12-04 Thread Kirill Marinushkin
Thank you Rob, Mark already applied this patch, with a slightly modified subject: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?h=for-next&id=fd7de6370cb62b147185834d60069568a21acacd Best Regards, Kirill On 12/04/18 22:43, Rob Herring wrote: > On Thu, 15 Nov 2018 08:

Re: [PATCH v5 4/8] soc: qcom: rpmpd: Add support for get/set performance state

2018-12-04 Thread Rajendra Nayak
On 12/5/2018 4:44 AM, Stephen Boyd wrote: Quoting Rajendra Nayak (2018-12-03 21:21:15) @@ -221,6 +224,47 @@ static int rpmpd_power_off(struct generic_pm_domain *domain) return ret; } +static int rpmpd_set_performance(struct generic_pm_domain *domain, +

Re: [PATCH v5 7/8] arm64: dts: sdm845: Add rpmh powercontroller node

2018-12-04 Thread Rajendra Nayak
On 12/5/2018 4:46 AM, Stephen Boyd wrote: Quoting Rajendra Nayak (2018-12-03 21:21:18) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index b72bdb0a31a5..a6d0cd8d17b0 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sd

Re: [PATCH v2] x86/build: fix compiler support check for CONFIG_RETPOLINE

2018-12-04 Thread Zhenzhong Duan
On 2018/12/5 14:27, Masahiro Yamada wrote: It is troublesome to add a diagnostic like this to the Makefile parse stage because the top-level Makefile could be parsed with a stale include/config/auto.conf. Once you are hit by the error about non-retpoline compiler, the compilation still breaks

Re: [PATCH] fanotify: Make sure to check event_len when copying

2018-12-04 Thread Amir Goldstein
On Wed, Dec 5, 2018 at 1:44 AM Kees Cook wrote: > > As a precaution, make sure we check event_len when copying to userspace. > Based on old feedback: https://lkml.kernel.org/r/542d9fe5.3010...@gmx.de > This precaution serves the new fanotify_event_info_fid format well: https://marc.info/?l=linux-

Re: [RFC PATCH] clk: qcom: clk-rpmh: Add IPA clock support

2018-12-04 Thread Stephen Boyd
Quoting David Dai (2018-12-04 17:14:10) > > On 12/4/2018 2:34 PM, Stephen Boyd wrote: > > Quoting Alex Elder (2018-12-04 13:41:47) > >> On 12/4/18 1:24 PM, Stephen Boyd wrote: > >>> Quoting David Dai (2018-12-03 19:50:13) > Add IPA clock support by extending the current clk rpmh driver to sup

Re: [PATCH] clk: socfpga: Don't have get_parent for single parent ops

2018-12-04 Thread Stephen Boyd
(Adding Dinh's korg email) I also wonder if this driver is even used anymore or maybe we can delete it? Quoting Stephen Boyd (2018-12-04 11:34:16) > This driver creates a gate clk with the possibility to have multiple > parents. That can cause problems if the common clk framework tries to > call

Re: [PATCH v3 2/8] mfd / platform: cros_ec: move lightbar attributes to its own driver.

2018-12-04 Thread Lee Jones
On Tue, 04 Dec 2018, Enric Balletbo i Serra wrote: > On 4/12/18 10:21, Lee Jones wrote: > > On Mon, 03 Dec 2018, Enric Balletbo i Serra wrote: > >> On 3/12/18 11:36, Lee Jones wrote: > >>> On Tue, 27 Nov 2018, Enric Balletbo i Serra wrote: > >>> > The entire way how cros sysfs attibutes are cr

Re: > [PATCH] Security: Handle hidepid option correctly

2018-12-04 Thread 程洋
Anyone who can review my patch? 程洋 于2018年11月30日周五 上午10:34写道: > > Here is an article illustrates the details. > https://medium.com/@topjohnwu/from-anime-game-to-android-system-security-vulnerability-9b955a182f20 > > And There is a similar fix on kernel-4.4: > https://git.kernel.org/pub/scm/linux/k

Re: [PATCH v4 0/7] lib/lzo: performance improvements

2018-12-04 Thread Sergey Senozhatsky
On (11/30/18 14:26), Dave Rodgman wrote: > > This patch series introduces performance improvements for lzo. > > The previous version of this patchset is here: > https://lkml.org/lkml/2018/11/30/807 > > This version of the patchset fixes a maybe-used-uninitialized warning > (although the previous

Re: [patch 1/2 for-4.20] mm, thp: restore node-local hugepage allocations

2018-12-04 Thread Michal Hocko
On Tue 04-12-18 13:56:30, David Rientjes wrote: > On Tue, 4 Dec 2018, Michal Hocko wrote: > > > > This is a full revert of ac5b2c18911f ("mm: thp: relax __GFP_THISNODE for > > > MADV_HUGEPAGE mappings") and a partial revert of 89c83fb539f9 ("mm, thp: > > > consolidate THP gfp handling into alloc_h

Re: [PATCH 2/2] ARM: Wrap '--pic-veneer' with ld-option

2018-12-04 Thread Ard Biesheuvel
On Wed, 5 Dec 2018 at 02:42, Nathan Chancellor wrote: > > This flag is not supported by lld: > > ld.lld: error: unknown argument: --pic-veneer > > Signed-off-by: Nathan Chancellor Hi Nate, Does this mean ld.lld is guaranteed to produce position independent veneers if you build kernels that

[PATCH] kbuild: remove a special handling for *.agh in Makefile.headersinst

2018-12-04 Thread Masahiro Yamada
scripts/Makefile.headersinst takes care of *.agh just for arch/cris/include/uapi/arch-v10/arch/sv_addr.agh because renaming exported headers is difficult (or impossible). This code is no longer necessary thanks to commit c690eddc2f3b ("CRIS: Drop support for the CRIS port"). Signed-off-by: Ma

Re: [PATCH 1/2] ARM: Remove '-p' from LDFLAGS

2018-12-04 Thread Ard Biesheuvel
On Wed, 5 Dec 2018 at 02:42, Nathan Chancellor wrote: > > This option is not supported by lld: > > ld.lld: error: unknown argument: -p > > This has been a no-op in binutils since 2004 (see commit dea514f51da1 in > that tree). Given that the lowest officially supported of binutils for > the ker

[PATCH] kbuild: exploit parallel building for CONFIG_HEADERS_CHECK

2018-12-04 Thread Masahiro Yamada
When CONFIG_HEADERS_CHECK is enabled, the headers_check is executed as a serialized task in the vmlinux recipe. Make it independent of vmlinux so that parallel building can process the headers_check and other build targets simultaneously. Signed-off-by: Masahiro Yamada --- Makefile | 7 ---

Re: [PATCH 4.14 000/146] 4.14.86-stable review

2018-12-04 Thread Greg Kroah-Hartman
On Wed, Dec 05, 2018 at 10:48:59AM +0530, Naresh Kamboju wrote: > On Tue, 4 Dec 2018 at 16:34, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.14.86 release. > > There are 146 patches in this series, all will be posted as a response > > to this one. If a

Re: [patch 0/2 for-4.20] mm, thp: fix remote access and allocation regressions

2018-12-04 Thread Michal Hocko
On Tue 04-12-18 14:25:54, David Rientjes wrote: > On Tue, 4 Dec 2018, Michal Hocko wrote: > > > > This fixes a 13.9% of remote memory access regression and 40% remote > > > memory allocation regression on Haswell when the local node is fragmented > > > for hugepage sized pages and memory is being

[PATCH 1/3] ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN

2018-12-04 Thread Jian-Hong Pan
From: Chris Chiu The known ALC256_FIXUP_ASUS_MIC fixup can fix the headphone jack sensing and enable use of the internal microphone on this laptop X542UN. However, it's ALC294 so create a new fixup named ALC294_FIXUP_ASUS_MIC to avoid confusion. Signed-off-by: Jian-Hong Pan Signed-off-by: Danie

[PATCH 0/3] Add ALC294 quirks for ASUS laptops

2018-12-04 Thread Jian-Hong Pan
Add Realtek ALC294 quirks for ASUS X542UN, UX533FD and UX433FN laptops. Chris Chiu (1): ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN Jian-Hong Pan (2): ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294 ALSA: hda/realtek: Enable audio jacks of ASUS UX

[PATCH 3/3] ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN with ALC294

2018-12-04 Thread Jian-Hong Pan
The ASUS UX433FN with ALC294 cannot detect the headset MIC and output through the internal speaker and the headphone until ALC294_FIXUP_ASUS_SPK_NOISE quirk applied. Signed-off-by: Daniel Drake Signed-off-by: Jian-Hong Pan --- sound/pci/hda/patch_realtek.c | 4 1 file changed, 4 insertions

Re: [PATCH] perf/core: declare the percpu variable properly

2018-12-04 Thread Mukesh Ojha
Hi All, Can you please review the change ? Thanks, Mukesh On 11/27/2018 2:43 PM, Mukesh Ojha wrote: Sparse reports the current declaration of percpu variable with below warning warning: incorrect type in initializer (different address spaces) expected void const [noderef] *__vpp_ve

[PATCH 2/3] ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294

2018-12-04 Thread Jian-Hong Pan
The ASUS UX533FD with ALC294 cannot detect the headset MIC and output through the internal speaker and the headphone until ALC294_FIXUP_ASUS_SPK_NOISE quirk applied. Signed-off-by: Daniel Drake Signed-off-by: Jian-Hong Pan --- sound/pci/hda/patch_realtek.c | 13 + 1 file changed, 13

[tip:x86/urgent] x86/build: Fix compiler support check for CONFIG_RETPOLINE

2018-12-04 Thread tip-bot for Masahiro Yamada
Commit-ID: 10b87bc9f630a38a7f0c1e7cf13ff23fea1692ec Gitweb: https://git.kernel.org/tip/10b87bc9f630a38a7f0c1e7cf13ff23fea1692ec Author: Masahiro Yamada AuthorDate: Wed, 5 Dec 2018 15:27:19 +0900 Committer: Ingo Molnar CommitDate: Wed, 5 Dec 2018 08:42:09 +0100 x86/build: Fix compiler s

Re: [PATCH] x86/umip: Make the UMIP activated message generic

2018-12-04 Thread Ingo Molnar
* Lendacky, Thomas wrote: > The User Mode Instruction Prevention (UMIP) feature is part of the x86_64 > instruction set architecture and not specific to Intel. Make the message > generic. > > Signed-off-by: Tom Lendacky > --- > > This patch is against the x86/cpu branch of the tip tree: >

[PATCH linux-next v3 2/7] clk: renesas: r8a7796: Add ADG clock

2018-12-04 Thread Jiada Wang
From: Takeshi Kihara This patch adds ADG clock to the R8A7796 SoC. Signed-off-by: Takeshi Kihara --- drivers/clk/renesas/r8a7796-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c b/drivers/clk/renesas/r8a7796-cpg-mssr.c index 10567386e6dd..7

[PATCH linux-next v3 0/7] clk: renesas: adg: add AVB Clock

2018-12-04 Thread Jiada Wang
on R-Car SoCs there are AVB Counter Clocks, each clock has 12bits integral and 8 bits fractional dividers which operates with S0D1ϕ clock. This patch-set adds 'adg' clock to R-Car Soc, and changes adg driver to register avb clocks when clock-cells of rcar_sound node is 2. --- v3: - Removed clock

[PATCH linux-next v3 3/7] clk: renesas: r8a77990: Add ADG clock

2018-12-04 Thread Jiada Wang
From: Takeshi Kihara This patch adds ADG clock to the R8A77990 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Jiada Wang --- drivers/clk/renesas/r8a77990-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a77990-cpg-mssr.c b/drivers/clk/renesas/r8a77990-c

[PATCH linux-next v3 4/7] clk: renesas: r8a77995: Add ADG clock

2018-12-04 Thread Jiada Wang
From: Takeshi Kihara This patch adds ADG clock to the R8A77995 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Jiada Wang --- drivers/clk/renesas/r8a77995-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c b/drivers/clk/renesas/r8a77995-c

[PATCH linux-next v3 1/7] clk: renesas: r8a7795: Add ADG clock

2018-12-04 Thread Jiada Wang
From: Takeshi Kihara This patch adds ADG clock to the R8A7795 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Jiada Wang --- drivers/clk/renesas/r8a7795-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a7795-cpg-mssr.c b/drivers/clk/renesas/r8a7795-cpg-m

[PATCH linux-next v3 5/7] clk: renesas: r8a77965: Add ADG clock

2018-12-04 Thread Jiada Wang
From: Takeshi Kihara This patch adds ADG clock to the R8A77965 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Jiada Wang --- drivers/clk/renesas/r8a77965-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a77965-cpg-mssr.c b/drivers/clk/renesas/r8a77965-c

[tip:x86/urgent] x86/build: Fix compiler support check for CONFIG_RETPOLINE

2018-12-04 Thread tip-bot for Masahiro Yamada
Commit-ID: 25896d073d8a0403b07e6dec56f58e6c33678207 Gitweb: https://git.kernel.org/tip/25896d073d8a0403b07e6dec56f58e6c33678207 Author: Masahiro Yamada AuthorDate: Wed, 5 Dec 2018 15:27:19 +0900 Committer: Ingo Molnar CommitDate: Wed, 5 Dec 2018 08:44:02 +0100 x86/build: Fix compiler s

[PATCH linux-next v3 7/7] clk: renesas: Add binding document for ADG

2018-12-04 Thread Jiada Wang
Add device tree bindings for Audio Clock Generator (ADG) of R-Car Socs. Signed-off-by: Jiada Wang --- .../clock/renesas,rcar-adg-clocks.txt | 24 +++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/renesas,rcar-adg-clocks.txt

[PATCH linux-next v3 6/7] ASoC: rsnd: add avb clocks

2018-12-04 Thread Jiada Wang
There are AVB Counter Clocks in ADG, each clock has 12bits integral and 8 bits fractional dividers which operates with S0D1ϕ clock. This patch registers 8 AVB Counter Clocks when clock-cells of rcar_sound node is 2, Signed-off-by: Jiada Wang --- sound/soc/sh/rcar/adg.c | 316 ++

Re: [PATCH v2 1/2] bus: imx-weim: support multiple address ranges per child node

2018-12-04 Thread Shawn Guo
On Fri, Nov 30, 2018 at 03:56:23PM -0500, thesve...@gmail.com wrote: > From: Sven Van Asbroeck > > Ensure that timing values for the child node are applied to > all chip selects in the child's address ranges. > > Note that this does not support multiple timing settings per > child; this can be a

Quick Loans

2018-12-04 Thread Loans Service
Apply for a loan at 2% reply to this Email for more Info

Re: [PATCH] Revert "clk: fix __clk_init_parent() for single parent clocks"

2018-12-04 Thread Stephen Boyd
Quoting Jerome Brunet (2018-12-04 11:51:17) > On Tue, 2018-12-04 at 10:05 -0800, Stephen Boyd wrote: > > Quoting Jerome Brunet (2018-12-04 08:32:57) > > > This reverts commit 2430a94d1e719b7b4af2a65b781a4c036eb22e64. > > > > > > From the original commit message: > > > It turned out a problem bec

[PATCH resend 00/13] sh: convert to SPDX identifiers

2018-12-04 Thread Kuninori Morimoto
Hi Andrew Morton. Cc SH ML I'm posting these patches to SH ML from few month ago, but, nothing happen. SH Maintainer seems not working anymore ? I'm not sure... So now, I added Andrew in To: field. I'm happy if some maintainer can handle these Kuninori Morimoto (13): sh: boards: convert to S

[PATCH 02/13] sh: drivers: convert to SPDX identifiers

2018-12-04 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. As original license mentioned, it is GPL-2.0 in SPDX. Then, MODULE_LICENSE() should be "GPL v2" instead of "GPL". See ${LINUX}/include/linux/module.h "GPL" [GNU

Re: Strange hang with gcc 8 of kprobe multiple_kprobes test

2018-12-04 Thread Masami Hiramatsu
On Tue, 4 Dec 2018 16:40:07 +0900 Masami Hiramatsu wrote: > Hi Steve, > > On Mon, 3 Dec 2018 21:18:07 -0500 > Steven Rostedt wrote: > > > Hi Masami, > > > > I started testing some of my new code and the system got into a > > strange state. Debugging further, I found the cause came from the >

Re: [GIT PULL rcu/next] RCU commits for 4.21/5.0

2018-12-04 Thread Ingo Molnar
[ Added Linus and Arnaldo to the Cc:, for high level kernel side and tooling side buy-in for the inclusion in the kernel tree below: ] * Paul E. McKenney wrote: > Hello, Ingo, > > This pull request contains the following changes: > > 1.Convert RCU's BUG_ON() and similar calls to

RE: [PATCH v3 0/4] Correct dma pool for imx-sdma

2018-12-04 Thread Robin Gong
Hello Vinod, This patch set test by Lucas and no any other comment received yet, do you have comments and help to push it on 4.19 stable tree? > -Original Message- > From: Robin Gong > Sent: 2018年11月20日 17:09 > To: 'Lucas Stach' ; vk...@kernel.org > Cc: dmaeng...@vger.kernel.org;

Re: [PATCH AUTOSEL 4.14 25/35] iomap: sub-block dio needs to zeroout beyond EOF

2018-12-04 Thread Sasha Levin
On Mon, Dec 03, 2018 at 11:22:46PM +0159, Thomas Backlund wrote: Den 2018-12-03 kl. 11:22, skrev Sasha Levin: This is a case where theory collides with the real world. Yes, our QA is lacking, but we don't have the option of not doing the current process. If we stop backporting until a future d

Re: [PATCH v1 0/4] phy: qcom-qmp: Fix clock-cells binding and provider

2018-12-04 Thread Kishon Vijay Abraham I
Hi Andy Gross, David Brown, Vivek, On 30/11/18 3:43 AM, Evan Green wrote: > This series fixes the QMP PHY bindings, which had specified #clock-cells > in the parent node, and had set it to 1. Putting it in the parent node is > wrong because the clock providers are the child nodes, so this change >

Re: [BUGFIX PATCH -tip] kprobes/x86: Fix to copy RIP relative instruction correctly

2018-12-04 Thread Ingo Molnar
* Masami Hiramatsu wrote: > Since copy_optimized_instructions() misses to update real RIP > address while copying several instructions to working buffer, > it adjusts RIP-relative instruction with wrong RIP address for > the 2nd and subsequent instructions. > > This may break the kernel (like

Re: [PATCH 22/27] locking/lockdep: Reuse list entries that are no longer in use

2018-12-04 Thread Peter Zijlstra
On Mon, Dec 03, 2018 at 10:16:59AM -0800, Bart Van Assche wrote: > On Mon, 2018-12-03 at 18:32 +0100, Peter Zijlstra wrote: > > On Mon, Dec 03, 2018 at 08:40:48AM -0800, Bart Van Assche wrote: > > > > > > I think we can do this with a free bitmap and an array of 2 pending > > > > bitmaps and an in

Re: Strange hang with gcc 8 of kprobe multiple_kprobes test

2018-12-04 Thread Ingo Molnar
* Masami Hiramatsu wrote: > I remember I have fixed this, and actually WE did it :-D > > https://lkml.org/lkml/2018/8/23/1203 > > Ah, we hit a same bug... > > Ingo, could you pick the patch? Should I resend it? Indeed: I just picked it up into tip:perf/urgent. It's my bad: I missed the ori

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-04 Thread Pingfan Liu
On Tue, Dec 4, 2018 at 3:22 PM Michal Hocko wrote: > > On Tue 04-12-18 11:05:57, Pingfan Liu wrote: > > During my test on some AMD machine, with kexec -l nr_cpus=x option, the > > kernel failed to bootup, because some node's data struct can not be > > allocated, > > e.g, on x86, initialized by in

Re: [PATCH v6 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-12-04 Thread Schrempf Frieder
Hi Han, On 03.12.18 21:54, Han Xu wrote: [...] >>> >>> Hi Schrempf, I am reviewing and testing on some i.MX platforms, please >> hold on for a while for the result. >> >> Okay, thanks! I'm looking forward to see the results. > > Hi Schrempf, I am good with the patch set(with warning fix) and it w

Re: [PATCH] opp: Add API for getting voltage from supplies

2018-12-04 Thread Viresh Kumar
On 04-12-18, 14:59, Nick Fan wrote: > Add API to get voltage for multiple supplies from opp table And who needs to use this new API ? It would be better to add the user in the same series to make sure this really gets used. > Signed-off-by: Nick Fan > --- > drivers/opp/core.c | 28 +

Re: [PATCH linux-next v2 0/6] clk: renesas: adg: add AVB Clock

2018-12-04 Thread Jiada Wang
Hi Vladimir Thanks for your comments On 2018/12/03 21:11, Vladimir Zapolskiy wrote: Hi Jiada, On 12/03/2018 01:21 PM, jiada_w...@mentor.com wrote: From: Jiada Wang on R-Car SoCs there are AVB Counter Clocks, each clock has 12bits integral and 8 bits fractional dividers which operates with S

[PATCH v6 0/7] tpm: retrieve digest size of unknown algorithms from TPM

2018-12-04 Thread Roberto Sassu
Update This version of the patch set includes an additional patch (7/7) which modifies the definition of tpm_pcr_extend() and tpm2_pcr_extend(). The new patch has been included to facilitate the review of the changes to support TPM 2.0 crypto agility for reading/extending PCRs. Original patch se

Re: [PATCH v2 0/3] Tuning Fixes for sdhci-omap

2018-12-04 Thread Faiz Abbas
Hi, On 21/11/18 4:53 PM, Adrian Hunter wrote: > On 21/11/18 12:33 PM, Faiz Abbas wrote: >> The following patches fix tuning related errors in the >> sdhci-omap driver. >> >> v2: >> Added Fixes and stable tags for patch 1. >> Re-enable DCRC in patch 1 only if it was enabled before >> Squashed patch

[PATCH v6 2/7] tpm: add _head suffix to tcg_efi_specid_event and tcg_pcr_event2

2018-12-04 Thread Roberto Sassu
TCG defines two structures, TCG_EfiSpecIDEventStruct and TCG_PCR_EVENT2, which contain variable-sized arrays in the middle of the definition. Since these structures are not suitable for type casting, this patch removes structure members after the variable-sized arrays and adds the _head suffix to

[PATCH v6 1/7] tpm: dynamically allocate the allocated_banks array

2018-12-04 Thread Roberto Sassu
This patch renames active_banks (member of tpm_chip) to allocated_banks, stores the number of allocated PCR banks in nr_allocated_banks (new member of tpm_chip), and replaces the static array with a pointer to a dynamically allocated array. tpm2_get_pcr_allocation() determines if a PCR bank is all

[PATCH v6 4/7] tpm: modify tpm_pcr_read() definition to pass a TPM hash algorithm

2018-12-04 Thread Roberto Sassu
Currently the TPM driver allows other kernel subsystems to read only the SHA1 PCR bank. This patch modifies the parameters of tpm_pcr_read() and tpm2_pcr_read() to pass a tpm_digest structure, which contains the desired hash algorithm. Also, since commit 125a22105410 ("tpm: React correctly to RC_TE

Re: [PATCH 07/14] clock: milbeaut: Add Milbeaut M10V clock control

2018-12-04 Thread Sugaya, Taichi
Hi, Thank you for your comments. On 2018/11/30 17:31, Stephen Boyd wrote: Quoting Sugaya Taichi (2018-11-18 17:01:12) Add Milbeaut M10V clock ( including PLL ) control. Please give some more details here. OK, add more description. Signed-off-by: Sugaya Taichi --- drivers/clk/Makefi

[PATCH v6 3/7] tpm: rename and export tpm2_digest and tpm2_algorithms

2018-12-04 Thread Roberto Sassu
Rename tpm2_* to tpm_* and move the definitions to include/linux/tpm.h so that these can be used by other kernel subsystems (e.g. IMA). Signed-off-by: Roberto Sassu Reviewed-by: Jarkko Sakkinen Acked-by: Mimi Zohar --- drivers/char/tpm/tpm-interface.c | 2 +- drivers/char/tpm/tpm.h

[PATCH v6 5/7] tpm: retrieve digest size of unknown algorithms with PCR read

2018-12-04 Thread Roberto Sassu
Currently, the TPM driver retrieves the digest size from a table mapping TPM algorithms identifiers to identifiers defined by the crypto subsystem. If the algorithm is not defined by the latter, the digest size can be retrieved from the output of the PCR read command. The patch retrieves at TPM st

[PATCH v6 6/7] tpm: ensure that the output of PCR read contains the correct digest size

2018-12-04 Thread Roberto Sassu
This patch protects against data corruption that could happen in the bus, by checking that the digest size returned by the TPM during a PCR read matches the size of the algorithm passed to tpm2_pcr_read(). This check is performed after information about the PCR banks has been retrieved. Signed-of

[PATCH v6 7/7] tpm: pass an array of tpm_bank_list structures to tpm_pcr_extend()

2018-12-04 Thread Roberto Sassu
Currently, tpm_pcr_extend() accepts as an input only a SHA1 digest. This patch modifies the definition of tpm_pcr_extend() to allow other kernel subsystems to pass a digest for each algorithm supported by the TPM. All digests are processed by the TPM in one operation. If a tpm_pcr_extend() caller

Re: [PATCH linux-next v2 6/6] ASoC: rsnd: add avb clocks

2018-12-04 Thread Jiada Wang
Hi Vladimir Thanks for your comments I will address your findings in next version Thanks, Jiada On 2018/12/03 21:53, Vladimir Zapolskiy wrote: Hi Jiada, On 12/03/2018 01:24 PM, jiada_w...@mentor.com wrote: From: Jiada Wang There are AVB Counter Clocks in ADG, each clock has 12bits integral

Re: [PATCH] dt-bindings: ti-tsc-adc: Add new compatible for AM654 SoCs

2018-12-04 Thread Vignesh R
Hi, On 19/11/18 3:15 PM, Vignesh R wrote: > AM654 SoCs has ADC IP which is similar to AM335x. Add new compatible to > handle AM654 SoCs. Also, it seems that existing compatible strings used > in the kernel DTs were never documented. So, document them now. > > Signed-off-by: Vignesh R > --- Gent

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-04 Thread Wei Yang
On Tue, Dec 04, 2018 at 03:20:13PM +0800, Pingfan Liu wrote: >On Tue, Dec 4, 2018 at 2:54 PM Wei Yang wrote: >> >> On Tue, Dec 04, 2018 at 11:05:57AM +0800, Pingfan Liu wrote: >> >During my test on some AMD machine, with kexec -l nr_cpus=x option, the >> >kernel failed to bootup, because some node

Re: [PATCH linux-next v2 6/6] ASoC: rsnd: add avb clocks

2018-12-04 Thread Jiada Wang
Hi Morimoto-san Thanks for your comments, I will address your findings in next version Thanks, Jiada On 2018/12/04 10:52, Kuninori Morimoto wrote: Hi Jiada There are AVB Counter Clocks in ADG, each clock has 12bits integral and 8 bits fractional dividers which operates with S0D1ϕ clock. Thi

Re: [patch V2 27/28] x86/speculation: Add seccomp Spectre v2 user space protection mode

2018-12-04 Thread Jiri Kosina
On Mon, 3 Dec 2018, Tim Chen wrote: > > Can we please just fix this stupid lie? > > > > Yes, Intel calls it "STIBP" and tries to make it out to be about the > > indirect branch predictor being per-SMT thread. > > > > But the reason it is unacceptable is apparently because in reality it just > >

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-04 Thread Wei Yang
On Tue, Dec 04, 2018 at 04:20:32PM +0800, Pingfan Liu wrote: >On Tue, Dec 4, 2018 at 3:22 PM Michal Hocko wrote: >> >> On Tue 04-12-18 11:05:57, Pingfan Liu wrote: >> > During my test on some AMD machine, with kexec -l nr_cpus=x option, the >> > kernel failed to bootup, because some node's data st

Re: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4)

2018-12-04 Thread Ingo Molnar
* Rafael J. Wysocki wrote: > > Note that I haven't tested the revert yet, but the code and the breakage > > looks pretty obvious. (I'll boot the revert, will follow up if that > > didn't solve the problem.) > > I can queue up a revert unless anyone beats me to that. Thanks! I have 1+ days

Re: [PATCH 1/2] mm: add probe_user_read() and probe_user_address()

2018-12-04 Thread Michael Ellerman
Christophe Leroy writes: > In the powerpc, there are several places implementing safe ^ code ? > access to user data. This is sometimes implemented using > probe_kernel_address() with additional access_ok() verification, > sometimes with get_user() enclosed in a p

Re: [PATCH 2/3] mm/vmscan: Enable kswapd to reclaim low-protected memory

2018-12-04 Thread Xunlei Pang
On 2018/12/4 PM 3:25, Michal Hocko wrote: > On Tue 04-12-18 10:40:29, Xunlei Pang wrote: >> On 2018/12/4 AM 1:22, Michal Hocko wrote: >>> On Mon 03-12-18 23:20:31, Xunlei Pang wrote: On 2018/12/3 下午7:56, Michal Hocko wrote: > On Mon 03-12-18 16:01:18, Xunlei Pang wrote: >> There may be

Re: [PATCH] cpufreq: nforce2: Remove meaningless return

2018-12-04 Thread Rafael J. Wysocki
On Tue, Dec 4, 2018 at 2:15 AM Frank Lee wrote: > > On Mon, Dec 3, 2018 at 5:14 PM Rafael J. Wysocki wrote: > > > > On Fri, Nov 30, 2018 at 3:26 PM Yangtao Li wrote: > > > > > > In a function whose return type is void, returning on the last line is > > > not required.So remove it.Also move the m

RE: linux-next: manual merge of the char-misc tree with the char-misc.current tree

2018-12-04 Thread Dexuan Cui
seless API > vmbus_get_outgoing_channel()") > > > > from the char-misc tree. > > > > I fixed it up (I used the former version where they conflicted) and can > > carry the fix as necessary. This is now fixed as far as linux-next is Hi Stephen, Thank you! I can confi

Re: [PATCH 04/16] remoteproc/pru: Add PRU remoteproc driver

2018-12-04 Thread Roger Quadros
On 30/11/18 23:39, Dimitar Dimitrov wrote: > On Monday, 12/26/2018, 9:52:37 EET Roger Quadros wrote: >> +/* >> + * Convert PRU device address (instruction space) to kernel virtual address >> + * >> + * A PRU does not have an unified address space. Each PRU has its very own >> + * private Instructio

INFO: task hung in tls_sw_free_resources_tx

2018-12-04 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:6915bf3b002b net: phy: don't allow __set_phy_supported to .. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=177085a340 kernel config: https://syzkaller.appspot.com/x/.config?x=28ecefa8a6e10719 da

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-12-04 Thread Michal Hocko
On Mon 03-12-18 13:53:21, David Rientjes wrote: > On Mon, 3 Dec 2018, Michal Hocko wrote: > > > > I think extending functionality so thp can be allocated remotely if truly > > > desired is worthwhile > > > > This is a complete NUMA policy antipatern that we have for all other > > user memory all

Re: [RFC PATCH] hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined

2018-12-04 Thread Michal Hocko
On Tue 04-12-18 07:21:16, Naoya Horiguchi wrote: > On Mon, Dec 03, 2018 at 11:03:09AM +0100, Michal Hocko wrote: > > From: Michal Hocko > > > > We have received a bug report that an injected MCE about faulty memory > > prevents memory offline to succeed. The underlying reason is that the > > HWPo

Re: [PATCH 2/9] tools/lib/traceevent: Added support for pkg-config

2018-12-04 Thread Tzvetomir Stoyanov
Hi Namhyung, On Tue, Dec 4, 2018 at 9:32 AM Namhyung Kim wrote: > > Hi Steve, > > On Fri, Nov 30, 2018 at 10:44:05AM -0500, Steven Rostedt wrote: > > From: Tzvetomir Stoyanov > > > > This patch implements integration with pkg-config framework. > > pkg-config can be used by the library users to d

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-04 Thread Pingfan Liu
On Tue, Dec 4, 2018 at 4:34 PM Wei Yang wrote: > > On Tue, Dec 04, 2018 at 03:20:13PM +0800, Pingfan Liu wrote: > >On Tue, Dec 4, 2018 at 2:54 PM Wei Yang wrote: > >> > >> On Tue, Dec 04, 2018 at 11:05:57AM +0800, Pingfan Liu wrote: > >> >During my test on some AMD machine, with kexec -l nr_cpus=

Re: [PATCH v5 0/3] m68k: system call table generation support

2018-12-04 Thread Geert Uytterhoeven
On Tue, Nov 13, 2018 at 7:01 AM Firoz Khan wrote: > The purpose of this patch series is, we can easily > add/modify/delete system call table support by cha- > nging entry in syscall.tbl file instead of manually > changing many files. The other goal is to unify the > system call table generation su

[PATCH] ARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus

2018-12-04 Thread Anson Huang
Add egalax touch screen support on i2c2 bus. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index 6e46a19..d7389b5 100644

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-04 Thread Michal Hocko
On Tue 04-12-18 16:20:32, Pingfan Liu wrote: > On Tue, Dec 4, 2018 at 3:22 PM Michal Hocko wrote: > > > > On Tue 04-12-18 11:05:57, Pingfan Liu wrote: > > > During my test on some AMD machine, with kexec -l nr_cpus=x option, the > > > kernel failed to bootup, because some node's data struct can no

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-04 Thread Pingfan Liu
On Tue, Dec 4, 2018 at 4:40 PM Wei Yang wrote: > > On Tue, Dec 04, 2018 at 04:20:32PM +0800, Pingfan Liu wrote: > >On Tue, Dec 4, 2018 at 3:22 PM Michal Hocko wrote: > >> > >> On Tue 04-12-18 11:05:57, Pingfan Liu wrote: > >> > During my test on some AMD machine, with kexec -l nr_cpus=x option, t

Re: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4)

2018-12-04 Thread Ingo Molnar
* Michal Hocko wrote: > > Do we actually have reports of this happening for people outside > > Android? > > Not that I am aware of. I'd say outside of Android 99% of the use of hibernation is the fail-safe that distributions offer on laptops with very low battery levels: the emergency hiber

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-04 Thread Wei Yang
On Tue, Dec 04, 2018 at 04:52:52PM +0800, Pingfan Liu wrote: >On Tue, Dec 4, 2018 at 4:34 PM Wei Yang wrote: >> >> On Tue, Dec 04, 2018 at 03:20:13PM +0800, Pingfan Liu wrote: >> >On Tue, Dec 4, 2018 at 2:54 PM Wei Yang wrote: >> >> >> >> On Tue, Dec 04, 2018 at 11:05:57AM +0800, Pingfan Liu wrot

Re: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4)

2018-12-04 Thread Michal Hocko
On Tue 04-12-18 10:02:28, Ingo Molnar wrote: > > * Michal Hocko wrote: > > > > Do we actually have reports of this happening for people outside > > > Android? > > > > Not that I am aware of. > > I'd say outside of Android 99% of the use of hibernation is the fail-safe > that distributions off

Re: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4)

2018-12-04 Thread Ingo Molnar
* Oleg Nesterov wrote: > > I reviewed the ->cred_guard_mutex code, and the mutex is held across all > > of exec() - and we always did this. > > Yes, and this was always wrong. For example, this test-case hangs: > > #include > #include > #include > #include > >

RE: [LINUX PATCH v12 3/3] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-12-04 Thread Naga Sureshkumar Relli
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Tuesday, November 20, 2018 9:55 PM > To: Naga Sureshkumar Relli > Cc: miquel.ray...@bootlin.com; rich...@nod.at; dw...@infradead.org; > computersforpe...@gmail.com; marek.va...@gmail.com; M

[PATCH] platform/x86: touchscreen_dmi: Add info for the Mediacom Flexbook Edge 11

2018-12-04 Thread Hans de Goede
Add a DMI match for the Mediacom Flexbook Edge 11, this is the same hw as the Trekstor Primebook C11, so we use the same settings. Reported-by: rmbg Signed-off-by: Hans de Goede --- drivers/platform/x86/touchscreen_dmi.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/platfo

Re: [PATCH v3 2/8] mfd / platform: cros_ec: move lightbar attributes to its own driver.

2018-12-04 Thread Lee Jones
On Mon, 03 Dec 2018, Enric Balletbo i Serra wrote: > On 3/12/18 11:36, Lee Jones wrote: > > On Tue, 27 Nov 2018, Enric Balletbo i Serra wrote: > > > >> The entire way how cros sysfs attibutes are created is broken. > >> cros_ec_lightbar should be its own driver and its attributes should be > >> as

Re: [PATCH v2] tick/broadcast: Remove redundant code in tick_check_new_device()

2018-12-04 Thread Zhenzhong Duan
Hi Maintainers, When cleanup my mailbox for free space, I see this patch is missed in upstream. Checked code again, I think that code indeed could be removed safely. So could anyone Ack or NAK it? Thanks very much. Regards Zhenzhong - zhenzhong.d...@oracle.com wrote: > There is no way a ti

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-12-04 Thread Vlastimil Babka
On 12/3/18 11:27 PM, Linus Torvalds wrote: > On Mon, Dec 3, 2018 at 2:04 PM Linus Torvalds > wrote: >> >> so I think all of David's patch is somewhat sensible, even if that >> specific "order == pageblock_order" test really looks like it might >> want to be clarified. > > Side note: I think maybe

Re: [PATCH v3 1/8] mfd / platform: cros_ec: use devm_mfd_add_devices.

2018-12-04 Thread Lee Jones
On Mon, 03 Dec 2018, Enric Balletbo i Serra wrote: > Hi Lee, > > On 3/12/18 11:32, Lee Jones wrote: > > On Tue, 27 Nov 2018, Enric Balletbo i Serra wrote: > > > >> Use devm_mfd_add_devices() for adding cros-ec core MFD child devices. This > >> reduces the need of remove callback from platform/ch

<    1   2   3   4   5   6   7   8   9   10   >