Re: [PATCH v2] sched/core: Introduce set_next_task() helper for better code readability

2018-11-01 Thread Peter Zijlstra
What if anything is the difference with v1 (which I found yesterday and have pending testing).

Re: [PATCH v3 5/5] tpm: ensure that output of PCR read contains the correct digest size

2018-11-01 Thread Mimi Zohar
On Tue, 2018-10-30 at 16:47 +0100, Roberto Sassu wrote: > This patch ensures that the digest size returned by the TPM during a PCR > read matches the size of the algorithm passed as argument to > tpm2_pcr_read(). The check is performed after information about the PCR > banks has been retrieved. >

KASAN: use-after-free Read in delayed_uprobe_remove

2018-11-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:5b7449810ae6 Merge tag 'tag-chrome-platform-for-v4.20' of .. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15a8982540 kernel config: https://syzkaller.appspot.com/x/.config?x=4e8e3fa31e0cc680 da

BUG: pagefault on kernel address ADDR in non-whitelisted uaccess

2018-11-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:59fc453b21f7 Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=110e663340 kernel config: https://syzkaller.appspot.com/x/.config?x=ea045471e4c756e8 dashboar

INFO: task hung in flush_workqueue

2018-11-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:4db9d11bcbef Add linux-next specific files for 20181101 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16bb442540 kernel config: https://syzkaller.appspot.com/x/.config?x=2a22859d870756c1

Re: [git pull] mount API series

2018-11-01 Thread Al Viro
On Wed, Oct 31, 2018 at 04:36:01PM +, Al Viro wrote: > On Wed, Oct 31, 2018 at 10:38:17AM -0500, Eric W. Biederman wrote: > > A couple of bugs that I can see quickly. Several of which I have > > previously reported: > > > > - There is an easily triggered NULL pointer deference with open_tree

Re: lib/genalloc

2018-11-01 Thread Stephen Bates
>I use gen_pool_first_fit_align() as pool allocation algorithm allocating >buffers with requested alignment. But if a chunk base address is not >aligned to the requested alignment(from some reason), the returned >address is not aligned too. Alexey Can you try using gen_pool_fi

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-11-01 Thread Paul E. McKenney
On Sat, Oct 27, 2018 at 02:10:10AM +0100, Josh Triplett wrote: > On Fri, Oct 26, 2018 at 08:14:51AM +1100, NeilBrown wrote: > > On Wed, Oct 24 2018, Josh Triplett wrote: > > > > > On Tue, Oct 23, 2018 at 07:26:06AM +1100, NeilBrown wrote: > > >> On Sun, Oct 21 2018, Josh Triplett wrote: > > >> >

Re: [PATCH 2] mm/kvmalloc: do not call kmalloc for size > KMALLOC_MAX_SIZE

2018-11-01 Thread Konstantin Khlebnikov
On 01.11.2018 15:55, Michal Hocko wrote: On Thu 01-11-18 13:48:17, Konstantin Khlebnikov wrote: On 01.11.2018 13:24, Michal Hocko wrote: On Thu 01-11-18 13:09:16, Konstantin Khlebnikov wrote: Allocations over KMALLOC_MAX_SIZE could be served only by vmalloc. I would go on and say that allo

[PATCH v6 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-11-01 Thread Jianxin Pan
From: Liang Yang Add initial support for the Amlogic NAND flash controller which found in the Meson-GXBB/GXL/AXG SoCs. Signed-off-by: Liang Yang Signed-off-by: Yixun Lan Signed-off-by: Jianxin Pan --- drivers/mtd/nand/raw/Kconfig | 10 + drivers/mtd/nand/raw/Makefile |1 + dri

[PATCH v2] sched/core: Introduce set_next_task() helper for better code readability

2018-11-01 Thread Muchun Song
When we pick the next task, we will do the following for the task: 1) p->se.exec_start = rq_clock_task(rq); 2) dequeue_pushable{_dl}_task(rq, p); When we call set_curr_task_{rt,dl}(), we also need to do the same thing above. In rt.c, the code at 1) is in the _pick_next_task_rt() and the code a

lib/genalloc

2018-11-01 Thread Alexey Skidanov
Hi, I use gen_pool_first_fit_align() as pool allocation algorithm allocating buffers with requested alignment. But if a chunk base address is not aligned to the requested alignment(from some reason), the returned address is not aligned too. The reason is the allocation algorithm works on bitmap,

[PATCH v6 1/2] dt-bindings: nand: meson: add Amlogic NAND controller driver

2018-11-01 Thread Jianxin Pan
From: Liang Yang Add Amlogic NAND controller dt-bindings for Meson SoC, Current this driver support GXBB/GXL/AXG platform. Signed-off-by: Liang Yang Signed-off-by: Yixun Lan Signed-off-by: Jianxin Pan Reviewed-by: Rob Herring --- .../devicetree/bindings/mtd/amlogic,meson-nand.txt | 60 +

[PATCH v6 0/2] mtd: rawnand: meson: add Amlogic NAND driver support

2018-11-01 Thread Jianxin Pan
These two patches try to add initial NAND driver support for Amlogic Meson SoCs, current it has been tested on GXL(p212) and AXG(s400) platform. Changes since v5 at [6]: - use instr->delay_ns in exec_op() to caculate the delay cycle - delete struct meson_nfc_info_format and use macros instead -

RE: [Patch v2] genirq/matrix: Choose CPU for assigning interrupts based on allocated IRQs

2018-11-01 Thread Long Li
> Subject: Re: [Patch v2] genirq/matrix: Choose CPU for assigning interrupts > based on allocated IRQs > > Long, > > On Thu, 1 Nov 2018, Long Li wrote: > > On a large system with multiple devices of the same class (e.g. NVMe > > disks, using managed IRQs), the kernel tends to concentrate their IR

possible deadlock in down_trylock (2)

2018-11-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:27b31e68bc9f bpf: tcp_bpf_recvmsg should return EAGAIN whe.. git tree: bpf console output: https://syzkaller.appspot.com/x/log.txt?x=1744318340 kernel config: https://syzkaller.appspot.com/x/.config?x=93932074d01b4a5 dashboar

general protection fault in delayed_uprobe_remove

2018-11-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:5b7449810ae6 Merge tag 'tag-chrome-platform-for-v4.20' of .. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15805e3340 kernel config: https://syzkaller.appspot.com/x/.config?x=4e8e3fa31e0cc680 da

Re: [GIT PULL] percpu changes for v4.20-rc1

2018-11-01 Thread Linus Torvalds
On Thu, Nov 1, 2018 at 8:12 AM Dennis Zhou wrote: > > Two small things for v4.20. The first fixes a clang uninitialized > variable warning for arm64 in the default path calls BUILD_BUG(). The > second removes an unnecessary unlikely() in a WARN_ON() use. Pulled, Linus

Re: [PULL REQUEST] i2c for 4.20

2018-11-01 Thread Linus Torvalds
On Thu, Nov 1, 2018 at 3:50 AM Wolfram Sang wrote: > > I2C has a core bugfix & cleanup as well as an ID addition and > MAINTAINERS update for you. Pulled, Linus

[PATCH v6 2/3] clk: meson: add DT documentation for emmc clock controller

2018-11-01 Thread Jianxin Pan
From: Yixun Lan Document the MMC sub clock controller driver, the potential consumer of this driver is MMC or NAND. Also add four clock bindings IDs which provided by this driver. Reviewed-by: Rob Herring Signed-off-by: Yixun Lan Signed-off-by: Jianxin Pan --- .../devicetree/bindings/clock/a

[PATCH v6 1/3] clk: meson: add emmc sub clock phase delay driver

2018-11-01 Thread Jianxin Pan
From: Yixun Lan Export the emmc sub clock phase delay ops which will be used by the emmc sub clock driver itself. Signed-off-by: Yixun Lan Signed-off-by: Jianxin Pan --- drivers/clk/meson/Makefile | 2 +- drivers/clk/meson/clk-phase-delay.c | 66 +

[PATCH v6 3/3] clk: meson: add sub MMC clock controller driver

2018-11-01 Thread Jianxin Pan
From: Yixun Lan The patch will add a MMC clock controller driver which used by MMC or NAND, It provide a mux and divider clock, and three phase clocks - core, tx, tx. Two clocks are provided as the parent of MMC clock controller from upper layer clock controller - eg "amlogic,axg-clkc" in AXG pl

[PATCH v6 0/3] clk: meson: add a sub EMMC clock controller support

2018-11-01 Thread Jianxin Pan
This driver will add a MMC clock controller driver support. The original idea about adding a clock controller is during the discussion in the NAND driver mainline effort[1]. This driver is tested in the S400 board (AXG platform) with NAND driver. Changes since v5 [6]: - remove divider ops with .

Re: [GIT PULL] Addition of the I3C subsystem in 4.20 (5.0)?

2018-11-01 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 10:35 PM Boris Brezillon wrote: > > Greg, I didn't get your feedback on v10 of the i3c patchset [1] where I > was asking if you'd agree to have this framework merged in 4.20 (I know > you were busy with the 4.19 release and after that the Kernel Summit, so > that's not a su

Re: [PATCH v3 4/5] tpm: retrieve digest size of unknown algorithms with PCR read

2018-11-01 Thread Mimi Zohar
On Thu, 2018-11-01 at 12:02 -0400, Mimi Zohar wrote: > On Tue, 2018-10-30 at 16:47 +0100, Roberto Sassu wrote: > > +static int tpm2_init_bank_info(struct tpm_chip *chip, > > + struct tpm_bank_info *bank) > > +{ > > + struct tpm_digest digest = {.alg_id = bank->alg_id};

Re: [PATCH] i2c: rk3x: fix some typo

2018-11-01 Thread Frank Lee
>Hi, > >Am Donnerstag, 1. November 2018, 16:37:49 CET schrieb Yangtao Li: >> Signed-off-by: Yangtao Li > >while the changes really are pretty self-explanatory, it is always >nice to describe changes in a real commit message, like > >Fix multiple instances of a misspelled "Calculates". > >Change it

Re: [PATCH v2 0/2] i2c-omap: Enable i2c-omap driver for AM654 SoCs

2018-11-01 Thread Grygorii Strashko
On 9/28/18 12:25 AM, Vignesh R wrote: Couple of patches to enable i2c-omap driver to be used with TI's new AM654 platforms. Vignesh R (2): dt-bindings: i2c-omap: Add new compatible for AM654 SoCs i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3 Documentation/devicetree/bindings/i2c

Re: [GIT] Sparc

2018-11-01 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 6:44 PM David Miller wrote: > > Two small fixes, please pull. Pulled, Linus

Re: [RFC] doc: rcu: remove note on smp_mb during synchronize_rcu

2018-11-01 Thread Paul E. McKenney
On Wed, Oct 31, 2018 at 10:00:19PM -0700, Joel Fernandes wrote: > On Wed, Oct 31, 2018 at 11:17:48AM -0700, Paul E. McKenney wrote: > > On Tue, Oct 30, 2018 at 06:11:19PM -0700, Joel Fernandes wrote: > > > Hi Paul, > > > > > > On Tue, Oct 30, 2018 at 04:43:36PM -0700, Paul E. McKenney wrote: > > >

Re: [PATCH v2] arm64/module: use mod->klp_info section header information for livepatch modules

2018-11-01 Thread Will Deacon
Hello, Jessica, On Tue, Oct 30, 2018 at 02:19:10PM +0100, Jessica Yu wrote: > +++ Will Deacon [29/10/18 15:28 +]: > >On Fri, Oct 26, 2018 at 07:25:01PM +0200, Jessica Yu wrote: > >>diff --git a/arch/arm64/include/asm/module.h > >>b/arch/arm64/include/asm/module.h > >>index fef773c94e9d..ac9b9

Re: [GIT PULL] fixup dtb Kbuild for C-SKY(csky) Port

2018-11-01 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 10:28 PM Guo Ren wrote: > > csky: dtb Kbuild fixup patches for linux-4.20-rc1 Pulled, Linus

Re: 4.14 backport request for dbdda842fe96f: "printk: Add console owner and waiter logic to load balance console writes"

2018-11-01 Thread Daniel Wang
On Mon, Oct 22, 2018 at 3:10 AM Sergey Senozhatsky wrote: > Another deadlock scenario could be the following one: > > printk() > console_trylock() > down_trylock() >raw_spin_lock_irqsave(&sem->lock, flags) > > panic() >

Re: [PATCH anybus v2 5/5] misc: support HMS Profinet IRT industrial controller.

2018-11-01 Thread kbuild test robot
Hi Sven, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on char-misc/char-misc-testing] [also build test WARNING on v4.19 next-20181101] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH v3 4/5] tpm: retrieve digest size of unknown algorithms with PCR read

2018-11-01 Thread Mimi Zohar
On Tue, 2018-10-30 at 16:47 +0100, Roberto Sassu wrote: > 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 th

Re: [git pull] mount API series

2018-11-01 Thread Linus Torvalds
On Thu, Nov 1, 2018 at 3:53 AM Steven Whitehouse wrote: > > When I look at the discussions I'm seeing two main issues (please > correct me if you think I'm wrong about this) which are (a) whether the > design is correct and (b) whether there are still bugs in the current > patch set. > > Which of

Re: [PATCH] i2c: rk3x: fix some typo

2018-11-01 Thread Heiko Stübner
Hi, Am Donnerstag, 1. November 2018, 16:37:49 CET schrieb Yangtao Li: > Signed-off-by: Yangtao Li while the changes really are pretty self-explanatory, it is always nice to describe changes in a real commit message, like Fix multiple instances of a misspelled "Calculates". Change itself looks

[PATCH] tomoyo: fix small typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li --- security/tomoyo/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/tomoyo/util.c b/security/tomoyo/util.c index d3d9d9f1edb0..badffc8271c8 100644 --- a/security/tomoyo/util.c +++ b/security/tomoyo/util.c @@ -106,7 +106,7 @@ void tomoy

[PATCH] x86/gart: Rewrite early_gart_iommu_check() comment

2018-11-01 Thread Borislav Petkov
From: Borislav Petkov ... to actually explain what the function is trying to do. Reported-by: Mike Rapoport Signed-off-by: Borislav Petkov --- arch/x86/kernel/aperture_64.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/arch/x86/kernel/aperture

[PATCH] staging: vt6655: fix small typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li --- drivers/staging/vt6655/baseband.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6655/baseband.c b/drivers/staging/vt6655/baseband.c index f0b163473426..b5ba0c76fb43 100644 --- a/drivers/staging/vt6655/baseband.c +++ b/drivers/

Re: [RFC PATCH] Implement /proc/pid/kill

2018-11-01 Thread Daniel Colascione
On Thu, Nov 1, 2018 at 11:53 AM, David Laight wrote: > From: Sent: 31 October 2018 13:28 > ... >> * I actually have a local variant of the patch that would have you >> open "/proc/$PID/kill/$SIGNO" instead, since different signal numbers >> have different permission checks. > > I think you'd need

Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL)

2018-11-01 Thread Dean Wallace
On 01-11-18, Hans de Goede wrote: > Hi, > > On 01-11-18 15:28, Dean Wallace wrote: > > On 01-11-18, Hans de Goede wrote: > > > Hi, > > > > > > On 01-11-18 11:37, Dean Wallace wrote: > > > > On 31-10-18, Pierre-Louis Bossart wrote: > > > > > > > > > > > Just thought it worth mentioning, this new

[PATCH] staging: rtl8188eu: fix small typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li --- drivers/staging/rtl8188eu/hal/odm_rtl8188e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/odm_rtl8188e.c b/drivers/staging/rtl8188eu/hal/odm_rtl8188e.c index d5001920f77c..5352b0e45cac 100644 --- a/drivers/staging

Re: [PATCH AUTOSEL 4.14 22/73] regulator: fixed: Default enable high on DT regulators

2018-11-01 Thread Sasha Levin
On Thu, Nov 01, 2018 at 12:06:30PM +, Mark Brown wrote: On Wed, Oct 31, 2018 at 07:08:57PM -0400, Sasha Levin wrote: From: Linus Walleij [ Upstream commit 28be5f15df2ee6882b0a122693159c96a28203c7 ] commit efdfeb079cc3 ("regulator: fixed: Convert to use GPIO descriptor only") switched to u

[PATCH] staging: fix some typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li --- drivers/staging/rtl8712/rtl871x_cmd.h | 2 +- drivers/staging/rtl8723bs/include/rtw_cmd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_cmd.h b/drivers/staging/rtl8712/rtl871x_cmd.h index 24da2ccea04f..3

Re: [PATCH AUTOSEL 4.19 022/146] cpupower: Fix coredump on VMWare

2018-11-01 Thread Sasha Levin
On Thu, Nov 01, 2018 at 07:43:35AM -0400, Prarit Bhargava wrote: On 10/31/2018 07:03 PM, Sasha Levin wrote: From: Prarit Bhargava [ Upstream commit f69ffc5d3db8f1f03fd6d1df5930f9a1fbd787b6 ] cpupower crashes on VMWare guests. The guests have the AMD PStateDef MSR (0xC0010064 + state number

[PATCH] ring-buffer: fix small typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li --- kernel/trace/ring_buffer_benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/ring_buffer_benchmark.c b/kernel/trace/ring_buffer_benchmark.c index ffba6789c0e2..0564f6db0561 100644 --- a/kernel/trace/ring_buffer_benchmark.c ++

Re: [GIT PULL] platform-drivers-x86 for 4.20-1

2018-11-01 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 8:07 PM Darren Hart wrote: > > platform-drivers-x86 for v4.20-1 Pulled, Linus

Re: [PATCH RFC kenrel/rcu] Eliminate BUG_ON() for sync.c

2018-11-01 Thread Oleg Nesterov
On 11/01, Paul E. McKenney wrote: > > Any news on exactly which patch constituted the reworking of this > code some time back? Again, I never sent a patch, I simply showed the new code (more than 2 years ago ;), see below. I need to re-read our discussiong, but iirc your and Peter's reviews were m

[PATCH] pinctrl: mt7622: fix small typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li --- drivers/pinctrl/mediatek/pinctrl-mt7622.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/mediatek/pinctrl-mt7622.c b/drivers/pinctrl/mediatek/pinctrl-mt7622.c index 6f931b85701b..9b00c5e6ba8e 100644 --- a/drivers/pinctrl/mediatek

[PATCH] ARM: dts: imx: Add Y Soft IOTA Draco, Hydra and Ursa boards

2018-11-01 Thread Vokáč Michal
These are i.MX6S/DL based SBCs embedded in various Y Soft products. All share the same board design but have slightly different HW configuration. Ursa - i.MX6S SoC, 512MB RAM DDR3, 4GB eMMC, microSD - parallel WVGA 7" LCD with touch panel - 1x Eth (QCA8334 switch) - USB OTG - USB host (micro-B) D

[PATCH] mfd: fix small typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li --- drivers/mfd/rave-sp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/rave-sp.c b/drivers/mfd/rave-sp.c index 2a8369657e38..26c7b63e008a 100644 --- a/drivers/mfd/rave-sp.c +++ b/drivers/mfd/rave-sp.c @@ -109,7 +109,7 @@ struct rave_sp_

Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL)

2018-11-01 Thread Dean Wallace
On 01-11-18, Hans de Goede wrote: > Hi, > > On 01-11-18 15:28, Dean Wallace wrote: > > On 01-11-18, Hans de Goede wrote: > > > Hi, > > > > > > On 01-11-18 11:37, Dean Wallace wrote: > > > > On 31-10-18, Pierre-Louis Bossart wrote: > > > > > > > > > > > Just thought it worth mentioning, this new

Re: [PATCH] x86/build: Build VSMP support only if selected

2018-11-01 Thread Juergen Gross
On 01/11/2018 16:09, Eial Czerwacki wrote: > Greetings, > > On 11/01/2018 03:45 PM, Juergen Gross wrote: >> On 01/11/2018 14:10, Eial Czerwacki wrote: >>> Greetings, >>> >>> On 11/01/2018 12:39 PM, Shai Fultheim (s...@scalemp.com) wrote: On 01/11/18 11:37, Thomas Gleixner wrote: > VS

[PATCH] i2c: rk3x: fix some typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li --- drivers/i2c/busses/i2c-rk3x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index b8a2728dd4b6..fe347e8e2a23 100644 --- a/drivers/i2c/busses/i2c-rk3x.c +++ b/drivers/i2c/busses/i2

Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-11-01 Thread Grygorii Strashko
On 11/1/18 9:52 AM, Marc Zyngier wrote: On 31/10/18 20:33, Grygorii Strashko wrote: " NAK. Either this fits in the standard model, or we adapt the standard model to catter for your particular use case. But we don't define a new, TI specific API. " And I stand by what I've written. Sry

Re: [PATCH] of/platform: Support dynamic device tree on AMBA bus

2018-11-01 Thread Jaewon Kim
On 11/1/18 1:06 AM, Frank Rowand wrote: On 10/31/18 8:32 AM, Jaewon Kim wrote: Hi Frank, Thanks to review my patch. On 18. 10. 31. 오전 8:04, Frank Rowand wrote: Hi Jaewon, On 10/25/18 9:39 AM, Jaewon Kim wrote: This patch supports dynamic device-tree for AMBA device. Add AMBA devices and

[PATCH] dmaengine: fix some typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li --- drivers/dma/ep93xx_dma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dma/ep93xx_dma.c b/drivers/dma/ep93xx_dma.c index a15592383d4e..7997e9bb7e10 100644 --- a/drivers/dma/ep93xx_dma.c +++ b/drivers/dma/ep93xx_dma.c @@ -993,7 +993

Re: [PATCH v7 3/3] staging: iio: ad2s1210: Add device tree table.

2018-11-01 Thread Himanshu Jha
On Wed, Oct 31, 2018 at 09:30:36PM +0530, Nishad Kamdar wrote: > Add device tree table for matching vendor ID. > > Signed-off-by: Nishad Kamdar > --- > drivers/staging/iio/resolver/ad2s1210.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/staging/iio/resolver/ad2s1210.c

Re: [PATCH] tsc: make calibration refinement more robust

2018-11-01 Thread Thomas Gleixner
Daniel, On Thu, 1 Nov 2018, Daniel Vacek wrote: Please use 'x86/tsc:' as prefix. git log path/to/file usually gives you a reasonable hint about prefixes. > -#define MAX_RETRIES 5 > -#define SMI_TRESHOLD5 > +#define MAX_RETRIES 5 > +#define TSC_THRESHOLD(tsc_khz >> 5) This b

Re: [RFC PATCH for 4.21 00/16] rseq updates, new cpu_opv system call (v2)

2018-11-01 Thread Linus Torvalds
On Thu, Nov 1, 2018 at 2:59 AM Mathieu Desnoyers wrote: > > Here is an updated patchset submitted as RFC for 4.21 (next merge > window). So I'm not willing to take the cpu_opv system call until I see the the regular rseq code getting more real-life use. Maybe people are using it. Maybe they aren

Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL)

2018-11-01 Thread Dean Wallace
On 01-11-18, Hans de Goede wrote: > Hi, > > On 01-11-18 15:28, Dean Wallace wrote: > > On 01-11-18, Hans de Goede wrote: > > > Hi, > > > > > > On 01-11-18 11:37, Dean Wallace wrote: > > > > On 31-10-18, Pierre-Louis Bossart wrote: > > > > > > > > > > > Just thought it worth mentioning, this new

Re: [PATCH v2] ARM: module: Fix function kallsyms on Thumb-2

2018-11-01 Thread Vincent Whitchurch
On Wed, Oct 31, 2018 at 04:53:41PM +0100, Jessica Yu wrote: > Could this be done in modpost? I'm guessing the answer is no as some > relocations may rely on that bit being set in st_value, right? > Therefore we can only clear the bit _after_ relocations to the module > are applied at runtime, corre

Re: [PATCH v2] x86/kvmclock : convert to SPDX identifiers

2018-11-01 Thread Thomas Gleixner
Peng, On Thu, 1 Nov 2018, Peng Hao wrote: > This patch updates license to use SPDX-License-Identifier > instead of verbose license text Again: git grep 'This patch' Documentation/process/ This leads you to: "Describe your changes in imperative mood, e.g. "make xyzzy do frotz" instead of "

Re: [PATCH v3 3/3] staging: iio: ad7780: remove unnecessary stashed voltage value

2018-11-01 Thread Ardelean, Alexandru
On Thu, 2018-11-01 at 11:43 -0300, Renato Lui Geh wrote: > This patch removes the unnecessary field int_vref_mv in ad7780_state > referring to the device's voltage. > > Signed-off-by: Renato Lui Geh > --- > Changes in v3: > - removed unnecessary int_vref_mv from ad7780_state > > drivers/s

Re: [PATCH v2] gpiolib: Fix possible use after free on label

2018-11-01 Thread Linus Walleij
On Thu, Nov 1, 2018 at 2:13 PM Muchun Song wrote: > gpiod_request_commit() copies the pointer to the label passed as > an argument only to be used later. But there's a chance the caller > could immediately free the passed string(e.g., local variable). > This could trigger a use after free when we

[PATCH] arm64: kdump: fix small typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li --- arch/arm64/kernel/crash_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/crash_dump.c b/arch/arm64/kernel/crash_dump.c index f46d57c31443..6b5037ed15b2 100644 --- a/arch/arm64/kernel/crash_dump.c +++ b/arch/arm64/kernel/cra

Re: [PATCH v3 2/3] staging: iio: ad7780: update voltage on read

2018-11-01 Thread Ardelean, Alexandru
On Thu, 2018-11-01 at 11:43 -0300, Renato Lui Geh wrote: > The ad7780 driver previously did not read the correct device output, as > it read an outdated value set at initialization. It now updates its > voltage on read. > > Signed-off-by: Renato Lui Geh > --- > Changes in v3: > - removed in

Re: [PATCH v2] arm64/module: use mod->klp_info section header information for livepatch modules

2018-11-01 Thread Miroslav Benes
> >Does this mean we can drop the plt pointer from this struct altogether, and > >simply offset into the section headers when applying the relocations? > > Hmm, if everyone is OK with dropping the plt pointer from struct > mod_plt_sec, then I think we can simplify this patch even further. > > W

Från Fröken Zena Kone

2018-11-01 Thread Zena Kone
Från Fröken Zena Kone Kära God dag, kan Guds välsignelser vara över dig och ge dig visdom och sympati för att förstå min situation och hur mycket jag behöver din hjälp. Efter att ha gått igenom din profil var jag övertygad om att du är ansedd och en förtroende värdig person som kan hjälpa m

[PATCH] tsc: make calibration refinement more robust

2018-11-01 Thread Daniel Vacek
The threshold in tsc_read_refs() is constant which may favor slower CPUs but may not be optimal for simple reading of reference on faster ones. Hence make it proportional to tsc_khz to compensate for this. The threshold guards against any disturbance like IRQs, NMIs, SMIs or CPU stealing by host on

[GIT PULL] percpu changes for v4.20-rc1

2018-11-01 Thread Dennis Zhou
Hi Linus, Two small things for v4.20. The first fixes a clang uninitialized variable warning for arm64 in the default path calls BUILD_BUG(). The second removes an unnecessary unlikely() in a WARN_ON() use. Thanks, Dennis The following changes since commit 11da3a7f84f19c26da6f86af878298694ede080

[PATCH] input: atkbd: clean up indentation issue, add missing tab in an if statement

2018-11-01 Thread Colin King
From: Colin Ian King Trivial fix to clean up indentation issues, add missing tab Signed-off-by: Colin Ian King --- drivers/input/keyboard/atkbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 7e75835e22

Re: [mm PATCH v4 3/6] mm: Use memblock/zone specific iterator for handling deferred page init

2018-11-01 Thread Alexander Duyck
On Thu, 2018-11-01 at 08:17 +0200, Mike Rapoport wrote: > On Wed, Oct 31, 2018 at 03:40:02PM +, Pasha Tatashin wrote: > > > > > > On 10/17/18 7:54 PM, Alexander Duyck wrote: > > > This patch introduces a new iterator for_each_free_mem_pfn_range_in_zone. > > > > > > This iterator will take ca

Re: [PATCH] x86/build: Build VSMP support only if selected

2018-11-01 Thread Eial Czerwacki
Greetings, On 11/01/2018 03:45 PM, Juergen Gross wrote: > On 01/11/2018 14:10, Eial Czerwacki wrote: >> Greetings, >> >> On 11/01/2018 12:39 PM, Shai Fultheim (s...@scalemp.com) wrote: >>> On 01/11/18 11:37, Thomas Gleixner wrote: >>> VSMP support is built even if CONFIG_X86_VSMP is not set.

Re: [PATCH v3 1/3] staging: iio: ad7780: fix offset read value

2018-11-01 Thread Ardelean, Alexandru
Good catch. Acked-by: Alexandru Ardelean On Thu, 2018-11-01 at 11:43 -0300, Renato Lui Geh wrote: > Variable val subtracted an uninitialized value on IIO_CHAN_INFO_OFFSET. > This was fixed by assigning the correct value instead. > > Signed-off-by: Renato Lui Geh > --- > drivers/staging/iio/ad

[PATCH v2] pinctrl: lpc18xx: Use define directive for PIN_CONFIG_GPIO_PIN_INT

2018-11-01 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another: drivers/pinctrl/pinctrl-lpc18xx.c:643:29: warning: implicit conversion from enumeration type 'enum lpc18xx_pin_config_param' to different enumeration type 'enum pin_config_param' [-Wenum-conversion] {"nxp,gpio-pin-int

Re: [PATCH] kretprobe: produce sane stack traces

2018-11-01 Thread Masami Hiramatsu
On Thu, 1 Nov 2018 21:49:48 +1100 Aleksa Sarai wrote: > On 2018-11-01, Masami Hiramatsu wrote: > > > > > Anyway, until that merge happens, this patch looks good to avoid > > > > > this issue for generic solution (e.g. for the arch which doesn't > > > > > supports retstack). > > > > > > > > I th

[PATCH v2] x86/kvmclock : convert to SPDX identifiers

2018-11-01 Thread Peng Hao
From: Peng Hao This patch updates license to use SPDX-License-Identifier instead of verbose license text Signed-off-by: Peng Hao --- arch/x86/kernel/kvmclock.c | 15 +-- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/arch/x86/kernel/kvmclock.c b/arch/x86/kernel/k

Re: [PATCH] pinctrl: lpc18xx: Use define directive for PIN_CONFIG_GPIO_PIN_INT

2018-11-01 Thread Nathan Chancellor
On Thu, Nov 01, 2018 at 10:52:14AM +0200, Vladimir Zapolskiy wrote: > Hi Nathan, > > thank you for your patch. > > On 11/01/2018 02:52 AM, Nathan Chancellor wrote: > > Clang warns when one enumerated type is implicitly converted to another: > > > > drivers/pinctrl/pinctrl-lpc18xx.c:643:29: warni

[PATCH] rtc: clean up indentation issues, remove extraneous space, add missing tabs

2018-11-01 Thread Colin King
From: Colin Ian King Trivial fix to clean up indentation issues, remove spaces, add missing tabs Signed-off-by: Colin Ian King --- drivers/rtc/rtc-ep93xx.c | 2 +- drivers/rtc/rtc-max6916.c | 2 +- drivers/rtc/rtc-rk808.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v1 1/8] perf/x86: add support to mask counters from host

2018-11-01 Thread Peter Zijlstra
On Thu, Nov 01, 2018 at 06:04:01PM +0800, Wei Wang wrote: > Add x86_perf_mask_perf_counters to reserve counters from the host perf > subsystem. The masked counters will not be assigned to any host perf > events. This can be used by the hypervisor to reserve perf counters for > a guest to use. > >

Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-11-01 Thread Marc Zyngier
On 31/10/18 20:33, Grygorii Strashko wrote: > > > On 10/31/18 1:21 PM, Marc Zyngier wrote: >> Hi Grygorii, >> >> On 31/10/18 16:39, Grygorii Strashko wrote: >> >> [...] >> >>> I'd try to provide some additional information here. >>> (Sry, I'll still use term "events") >>> >>> As Lokesh explained

Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL)

2018-11-01 Thread Hans de Goede
Hi, On 01-11-18 15:28, Dean Wallace wrote: On 01-11-18, Hans de Goede wrote: Hi, On 01-11-18 11:37, Dean Wallace wrote: On 31-10-18, Pierre-Louis Bossart wrote: Just thought it worth mentioning, this new patch that fixes sound again, seems to have ressurected an old issue with PLL unlock.

Re: [PATCH v8 1/2] seccomp: add a return code to trap to userspace

2018-11-01 Thread Oleg Nesterov
On 10/30, Tycho Andersen wrote: > > > I am not sure I understand the value of > > signaled/SECCOMP_NOTIF_FLAG_SIGNALED... > > I mean, why it is actually useful? > > > > Sorry if this was already discussed. > > :) no problem, many people have complained about this. This is an > implementation of An

Re:Business proposition for you

2018-11-01 Thread Melvin Greg
Hello, I have a client from Syrian who will like to invest with your company. My client is willing to invest $4 Million. Can I have your company website to show to my client your company so that they will check and decide if they will invest there funds with you as joint partner. This inf

Re: [PATCH v6 0/1] ns: introduce binfmt_misc namespace

2018-11-01 Thread Jann Horn
On Thu, Nov 1, 2018 at 3:10 PM James Bottomley wrote: > On Thu, 2018-11-01 at 04:51 +0100, Jann Horn wrote: > > On Thu, Nov 1, 2018 at 3:59 AM James Bottomley > > wrote: > > > > > > On Tue, 2018-10-16 at 11:52 +0200, Laurent Vivier wrote: > > > > Hi, > > > > > > > > Any comment on this last versi

[PATCH v3 3/3] staging: iio: ad7780: remove unnecessary stashed voltage value

2018-11-01 Thread Renato Lui Geh
This patch removes the unnecessary field int_vref_mv in ad7780_state referring to the device's voltage. Signed-off-by: Renato Lui Geh --- Changes in v3: - removed unnecessary int_vref_mv from ad7780_state drivers/staging/iio/adc/ad7780.c | 5 + 1 file changed, 1 insertion(+), 4 delet

[PATCH v3 2/3] staging: iio: ad7780: update voltage on read

2018-11-01 Thread Renato Lui Geh
The ad7780 driver previously did not read the correct device output, as it read an outdated value set at initialization. It now updates its voltage on read. Signed-off-by: Renato Lui Geh --- Changes in v3: - removed initialization (int voltage_uv = 0) - returns error when voltage

[PATCH v3 1/3] staging: iio: ad7780: fix offset read value

2018-11-01 Thread Renato Lui Geh
Variable val subtracted an uninitialized value on IIO_CHAN_INFO_OFFSET. This was fixed by assigning the correct value instead. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/ad7780.c b/

Re: [PATCH v3 1/5] tpm: change the end marker of the active_banks array to zero

2018-11-01 Thread Mimi Zohar
On Wed, 2018-10-31 at 10:43 -0400, Mimi Zohar wrote: > On Tue, 2018-10-30 at 16:47 +0100, Roberto Sassu wrote: > > This patch changes the end marker of the active_banks array from > > TPM2_ALG_ERROR to zero. > > The patch description is a bit off. > > TPM2_ALG_ERROR is defined as zero.  Since tpm

Re: [PATCH RFC kenrel/rcu] Eliminate BUG_ON() for sync.c

2018-11-01 Thread Paul E. McKenney
On Thu, Nov 01, 2018 at 03:12:18PM +0100, Oleg Nesterov wrote: > On 10/31, Paul E. McKenney wrote: > > > > Oy... Right message, wrong commit. > > > > Does the one below look somewhat more relevant? ;-) > > Much more relevant ;) feel free to add > > Acked-by: Oleg Nesterov Applied, thank you!

[PATCH v3 0/3] staging: iio: ad7780: correct driver read

2018-11-01 Thread Renato Lui Geh
The purpose of this series is to correct two issues in the driver's raw read function and remove unnecessary struct fields. Changelog: *v2 - separated original patch into two patches (https://marc.info/?l=linux-iio&m=154047435605492) *v3 - reordered patches so that fixes

[PATCH 2/5] clk: Create devm_of_clk_add_provider

2018-11-01 Thread Ricardo Ribalda Delgado
Implement devm_ flavour of of_clk_add_provider. This will help fixing of_node_get-put imbalances. Signed-off-by: Ricardo Ribalda Delgado --- Documentation/driver-model/devres.txt | 1 + drivers/clk/clk.c | 29 ++- include/linux/clk-provider.h

[PATCH 5/5] clk: gpio: Use devm_of_clk_add_provider

2018-11-01 Thread Ricardo Ribalda Delgado
Use devm_clk_add_provider. It will take care of clk un-registering. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/clk-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-gpio.c b/drivers/clk/clk-gpio.c index 40af4fbab4d2..6eedb4bd779c 100644 --- a/

[PATCH 3/5] clk: fixed-factor: Use devm_of_clk_add_provider

2018-11-01 Thread Ricardo Ribalda Delgado
Use devm_clk_add_provider. It will take care of clk un-registering. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/clk-fixed-factor.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/clk/clk-fixed-factor.c b/drivers/clk/clk-fixed-factor.c index 7

Re: [PATCH] ARM: kprobes: Fix false positive with FORTIFY_SOURCE

2018-11-01 Thread Masami Hiramatsu
On Tue, 30 Oct 2018 13:40:27 -0400 William Cohen wrote: > On 10/22/18 5:30 AM, Kees Cook wrote: > > The arm compiler internally interprets an inline assembly label > > as an unsigned long value, not a pointer. As a result, under > > CONFIG_FORTIFY_SOURCE, the size of the array pointed to by an ad

[PATCH 4/5] clk: fixed-rate: Use devm_of_clk_add_provider

2018-11-01 Thread Ricardo Ribalda Delgado
Use devm_clk_add_provider. It will take care of clk un-registering. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/clk-fixed-rate.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c index 6d64

[PATCH 0/5] Implement devm_of_clk_add_provider

2018-11-01 Thread Ricardo Ribalda Delgado
All Tull reported that there might be a great ammount of drivers with imbalance on clk_add_provider. This is an issue for Device tree overlays (and also a bug) https://lkml.org/lkml/2018/10/18/1103 This patchset implement a devm_ function of of_clk_add_provider, and fixes 3 drivers. Drivers like

[PATCH 1/5] clk: Refactor of_clk_add_provider and of_clk_add_hw_provider

2018-11-01 Thread Ricardo Ribalda Delgado
Both functions have almost the same functionality. Create a helper function that is called by both functions. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/clk.c | 49 +++ 1 file changed, 20 insertions(+), 29 deletions(-) diff --git a/drivers

Re: [PATCH v2 0/4] ntb: idt: Add hwmon temperature sensor interface

2018-11-01 Thread Jon Mason
On Tue, Jul 17, 2018 at 12:24:33PM +0300, Serge Semin wrote: > IDT PCIe-switches are equipped with an embedded temperature sensor. It > works within the range [0; 127.5]C with a resolution of 0.5C. It can > be used to monitor the chip core temperature so to have prevent it from > possible overheati

<    1   2   3   4   5   6   >