Re: [PATCH v12 0/5] Fix issues with huge mapping in ioremap for ARM64

2018-06-03 Thread Chintan Pandya
Hi Will, Just curious to know, is there anything that I should be addressing in these patches ? For now, I don't see anything from my side that requires modification, unless one has some more review comments on this. Status so far on and around this: - Status of Toshi's series of patches is

[lkp-robot] [mm, oom] 2d251ff6e6: BUG:unable_to_handle_kernel

2018-06-03 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-7): commit: 2d251ff6e66d7978b3e7a9c69e99b7150de26926 ("mm, oom: fix unnecessary killing of additional processes") url:

Re: [PATCH v2 5/6] ARM: dts: Add generic interconnect target module node for MCAN

2018-06-03 Thread Faiz Abbas
Hi, On Saturday 02 June 2018 12:02 PM, Stephen Boyd wrote: > Quoting Faiz Abbas (2018-05-30 07:11:32) >> diff --git a/arch/arm/boot/dts/dra76x.dtsi b/arch/arm/boot/dts/dra76x.dtsi >> index bfc82636999c..57b8dc0fe719 100644 >> --- a/arch/arm/boot/dts/dra76x.dtsi >> +++

[PATCH] panic: move bust_spinlocks(0) after console_flush_on_panic() to avoid deadlocks

2018-06-03 Thread Hoeun Ryu
From: Hoeun Ryu Many console device drivers hold the uart_port->lock spinlock with irq enabled (using spin_lock()) while the device drivers are writing characters to their devices, but the device drivers just try to hold the spin lock (using spin_trylock()) if "oops_in_progress" is equal or

Re: [PATCH] mfd: arizona: Don't use regmap_read_poll_timeout

2018-06-03 Thread Lee Jones
On Fri, 11 May 2018, Charles Keepax wrote: > Some Arizona CODECs have a small timing window where they will > NAK an I2C transaction if it happens before the boot done bit is > set. This can cause the read of the register containing the boot > done bit to fail until it is set. Since

[PATCH] clk-si514, clk-si544: Implement prepare/unprepare/is_prepared operations

2018-06-03 Thread Mike Looijmans
This adds prepare/unprepare/is_prepared functionality to the drivers for the SI544 and SI514 chips, allowing the clock output to be disabled when the clock is not in use. Signed-off-by: Mike Looijmans --- drivers/clk/clk-si514.c | 38 +-

Re: [PATCH v1] mfd: intel-lpss: Program REMAP register in PIO mode

2018-06-03 Thread Lee Jones
On Fri, 01 Jun 2018, Andy Shevchenko wrote: > On Fri, 2018-05-18 at 14:51 +0100, Lee Jones wrote: > > On Tue, 24 Apr 2018, Andy Shevchenko wrote: > > > > > According to documentation REMAP register has to be programmed in > > > either DMA or PIO mode of the slice. > > > > > > Move the DMA

Re: [PATCH v1] mfd: intel-lpss: Correct names of RESETS register bits

2018-06-03 Thread Lee Jones
On Tue, 24 Apr 2018, Andy Shevchenko wrote: > According to documentation the function has 2 bits for reset > while iDMA 64-bit has only one. > > Rename it accordingly. Note, there is no functional change since > we always handle them together. > > Signed-off-by: Andy Shevchenko > --- >

BUG: soft lockup in shrink_dcache_parent (2)

2018-06-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:325e14f97e0c Merge branch 'fixes' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=166329d780 kernel config: https://syzkaller.appspot.com/x/.config?x=968b0b23c7854c0b

Re: [PATCH v2] kernel: event: core: Change return type to vm_fault_t

2018-06-03 Thread Souptick Joarder
On Mon, May 21, 2018 at 11:55 PM, Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler. For > now, this is just documenting that the function returns > a VM_FAULT value rather than an errno. Once all instances > are converted, vm_fault_t will become a distinct type. > >

Testing RCU boosting with rcutorture

2018-06-03 Thread Joel Fernandes
Hi Paul, I was testing RCU boosting behavior with rcutorture on rcu/dev and I had some issues getting it to fail when no RCU boost is done (CONFIG_RCU_BOOST is disabled and rcutorture is forced to test it using test_boost parameter). It appears I need to disable RT throttling so that the readers

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-03 Thread Mike Rapoport
On Mon, Jun 04, 2018 at 10:41:10AM +0800, 禹舟键 wrote: > Hi Tetsuo > > Since origin_memcg_name is printed for both memcg OOM and !memcg OOM, it is > > strange that origin_memcg_name is updated only when memcg != NULL. Have you > > really tested !memcg OOM case? > > if memcg == NULL ,

[GIT PULL] rslib updates for v4.18-rc1

2018-06-03 Thread Kees Cook
Hi Linus, Please pull these rslib changes for v4.18-rc1. Thomas asked me to carry this series since I've been coordinating VLA removal, and he's got enough trees to worry about. :) This has been in -next for a while now. Thanks! -Kees The following changes since commit

Re: [PATCH v2] mm: Change return type int to vm_fault_t for fault handlers

2018-06-03 Thread Souptick Joarder
On Sun, Jun 3, 2018 at 3:31 AM, Matthew Wilcox wrote: > On Sun, Jun 03, 2018 at 01:34:07AM +0530, Souptick Joarder wrote: >> @@ -3570,9 +3571,8 @@ static int hugetlb_cow(struct mm_struct *mm, struct >> vm_area_struct *vma, >> return 0; >> } >> >> -

Re: [PATCH 2/2] tsens: Get rid of unused fields in structure

2018-06-03 Thread Rajendra Nayak
On 06/02/2018 04:41 PM, Amit Kucheria wrote: > status_field and trdy are unused in any of the tsens drivers. Remove them. > > Signed-off-by: Amit Kucheria Acked-by: Rajendra Nayak > --- > drivers/thermal/qcom/tsens.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git

Re: [PATCH 1/2] thermal: tsens: Add support for SDM845 platform

2018-06-03 Thread Rajendra Nayak
On 06/02/2018 04:41 PM, Amit Kucheria wrote: > There are two tsens blocks on the SDM845. These will be configured through > the devicetree. > > Signed-off-by: Amit Kucheria > --- > .../devicetree/bindings/thermal/qcom-tsens.txt | 1 + > drivers/thermal/qcom/Makefile

[GIT PULL] userns vfs bits for v4.18-rc1

2018-06-03 Thread Eric W. Biederman
Linus, Please pull the userns-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-linus HEAD: f3f1a18330ac1b717cd7a32adff38d965f365aa2 fs: Allow CAP_SYS_ADMIN in s_user_ns to freeze and thaw filesystems Apologies for the

[GIT PULL] siginfo work for v4.18-rc1

2018-06-03 Thread Eric W. Biederman
Linus, Please pull the siginfo-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git siginfo-linus HEAD: 26da35010c6d6ce317d511c8186585bdd8ab6629 signal/sh: Stop gcc warning about an impossible case in do_divide_error Apologies for

Re: [PATCH] nfc: st21nfca: use setup_timer instead of init_timer

2018-06-03 Thread Samuel Ortiz
Hi Colin, On Fri, Nov 24, 2017 at 01:37:41PM +, Colin King wrote: > From: Colin Ian King > > Use setup_timer function instead of initializing timer with the > function and data fields. > > Signed-off-by: Colin Ian King > --- > drivers/nfc/st21nfca/se.c | 10 -- > 1 file changed,

[GIT PULL] siginfo work for v4.18-rc1

2018-06-03 Thread Eric W. Biederman
Linus, Please pull the siginfo-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git siginfo-linus HEAD: 26da35010c6d6ce317d511c8186585bdd8ab6629 signal/sh: Stop gcc warning about an impossible case in do_divide_error This set of

[GIT PULL] userns

2018-06-03 Thread Eric W. Biederman
Linus, Please pull the userns-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-linus HEAD: f3f1a18330ac1b717cd7a32adff38d965f365aa2 fs: Allow CAP_SYS_ADMIN in s_user_ns to freeze and thaw filesystems This is the last

[GIT PULL] chrome-platform updates for v4.18

2018-06-03 Thread Benson Leung
Hi Linus, The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform.git tags/chrome-platform-for-linus-4.18 for you

RE: [PATCH] clk: clk-fixed-factor: Use new macro CLK_OF_DECLARE_DRIVER

2018-06-03 Thread Rajan Vaja
Hi Stephen, Thanks for the reply. > -Original Message- > From: Stephen Boyd [mailto:sb...@kernel.org] > Sent: 02 June 2018 12:11 PM > To: Rajan Vaja > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Jolly Shah > ; Michal Simek ; > mturque...@baylibre.com > Subject: RE:

For help, whether to check the return value of sata_scr_read should be added in sata_print_link_status

2018-06-03 Thread Nixiaoming
Hello I have trouble reading the code, I hope you can help guide The function sata_print_link_status in the file drivers/ata/libata-core.c checks the return value when the function sata_scr_read is called on line 3009, but does not check the return value when calling sata_scr_read on line 3011.

linux-next: build failure after merge of the drm-msm tree

2018-06-03 Thread Stephen Rothwell
Hi Rob, After merging the drm-msm tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/gpu/drm/msm/adreno/a5xx_gpu.o: In function `a5xx_gpu_busy': a5xx_gpu.c:(.text+0xcc): undefined reference to `__aeabi_uldivmod' Caused by commit dd4ff3063899 ("drm/msm:

[PATCH v3] kbuild: check for pkg-config on make {menu,n,g.x}config

2018-06-03 Thread Randy Dunlap
From: Randy Dunlap Each of 'make {menu,n,g,x}config' uses (needs) pkg-config to make sure that other required files are present and to determine build flags settings, but none of these check that pkg-config itself is present. Add a check for all 4 of these targets and update

[PATCH] rtc:ds1307:it assume 20xx not 19xx.

2018-06-03 Thread Linkui
If we settime between 1970 and 2000. for example: $ date 052915571978 $ hwclock -w it will be wrong, this patch fix it. Signed-off-by: Linkui --- drivers/rtc/rtc-ds1307.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-ds1307.c

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-03 Thread 禹舟键
Hi Tetsuo > Since origin_memcg_name is printed for both memcg OOM and !memcg OOM, it is > strange that origin_memcg_name is updated only when memcg != NULL. Have you > really tested !memcg OOM case? if memcg == NULL , origin_memcg_name will also be NULL, so the length of it is 0.

[PATCH v2] x86/mce: add CMCI support for Centaur CPUs

2018-06-03 Thread David Wang
New Centaur CPU support CMCI mechanism, which is compatible with INTEL CMCI. Signed-off-by: David Wang Changes from v1 to v2: *1, add vendor check for Centaur CPU in cmci_supported. *2, Only call intel_init_cmci for Centaur CPU in mce_intel_feature_init function. --- arch/x86/Kconfig

Re: About GPL license compliance of Tesla Model S, Linux kernel 4.4

2018-06-03 Thread Geunsik Lim
FYI, https://sfconservancy.org/blog/2018/may/18/tesla-incomplete-ccs/ On Sun, Nov 26, 2017 at 8:23 PM, Geunsik Lim wrote: > Here is my next activity. > > After reading http://gpl-violations.org/helping/, > I have reported this issue to solve a potential GPL misuse about the > Linux kernel open

Re: [PATCH] scripts/faddr2line: show the code context

2018-06-03 Thread Du, Changbin
On Tue, May 29, 2018 at 06:03:32PM +0200, Peter Zijlstra wrote: > On Mon, Mar 19, 2018 at 03:23:25PM +0800, changbin...@intel.com wrote: > > From: Changbin Du > > > > Inspired by gdb command 'list', show the code context of target lines. > > Here is a example: > > > > $ scripts/faddr2line

Re: [PATCH] scripts/faddr2line: show the code context

2018-06-03 Thread Du, Changbin
On Wed, May 30, 2018 at 08:01:48AM +1000, NeilBrown wrote: > On Tue, May 29 2018, Peter Zijlstra wrote: > > > On Tue, May 29, 2018 at 12:07:10PM -0500, Josh Poimboeuf wrote: > >> Yeah, this change really should have been an optional arg. It hurt the > >> readability and compactness of the

Re: [PATCH] x86/mce: add CMCI support for Centaur CPUs

2018-06-03 Thread David Wang
> -Original Mail- > Sender: Borislav Petkov [mailto:b...@alien8.de] > Time: 2018年6月1日 17:38 > Receiver: David Wang > CC: tony.l...@intel.com; mi...@redhat.com; t...@linutronix.de; > h...@zytor.com; gre...@linuxfoudation.org; x...@kernel.org; > linux-kernel@vger.kernel.org;

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-03 Thread 禹舟键
Hi Mike > Please keep the brief description of the function actually brief and move the > detailed explanation after the parameters description. Thanks for your advice. > The allocation constraint is detected by the dump_header() callers, why not > just use it here? David suggest that

Re: [PATCH V2 4/4] clk: imx6ul: remove clks_init_on array

2018-06-03 Thread Fabio Estevam
On Sun, Jun 3, 2018 at 10:06 PM, Anson Huang wrote: > Clock framework will enable those clocks registered > with CLK_IS_CRITICAL flag, so no need to have > clks_init_on array during clock initialization now. > > ARM clock is busy divider type which has the > CLK_IS_CRITICAL flag set by default

Re: [PATCH V2 3/4] clk: imx6sx: remove clks_init_on array

2018-06-03 Thread Fabio Estevam
On Sun, Jun 3, 2018 at 10:06 PM, Anson Huang wrote: > Clock framework will enable those clocks registered > with CLK_IS_CRITICAL flag, so no need to have > clks_init_on array during clock initialization now. > > ARM clock is busy divider type which has the > CLK_IS_CRITICAL flag set by default

Re: [PATCH V2 2/4] clk: imx6sl: remove clks_init_on array

2018-06-03 Thread Fabio Estevam
On Sun, Jun 3, 2018 at 10:06 PM, Anson Huang wrote: > Clock framework will enable those clocks registered > with CLK_IS_CRITICAL flag, so no need to have > clks_init_on array during clock initialization now. > > ARM clock is busy divider type which has the > CLK_IS_CRITICAL flag set by default

Re: [PATCH V2 1/4] clk: imx6q: remove clks_init_on array

2018-06-03 Thread Fabio Estevam
On Sun, Jun 3, 2018 at 10:06 PM, Anson Huang wrote: > Clock framework will enable those clocks registered > with CLK_IS_CRITICAL flag, so no need to have > clks_init_on array during clock initialization now. > > ARM clock is busy divider type which has the > CLK_IS_CRITICAL flag set by default

Re: [PATCH] pci: qcom: include gpio/consumer.h

2018-06-03 Thread Bjorn Andersson
On Wed 30 May 14:53 PDT 2018, Arnd Bergmann wrote: > When CONFIG_GPIOLIB is disabled, we run into a build failure: > > drivers/pci/dwc/pcie-qcom.c: In function 'qcom_pcie_probe': > drivers/pci/dwc/pcie-qcom.c:1223:16: error: implicit declaration of function > 'devm_gpiod_get_optional'; did you

[git pull] vfs, pile 4

2018-06-03 Thread Al Viro
misc bits and pieces not fitting into anything more specific. That's probably it for tonight; more to follow tomorrow... The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at:

[git pull] vfs, pile 3

2018-06-03 Thread Al Viro
Christoph's proc_create_... cleanups series. The following changes since commit 67b8d5c7081221efa252e111cd52532ec6d4266f: Linux 4.17-rc5 (2018-05-13 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git hch.procfs for

[PATCH V2 3/4] clk: imx6sx: remove clks_init_on array

2018-06-03 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. ARM clock is busy divider type which has the CLK_IS_CRITICAL flag set by default when registered. IPG clock has no clock gate and its parent AHB

RE: [PATCH 1/4] clk: imx6q: remove clks_init_on array

2018-06-03 Thread Anson Huang
Hi, Fabio Anson Huang Best Regards! > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Sunday, June 3, 2018 8:54 PM > To: Anson Huang > Cc: Shawn Guo ; Sascha Hauer > ; Fabio Estevam ; Michael > Turquette ; Stephen Boyd ; > dl-linux-imx ; moderated

[PATCH V2 4/4] clk: imx6ul: remove clks_init_on array

2018-06-03 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. ARM clock is busy divider type which has the CLK_IS_CRITICAL flag set by default when registered. Signed-off-by: Anson Huang --- This

[PATCH V2 1/4] clk: imx6q: remove clks_init_on array

2018-06-03 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. ARM clock is busy divider type which has the CLK_IS_CRITICAL flag set by default when registered. Signed-off-by: Anson Huang --- changes since

[PATCH V2 2/4] clk: imx6sl: remove clks_init_on array

2018-06-03 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. ARM clock is busy divider type which has the CLK_IS_CRITICAL flag set by default when registered. IPG clock has no clock gate and its parent AHB

Re: [PATCH v2 21/21] sparc64: use match_string() helper

2018-06-03 Thread Yisheng Xie
Hi Andy, On 2018/6/1 19:34, Andy Shevchenko wrote: > On Thu, May 31, 2018 at 2:11 PM, Yisheng Xie wrote: >> match_string() returns the index of an array for a matching string, >> which can be used instead of open coded variant. > >> @@ -512,10 +512,9 @@ static unsigned long __init

[git pull] vfs, pile 2

2018-06-03 Thread Al Viro
More shrink_dcache_parent()-related stuff - killing the main source of potentially contended calls of that on large subtrees. The following changes since commit 4faa99965e027cc057c5145ce45fa772caa04e8d: fix io_destroy()/aio_complete() race (2018-05-23 22:53:22 -0400) are available in

[git pull] vfs, pile 1

2018-06-03 Thread Al Viro
That pile is the first part of dealing with livelocks, etc. around shrink_dcache_parent(). The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at:

Re: [PATCH] rpmsg: smd: do not use mananged resources for endpoints and channels

2018-06-03 Thread Bjorn Andersson
On Fri 01 Jun 16:32 PDT 2018, Srinivas Kandagatla wrote: > @@ -1380,11 +1380,13 @@ static void qcom_smd_edge_release(struct device *dev) > { > struct qcom_smd_channel *channel; > struct qcom_smd_edge *edge = to_smd_edge(dev); > + struct list_head *this, *tmp; > > -

Re: [PATCH 0/5] rpmsg: Convert to use SPDX license identifiers

2018-06-03 Thread Bjorn Andersson
On Thu 31 May 10:10 PDT 2018, Suman Anna wrote: > Hi Bjorn, > > The following series switches over the current licensing text in > various rpmsg drivers to the SPDX licensing format. I see that you > have already picked up my series for the HwSpinlock drivers, so this > series does the same for

RE: [PATCH 4.4 011/268] Revert "ipc/shm: Fix shmat mmap nil-page protection"

2018-06-03 Thread Daniel Sangorrin
> -Original Message- > From: Naresh Kamboju [mailto:naresh.kamb...@linaro.org] > Sent: Friday, June 1, 2018 12:55 AM > To: Daniel Sangorrin > Cc: Greg Kroah-Hartman ; open list > ; linux- stable ; > Davidlohr Bueso ; Joe Lawrence ; > Andrea Arcangeli ; Manfred Spraul > ; Andrew Morton ; >

linux-next: manual merge of the overlayfs tree with Linus' tree

2018-06-03 Thread Stephen Rothwell
Hi Miklos, Today's linux-next merge of the overlayfs tree got a conflict in: fs/open.c between commit: af04fadcaa93 ("Revert "fs: fold open_check_o_direct into do_dentry_open"") from Linus' tree and commit: e0e3f7de6435 ("vfs: simplify dentry_open()") from the overlayfs tree. I have

Re: [PATCH] rcu: Check the range of jiffies_till_{first,next}_fqs when setting them

2018-06-03 Thread Byungchul Park
On 2018-06-04 03:47, Joel Fernandes wrote: On Sun, Jun 03, 2018 at 04:51:06PM +0900, Byungchul Park wrote: On Sun, Jun 3, 2018 at 3:23 PM, Joel Fernandes wrote: On Sun, Jun 03, 2018 at 02:38:04PM +0900, Byungchul Park wrote: On Sun, Jun 3, 2018 at 12:58 PM, Joel Fernandes wrote: On Fri,

Re: [PATCH v3 0/5] staging: mt7621-spi: Fix C Coding style issues.

2018-06-03 Thread NeilBrown
On Sun, Jun 03 2018, Sankalp Negi wrote: > This patch series lists different changes for coding style fixes > as reported by checkpatch.pl, changes can be broken down as : > > 1. Indent switch and case labels at the same level. > 2. Fix a line over 80 columns by refactoring. > 3. Use tabs for

Re: [PATCH v3 1/4] seccomp: add a return code to trap to userspace

2018-06-03 Thread Tycho Andersen
Hi Jann, On Sun, Jun 03, 2018 at 08:41:01PM +0200, Jann Horn wrote: > On Sun, Jun 3, 2018 at 2:29 PM Tycho Andersen wrote: > > > > This patch introduces a means for syscalls matched in seccomp to notify > > some other task that a particular filter has been triggered. > > > > The motivation for

Re: [PATCH v3 4/4] seccomp: add support for passing fds via USER_NOTIF

2018-06-03 Thread Tycho Andersen
Hi Alban, On Sat, Jun 02, 2018 at 09:14:09PM +0200, Alban Crequy wrote: > On Thu, 31 May 2018 at 16:52, Tycho Andersen wrote: > > > > The idea here is that the userspace handler should be able to pass an fd > > back to the trapped task, for example so it can be returned from socket(). > > > >

Re: [PATCH 0/7] staging: mt7621-pci: Fix coding style issues

2018-06-03 Thread NeilBrown
On Sun, Jun 03 2018, Abdun Nihaal wrote: > This patchset fixes the following set of coding style > issues found using checkpatch. > > ERROR: space prohibited after that open parenthesis '(' > ERROR: trailing whitespace > ERROR: space required before the open parenthesis '(' > ERROR: space

There were supposed to be 200 emails a day on this list.

2018-06-03 Thread Jefferson Carpenter
Where are my 200 emails?

[PATCH v1] clk: tegra: Mark Memory Controller clock as critical

2018-06-03 Thread Dmitry Osipenko
Memory Controller should be always-on. Currently the sibling EMC clock is marked as critical, let's mark MC clock too for consistency. Signed-off-by: Dmitry Osipenko --- drivers/clk/tegra/clk-divider.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH v2 0/5] Tegra20 External Memory Controller driver

2018-06-03 Thread Dmitry Osipenko
Hello, Couple years ago the Tegra20 EMC driver was removed from the kernel due to incompatible changes in the Tegra's clock driver. This patchset introduces a modernized EMC driver. Currently the sole purpose of the driver is to initialize DRAM frequency to maximum rate during of the kernels

[PATCH v2 5/5] memory: tegra: Introduce Tegra20 EMC driver

2018-06-03 Thread Dmitry Osipenko
Introduce driver for the External Memory Controller (EMC) found on Tegra20 chips, which controls the external DRAM on the board. The purpose of this driver is to program memory timing for external memory on the EMC clock rate change. Signed-off-by: Dmitry Osipenko ---

[PATCH v2 2/5] ARM: dts: tegra20: Add interrupt to External Memory Controller

2018-06-03 Thread Dmitry Osipenko
Add interrupt entry into the EMC DT node. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 983dd5c14794..3cd3cb28cfd9 100644 ---

[PATCH v2 1/5] dt: bindings: tegra20-emc: Document interrupt property

2018-06-03 Thread Dmitry Osipenko
EMC has a dedicated interrupt that is used to notify about completion of HW operations. Document the interrupt property. Signed-off-by: Dmitry Osipenko --- .../devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt| 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 3/5] clk: tegra20: Turn EMC clock gate into divider

2018-06-03 Thread Dmitry Osipenko
Kernel should never gate the EMC clock as it causes immediate lockup, so removing clk-gate functionality doesn't affect anything. Turning EMC clk gate into divider allows to implement glitch-less EMC scaling, avoiding reparenting to a backup clock. Signed-off-by: Dmitry Osipenko ---

[PATCH v2 4/5] clk: tegra20: Check whether direct PLLM sourcing is turned off for EMC

2018-06-03 Thread Dmitry Osipenko
Ensure that direct PLLM sourcing is turned off for EMC as we don't support that configuration in the clk driver. Signed-off-by: Dmitry Osipenko --- drivers/clk/tegra/clk-tegra20.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/clk/tegra/clk-tegra20.c

[PATCH v2] printk: make printk_safe_flush safe in NMI context by skipping flushing

2018-06-03 Thread Hoeun Ryu
From: Hoeun Ryu Make printk_safe_flush() safe in NMI context. nmi_trigger_cpumask_backtrace() can be called in NMI context. For example the function is called in watchdog_overflow_callback() if the flag of hardlockup backtrace (sysctl_hardlockup_all_cpu_backtrace) is true and

Proposal

2018-06-03 Thread Miss.Victoria Mehmet
Hello I have been trying to contact you. Did you get my business proposal? Best Regards, Miss.Victoria Mehmet

Linux 4.17

2018-06-03 Thread Linus Torvalds
So this last week was pretty calm, even if the pattern of most of the stuff coming in on a Friday made it feel less so as the weekend approached. And while I would have liked even less changes, I really didn't get the feeling that another week would help the release in any way, so here we are,

linux-next: Signed-off-by missing for commits in the drm-msm tree

2018-06-03 Thread Stephen Rothwell
Hi Rob, Commit 0c999b56810a ("drm/msm: Refactor complete_commit() to look more the helpers") 240ca9286fcb ("drm/msm: Move implicit sync handling to prepare_fb") a744a6a9e98b ("drm/msm: Issue queued events when disabling crtc") efaa2af8b741 ("drm/msm: Remove msm_commit/worker, use atomic

Re: Common config for N900 and D4

2018-06-03 Thread Pavel Machek
Hi! > > Aaro, I know I have asked before, but if you have common config for > > N900 and Droid4, please send me a copy. Yes, it should be somewhere in > > my inbox already, but I can't find it and version for v4.17 would be > > more useful. > > > > While trying to came up with common config, I

Re: [PATCH V2 3/3] ARM: imx: remove i.MX6SLL support in i.MX6SL cpu idle driver

2018-06-03 Thread Fabio Estevam
On Sat, Jun 2, 2018 at 11:33 PM, Anson Huang wrote: > i.MX6SLL supports ARM power off in cpu idle, better to reuse > i.MX6SX cpu idle driver instead of i.MX6SL which does NOT > support ARM power off. > > Signed-off-by: Anson Huang Reviewed-by: Fabio Estevam

Re: [PATCH V2 1/3] ARM: imx: add L2 page power control for GPC

2018-06-03 Thread Fabio Estevam
On Sat, Jun 2, 2018 at 11:33 PM, Anson Huang wrote: > Some platforms like i.MX6UL/i.MX6SLL have L2 > page power control in GPC, it needs to be > disabled if ARM is power gated and L2 is NOT > flushed, add GPC interface to control it. > > Signed-off-by: Anson Huang Reviewed-by: Fabio Estevam

Re: [PATCH V2 2/2] ARM: dts: imx6ul: add GPIO clocks

2018-06-03 Thread Fabio Estevam
On Sat, Jun 2, 2018 at 10:44 PM, Anson Huang wrote: > i.MX6UL has GPIO clock gates in CCM CCGR, add > clock property for GPIO driver to make sure all > GPIO banks work as expected. > > Signed-off-by: Anson Huang Reviewed-by: Fabio Estevam

[PATCH] ARM: pxa: zylonite: use the new ac97 bus support

2018-06-03 Thread Robert Jarzmik
Now the PXA is converted to new ac97 bus support, the wm9713 is automatically detected and probed. Remove it from the platform bus. Signed-off-by: Robert Jarzmik --- arch/arm/mach-pxa/zylonite.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/arm/mach-pxa/zylonite.c

[PATCH] mfd: wm97xx-core: platform data can be NULL

2018-06-03 Thread Robert Jarzmik
It is not mandatory that platform data is passed along the ac97 codec. Actually there are configuration without a battery connected to the ADC of the codec. This is for example the case for the PXA zylonite platform, so fix the NULL dereferencing by adding a test. Fixes: a5c6951c49fb ("mfd:

[PATCH] ARM: pxa: add the missing AC97 clocks

2018-06-03 Thread Robert Jarzmik
The AC97 bit clock is added as the pxa internally generated 13MHz clock. This is a consequence of the new ac97 framework. Signed-off-by: Robert Jarzmik --- arch/arm/mach-pxa/devices.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/mach-pxa/devices.c

[PATCH v9] ASoC: pxa: switch to new ac97 bus support

2018-06-03 Thread Robert Jarzmik
Switch to the new ac97 bus support in sound/ac97 instead of the legacy snd_ac97 one. Signed-off-by: Robert Jarzmik --- Since v8: fixed the trivial compilation error v7 was in https://patchwork.kernel.org/patch/9951919/ --- sound/arm/Kconfig | 1 - sound/soc/pxa/Kconfig

Re: [PATCH] x86/platform/uv/BAU: gracefully disable BAU during panic

2018-06-03 Thread Greg KH
On Sun, Jun 03, 2018 at 11:42:32AM -0500, Andrew Banman wrote: > When panic happens while BAU is active there is a chance that > outstanding broadcasts tie up BAU resources enough to cause timeouts in > the UV ASIC. These timeouts are hardware errors that immediately bring > down the system,

Re: [PATCH] x86/platform/uv/BAU: gracefully disable BAU during panic

2018-06-03 Thread kbuild test robot
Hi Andrew, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/auto-latest] [also build test ERROR on v4.17-rc7 next-20180601] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: Mounting corrupted HFS+ causes kernel NULL pointer dereference

2018-06-03 Thread Anatoly Trosinenko
Hi, thank you! Excuse me for disturbance. вс, 3 июн. 2018 г. в 21:50, Ernesto A. Fernández : > > Hi, thank you for your report. > > On Sun, Jun 03, 2018 at 06:52:19PM +0300, Anatoly Trosinenko wrote: > > How to reproduce: > > 1. Take kernel source v4.17-rc7 > > 2. Compile it with the config

[CFT][PATCH] kernfs: Correct kernfs directory seeks.

2018-06-03 Thread Eric W. Biederman
Over the years two bugs have crept into the code that handled the last returned kernfs directory being deleted, and handled general seeking in kernfs directories. The result is that reading the /sys/module directory while moduled are loading and unloading will sometimes skip over a module that

Re: Mounting corrupted HFS+ causes kernel NULL pointer dereference

2018-06-03 Thread Ernesto A . Fernández
Hi, thank you for your report. On Sun, Jun 03, 2018 at 06:52:19PM +0300, Anatoly Trosinenko wrote: > How to reproduce: > 1. Take kernel source v4.17-rc7 > 2. Compile it with the config attached > 3. Unpack and mount the attached FS image as hfsplus. We are aware of this issue and I've sent some

Re: [PATCH] rcu: Check the range of jiffies_till_{first,next}_fqs when setting them

2018-06-03 Thread Joel Fernandes
On Sun, Jun 03, 2018 at 04:51:06PM +0900, Byungchul Park wrote: > On Sun, Jun 3, 2018 at 3:23 PM, Joel Fernandes wrote: > > On Sun, Jun 03, 2018 at 02:38:04PM +0900, Byungchul Park wrote: > >> On Sun, Jun 3, 2018 at 12:58 PM, Joel Fernandes > >> wrote: > >> > On Fri, Jun 01, 2018 at 11:03:09AM

Re: [PATCH v3 1/4] seccomp: add a return code to trap to userspace

2018-06-03 Thread Jann Horn
On Sun, Jun 3, 2018 at 2:29 PM Tycho Andersen wrote: > > This patch introduces a means for syscalls matched in seccomp to notify > some other task that a particular filter has been triggered. > > The motivation for this is primarily for use with containers. For example, > if a container does an

[PATCH] perf/x86: read the FREEZE_WHILE_SMM bit during boot

2018-06-03 Thread David Arcari
On some systems pressing the external NMI button is now failing to inject an NMI 5-10% of the time. This causes confusion for a user that expects the NMI to dump the system. Commit 6089327f5424 ("perf/x86: Add sysfs entry to freeze counters on SMI") does not read the firmware setting of the

[PATCH] kbd: complete dead keys definitions

2018-06-03 Thread Samuel Thibault
This completes dead keys definitions for internationalization completeness on the console. The representatives have been chosen coherently with libx11 compose sequences, which avoid symetry conflicts (e.g. there is U with caron, but no c with breve). Signed-off-by: Samuel Thibault Index:

[tip:perf/urgent] tools headers: Sync x86 cpufeatures.h with the kernel sources

2018-06-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a20d23bb7b04bac27df096d6be4565a1ffdd1ec4 Gitweb: https://git.kernel.org/tip/a20d23bb7b04bac27df096d6be4565a1ffdd1ec4 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 1 Jun 2018 11:27:37 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 1 Jun 2018 16:13:16 -0300

[tip:perf/urgent] perf tools intel-pt-decoder: Update insn.h from the kernel sources

2018-06-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 0b3a18387f3e5cdcfaaf884860a4688280d09c9d Gitweb: https://git.kernel.org/tip/0b3a18387f3e5cdcfaaf884860a4688280d09c9d Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 1 Jun 2018 13:15:19 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 1 Jun 2018 16:13:18 -0300

[tip:perf/urgent] perf trace beauty prctl: Default header_dir to cwd to work without parms

2018-06-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 0d690fc043f17fe7afab4b3dd9a57ffa07bc8064 Gitweb: https://git.kernel.org/tip/0d690fc043f17fe7afab4b3dd9a57ffa07bc8064 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 30 May 2018 10:29:52 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 1 Jun 2018 16:13:06 -0300

[tip:perf/urgent] tools headers: Synchronize prctl.h ABI header

2018-06-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 63b89a19cc9ef911dcc64d41b60930c346eee0c0 Gitweb: https://git.kernel.org/tip/63b89a19cc9ef911dcc64d41b60930c346eee0c0 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 1 Jun 2018 10:42:31 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 1 Jun 2018 16:13:15 -0300

Re: [PATCH] power: Print wakeup_count instead of event_count in the sysfs attribute.

2018-06-03 Thread Ravi Chandra Sadineni
Hi Rafael, On Sun, Jun 3, 2018 at 1:05 AM, Rafael J. Wysocki wrote: > On Sat, Jun 2, 2018 at 4:32 AM, Ravi Chandra Sadineni > wrote: >> Currently we show event_count instead of wakeup_count as part of per >> device wakeup_count sysfs attribute. Change it to wakeup_count to make >> it more

Re: [GIT PULL 0/4] perf/urgent fixes

2018-06-03 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit 6497bbc35ac5efce3bccd31d3719bae020282da6: > > Merge tag 'perf-urgent-for-mingo-4.17-20180531' of >

Re: [PATCH 3/3] pinctrl: actions: Add interrupt support for OWL S900 SoC

2018-06-03 Thread Manivannan Sadhasivam
Hi Andy, On Sun, Jun 03, 2018 at 11:37:53AM +0300, Andy Shevchenko wrote: > On Sat, Jun 2, 2018 at 7:54 PM, Manivannan Sadhasivam > wrote: > > Add interrupt support for Actions Semi OWL S900 SoC. > > > + port = owl_gpio_get_port(pctrl, ); > > + if (WARN_ON(port == NULL)) > > +

Re: Common config for N900 and D4

2018-06-03 Thread Pavel Machek
Hi! > Aaro, I know I have asked before, but if you have common config for > N900 and Droid4, please send me a copy. Yes, it should be somewhere in > my inbox already, but I can't find it and version for v4.17 would be > more useful. > > While trying to came up with common config, I hit: > > [

[PATCH] x86/platform/uv/BAU: gracefully disable BAU during panic

2018-06-03 Thread Andrew Banman
When panic happens while BAU is active there is a chance that outstanding broadcasts tie up BAU resources enough to cause timeouts in the UV ASIC. These timeouts are hardware errors that immediately bring down the system, preventing kdump from completing. Add uv_bau_crash_shutdown() to bring BAU

Re: [PATCH] staging:r8188eu: Use lib80211 to encrypt (WEP) tx frames

2018-06-03 Thread Ivan Safonov
On 05/28/2018 04:53 PM, Dan Carpenter wrote: On Mon, May 28, 2018 at 09:18:21AM +0300, Ivan Safonov wrote: Put data to skb, decrypt with lib80211_crypt_wep, and place back to tx buffer. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_security.c | 72

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-06-03 Thread Mike Snitzer
On Sun, Jun 03 2018 at 7:00P -0400, Sagi Grimberg wrote: > > >I'm aware that most everything in multipath.conf is SCSI/FC specific. > >That isn't the point. dm-multipath and multipathd are an existing > >framework for managing multipath storage. > > > >It could be made to work with NVMe. But

[PATCH 2/7] staging: mt7621-pci: remove trailing whitespace

2018-06-03 Thread Abdun Nihaal
This fixes the following checkpatch error: ERROR: trailing whitespace Signed-off-by: Abdun Nihaal --- drivers/staging/mt7621-pci/pci-mt7621.c | 32 - 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c

[PATCH 3/7] staging: mt7621-pci: add space before open parenthesis

2018-06-03 Thread Abdun Nihaal
This fixes the following checkpatch error: ERROR: space required before the open parenthesis '(' Signed-off-by: Abdun Nihaal --- drivers/staging/mt7621-pci/pci-mt7621.c | 28 - 1 file changed, 14 insertions(+), 14 deletions(-) diff --git

  1   2   >